- define subject area
- identify topics
- align topics on timeline (12 months?)
- break topic into bullet points
- write pitch/proposal
- identify opportunities
- internal company talk
- meetup / presentation evening
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
# Ingredients | |
* 2 tomatoes | |
* 1 large cucumber | |
* 1 small red onion | |
* leftover red quinoa & yellow pepper salad | |
# Preparation | |
1. Finely dice tomatoes, cucumber, and onion. | |
2. Mix in salad bowl with yesterday's leftover salad | |
3. Serve |
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
/* | |
In desktop browsers, an email input and a submit input line up neatly against each other and are the same height. | |
(there's obviously whole reams of other related code) | |
In iOS, I've had to nudge the second input to make them align. Any suggestions for making this more elegant or not doing it at all? | |
*/ | |
/** Device specific stylings (probably) **/ | |
@media screen and |
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
privatefilter.bash |
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
def f(ra,n) | |
r=0 | |
ra.each {|x| r+=1 if x.include? n} | |
r | |
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
# So this is in my controller: | |
@items = Dir.glob("views/*/*") | |
# Its contents look like this: | |
# views/controls/actions.haml | |
# views/controls/buttons.haml | |
# views/controls/formForge.haml | |
# views/controls/hide-actions.haml |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'> | |
<head> | |
<title>IE float bug</title> | |
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' /> | |
<style type='text/css'> | |
body { | |
font-family: Helvetica, sans-serif; } | |
#container { |
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
# assume we're passing the values from the file below as arguments to the following: | |
# WTF is name always nil? | |
def filtered_filenames(paths) | |
paths ||= [] | |
paths.collect { |path| | |
path[/.+\/(.+)$/, 1] | |
}.reject { |name| | |
name == "index.haml" | |
} |
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
# cut out of a real app, so a bit bastardised and probably wouldn't run as it's own Sinatra app, but I think it pretty much covers the entire process of Twitter OAuth | |
require 'sinatra' | |
gem 'oauth' | |
require 'oauth/consumer' | |
module Twitter | |
class Application < Sinatra::Application | |
enable :sessions |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html> | |
<head> | |
<style> | |
.wrapper { border: 1px solid black; } | |
.wrapper h3 a { float: right; width: auto; } | |
</style> | |
<!--[if lte IE 7]> | |
<style> |
OlderNewer