Git on Windows & Github, authentication suddenly stopped working
Couple of times git has suddenly started complaining "remote: Repository not found" when trying to do a pull on existing project. I haven't figured …
Couple of times git has suddenly started complaining "remote: Repository not found" when trying to do a pull on existing project. I haven't figured …
I started investigating pairing problems with my Bose QC35 headphone/headset and Windows. At first I was wondering why I actually see two separate QC35 devices with different icons in the pairing list. Soon I figured out the other one was "headphones" and the other one "hands-free" device. If I …
When creating a new project based on Maven archetype IntelliJ IDEA wants know certain Maven related directories. It took few minutes to figure out what IDEA actually wants here and answering wrong gives the not very informative "Maven home directory is invalid" -error message.
The Maven home directory is the …
SPSS alternative, GNU PSPP include a very easy to use tool that can convert the SPSS SAV file to CSV. This can be further read in to excel. Just open the csv file in Excel. If excel does not automatically split data, choose the first column, go to Data tab …
Long(er) story
I ran into "interesting" problem on CentOS while trying to setup VsFTP with FTPS. I was using FileZilla to connect to the server. The VsFTPd version that comes with my CentOS version seems to be rather old …
Drop something to the drawing surface, all other shapes freak out, running away from your new shape which you just wanted to throw in the background. Sounds familiar?
If this something you don't like, then disable connector splitting. Head to File-menu, select options. Then go to advanced and uncheck the …
I recently ran into issues with a third party application that had certain issues with threadlocals. Namely certain parts of the application were using threadlocal to store information, but did not clean up the stored information. This information then caused issues on other part of the application. Now this certainly …
I'm using multiple monitors and sometimes it would be useful to have hotkeys that would position the active window to certain place on certain screen. I took a quick look at ready made software but those did not seem to solve my specific problem.
Luckily I found Autohotkey which allows …
Few Windows 8 hotkeys I have found useful:
Win |
Goto start screen, start typing application name to search for it |
Win-X |
Open advanced menu from bottom-left corner of screen (you can access this by right clicking mouse on same place) |
Win-X + A |
Open command prompt as administrator |
Win-X + C |
Open … |
I wanted to replace multiple occurrences of underscore with single in one bash shell script. With regular expressions this is pretty simple, but by default they are not available directly in bash (using awk, sed and other tools would have obviously solved the problem). The "pure bash" solution involved turning …
Some D-Link models support updating selected dynamic dns services. The support is however limited and it seems to be that for example you can't configure it to push updates to ZoneEdit.
A simple workaround is to use the D-Link provided free dynamic dns service, https://www.dlinkddns.com for the …
The MongoDB version available from the default Ubuntu/Debian repositories can be fairly old. Luckily it is easy to get a newer version directly from 10gen repository
# If necessary, remove previous installation
# sudo apt-get remove mongodb
# Add appropriate key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
# Add Repository …Quick instructions for enabling firewall on Ubuntu using Uncomplicated Firewall (ufw). The resulting rules are quite obvious. Incoming traffic is denied, except for ssh, http and https (these refer to /etc/services) and outgoing is allowed.
These policies do not affect ICMP. Incoming ICMP remains allowed as per default ufw …
Quick install script for installing mongodb a service on Windows. Further instructions are available in official MongoDB docs.
Download appropriate version: http://www.mongodb.org/downloads extract to your folder of choice, startup cmd.exe as Administrator and change to the MongDB folder. .. code-block:: bash
REM -- Setup directories set mongodir …
Simple steps for getting new IP address via DHCP on Ubuntu (tested on Ubuntu 11.10, running under vmware with bridged network)
Sublime Text stores settings and packages in %APPDATA%\Sublime Text 2 folder by default. Quick search did not reveal any way of forcing it use some other location. In order to sync the settings by using Dropbox, the files should obviously reside inside the Dropbox folder (eg c:usersjuhapDropbox)
The …
Encountered annoying MySQL problem when trying to dump database from a backup server.
The database had been originally dumped from production server, then imported into a backup server …
Loggly is a fairly new cloud base log management service. You can think about it as lightweight and hosted version of Splunk. I find it pretty interesting, especially because it provides pay-as-go licensing model which I believe suits better to SaaS business than Splunk's traditional licenses. I also love the …
Think about how the cloud changed the way startups were run when we went from 20th centure Web 1.0 to Web 2.0. During the dot-com boom it was all amount of money and big hardware. Success started with $1M set of Sun hardware. Then came the cloud and …
Zendesk provides a very nice JIRA integration widget that allows creating JIRA cases directly from Zendesk and keeps them in sync.
The widget however is missing some features. It only supports setting values for certain fields on the JIRA ticket. In our case this was a problem, since for certain …
In my quest to free my collegues from unnecessary passwords, I created a simple web application for integrating Zendesk to Atlassian Crowd.
The webapp (well, it is just one JSP page actually) takes care of authenticating the users with Crowd and then passes this information to Zendesk. It also supports …