Skip to content

Instantly share code, notes, and snippets.

View tomstuder's full-sized avatar
🎯
Focusing

Tom Studer tomstuder

🎯
Focusing
View GitHub Profile
@seancdavis
seancdavis / project
Created November 17, 2014 18:45
Simple command line script using Ruby (http://goo.gl/3qcCnv)
#!/usr/bin/env ruby
# Include libraries
#
require 'fileutils'
# Make sure we have our argument
#
if ARGV.size < 1
puts "Usage: project [DIR]"
@seancdavis
seancdavis / _post.html.erb
Last active September 27, 2018 11:31
rails scaffold that belongs to a Devise user model
<% # app/views/posts/_post.html.erb %>
<article>
<h2><%= post.title %></h2>
<!-- ... -->
</article>