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
<object width='425' height='344'> | |
<param name='movie' value='http://www.youtube.com/v/a0BOPX8yy4g&fs=1' /> | |
<param name='allowFullScreen' value='true' /> | |
<param name='allowscriptaccess' value='always' /> | |
<embed id='ytplayer' src='http://www.youtube.com/v/a0BOPX8yy4g&fs=1' type='application/x-shockwave-flash' width='425' height='344' allowscriptaccess='always' allowfullscreen='true' /> | |
</object> | |
<div class="STplayer STplayerEmbedded STplayerBarebones" id="STtranscriptEmbed_1_a0BOPX8yy4g" data-version="1.0"> | |
<div class="STbar"> | |
<div class="STlogo"><a href="http://speakertext.com/captionbox?ref=cb" target="_blank"></a></div> |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<div class="viewport"></div> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/three.js/r58/three.min.js"></script> | |
<script src="//threejs.org/examples/js/controls/OrbitControls.js"></script> |
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
<object type="application/x-shockwave-flash" id="STautoID1" name="STautoID1" data="http://www.youtube.com/v/mNFRg1Tu1y8&fs=1?&enablejsapi=1&playerapiid=STautoID1" width="425" height="344" class="STvideoPlayer" style="visibility: visible;"> | |
<param name="allowFullScreen" value="true"> | |
<param name="allowscriptaccess" value="always"> | |
<param name="allowScriptAccess" value="always"> | |
</object> | |
<div class="STplayer STplayerEmbedded STplayerBarebones" data-version="1.0" id="STtranscriptEmbed_1_mNFRg1Tu1y8"> | |
<div class="STbar"> | |
<div class="STlogo"> | |
<a target="_blank" href="http://speakertext.com/captionbox?ref=cb"></a> |
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
package main | |
import "io/ioutil" | |
func main() { | |
f, err := ioutil.ReadFile("go_file.txt") | |
if err != nil { panic(err) } | |
println(string(f)) | |
} | |
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
package main | |
import ( | |
"io/ioutil" | |
"os" | |
"strings" | |
) | |
func stringInSlice(a string, list []string) bool { | |
for _, b := range list { |
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
python -m SimpleHTTPServer 5000 |
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
alias vi="DYLD_FORCE_FLAT_NAMESPACE=1 vim" | |
alias vim="DYLD_FORCE_FLAT_NAMESPACE=1 vim" |
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
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Update 7 Oct 2010: | |
# - This example does *not* appear to work with Chrome >=6.0. Apparently, | |
# the WebSocket protocol implementation in the cramp gem does not work | |
# well with Chrome's (newer) WebSocket implementation. | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby |
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
mail -s "Cool Subject" theoozzal+notes@gmail.com <<EOF | |
map <silent> <C-i> :NERDTreeToggle<CR> | |
EOF |
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
# install go | |
go get github.com/laher/goxc | |
# build cross-compilers | |
goxc -t | |
# create a project in $GO_PATH/src/<project-dir> | |
# inside project-dir | |
# build binaries for different platforms | |
goxc |
OlderNewer