Updated 5/22/2013: After some issues with this setup, I've updated the Dotdeb sources to not break after the release of Debian 7 As some may have seen on twitter, I have been toying with ditching the typical Apache in favor of nginx on my production web server. I chose to do this for four reasons: I've setup Apache more times than I can count, and nginx looks like the new cool kid on the block. I'm hoping that the raving fanboys are right, and the memory footprint is far better than Apache. Perfect for a cheap VPS. When I switched to W3 Total Cache for this blog, nginx seems to be the next logical step. Considering it excels with serving static HTML and gziped files, the combo was too good not to try out. It seems that I [Read more...]
Welcome again one and all, for another enthralling edition of Customizing Yo’ Shit with your favorite blogger on this site, Rami J. Massoud! I know this series has been like a bad anime, just stretching out content to fill as much time as possible. But that's what happens when you go for quantity right? Well now we come to the most exciting entry, customizing your emacs experience! For this special occasion, I have once again posted my configs on Github (don't thank me all at once). I will have to admit that the configs are not all mine, they are more of a Frankenstein's Monster, an amalgamation (aww yeaa S.A.T. words!) of the emacs configs harvested from my fine, upstanding, co-workers. What I do have to bring to the table is the most [Read more...]
Quick post tonight to convey the awesomeness of bash functions. Once again, this isn't a tutorial, more of a reminder. Functions, much like aliases, can serve to save you time by allowing you to shortcut complex commands into a few key strokes. Or if you are like me, make it so you don't have to look up the same command over, and over. Obviously since bash functions just run bash commands, they are far more powerful than just shortcuts, but that is how I most often use them. It boils down to this: if I just need to run a command I make an alias; if that command needs an argument or many, I make a function. That simple. I have also included a couple basic functions that I seem to use often enough:
Since I talked about it last night, I might as well continue the trend. How about we start with customizing your bash shell with some handy-dandy aliases? Your list of shell aliases will be ever evolving with your continued usage. The rule of thumb for making a new alias is simple: if you hate typing it, alias it. That not only means commands you don't want to type out, but also common typos. For some examples and ideas, check out mine: Only thing I am missing there is that I have not added in the inevitable aliases for git.
I've decided that using my new(ish), shiny, unibody Macbook Pro as an overpowered and over priced Roku to watch Netflix is kind of a waste. It's been a long while since I have done any significant development on an Apple, so why not see how things have changed? It's not like I hate them or anything... I was inspired by things like that sexy new Github client they released for OSX, which geeks everywhere seemed to be in a tizzy about. Not to mention see what the app store (I said it has been a while) and the new version of XCode have to offer me. Can't forget the droves of people I follow on twitter and know from Build Guild that all seem to develop only in OSX. Now that the mini geek-out is out of our of the way, let's get back to the [Read more...]