I hereby claim:
- I am cdmwebs on github.
- I am cdmwebs (https://keybase.io/cdmwebs) on keybase.
- I have a public key whose fingerprint is 5AE0 2E7B 7374 14E5 1D5D 9059 4519 4E04 84FD 5328
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
GASLIGHT CAMPFIRE | |
Unicorn-Office: Monday, July 22, 2013 | |
[ Doug A.:] Don't know how many of you guys saw the discussion this weekend about the Cincinnati tech community. I really enjoyed following along | |
[ Doug A.:] I'd be very interested in hearing from more of our community why they participate: Alan Audette, Ben Stafford, Geoff Cornwall, Jim Anders, (especially) Joe Herbers | |
[ Doug A.:] and you too Carin Meier | |
[ Josh O.:] Carin Meier: yeah, we love LOL | |
[ Josh O.:] We signed them up to take their core classes there, this year | |
[👊 THE BEAR 👊.:] LOL | |
[ Carin M.:] I have to find a new school for our kids |
Pod::Spec.new do |s| | |
s.name = 'KIF' | |
s.version = '0.1.0' | |
s.license = 'Apache' | |
s.summary = 'Keep It Functional - iOS Test Framework.' | |
s.homepage = 'https://github.com/square/KIF' | |
s.author = { 'Square' => 'https://squareup.com/' } | |
s.source = { :git => 'https://github.com/square/KIF.git', :commit => 'e4bc08c5f3e8a6a547ab5ce8561fda4912f2129f' } | |
s.description = <<-DESC |
require 'plist' | |
require 'csv' | |
plist = [] | |
CSV.foreach('growth.csv', headers: true, return_headers: false) do |row| | |
next if row['Plant'] == 'Plant' | |
puts row.inspect | |
plist << { plant: row['Plant'], code: row['Code'], description: row['Description'].to_s } | |
end |
The Cincinnati startup web development community sucks.
At least that’s the feeling we walked away with after reading an article posted March 11, 2012 by Laura Baverman on Cincinnati.com’s EnterChange blog. The article holds some credible facts, but not necessarily inevitable conclusions. The end result of her observations seems a little flawed. Cincinnati can sustain not only talented coders and designers; it already does. Absolutely, lots of local talent will go elsewhere to seek employment and opportunities, but plenty have stayed because they recognize the potential right here in the Queen City. Sure it’s risky joining a startup vs. an established corporation, but if recent history has shown us anything, at least we know the future always involves risk. We’re traditionally an exceptionally conservative city, but in times like these, risk is best placed where your heart lay. Passion and commitment are what drives business. What better way to focus
#!/usr/bin/env ruby | |
require 'redcarpet' | |
require 'albino' | |
require 'nokogiri' | |
raise "No file specified" if ARGV[0].nil? | |
@content = File.read(ARGV[0]) | |
class HTMLwithAlbino < Redcarpet::Render::HTML |
brew install rbenv ruby-build
echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile
rbenv install 1.9.2-p290
rbenv global 1.9.2-p290
rbenv rehash
gem install bundler rails
{ | |
"_id": "2643f4d1de6a4d880678fa0f720efd76", | |
"_rev": "2-8070abd82658a3c390053c8b3b184df9", | |
"type": "camera", | |
"location": "I-275 at Colerain Ave.", | |
"href": "http://www.artimis.org/camera/camera112.php", | |
"latitude": null, | |
"longitude": null, | |
"imageURL": "http://cmhimg01.dot.state.oh.us/images/artimis/CCTV112.jpg" | |
} |
By default, Rails applications build URLs based on the primary key -- the id
column from the database. Imagine we have a Person
model and associated controller. We have a person record for Bob Martin
that has id
number 6
. The URL for his show page would be:
/people/6
But, for aesthetic or SEO purposes, we want Bob's name in the URL. The last segment, the 6
here, is called the "slug". Let's look at a few ways to implement better slugs.
// Adds a live filter box to the results screen on craigslist | |
// that filters the results that are currently on the page by | |
// the search term. Like Cmd-F, but better. | |
// NOTE: Requires dotjs. | |
if (window.location.pathname.match(/\/search\//) && !$('body').html().match(/Nothing found for that search/)) { | |
var searchHash = window.location.hash, | |
searchString = searchHash.split("/")[1], | |
filterResults = {}, |