node_modules => node_modules.tar.gz
static/src/jspm_packages => jspm_packages.tar.gz
facia-tool/public/node_modules => facia_node_modules.tar.gz
facia-tool/public/jspm_packages => facia_jspm_packages.tar.gz
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
<?php | |
class DogImage { | |
public $filename; | |
public $gdImage; | |
public $mimeType; | |
public $targetWidth = 960; | |
public $allowedTypes = array( | |
1, // [] gif | |
2, // [] jpg |
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
find . -type f -exec sed -i -r -e 's/(jsonp?|send)\(([0-9]+)\,\ /status\(\2\)\.\1(/g' {} \; |
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
package main | |
import ( | |
"code.google.com/p/go-tour/tree" | |
"fmt" | |
) | |
// Walk walks the tree t sending all values | |
// from the tree to the channel ch. | |
func Walk(t *tree.Tree, ch chan int) { |
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
<Book> | |
<Title>Sherlock Holmes</Title> | |
<Author>Arthur Conan Doyle</Author> | |
</Book> |
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
function scan(xs, f, acc) { | |
var result = []; | |
for (var i = 0; i < xs.length; i++) { | |
acc = result[result.push(f(acc, xs[i])) - 1]; | |
} | |
return result; | |
} |
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
fontforge -lang=ff -c 'Open($1); SelectWorthOutputting(); foreach Export("svg"); endloop;' font.ttf |
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
data Grid a = Grid [[a]] | |
deriving Show | |
instance Functor Grid where | |
fmap f (Grid xs) = Grid (map (\ys -> map (\y -> f y) ys) xs) |
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
<h1>Page title</h1> | |
<p>Intro paragraph.</p> | |
<h2>Sub-heading</h2> | |
<ul> | |
<li>First list item!</li> | |
<li>Second list item!</li> | |
</ul> | |
<h2>Another sub-heading</h2> |
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
<style type="text/css"> | |
.blog-content h2 { | |
font-size: 120%; | |
font-weight: bold; | |
margin: .5em 0; | |
} | |
.blog-content ul { | |
margin: 1em 5em; | |
} |
OlderNewer