WP permissions

Installing WordPress and keeping some sanity for the inevitable Upgrade Plugin modification Theme modification needs this link and excerpts: https://stackoverflow.com/questions/18352682/correct-file-permissions-for-wordpress Excerpt one: When you setup WP you (the webserver) may need write access to the files. So the access rights may need to be loose. chown www-data:www-data -R * # Let Apache be owner find… Continue reading WP permissions

Tunneling Gerrit

Tunneling and Gerrit was a really interesting happening, as it wasn’t all clear how to do the following things Allow cloning and interaction with Gerrit Git Allow interaction with Gerrit’s web UI The first part was easier than the second. So let’s look at the second first. Allowing interaction with Gerrit’s web UI In order… Continue reading Tunneling Gerrit

Fixing permissions in a shared Git repo

I hate shared Git repos’. Especially when I forget to set them as shared ones. And I start inviting people to join in on the fun. So, therefore, here’s a tip from a blog that tells you a way of fixing the mess you did, retroactively: https://blog.christophersmart.com/2014/01/10/permanently-fixing-permissions-on-a-shared-git-repo/ tl;dr TheRightWay git init –bare –shared tl;dr TheRadioactiveWay ssh… Continue reading Fixing permissions in a shared Git repo

Musings about going from Eclipse to Android Studio 0.3.7

So, the first time around when Android Studio was announced I was pretty excited. Seeing that something tightly connected to Android in the shape of a Google pushed IDE, well that should bring a lot of nice things! But alas, after a few hours of tinkering and trying to import projects exported from Eclipse by… Continue reading Musings about going from Eclipse to Android Studio 0.3.7

Windows 7 64-bit + Java jre 7 != Körbar Android SDK Manager

Satt och klurade lite på varför Android SDK Managern vägrade starta. Lite ostrukturerat googlande gav tills lut denna StackOverflow-frågan: http://stackoverflow.com/questions/5199811/android-sdk-manager-wont-open Kortfattat: Det kan finnas flera java.exe-binärer som innebär att fel binär kopplas till Android SDK Managern. Om man ser till att ens PATH innehåller sökvägen till mappen där jre 7-java-binären ligger, samt att sökvägen finns… Continue reading Windows 7 64-bit + Java jre 7 != Körbar Android SDK Manager

Lubuntu på HP dc7700p, saker att hålla i minnet (och hitta lösningar på)

Jag kände för att börja Dual-boota igen. Jag hade kört Windows i nästan ett år och tyckte väl att det var trevligt, men insåg att jag på min HP DC7700P borde köra något som kanske är lite mindre prestandakrävande och spelvänligt (BF3 och Syndicate och Portal), som tex Lubuntu. Det fanns dessutom lite folk i… Continue reading Lubuntu på HP dc7700p, saker att hålla i minnet (och hitta lösningar på)