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

The Context of Markup vs Expressions of Equality in Determining the Meaning of Angled Brackets
In the Wordpress editor (html mode) you'll need to become friends with < and > if you plan on showing any code (php, html... xml, most languages actually) that readers will want to understand. I never thought about it, but assumed that the lt and...
Written by Sean Behan on 06/17/2012
Testing current_user and Sessions with Sinatra and Rack Test
Assume you have your standard Sinatra application. # app.rb require 'sinatra' configure do enable :sessions end get '/' do if session[:user_id] "OK" else raise "NOT OK!" end end To test this you need to make a re...
Written by Sean Behan on 08/22/2013
Python String Format Precision of Float
You can use string interpolation in combination with a dictionary for simple formatting. print "My name is %(name)s and I have $%(change)0.2f in change in my pocket!" % { 'name': 'Sean', 'change': 00.23 } # My name is Sean and I have $0.23 in chang...
Written by Sean Behan on 11/20/2013
OpenSSL Certificate Generation Information for Certificate Authority to Serve Traffic Over Https
apt-get install openssl openssl genrsa -des3 -out server.key 1024 openssl req -new -key server.key -out server.csr You'll be prompted to enter a password (don't forget it!) as well as fill in company identity information. The most important part is the ...
Written by Sean Behan on 06/17/2012
My First Data Visualization McCain V. Obama Election Results
Here is my first data visualization. I used the Processing programming language and an SVG map of the United States. ...
Written by Sean Behan on 06/17/2012