$ vi ~/.pause
以下のように書く
user USER_NAME
| # You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
| # This is how I upload my new Sol Trader builds (http://soltrader.net) | |
| # Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
| S3KEY="my aws key" | |
| S3SECRET="my aws secret" # pass these in | |
| function putS3 | |
| { | |
| path=$1 |
| package main | |
| import ( | |
| "bytes" | |
| "database/sql" | |
| "encoding/gob" | |
| "log" | |
| Radix "github.com/fzzy/radix/extra/pool" | |
| ) |
| #!/bin/zsh | |
| USER='nouser' | |
| GROUP='nogroup' | |
| TARGET='require to set' | |
| function source | |
| { | |
| find $TARGET -type f \( ! -iname '.*' \) | sed -E 's/ */ /g' | grep -vE 'mp4$' | sort -t'/' -k 5nr -k 6n | |
| } |
| group :production do | |
| gem "unicorn" | |
| end |
| -- Lua Cheat Sheet for Programmers, by Al Sweigart http://coffeeghost.net | |
| -- This cheat sheet is an executable Lua program. | |
| --[[ This is | |
| a multline comment]] | |
| ---[[ This is a neat trick. The first -- makes -[[ not a multiline comment. | |
| print("This line executes.") | |
| --]] The rest of this line is also a comment. | |
| print("Here is a string" .. ' concatenated with ' .. 2 .. ' other strings.') |
| # A list of possible usernames to reserve to avoid | |
| # vanity URL collision with resource paths | |
| # It is a merged list of the recommendations from this Quora discussion: | |
| # http://www.quora.com/How-do-sites-prevent-vanity-URLs-from-colliding-with-future-features | |
| # Country TLDs found here: | |
| # http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains | |
| # Languages found here: |