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
require 'omniauth/oauth' | |
require 'multi_json' | |
module OmniAuth | |
module Strategies | |
class Instapaper < OmniAuth::Strategies::XAuth | |
def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}, &block) | |
client_options = { | |
:title => 'Instapaper', |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Colors</key> | |
<dict> | |
<key>Background</key> | |
<string>0.213 0.245 0.274</string> | |
<key>InsertionPoint</key> | |
<string>1.000 1.000 1.000</string> |
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/env python | |
# By Parker Moore, http://www.parkermoore.de/ | |
# Referenced the following URLs and compiled: | |
# http://lookherefirst.wordpress.com/2007/12/03/check-if-an-entry-is-a-file-or-directory-in-python/ | |
# http://stackoverflow.com/questions/845058/how-to-get-line-count-cheaply-in-python | |
import sys, os | |
def file_len(fname): |
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
/** | |
* Leacock's Projects List | |
*/ | |
body { | |
background: #eee; | |
min-height:100%; | |
font-family: "Alte Haas Grotesk", Tahoma, Geneva, Tahoma, sans-serif; | |
padding-top: 63px; | |
text-align: center; |
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
/** | |
* Nav bar for parkermoore.de | |
*/ | |
@import url("http://www.parkermoore.de/dump/new_home.css"); | |
nav { | |
border-top: #ddd 1px solid; | |
border-bottom: #ddd 1px solid; | |
text-align: center; |
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
/** | |
* ParkerMoore.de Redesign | |
*/ | |
@import url("http://www.parkermoore.de/dump/new_home.css"); | |
body { | |
background-color: rgba(185, 250, 195, 0.15623); | |
} |
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/env ruby -wKU | |
# | |
# This script produces a CSV file of day-by-day sales given a keyword. | |
# | |
keyword = /Concert Ticket */ | |
unless ARGV.empty? | |
filename = ARGV[0].to_s.strip |
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
<?php | |
/** | |
* This "Parse" class contains one method, "parseFullName", | |
* which takes a full name as a single string (including | |
* titles and name suffixes) and parses it into a separated | |
* name array for a CakePHP project of mine which uses a | |
* "Member" model. | |
* | |
* Please feel free to critique! If you use this in your work, |
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
/** | |
* Scroll text behind container | |
*/ | |
body { background-color: #cccccc; font-size: 2em; } | |
#content { background-color: #dddddd; height: 600px; width: 100%; overflow: hidden; } | |
#text_container { | |
background-color: transparent; | |
border-top: 40px transparent solid; |
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
<?php $stylesheet = (strpos($_SERVER['HTTP_USER_AGENT'],"iPhone")) ? "iphone.css" ? "default.css"; ?> | |
<link rel="stylesheet" href="/css/<?php echo $stylesheet; ?>" type="text/css" media="screen" /> |
OlderNewer