Author Archives: andyortlieb

About andyortlieb

I often find myself figuring out some niche oddities, only to find myself stuck on those same problems a year later due to my wide yet thin activity in certain topics related to my career and hobbies. This blog is where I document these nuances (or nuisances) to ease my pain the second time around, and hopefully that of some other fellow desperate internet scouts.

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

Shortcut for Ignoring Tracked Files in Git


Sometimes I make temporary changes to files that I need for the time being but never want to commit, while needing to commit other stuff. I can’t stash the changes because I need them constantly. Thanks to this article and … Continue reading

Posted in Programming, Software | 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