Category Archives: Uncategorized

Favorite gnome shell extensions


“No topleft hot corner” — Prevents the activities view when you mouse-over the  activities button “Panel world clock” — Always set to GMT “Pomodoro” — A simple pomodor timer “Put windows” — super-arrow keys, super num keys to move windows around … Continue reading

Posted in Uncategorized | 1 Comment

Cheats to ignore files in git


I have this clump in my ~/.bashrc … This provides the following commands: git-ignore /some/filename/ git-unignore /some/file/name git-unignore-all git-ignore-list ## ## Git stuff, helpers ## git config –global user.name AndyO git config –global core.excludesfile ~/.gitignore git_ignore () { if grep … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Practical use of LXC in Arch Linux in March of 2013


I’m writing this for myself in hopes that it benefits somebody else. The guides that I’ve found on LXC have been either unholy scatterbrained or just out of date. Starting from scratch. If you’re fairly new to arch as I … Continue reading

Posted in Uncategorized | Leave a comment

Favorite parts from “A Tour of Go” (in order)


If you happen to see this, bear with me I’m not done yet. Variable scope defined pre-exec to if-statements are available in else blocks. http://tour.golang.org/#22 If-statements have a pre-exec section just like for-statments. http://tour.golang.org/#21 As common, any portion of the for statement … Continue reading

Posted in Uncategorized | Leave a comment

Different require proof of concept, abusing eval for the sake of clearer definitions


// Sample module libraries (would probably be in their own files) someModules = { testModule: {test: function(){console.log(“test from someModule”)}}, anotherModule: { doStuff: function(){console.log(“Doin stuffs!”);}} }; sampleRequire = function() { // Load the modules for (var i=arguments.length-2; i>=0; –i){ // Create … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Truthfulness of empty arrays in Javascript… that’s not cool!


An empty array when cast to Boolean evaluates true, indicating that it is truthy. Boolean([]) true An empty array compared to true evaluates false, indicating that it is not truthy. [] == true false [] == false true And yet … Continue reading

Posted in Uncategorized | Leave a comment

TFTP GET transfer failing for some clients


This never dawned on me, but I spent too much time today figuring out why certain machines were unable to get files from a certain TFTP server. It turns out the “Certain TFTP Server” was not at all the issue. … Continue reading

Posted in Uncategorized | Leave a comment