Remove VBA Password from Excel 2007/2010 file

Some days ago I had to improve a VBA macro but password was lost, so there was no direct way to
enter code in VBE. There are a lot of tricks I found in the WWW, some of them even provide a tool.
But do you trust such tools?

Beside that I found a such an easy to use instruction, »hidden« in a blog comment,
I must share with you.

Continue reading Remove VBA Password from Excel 2007/2010 file

JavaScript: transform slug to camel case

I refactor my atom packages at the moment and one thing I changed was loading classes from other files. Before,
everything was hard-coded and it should be more generic, especially facing future changes. Because I used kind
of slug strings internally, I created a function which converts slugs into camel case. Perhaps you need such code?

Continue reading JavaScript: transform slug to camel case

jQuery: missing method toggleAttr for toggling attributes

Today I needed some JS-Code for toggling an DOM elements attribute. Because there is no such feature in the
jQuery core, I implemented it. Perhaps it’s useful for you, so here it is :)

Continue reading jQuery: missing method toggleAttr for toggling attributes

Atlassian Bitbucket Server/Stash: What to do after Java update?

Update, 20.10.2016I updated this article because Atlassian has updated Stash and renamed it to Bitbucket Server. The first part
is the old article about Atlassion Stash and the second part includes the latest Bitbucket Server including ElasticSearch.

Atlassian Stash

Today, another Java Update has been released, so I installed the new version und removed the old one.
The “problem” was, as with the last updates, that I had to tell my Stash installation where to find
the new Java version. I opened the Windows registry and updated the following three registry keys:

Continue reading Atlassian Bitbucket Server/Stash: What to do after Java update?

Atlassian Bitbucket Server Backup Client: script for running backup as Windows task – Version 0.10

I have written a script for running Atlassian Bitbucket Server Backup Client as a Windows task on my server. There are two main reasons/features why I created that script and why I want to share it.

Continue reading Atlassian Bitbucket Server Backup Client: script for running backup as Windows task – Version 0.10

jQuery: copy events from one element to another

At the moment, I improve my ApToggleSwitch plugin and
stumbled over a problem which leads to a nice jQuery function I want to share. Perhaps this code can be useful for you!

The problem was that I have to copy a special event from one html element to another – in my case I only wanted the
change event to be copied. I found some posts how to copy events, but the solutions did not work
perfectly, so I had to merge the solutions presented in
this thread.

Continue reading jQuery: copy events from one element to another

Atlassian Stash 3.0: switch from archive to installer

Today, I installed the new version of Atlassian Stash, Version 3.0.5. Further versions were provides as archive which had to be extracted and configured manually.
A new »feature« is the easy-to-use installer, which is – in my opinion – more user-friendly
and faster to use than the archive before.

Continue reading Atlassian Stash 3.0: switch from archive to installer

Firefox only saves 3 windows per default – extend it!

Oh my lovely firefox… Today I had to restart my computer because of important
Windows updates. So I closed every application, including four Firefox windows,
in mind, that Firefox restores every single window. The problem is, that this
browser only saves 3 windows per default, not more! So be careful with how many
windows you work, respectively how many windows you want Firefox to restore!

Continue reading Firefox only saves 3 windows per default – extend it!

New jQuery plugin: ApToggleSwitch

Last month I searched for a nice component to improve checkboxes. Checkboxes are okay but I think that
a toggle switch is a nicer representation of the TRUE/FALSE status. Furthermore on touch devices checkboxes
are sometimes too small, so users really have to aim to click the control.

In total I found a lot of different solutions out there, really inspiring CSS and JavaScript code, but
no one was clean, simple and also had a nice look. That’s the reason why I implemented another toggle
switch control, inspired by HTC Sense interface!

Have a look!

WordPress Plugin the MVC way

I have to improve a WordPress plugin so it supports more (specific) features. My problem was that I have never worked with WordPress code or even created or modified a WordPress plugin, so I had no experience with WordPress coding. Furthermore I love working with Delphi, C# and PHP, so I do the OOP way – above all because of its many advantages over procedural way (Yeah, I know, there are also disadvantages!). So I searched for a good introduction/code base for implementing the MVC pattern and use it in my plugin. But I did not find anything that satisfied my needs…

That’s why I want to share my code with you which is hopefully a help for everyone who will programm the OOP way ;) You can always find the code at GitHub or downloade it directly as as ZIP file.

Here you can find the readme file.