Juha Palomäki

Blog entries in the Misc category

  1. Git on Windows & Github, authentication suddenly stopped working

    I'm using Github 2FA and git on Windows with the Windows Credentials store credential helper. This can be configured with
    git config --global credential.helper wincred

    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 …

  2. QC35, Windows, Bluetooth audio

    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 …

  3. IntellijJ IDEA: Maven home directory is invalid

    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 …

  4. Convert SPSS .SAV file to CSV (for Excel)

    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 …

  5. Visio 2013 and 2016 disable rerouting

    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 …

  6. Disable Tomcat thread pool

    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 …

  7. Hotkeys for moving windows around screens

    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 …

  8. Windows 8 hotkeys

    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 …
  9. Replacing multiple occurences of character in bash

    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 …

  10. Install latest MongoDB in Ubuntu

    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 …
  11. Ubuntu quick firewall configuration

    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 …

  12. MongoDB as service on Windows

    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 …
  13. Refresh DHCP IP address in Ubuntu

    Simple steps for getting new IP address via DHCP on Ubuntu (tested on Ubuntu 11.10, running under vmware with bridged network)

    # Release existing sudo dhclient -r # Get new sudo dhclient # Restart networking sudo /etc/init.d/networking stop sudo /etc/init.d/networking start
  14. Logging to Loggly from JBoss 5.1.0

    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 …

  15. Work 2.0

    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 …

  16. Enhanced JIRA widget for Zendesk

    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 …

  17. Atlassian Crowd - Zendesk integration

    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 …

Juha Palomäki
Projects
Categories