Skip to content

Instantly share code, notes, and snippets.

@seaofclouds
seaofclouds / appcache.manifest
Last active February 22, 2017 17:47 — forked from autioch/index.html
Charades - JS example.
CACHE MANIFEST
# Cache manifest version 0.0.1
# If you change the version number in this comment,
# the cache manifest is no longer byte-for-byte
# identical.
index.html
NETWORK:
# All URLs that start with the following lines
@seaofclouds
seaofclouds / backend iconography animated.markdown
Created January 22, 2016 23:07
backend iconography animated
@seaofclouds
seaofclouds / gist:3364564
Created August 15, 2012 23:11 — forked from ejholmes/gist:3364440
Base google map style
window.gmaps_style = [
{
featureType: 'all',
elementType: 'all',
stylers: [
{ color: '#1B1B23' }
]
},
{
featureType: 'administrative',
@seaofclouds
seaofclouds / gistdeck-bugs.md
Created June 27, 2012 20:10
GistDeck bug testing

broken code inside a list

  • ['a', 'b'].map(&:uppercase)

  • is the above line broken?

@seaofclouds
seaofclouds / Tendercrawl.md
Created June 17, 2011 21:25 — forked from dylanegan/Tendercrawl.md
Tenderloin bar crawl
@seaofclouds
seaofclouds / html color names
Created January 15, 2011 00:41
html color names sorted by hue
Snow
SeaShell
LavenderBlush
MistyRose
Linen
Pink
LightPink
Red
Crimson
HotPink
@seaofclouds
seaofclouds / japan-mythical_creatures.txt
Created October 25, 2010 18:57
A long list of Japanese Mythical Creatures
Inspired by VividDreams' topic: "Mythical Creatures A-Z"
source: http://www.animationsource.org/board/japanese-mythical-creatures-t14593.html
A
* Abumi-guchi - a furry creature formed from the stirrup of a mounted military commander
* Abura-akago - an infant ghost who licks the oil out of andon lamps
* Abura-bō - a spook fire from Shiga Prefecture, in which the shape of a monk can often be seen
* Abura-sumashi - a spirit who lives on a mountain pass in Kumamoto Prefecture
* Akabeko - a red cow involved in the construction of Enzō-ji in Yanaizu, Fukushima
<!-- html5 for ie 6, 7, 8 -->
<!--[if IE]>
<script type="text/javascript">
(function(){
var html5elements = "address|article|aside|audio|canvas|command|datalist|
details|dialog|figure|figcaption|footer|header|hgroup|keygen|mark|meter|
menu|nav|progress|ruby|section|time|video".split('|');
for(var i = 0; i < html5elements.length; i++){
document.createElement(html5elements[i]);
h1 {
font-size:210%;
text-shadow: 1px 1px 5px black;
font-weight:bold;
text-transform:uppercase;
background: -webkit-gradient(linear, 0% 35%, 0% 79%, from(#FAFAFA), to(#A1A1A1), color-stop(.4,#C9C9C9)), none;
-webkit-background-clip: text;
color:transparent;
}
error do
@e = request.env['sinatra_error']
haml :"error"
end
get "/:name" do
@tag = Tag.first(:name => params[:name]) || raise('Tag not found')
haml :list
end