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
#!/usr/bin/ruby | |
# curious? | |
system("open", 'suoirucrkoob/yl.tib//:p0h'.gsub('0', 't').reverse) |
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
#issue | |
%li.ticket_types | |
= f.inputs :for => :ticket_types do |tt| | |
<li class="ticket_types"></li> | |
<li class="input"> <!-- uh oh! -> | |
... | |
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
Do What You Love | |
By Raganwald | |
STOP READING | |
START DOING | |
The 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
import subprocess | |
import string | |
a = 1 | |
while (a < 11): | |
if a % 2 == 0: | |
subprocess.call(["say", str(a)]) | |
a = a + 1 | |
subprocess.call(["say", 'booty']) |
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
Failures: | |
1) EventsController when authorized#create when successful should redirect to the newly created event path | |
Failure/Error: response.should redirect_to event_path(@event) | |
Expected response to be a redirect to <http://test.host/events/event85> but was a redirect to <http://test.host/events/event85/edit> | |
# ./spec/controllers/events_controller_spec.rb:348:in `block (5 levels) in <top (required)>' | |
2) EventsController when authorized#update when successful should redirect to event show | |
Failure/Error: response.should redirect_to event_path(@event) | |
Expected response to be a redirect to <http://test.host/events/event115> but was a redirect to <http://test.host/events/event115/edit> |
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
%a{:href => event_view.list_single(:path), :class => event_view.list_single(:class)} | |
.overlay_container | |
.title_overlay | |
%h1{:class => font_size_class(event_view.name)}= event_view.name | |
%h2= event_view.poster_showtimes | |
%h2= event_view.venue.venue_name | |
- if event_view.attendee_restriction | |
%h2= event_view.attendee_restriction.friendly_name | |
.event_image_wrapper | |
= image_tag event_view.poster_image_url(request.protocol, :medium) |
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
Typical conversation with Trevor Hartman | |
------------------------------------ | |
Trevor: new Noy Joy EP on spotify is good | |
Ryan: is that Japandroids? | |
Trevor: No Joy is the band | |
Ryan: then I don't like it |
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
DD.directive "add", () -> | |
(scope, element) -> | |
element.bind "click", ()-> | |
scope.data.items.push {id: "newID", name: "New Item"} | |
scope.$apply() | |
return |
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
Jayden | |
I love you | |
Jayden | |
I love you | |
You help your parents at their store | |
Even though you could tell them to fuck off | |
Jayden |
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
<link rel="import" href="../../lib/core-ajax/core-ajax.html"> | |
<polymer-element name="cxz-vehicle-menu" noscript> | |
<template> | |
<core-ajax auto url="{{url}}" handleAs="json" on-core-response="{{ajaxResponse}}"></core-ajax> | |
<h2>Vehicles</h2> | |
<template repeat="{{v in vehicles}}"> | |
<li>{{v.year}} {{v.make}} {{v.model}}</li> | |
</template> | |
</template> |
OlderNewer