There are many tutorials online about how to do this, so I won’t dwell into unnecessary many details. This will rather be a summary of my experience. I needed to move a few dozen projects from svn to git where both central repositories were hosted internally on own servers. Focus was to get as much […]
American Hoppers v5
Bryggde en till variation av American Hoppers. Läs mer om receptet här.
Nano text editor on Windows 10, under git bash
If you like nano and miss it on windows, here is how you can make it work under git bash on Windows. First of all you need to download the compiled binaries (tar-zipped) from GNU nano site, e.g.: $ curl -L -O https://www.nano-editor.org/dist/v2.8/nano-2.8.6.tar.gz Unpack it somewhere to a folder called nano. Move that folder to […]
Gitbash under windows using single ssh-agent across terminals
Recently gitbash changed default sourcing to bash_profile instead of bashrc. Not big of a deal but if you, like me, share same ‘dot files’ for interactive and local login sessions (think desktop vs server) then this is a minor issue that needs to be addressed. Simplest fix is to change start of gitbash with ‘login’ […]
Http2 on Ubuntu 16.04
This is a quick guide for enabling HTTP2 on Ubuntu 16.04. I use digital ocean and there I have a few instances that (at the time of writing this) run on Ubuntu 16.04 and have apache 2.4.18 installed. First you need to add this PPA repository and installing (upgrading) apache2: sudo add-apt-repository ppa:ondrej/apache2 sudo apt-get […]
Spring-Actuator without Spring Boot
If you like Spring-Actuator and want to use it in a traditional spring app i.e. without using spring boot, it is surely possible. I was looking around for a solution and nothing really worked out of the box. I’m guessing because people don’t post the whole solution and/or don’t point out the usual suspects and […]
Random Sentences generator is on maven central
I needed a simple random sentence generator (for english words/sentences, and in java) and I couldn’t find anything simple and with a small footprint. So I wrote it my self. The need for this arose from me being tired of seeing same ‘this is a title’, ‘some description’ and so on test strings in my […]
Modify default expanded folders in Windows Explorer in Windows 10
This has been the major pain in my bum in Windows Explorer for the longest time now. When I open Windows Explorer (having expand folders option on e.g. expand folders in navigation pane) it expands by default few folders such as ‘This PC’, ‘Network’, and my home folder. What I would prefer is NOT having […]
Logitech K480 on Ubuntu and ‘fn buttons’ default behaviour
By default this keyboard (and as of my understanding similar keyboards from logitech) have ‘media buttons’ enabled by default i.e. f1-f12 will act as media buttons and function buttons are accessed by pressing fn buttons + f1-f12. For work this is really not acceptable. I made this fix for Logitech K480 based on work of […]
Move WordPress to another server
This is maybe not so usual situation but nevertheless one that I had to deal with, so here goes. Possibly mostly as a reminder of the steps (as I tend not to remember these , a bit boring tasks). I had my previous WP instance hosted at common web hotel with their own control panel […]