Skip to content

Instantly share code, notes, and snippets.

@pwnela
pwnela / parent_request.html.erb
Created November 28, 2011 15:36
from user model
<p>Hello, <%= @parent_user.firstname %>!</p>
<p>@user.firstname @user.lastname has requested to be added to your metered account.:</p>
$('#carpets_tab').click(function(){
$('#home_tab').removeClass('ui-btn-active ui-state-persist');
$(this).addClass('ui-btn-active ui-state-persist');
});
#nav-header{ "data-role" => "header", "data-theme" => "c" }
%h1= image_tag "http://www.karastanonthego.com/karastan-toolbar-logo.png"
%div{ "data-role" => "navbar" }
%ul
%li= link_to "Home", "#home-page"
%li= link_to "Carpets", "http://localhost:3000/kc/1246/3?context=jquerymobile"
%li= link_to "Rugs", "http://localhost:3000/kr/1246/3?context=jquerymobile"
%li= link_to "Favorites", "http://localhost:3000/catalog_favorites?context=jquerymobile&dealer_id=1246&catalog_id=3"
%li= link_to "Where to Buy?", "http://localhost:3000/geocoded_dealers?context=jquerymobile"
#nav-panel
POST /completed_forms?form_type=reallycoolform&form_data[question1]=answer1&form_data[question2]=answer2&form_averages[average1]=4&direct_report[t_number]=12345ABC
Last login: Wed Mar 19 14:02:46 on ttys003
➜ intersect git:(release/20140318) ✗ brew info imagemagick
imagemagick: stable 6.8.7-7 (bottled), HEAD
http://www.imagemagick.org
/usr/local/Cellar/imagemagick/6.8.7-0 (1435 files, 21M)
Built from source
/usr/local/Cellar/imagemagick/6.8.7-7 (1431 files, 20M) *
Poured from bottle
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/imagemagick.rb
==> Dependencies
➜ intersect git:(release/20140328) ✗ bundle exec cucumber features/creator/lesson_management.feature
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Resque::Helpers will be gone with no replacement in Resque 2.0.0.
Using the default profile...
....................................................................................................................F-------------------.....................F-----.........F--......................
(::) failed steps (::)
➜ ~ ssh -vvv pair@ngrok.com -p 38980
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /Users/pwnela/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 102: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to ngrok.com [173.255.204.192] port 38980.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
"We want to ship coffee to Spain."
"We want to ship coffee to the United States."
vs
Select your country:
Spain
United States
@pwnela
pwnela / gist:8545cc02c370c7396edf
Last active August 29, 2015 14:19
missing speakers
André Arko
Claudio Baccigalupo
Eduardo Gutierrez
Jaimelynschatz
Jim Jones
Jonathan Jackson
Michael May
Mike Milner
Peter Harkins
~~Richard Schneeman~~
Jeff Atwood, @codinghorror, “Please Don't Learn to Code" blog.codinghorror.com/please-dont-learn-to-code
Zed Shaw, @zedshaw, ”Please Don't Become Anything, Especially Not a Programmer" http://learncodethehardway.org/blog/MAY_15_2012.html
Stephanie Morillo, @radiomorillo, RubyWanKenoobie.tumblr.com, alterconf.com/speakers/stephanie-morillo
Sarah Mei, @sarahmei, http://www.sarahmei.com/blog/2014/07/15/programming-is-not-math/
Sara Simon, @sarambsimon, “Seven Months Later”, blog.turing.io/2015/01/29/seven-months-later/
Kylie Stradley, @kyfast, “Amelia Bedelia Learns to Code”, http://railsconf.com/program#prop_1010
Sasha Laundy, @SashaLaundy, “Your Brain's API: Giving and Getting Technical Help”, https://www.youtube.com/watch?v=hY14Er6JX2s
Monica F. Cox, Ph.D., @monicafcox, “Professionally Prepared but Not Pioneer Prepared”, alterconf.com/speakers/monica-f-cox
Ashley Nelson-Hornstein, @ashleynh, “On Heroes”, blog.ashleynh.me/on-heroes
Dominic M. Liddel, @dominicmliddell, “Lessons Learned While Working to Build B