See it in action at bl.ocks.org.
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
"===[ Settings ]======================================================== | |
" Autocomplete using Firefox Awesomebar subsystem | |
set complete=l | |
" Show completions as you type? '' waits for tab, 'auto' shows them immediately | |
set wildoptions='' | |
" Select the longest autocomplete match | |
set wildmode='list:full' |
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
# Ubuntu upstart file at /etc/init/mongodb.conf | |
pre-start script | |
mkdir -p /var/lib/mongodb/ | |
mkdir -p /var/log/mongodb/ | |
end script | |
start on runlevel [2345] | |
stop on runlevel [06] |
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
#!/bin/sh | |
# Auto-reconnect ssh screen session after sleep + wifi network change | |
# usage: ssh-auto user@server | |
# With these setting SSH will detect a dropped connection after 30 seconds. | |
# Script will attempt to reconnect every 5 seconds whenever connection is dropped. | |
# Use Ctrl-C to exit the reconnect loop. | |
# choose your remote session manager | |
# ON_CONNECT_CMD='screen -DR' | |
ON_CONNECT_CMD='tmux -2 attach || tmux -2 new' |
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
license: gpl-3.0 |
Let's set up Camlistore on a Linux server, with blobs stored in s3. This seems to be the currently best-supported option for "cloud" deployment.
This is meant as a supplement to the official server config doc. Read through both docs before you start.
http://camlistore.org/docs/server-config
This blog post is also recommended reading.
I've posted my config files for reference, but they will be created the first time you run camlistored
(for the server) and camput init
(for the client) so don't copy them.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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
#!/bin/bash | |
tmp=$(mktemp -d) | |
pushd "$tmp" | |
iso=/Users/lloeki/Downloads/archlinux-2015.08.01-dual.iso | |
echo "fixing disk" | |
dd if=/dev/zero bs=2k count=1 of=tmp.iso | |
dd if=$iso bs=2k skip=1 >> tmp.iso | |
echo "mounting disk" |
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
//go:generate protoc --go_out=import_prefix=github.com/your_github_acct/your_repo/Godeps/_workspace/src/:. your_proto_file.proto | |
package yourprotopkg |
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: JeremyRuston, Syrte | |
core-version: >=5.0.0 | |
dependents: | |
description: Markdown parser | |
list: readme usage howto | |
plugin-type: plugin | |
revision: 0 | |
title: $:/plugins/tiddlywiki/markdown | |
type: application/json | |
version: 6.0.0 |
OlderNewer