Vim Taskwarrior Workflow I've been using vim-taskwarrior [https://github.com/blindFS/vim-taskwarrior] for a few months. Here's a quick reference. In my .vimrc I have mapped command space t to open a new tab (:newtab) and run :TW in the tab, see below. let mapleader = "\<Space>
JSPM err 404 - Github authentication via Token Hit this issue the other day. If you are having problems where JSPM is failing to download a package with err 404 and you are authenticating using github token, ensure public_repo is checked for the access token. Set registry token: jspm config registries.github.auth JSPM_GITHUB_AUTH_TOKEN
Acer V3 Aspire 574 Running Ubuntu 14.04 Just a note for anyone who may be considering buying an Acer v3 Aspire 574 and running Ubuntu on it. It Works!! It took a little bit of doing, had to jump through some hoops but finally got it working. I decided to keep the Windows 8.1 install as
Javascript Prototypal Inheritance A quick reference for yours truly :) JavaScript is prototype-based, even when taking ES6 into account. ES6 adds Class keyword but this is syntactic sugar on top of the prototype system. Objects are the only construct for inheritance. Each object has a link to another object, it's prototype. The
Reminder on how to profile Vim A quick reminder to myself. I'd been having an issue where Vim was running very slowly on an index.html file in insert mode. After a quick google came across this SO post which shows how to debug such issues. In my case it was omnicompletion that was
vim: error while loading shared libraries: libperl.so.5.14: cannot open shared object file: No such file or directory After upgrading Ubuntu to 14.04 Vim failed to start with the error: vim: error while loading shared libraries: libperl.so.5.14: cannot open shared object file: No such file or directory For my setup I could run: $ dpkg -S libperl.so.5 perl-base: /usr/lib/libperl.so.5.
javascript Front End Jargon Buster With so many tools and packages out there I thought I'd try to wrangle together some sort of coherent list. This is by no means exhaustive but covers the things I use and have heard off but not got to experiment with yet. Frameworks AngularJs - Google'
Angular Material Icon Animation Below is the fruit of some experimentation with Angular [www.angularjs.org], Material Design Icons [https://materialdesignicons.com/] and Greensock [https://greensock.com/]. I was looking into how to animate icons using an angular directive. Of course, this will work perfectly well if the directive is taken out. index.html
Food Pumpkin Pumkin and Lentil Stew Knocked this up the other night and it was pretty tasty. 1 Medium Sized Pumkin 1 Cup Lentils 1 Tablespoon Soy Sauce 1 Tablespoon Balsamic Vinegar 1 Tablespoon Honey 1 Teaspoon Sage 1 Onion 1 Cup Passata 1 Cup of Stock Dice and sweat onion in a little olive oil
Porridge Here's how I like it.. 1 1/2 Cups Milk 1 Cup Water 1 Cup Oats 3-4 Tablespoons Sugar 1 Teaspoon Vanilla Extract Bring water and 1 cup of milk to the boil. Reduce to simmer and add the oats, sugar and vanilla. Simmer gently for 3-4 mins.
My Editor Journey A quick rant/history of the editors I've used throughout my career. Hopefully, this will evolve over time so I can look back with nostalgia. Eclipse I've been using eclipse since my college days (starting in 2004-2005). It's a staple for various types of