Skip to content

Instantly share code, notes, and snippets.

View qrush's full-sized avatar
🕸️
Making internets

Nick Quaranto qrush

🕸️
Making internets
View GitHub Profile
diff --git a/app/views/devise/shared/_links.erb b/app/views/devise/shared/_links.erb
dissimilarity index 99%
index 414904b..0b0b21d 100644
--- a/app/views/devise/shared/_links.erb
+++ b/app/views/devise/shared/_links.erb
@@ -1,19 +1,15 @@
-<%- if controller_name != 'sessions' %>
- <%= link_to "Sign in", new_session_path(resource_name) %><br />
-<% end -%>
-
@qrush
qrush / gist:5301799
Created April 3, 2013 14:41
spring clean your git repos!
# remove any bad refs
git remote prune origin
# pipe into bash and auto-delete any branches that have been merged into master!
git log master --pretty=format:'%d' | grep '^ (origin' | tr -d ' ()' | sed 's/origin\//git push origin :/'
@qrush
qrush / MY_PHONE.md
Last active December 15, 2015 11:58
MY PHONE

Phone: Black iPhone 4S.

Ringtone: Whatever the default is because the moment anyone starts sampling ringtones in any public space, they're just being a jerk.

Case: Glass. It's custom engraved with several dents from parking lot pavement.

Background: My dog. He reminds me of being home and picking up poop.

Last Text: From my life partner: "You call". We were both too lazy to press "FaceTime".

@qrush
qrush / gist:5238832
Created March 25, 2013 17:20
dependencies on compass
pp Dependency.where(:rubygem_id => Rubygem.find_by_name("compass").id).map(&:version).map(&:full_name).sort
@qrush
qrush / gist:4679594
Created January 31, 2013 03:04
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type='text/css'>
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
.container_12,.container_16{margin-left:auto;margin-right:auto;width:960px}.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12,.grid_13,.grid_14,.grid_15,.grid_16{display:i
@qrush
qrush / gist:4677292
Created January 30, 2013 21:36
top 1000 gem names with created date
This file has been truncated, but you can view the full file.
thor-0.17.0 2013-01-24 00:52:16 UTC
thor-0.16.0 2012-08-14 02:09:44 UTC
thor-0.15.4 2012-06-29 13:23:54 UTC
thor-0.14.4 2010-11-04 12:44:19 UTC
thor-0.13.3 2010-02-17 15:29:50 UTC
thor-0.15.2 2012-05-07 00:28:10 UTC
thor-0.9.8 2009-07-25 17:49:47 UTC
thor-0.9.6 2009-07-25 17:49:48 UTC
thor-0.9.7 2009-07-25 17:49:47 UTC
thor-0.14.2 2010-09-24 19:00:54 UTC
@qrush
qrush / gist:4676363
Created January 30, 2013 20:04
top 1000 gems by downloads
[[25433345, "thor"],
[23854425, "rake"],
[21253644, "rails"],
[21575987, "rack"],
[19408780, "activesupport"],
[16265610, "activerecord"],
[15920580, "actionpack"],
[16207231, "json"],
[15497117, "actionmailer"],
[15335833, "activeresource"],
@qrush
qrush / gist:4675642
Created January 30, 2013 18:48
URLs for gems with over 1M downloads
http://production.cf.rubygems.org/gems/thor-0.17.0.gem
http://production.cf.rubygems.org/gems/thor-0.16.0.gem
http://production.cf.rubygems.org/gems/thor-0.15.4.gem
http://production.cf.rubygems.org/gems/thor-0.14.4.gem
http://production.cf.rubygems.org/gems/thor-0.13.3.gem
http://production.cf.rubygems.org/gems/thor-0.15.2.gem
http://production.cf.rubygems.org/gems/thor-0.9.8.gem
http://production.cf.rubygems.org/gems/thor-0.9.6.gem
http://production.cf.rubygems.org/gems/thor-0.9.7.gem
http://production.cf.rubygems.org/gems/thor-0.14.2.gem
@qrush
qrush / gist:4675608
Created January 30, 2013 18:44
gems over 1M downloads
[[25431104, "thor"],
[23851507, "rake"],
[21572898, "rack"],
[21251712, "rails"],
[19405947, "activesupport"],
[16263514, "activerecord"],
[16204420, "json"],
[15918488, "actionpack"],
[15495069, "actionmailer"],
[15333838, "activeresource"],
@qrush
qrush / gist:4675540
Created January 30, 2013 18:36
latest_specs gems
This file has been truncated, but you can view the full file.
http://production.cf.rubygems.org/gems/rdvd-slideshow-0.0.3.gem
http://production.cf.rubygems.org/gems/class_dependencies-0.5.2.gem
http://production.cf.rubygems.org/gems/rdoc_html_templates-2.3.0.gem
http://production.cf.rubygems.org/gems/crags-2.2.1.gem
http://production.cf.rubygems.org/gems/tinyq-0.5.0.gem
http://production.cf.rubygems.org/gems/test_parser-0.0.4.gem
http://production.cf.rubygems.org/gems/zoomifier-1.3.gem
http://production.cf.rubygems.org/gems/zomgjeweler-0.0.0.gem
http://production.cf.rubygems.org/gems/nagios_alerter-0.1.1.gem
http://production.cf.rubygems.org/gems/john-mayer-0.2.2.gem