Posts

Showing posts from October, 2013

jshint in Sublime Text

really cool add on "cmd-shift-j" to run when installed I had to install Sublime Text Package Manager first , installed appropriate for my version

Denis leaving Fluid and starting with AppNexus Sept 16 2013

Image
My last day at Fluid was Sept 9th after almost 5 years. I have been fortunate to work with some great peer co-workers without whose help I simply would not have come this far. From my first project on Reebok with Drew and Ward to my final on LG with Drew (again) and all those in between Bugaboo, Benefit, Jeldwen etc. I have worked with some great peers in engineering, pmo and design who have helped me and taught me. When I joined Fluid it was a smaller company of approx. 40 people total spread across product and services. We shared one office all on top of each other, cramped and hectic, too hot in summer too cold in winter. But there was a great camaraderie and mutual support. We had a great CEO in Andy and although the work was hard (I worked a third of all weekends in 2009...gawd) we were all in it together (and we all felt it). I remember in the depths of 2009 recession, Andy getting his head shaved in the pub since we beat a revenue target. Local TV news crews covered it. Spe

vertically aligning text within div

css "vertical-align: middle;" can be used to center in the middle vertically but checkout this post, you will have to set the css line-height of what you want to center aligning multiple lines is very tricky, more here  and to center a div within a div

css :not to enable or disable based on presence of class

css :not() pseduo selector is supported in IE9 and up as well as latest other browsers you can use it to style things depending on the presence/absence of other classes e.g. here if body does NOT have a class "show-summary" then hide the summary section body:not(.show-summary) {     .summary {        display: none;     } } ...otherwise if .show-summary is present then show it body.show-summary {     .summary {        display: block;     } } powerful

Git command line alias shortcuts

You can define aliases in bash but in vanilla form they must be 1 word    alias ll='ls -l' I'd like to define a 2 word alias for some git commands e.g. "git s"  for "git status" Well, git does support setting aliases for commands