Writing · since 2011

Writing

Practical notes from real work — debugging, setup guides and lessons learned across web, backend, apps and AI. 146+ posts and counting.

Game developmentThe last months i've picked up game development i Unity. Every week on Fridays I have a day off to work with this project. Problem when downloading pdf from Sitecore siteI had a Mime-type problem when downloading pdf from Sitecore site the following error showed up in the log git rename branchThis operation is pretty simple, all you need to use is the branch commando with a -m flag to git rename branch. Undo a pushed merge with gitHow to undo a merge that has been pushed to origin? Use Revert. Picking up game developmentA while back me and some friends figured we should make a game now when indie games is such a hot topic. Error when installing cocoapods on mavericksWhen following the instructions to install Cocoapods on Mavericks the following error occured. Undo git stash applySometimes we may need to undo a git stash apply, maybe we didn't mean to apply it at all or we just applied it to the wrong branch. Aliasing git reset --soft HEAD^ as git undoI keep forgetting how to undo a commit with git. If i aliased it to git undo i wouldn't need to google the command every time. Xpath and default namespaced xmlWhen using a default namespaced xml an xpath-expression need to look a bit different than when the xml uses namespace prefixes. My first Ruby on rails experienceI recently released Husvisningar.se with my friends Simon and Jacob. We decided to use Ruby on rails for this just to learn something new. Using IMCE with CKEditor and Drupal 7IMCE is an image/file uploader and browser that supports personal directories and quota. Unable to recreate feature in drupal 7In a Drupal developer environment i had a problem where i couldn't recreate features. When clicking the recreate tab all i would see was a blank page.