Author: arild

  • GU Eduroam trouble solved

    by

    in

    Connecting to Eduroam (at the University of Gothenburg) was tricky this time. The main problem was ensuring the CA Certificate was installed. Clicking the certificate link on the instructions page at Medarbetarportalen gave a message saying This certificate is already installed as a certificate authority. Yet, when configuring the WiFi connection, there was no option…

  • Push to deploy Vue app

    Push to deploy Vue app

    by

    in

    With this workflow, my web space contains a git remote which, whenever pushed to, builds the Vue project and puts it on a public path.

  • Artsy Engineering Blog

    by

    in

    http://artsy.github.io/blog/2017/11/27/Babel-7-and-TypeScript/ An airy and business card-like blog design, clean and free from distractions. I like how the elegant Garamond font is used throughout, and the cyan gradient in the background.

  • perfectcykel.se

    by

    in

    http://perfectcykel.se/ Zero images. Zero links. Webfonts for flare, a cute icon. Sometimes, a website should just be this simple.

  • A cryptocurrency-mining bot brute-forced into my WordPress site

    A cryptocurrency-mining bot brute-forced into my WordPress site

    by

    in

    Someone brute-forced into a client’s WordPress site and added cryptomining js. Good thing they knocked down an HTML div on their way out!

  • Fix SSH backspace coming out as “^?”

    by

    in

    When using SSH at FS Data, pressing backspace in Vim were coming out as ^? so editing files was a hassle. (I am on a Linux workstation btw.) I found a solution in the Vim documentation, via a Stack Overflow post. I just opened ~/.vimrc and added the following: :if &term == “xterm-256color” :  set…

  • Duplicated id="x" in WP Meta Boxes

    Duplicated id="x" in WP Meta Boxes

    by

    in

    I am building a very minimalistic calendar plugin for WP (an idea that doesn’t seem to turn out very well so far), and I got a cryptic JS error when adding JQuery datepicker saying “a is undefined”. I debugged this for a good two or three hours, until today I tried replacing the minified datepicker.js…

  • Customer-specified price in Drupal 7 Commerce

    Customer-specified price in Drupal 7 Commerce

    by

    in

    Today, I spent several hours messing about with the Rules UI and googling Commerce docs and forums, trying to figure out how to provide a field where the customer can freely choose the price of a donation-style product. In the end, I found pointers to a method which turns out to work pretty well. My…

  • Lenovo K5 Quick Review

    Lenovo K5 Quick Review

    Pros: Cheap Nice physical interface Decent battery life Cons: Poor camera picture quality Headphone sound quality poor when not loud (e.g. quieter parts of songs) Low speakers Internal storage not huge Moving apps to SD card is something I sometimes have to redo for the same apps Apps sometimes have their icon duplicated when they’re…

  • PhpStorm keymap in Ubuntu

    by

    in

    I am used to using PhpStorm on a Mac, but now I am with Ubuntu on a ThinkPad so the keymapping is all off. I want to use the Mac OS X keymap, but contrary to my expectation, pressing the Windows key does not produce the Meta symbol so I cannot access half the shortcuts.…