Blog.Reboot()

hugo blogging

I’ve been considering moving away from blogger and using one of the static site generators for my blogging needs. There’s quite a few things in the way though - migrating content, search engine rankings and then the fidelity of the migration. The last time wasn’t too easy so I’ve been putting it off for sometime…​ finally, I’ve gotten around to it and it took some doing. My blog was initially on Wordpress.

Read more →

Proxy pac file to switch proxy based on whether I’m connected to OpenVPN or not. Basically, OpenVPN IP is 10.8.0.6 and at home I have 192.168.1.xxx - so if either of those two are available, then I bypass proxy. function FindProxyForURL(url, host) { // firefox - Ctrl-Shift-J Chrome/Chromium: chrome://net-internals/#events var debug = true; var log = function() { if (debug) { var args = Array.prototype.slice.call(arguments); alert(args.join(" ")); } } var bypassProxy = false; log("

Read more →

Just pushed out a minor update v1.2.4 to Easyblogger This release now let’s you get blog posts by url # get a post by url $ easyblogger get -u "https://blog.rraghur.in/2015/06/js-development-2015.html" 658290074469501527,JS development - 2015,/2015/06/js-development-2015.html

Read more →

So this post is more a memory aid for me rather than anything as I transition over to using asciidoc for my blogging/general technical writing needs. Content is almost verbatim from the asciidoc online user manual - but since I have to wrangle blogger css a bit, this is basically to check if everything works as advertised on the tin styling wise. Code with callouts using log4net; using log4net.Config; using log4net.

Read more →

I’ve been a markdown user almost exclusively - more due to github and stackoverflow popularizing the format. Markdown is great for lightweight markup and with excellent tools like Pandoc, it’s a joy to produce good looking technical docs. Suffice to say that I’ve been taken with markdown and even use it to produce word documents and such. While Markdown is great, it has it’s share of niggles - try to go beyond the basics and want some advanced features and you get into trouble.

Read more →

What’s a trie? A trie is a datastructure that’s optimized for prefix retrieval. It’s basically a prefix tree with each node being the letters seen till that point. For example - A trie with apple Now if we add apply to the tree above, we get: What if we add something without a common prefix - say boat I needed a trie recently and was checking Nuget for available libraries - surprisingly there aren’t too many datastructure libraries available for .

Read more →

I just pushed version 1.1.0 of EasyBlogger to pypi. Notable changes are that it now exposes ability to set pandoc filters. Pandoc filters basically let you write plugins that can affect the document conversion. For example, my filter - mermaid-filter will let you embed diagrams in text using mermaid syntax and then when you convert a markdown document, generate a .png file on the fly, upload it to imgur and embed the link in the generated HTML file - so that your final HTML shows the image and not a fenced code block!

Read more →

Of late, we’ve been working with more and more customers who want to adopt DevOps friendly engineering culture and practices. While customers love what they hear about DevOps, esp that it lets you ship features sooner out of the door and shorten feedback cycles, my experience with customer organizations has been somewhat a mixed bag in terms of true on the ground adoption. A recent experience that has gotten me thinking is about feature branches vs feature flagging.

Read more →

If you’re a fan of Vim, then no doubt you’ve heard of Neovim - in fact, neovim has been a key driver in much of the changes that have made it into the latest version of vim (async, job control etc). Neovim works extremely well as a daily driver on Linux - but for Windows support has been lagging. I’ve been using a fork from contributor equalsraf who’s been behind a lot of the windows support.

Read more →

Cleaned out my desktop machine today. It’s been a long time since I did and it’s got loads of dust and dust bunnies inside. The fan’s been whining away for sometime and gotten irritating. It’s been a good ten days since I felt good - had come down with another attack of pancreatitis and after the usual running around, finally was feeling ok. Anyway, armed with a compressed air can, microfiber gloves, screwdrivers, thermal paste and isopropyl alcohol, opened up my case.

Read more →