Uncategorized
Getting to Travis and GitHub Pages Quickly
Getting to Travis and GitHub Pages Quickly Often, when I’m working locally I like to bounce right over to a GitHub repository url to check something. I ended up writing a bit of code to make this easier. While I was at it, I decided it would be nice to have the same thing for […]
Read Full Post | Make a Comment ( Comments Off on Getting to Travis and GitHub Pages Quickly )The best ever explanation of Decorators in Python
The best ever explanation of Decorators in Python I have checked like a dozen explanations for Python Decorators. Some of them are good. But this Stack Overflow answer just beats them all. Such an awesome answer. It is a bit long as it has built the theory step by step.
Read Full Post | Make a Comment ( Comments Off on The best ever explanation of Decorators in Python )Teach Makefile.PL to use cpanm
Teach Makefile.PL to use cpanm When writing perl modules, more often than not a few dependencies creep in … which makes it a wee bit awkward when developing the module, because I then have to somehow install these dependencies, and I would rather not get them all over the place but neatly in the module […]
Read Full Post | Make a Comment ( Comments Off on Teach Makefile.PL to use cpanm )Perl’s Pegex Module: a great way to parse files by creating grammars
Perl’s Pegex Module: a great way to parse files by creating grammars We recently came across Pegex and found it to be an interesting module for parsing text data. Instead of using regular expressions directly, the user can write a grammar for the data to be parsed. The data can be automatically converted to a […]
Read Full Post | Make a Comment ( Comments Off on Perl’s Pegex Module: a great way to parse files by creating grammars )Feedback on my way to organize Emacs settings
Feedback on my way to organize Emacs settings I was reviewing my emacs dot files organization, which at the moment I did it served me well, but I want to know if there are any other better ways to organize your dot files. Mine just loads a bunch of .el files stored in the inits/ […]
Read Full Post | Make a Comment ( Comments Off on Feedback on my way to organize Emacs settings )Bash One-Liners Explained
A five part series on Bash one-liners by Peteris Krumins Working with files Working with strings All about redirections Working with history Navigating around
Read Full Post | Make a Comment ( Comments Off on Bash One-Liners Explained )Python 101: An Intro to Benchmarking your code
Python 101: An Intro to Benchmarking your code What does it mean to benchmark ones code? The main idea behind benchmarking or profiling is to figure out how fast your code executes and where the bottlenecks are. The main reason to do this sort of thing is for optimization. You will run into situations where […]
Read Full Post | Make a Comment ( Comments Off on Python 101: An Intro to Benchmarking your code )« Previous Entries Next Entries »