- http://brettterpstra.com/projects/nvalt/
- fork and continuation of http://notational.net/
- http://simplenote.com/ (service)
- http://evernote.com/
- increasingly disappointed since purchase
- http://projects.gnome.org/tomboy/
- builds lagging for OS X
- http://vervious.com/noteworthy
- menu bar app
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
#!/bin/sh | |
# | |
# This is a user-data script that launches an instance, and then sets | |
# it up to be able to publish a daily or released build as easy as | |
# possible. use: | |
# euca-run-instances <some-ami> --user-data-file <this file> --key mykey | |
# | |
# Then, copy credentials to the instance and read 'README' | |
# | |
# gist: https://gist.github.com/1231973 |
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
## mysql::master | |
ruby_block "store_mysql_master_status" do | |
block do | |
node.set[:mysql][:master] = true | |
m = Mysql.new("localhost", "root", node[:mysql][:server_root_password]) | |
m.query("show master status") do |row| | |
row.each_hash do |h| | |
node.set[:mysql][:master_file] = h['File'] | |
node.set[:mysql][:master_position] = h['Position'] | |
end |
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
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
if [[ ${#} -ne 1 ]] | |
then | |
echo "Usage: ${0} upstart-conf-file" >&2 | |
exit 1 | |
fi |
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
#!/usr/bin/env ruby | |
begin | |
require 'aws' | |
rescue LoadError => e | |
abort "Unable to load library: #{e.message}" | |
end | |
require 'Forwardable' |
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
Traceback (most recent call last): | |
File "/usr/bin/vmbuilder", line 24, in <module> | |
cli.main() | |
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main | |
distro.build_chroot() | |
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 84, in build_chroot | |
self.call_hooks('configure_os') | |
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks | |
call_hooks(self, *args, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks |
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
require "rubygems" | |
require "geminabox" | |
Geminabox.data = "/mnt/gems/data" | |
Geminabox.configure do |config| | |
config.set(:incremental_updates, true) | |
end | |
Geminabox.build_legacy = false | |
run Geminabox |
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 "bytes" | |
import "bufio" | |
import "encoding/json" | |
import "flag" | |
import "fmt" | |
import "net/http" | |
import "os" | |
import "strings" |
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
havak:~$ curl -D - -L -v http://t.co/DlHFba3 | |
* About to connect() to t.co port 80 (#0) | |
* Trying 199.59.150.44... | |
* connected | |
* Connected to t.co (199.59.150.44) port 80 (#0) | |
> GET /DlHFba3 HTTP/1.1 | |
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 | |
> Host: t.co | |
> Accept: */* | |
> |
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
#!/usr/bin/env bash | |
set -e # exit immediately if a simple command exits with a non-zero status | |
set -u # report the usage of uninitialized variables | |
STEMCELLS_DIR=${STEMCELLS_DIR:-/var/vcap/store/stemcells} | |
RELEASES_DIR=${REPOS_DIR:-/var/vcap/store/releases} | |
REPOS_DIR=${REPOS_DIR:-/var/vcap/store/repos} | |
CF_RELEASE_BRANCH=${CF_RELEASE_BRANCH:-staging} |