Neovim on Windows For folks who dig vim as an editor, you have most likely heard of Neovim - a fork of the vim with the goal to modernize the codebase and add unit tests. In fact, on Linux, the editor’s been functional for quite some time and I’ve replaced vim with neovim - and I’ve hardly ever come across a serious issue. My original dotvim works flawlessly with all 54 plugins loaded and running!
Passwords - what a pain. Bajillions of websites, different usernames, work projects and their environments and their passwords…how the hell are you supposed to keep track of all of it. And then a dozen different machines that you work on… and need access to your passwords Each of us have their own mechanisms - plain text file 'hidden' some place to slightly more advanced ones. For the longest of times, I used to have a GPG encrypted text file sync’ed over my github repository.
Weekend with Yeoman So it started with a post on reddit (something that I spend too much time on.) about an interactive Angular JS tutorial. It’s been some time since I played with Angular and decided to spend some time on it. One website led to another and I eventually got around to Yeoman. So ended up digging into Yeoman a lot more than anything else. Given our status at work building brewmaster and scheduler, and our architecture where the front end is just consuming REST services, we might be able to move to a pure Nodejs front end.
What’s it Recently we’ve started down the ElasticSearch/Kibana road and also had a handful of other node.js apps. Setting up access control for these was becoming a pain - especially with ES which doesn’t come with any authentication/security out of the box. General advice on the interwebs is to let upstream server handle authentication and SSL + basic auth is good enough. Install nginx sudo apt-get install nginx apache2-utils Apache2 utils is for generating the htpasswd file for use later.
Kitkat’s here! So Google finally posted kitkat factory images for Nexus4. Saw it on Reddit this morning and started the download before I had my morning cuppa. Hmm - and then to flash. Flashing image will nuke your device (including all photos etc) which I didn’t want. As I was on AOKP, a data wipe will be needed but there’s no reason to kill my storage too. And while we’re at it, why not also root it in the process.
Auto backup It’s been some time since I’ve used anything other than my Nexus 4 to take photos. And after a recent scare where I thought I’d lost 10 years worth of memories after a hard disk failure, I’ve been very diligent about having one or two backups. Google+ does a great job of automatically uploading photos and then applying the auto awesome effects - but just with one downside - if you want to upload photos at full resolution, it will most probably count against your storage quota.
Plugin conflict! If you have both Ultisnips and NeoComplete then you cannot use the same key for expansion. I used to have tab mapped out to both for completion with AutoComplPop and Ultisnips. I had tab set for g:UltiSnipsJumpForwardTrigger but NeoComplete still doesn’t like it. So now, that’s changed to Control + Tab and things are good again. let g:UltiSnipsExpandTrigger="<C-CR>" let g:UltiSnipsJumpForwardTrigger="<C-tab>" let g:UltiSnipsJumpBackwardTrigger="<s-tab>" Only wish one NeoComplete OR Ultisnips makers see this and make it work without conflict
Programming in Python So I’ve mostly used python for one off scripts and tools and at one point for a serious foray into Django - but never came into a situation where I’d thought of publishing anything. Hmm - crossed that bridge over this weekend - and its been a fun journey. I’m writing this post with what I wrote :) Things I’ve picked up Code Better understanding into Python modules, classes and code organization for libraries.
The problem I have a TP-Link WN722N USB Wifi dongle. Linux Mint picked it up during install and seemed like all was good. Then the other day, noticed that sometimes WiFi would be flaky like hell - all I’d get is the password prompt. Turns out that this is a common problem with USB Wifi. After a few days, the pattern appeared to be a recurring problem after putting the computer sleep.