This file contains hidden or 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
please :love => 'me' |
This file contains hidden or 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
super :sex |
This file contains hidden or 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
alert('fuck you') |
This file contains hidden or 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
using terms from application "Quicksilver" | |
on process text t | |
do shell script "pingfm " & t | |
end process text | |
end using terms from |
This file contains hidden or 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
# Out of the box the auto asset helpers attemp to include javascript and css files based on the | |
# controller and action names. You can of course customize the logic that generates the path for | |
# each page. | |
# | |
# | |
# Simple Usage: | |
# Add these lines to your layout | |
# stylesheet_link_tag :auto_includes | |
# javascript_include_tag :auto_includes | |
# |
This file contains hidden or 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
<div id="nav" class="fullcolumn"> | |
<ul> | |
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?> ><a href="<?php bloginfo('home'); ?>" title="Home">Home</a></li> | |
<?php wp_list_pages('title_li=&depth=0'); ?> <span style="float:right;position:relative;bottom:24px;right:3px"><a href="<?php bloginfo('rss2_url'); ?>" title="Posts RSS"><img src="/wp-content/themes/baseDARK/img/icons/rss.png"></a></span><br /> | |
</ul> | |
</div><!-- /nav --> |
This file contains hidden or 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
. | |
|-- Snapshots | |
| |-- {a46ad324-7820-4d8c-954b-314fda9ed23b}.mem.trc | |
| `-- {adbd444f-cf4c-4117-b3d1-980987498342}.pvc | |
|-- Snapshots.xml | |
|-- config.pvs | |
|-- config.pvs.backup | |
|-- config.pvs.example | |
|-- fedora.hdd | |
| |-- DiskDescriptor.xml |
This file contains hidden or 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
# These methods are inteded to extend any relationship owned | |
# by a another User | |
# Example | |
# class User | |
# has_manny :comments, :extend => OwnedByOtherUserRelationshipExtension | |
# end | |
module OwnedByOtherUserRelationshipExtension | |
# creates magic methods like these | |
# user.comments.by_blocked_users |
This file contains hidden or 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
class Object | |
define_method :not do | |
Not.new(self) | |
end | |
class Not | |
private *instance_methods.select { |m| m !~ /(^__|^\W|^binding$)/ } | |
def initialize(subject) | |
@subject = subject | |
end | |
def method_missing(sym, *args, &blk) |
This file contains hidden or 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
# I should see that challenge | |
# I should see a challenge | |
# I should not see any challenges | |
# I should see a challenge issued to me by erica | |
# I should see a challenge called "whatever" issued to me by erica | |
# I should see that I am participating in that challenge | |
Then /^I (should|should not)? see (a|any|that|that I am participating in (?:a|that)) challenge(?:s)?(?: called "([^\"]+)")?(?: issued to me by (\w+))?$/ do |should, what, called, issuer| | |
tag = what.match(/^that I am participating in/) ? '#participating .challenge .header' : '.challenge .header' | |
title = @challenge.title if what.match(/that/) | |
title = called if called.present? |
OlderNewer