This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_for(:artwork_tag, :url => "/artworks/#{@artwork.id}/tags/create", :html => { :method => :create, :class => 'form-horizontal' }, :remote => true) do |f| | |
.control-group | |
= f.hidden_field :artwork_id, :value => @artwork.id | |
= f.hidden_field :user_id, :value => current_user.id | |
= f.text_field :tag_name, :class => "input-medium" | |
= f.submit "Add Tag", :class => "btn btn-small btn-primary" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Autonomous Striver with Hidden Strength == | |
Your responses indicate a desire to overcome a persistent feeling of emptiness or dissatisfaction. You believe life should have more to offer, and fear you have somehow not achieved everything you deserve. | |
Your desire for legitimate respect and success has led to increasing anxiety. Consequently, you no longer exhibit some of the friendliness and openness for which you were once known. | |
Similarly, you fear being overly influenced by others. You are often fiercely independent, which sometimes leads to being resistant to the opinions of friends and relatives — even to the point of denying what you fear may actually be true. | |
This behavior stems from your wish to be regarded as an authority. It leads you to react strongly when you suspect you might be wrong. At times you feel that too much is being asked of you, and that you are not properly recognized for your efforts. This situation — be it fueled by others’ jealousy or negligence — adds to the stress in your life. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
raise Exception | |
rescue Exception => e | |
puts e.backtrace.join("\n") | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<script type="text/javascript"> | |
var obj = {}; | |
console.log(obj, obj.derpen); | |
obj.derpen = 'testing'; | |
console.log(obj, obj.derpen); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alpha:dp adrian$ ls | |
0 2 4 6 8 even | |
1 3 5 7 9 | |
Alpha:dp adrian$ ls -1d [02468] | xargs -n 1 -p -J % mv % even/ | |
mv 0 even/?...y | |
mv 2 even/?...y | |
mv 4 even/?...y | |
mv 6 even/?...y | |
mv 8 even/?...y | |
Alpha:dp adrian$ ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError: | |
undefined method `active_card' for #<Stripe::Customer:0x0000012b6dac28>. HINT: The 'active_card' attribute was set in the past, however. It was then wiped when refreshing the object with the result returned by Stripe's API, probably as a result of a save(). The attributes currently available on this object are: id, deleted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# spec/migrations/add_email_at_utc_hour_to_users_spec.rb | |
require 'spec_helper' | |
require Dir[Rails.root.join('db/migrate/*_add_email_at_utc_hour_to_users.rb')].first | |
describe AddEmailAtUtcHourToUsers do | |
let(:migration) { AddEmailAtUtcHourToUsers.new } | |
describe '#up' do | |
before { migration.up; User.reset_column_information } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib | |
MAKEFLAGS: -j2 | |
PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/lib/pkgconfig | |
Error: Failed executing: make (glib.rb:80) | |
These existing issues may help you: | |
https://github.com/mxcl/homebrew/issues/11278 | |
Otherwise, please report the bug: | |
https://github.com/mxcl/homebrew/wiki/reporting-bugs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ym-button { | |
// defined elsewhere, sets up button styles and some such | |
} | |
.adrians-button { | |
&.ym-button; | |
background-color:purple-as-fuck; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener( "DOMContentLoaded", function(){ | |
document.removeEventListener( "DOMContentLoaded", arguments.callee, false ); | |
do_magic(); | |
}, false ); |