Hi

I'm Sean.

I write about #software, #SaaS, #consulting and #mobile app development

I code in #Python, #PHP, #Swift, #Ruby, #ReactJS and #Postgres


Random Blog Posts See more posts

Using jQuery and Prototype Javascript Together with jQuery.noConflict();
To use the jQuery javascript framework in a Rails application, that also uses the Prototype framework for the same application, you'll need to reassign the $() function for jQuery to another variable. This is very simple to do. Just make sure to include t...
Written by Sean Behan on 06/17/2012
Changing GitHub Issue State in Git Commit Message
Changing issue state in git commit message for Github issues fixes #xxx fixed #xxx fix #xxx closes #xxx close #xxx closed #xxx Example git commit -am'complete bug fix closes #123'
Written by Sean Behan on 06/17/2012
How to Split a Large File Into Smaller Files on OSX or Unix
Use the split command. split -l 1000 name-of-file output/directory You can set the number of lines (the "-l" flag) to split on and also the location of where the split files should be saved. Note, the output directory must already exists....
Written by Sean Behan on 10/08/2013
Get Child Categories of Parent Category on Single Post in Wordpress
I was hoping to find a function in the Wordpress API, that goes something like this... the_child_categories("Vermont"); // print Burlington, Brattleboro... etc if this post has any child categories of Vermont But I could not. The result that I did ...
Written by Sean Behan on 06/17/2012
Pickle Python Objects
import pickle entity = { "user_id": "1", "title": "Natural Dog Training", "link": "http://naturaldogtraining.com", } pickled_entity = pickle.dumps(entity) unpickled_entity = pickle.loads(pickled_entity)
Written by Sean Behan on 06/17/2012