Categories
Azure C# Programming

Local authorization for dotnet/NuGet.exe (in CLI) on Azure artifacts

Private NuGet packages can help to modularize and reuse already written code over several applications. Therefore Azure Artifact repository can be a very powerful and easy possibility. But in order to integrate it into local development an authorization process must be completed, not only for the IDE, but also for dotnet/NuGet.exe on CLI.

Categories
Programming VBA

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.

Categories
JavaScript Programming Web

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?

Categories
Programming Web

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 :)

Categories
Programming Windows

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:

Categories
Programming Windows

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.

Categories
Programming Web

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.

Categories
Programming Windows

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.

Categories
Usability/Interface Web

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!

Categories
Programming Web

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!