Skip to content

Instantly share code, notes, and snippets.

@seaofclouds
seaofclouds / tumblr_template.html
Created August 14, 2008 17:34
tumblr template
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- DEFAULT COLORS -->
<meta name="color:Background" content="#222"/>
<meta name="color:Content Background" content="#fff"/>
<meta name="color:Title" content="#666"/>
<meta name="color:Description" content="#777"/>
<meta name="color:Nav Links" content="#44A3E2"/>
@seaofclouds
seaofclouds / .bash_profile
Created August 14, 2008 18:28
bash profile
# save to ~/.bash_profile
# == ALIASES ====================
# general settings
alias settings="mate ~/.bash_login"
alias reload="source ~/.bash_login"
alias x="exit"
alias cl="clear"
alias ls="ls -la"
!background = #fff
!text = #000
!highlight = red
body
:background-color = !background - #222
:color = !text
:padding 2em
:font-family Georgia, times, "Times New Roman", serif
a
- if @choice
= @choice.junction.title
= @choice.junction.text
= @choice.text
= render :partial => 'form'
@seaofclouds
seaofclouds / index.html
Created August 21, 2008 07:16
pop! for jQuery, hashing out bugs
<div class='menu'>
<div class='demo pop'>
<h3 class="pop_toggle">Demo</h3>
<p>you can put anything you want in here!</p>
<p>images, links, movies of your cats. you name it!</p>
<p>you can even have several on the same page.</p>
<p>hoorah!</p>
</div>
<h3>test</h3>
<div class='test pop'>
// structure
//
// <div class="pop">
// <div class="pop_toggle"></div>
// <div class="pop_content">
// content_here
// </div>
// </div>
@seaofclouds
seaofclouds / backpack_note.html
Created August 29, 2008 06:48
fork of ibackpack.css to display 37signals' Backpack pages on iPhone
/* paste this html as a note into your backpack page(s)
p{text-align:center;margin-top:-1em}. <small><a href="http://gist.github.com/7927" style="color:#ddd">iBackpack Lite</a></small><meta name="viewport" content="width=320, user-scalable=no" /><link media="only screen and (max-device-width: 480px)" href="http://gist.github.com/7927.txt" type="text/css" rel="stylesheet" />
*/
@seaofclouds
seaofclouds / gist:9218
Created September 7, 2008 00:57 — forked from defunkt/gist:9214
it works, sucka!
def index
@query = params[:query] || ''
params[:to_language_ids] && params[:to_language_ids].size <= 1 ?
monolingual(params[:to_language_ids].first) :
multilingual
end
body {
-webkit-text-size-adjust: none !important;
}
html body#body div#Header div#Tabs ul#MainTabs li a {
font-size: .9em !important;
line-height: 1.2em !important;
}
html body#body {