Public Gists by qrush

Gravatar
Thu Sep 10 12:13:43 -0700 2009
1
2
3
vendor/gems/thoughtbot-clearance-0.8.2/app/controllers/clearance/passwords_controller.rb:56:in `forbid_non_existent_user'
 
 
Gravatar
Thu Sep 03 16:50:16 -0700 2009
1
2
3
gem install wrest
 
129.21.140.36, 127.0.0.1 - - [03/Sep/2009 16:32:54] "GET /quick/Marshal.4.8/wrest-0.0.4.gemspec.rz HTTP/1.0" 200 463 0.1175
Gravatar
Sat Aug 22 06:22:38 -0700 2009
1
2
3
[27490] Request receive-pack for '/56ff3dcb946afab33aa49b8458b92f9b781eb6b2'
[27490] STARTING [d5233882d6f4cabaa735e621d8ca2876e81b3d49 c7ae5043c31f3a8d76b5131fc720c3fb0ff887bd refs/heads/master]
[27490] git update-ref refs/blametree/refs/heads/master/SLIDES.md c7ae5043c31f3a8d76b5131fc720c3fb0ff887bd
Gravatar
Wed Aug 19 17:08:27 -0700 2009
1
2
3
Rendering template within layouts/application
Rendering home/index
Completed in 50ms (View: 14, DB: 39) | 200 OK [http://gemcutter.org/]
Gravatar
Fri Aug 14 18:32:06 -0700 2009
1
2
3
    var DIRECTIONS = {
      37: -1, // ARROW LEFT
      39: 1, // ARROW RIGHT
Gravatar
Tue Aug 11 11:24:07 -0700 2009
1
2
3
---
:environment:
  SERVER_NAME: localhost
Gravatar
Mon Aug 10 13:11:05 -0700 2009
1
2
3
#compdef gem gem1.9
 
gem_general_flags=("(-h --help)"{-h,--help}"[Get help on this command]"
Gravatar
Wed Aug 05 21:15:45 -0700 2009
1
2
3
# this is formatted like crap because heroku console doesn't like multi-line things. also, because this shouldn't happen again, it's in a gist.
 
module Enumerable; def dups; inject({}) {|h,v| h[v]=h[v].to_i+1; h}.reject{|k,v| v==1}.keys; end;end
gist: 156368 post errors to hoptoad from...
Gravatar
Mon Jul 27 07:15:50 -0700 2009
1
2
3
    protected function sendToHoptoad (msg:String):void {
      var yamlData:String = 'notice: \n'
        + ' api_key: YOUR_API_KEY\n'
Gravatar
Mon Jul 27 04:10:05 -0700 2009
1
2
3
gemcutter master $ rake gemcutter:import:verify RAILS_ENV=production
(in /Users/qrush/Dev/rails/gemcutter)
gems/zipruby1.9-0.3.2-x86-mswin32.gem
Gravatar
Sat Jul 25 15:47:49 -0700 2009
1
2
3
Hey folks, I'm really confused with trying to set up a custom domain for Heroku. I don't understand DNS too well, so any help would be appreciated. Currently here's the setup I have: I'm using GoDaddy and Slicehost, and I want to move hosting over to Heroku while still using Slicehost's DNS management. GoDaddy knows the nameservers are ns1, ns2, and ns3.slicehost.net. On slicehost's DNS management I have the following records:
 
name | data | record type
Gravatar
Tue Jul 21 13:57:38 -0700 2009
1
2
3
#!/usr/bin/env ruby
 
require 'rubygems'
Gravatar
Tue Jul 14 10:04:16 -0700 2009
1
2
3
class UsersController < ApplicationController
  def show
    @user = current_user
Gravatar
Thu Jul 09 19:13:07 -0700 2009
1
2
3
public AssessmentOption(int uid, String option, int companyID, String
quoteDate, String quoteNum, String respPerson, String ptOfContact,
String replPartNum, double baseQuote, double shipCost, double
Gravatar
Wed Jul 08 16:03:26 -0700 2009
1
qwerqwerqwer
Gravatar
Mon Jun 29 17:39:08 -0700 2009
1
2
3
        @testing = Object.new
        stub(@testing).name { "TESTING" }
 
Gravatar
Fri Jun 26 10:48:32 -0700 2009
1
2
3
bindkey -v
bindkey "^A" beginning-of-line
bindkey "^E" end-of-line
Gravatar
Mon Jun 22 12:57:57 -0700 2009
1
2
3
Factory.define :user do |user|
  user.email { Factory.next :email }
  user.password { "password" }
Gravatar
Mon Jun 22 06:11:51 -0700 2009
1
2
3
--type-add=ruby=.haml,.rake,.rsel,.builder
--type-add=html=.html.erb,.html.haml
--type-add=js=.js.erb
Gravatar
Tue Jun 16 18:03:22 -0700 2009
1
2
3
diff --git a/.gitignore b/.gitignore
index 5c3fc13..563a3bf 100644
--- a/.gitignore