Skip to content

Instantly share code, notes, and snippets.

View adrianpike's full-sized avatar

Adrian Pike adrianpike

View GitHub Profile
= 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"
== 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.
begin
raise Exception
rescue Exception => e
puts e.backtrace.join("\n")
end
<html>
<script type="text/javascript">
var obj = {};
console.log(obj, obj.derpen);
obj.derpen = 'testing';
console.log(obj, obj.derpen);
</script>
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
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
# 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 }
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
.ym-button {
// defined elsewhere, sets up button styles and some such
}
.adrians-button {
&.ym-button;
background-color:purple-as-fuck;
}
document.addEventListener( "DOMContentLoaded", function(){
document.removeEventListener( "DOMContentLoaded", arguments.callee, false );
do_magic();
}, false );