- this
- is
- a 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
S3_ENABLED=true | |
S3_BUCKET= | |
AWS_ACCESS_KEY_ID= | |
AWS_SECRET_ACCESS_KEY= | |
S3_REGION= | |
S3_PROTOCOL=https | |
S3_HOSTNAME= |
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
I have marked with a * those which I think are absolutely essential | |
Items for each section are sorted by oldest to newest. Come back soon for more! | |
BASH | |
* In bash, 'ctrl-r' searches your command history as you type | |
- Input from the commandline as if it were a file by replacing | |
'command < file.in' with 'command <<< "some input text"' | |
- '^' is a sed-like operator to replace chars from last command | |
'ls docs; ^docs^web^' is equal to 'ls web'. The second argument can be empty. | |
* '!!:n' selects the nth argument of the last command, and '!$' the last arg |
Bermuda’s businesses and residents are invited to register their interest in a number of commercial opportunities ranging from food and beverage services to local entertainers.
Source: http://www.royalgazette.com/general-information/article/20161210/cup-providing-opportunities-for-all
Entertainers of all styles are urged to register their interest in performing in the America’s Cup Village. Organisers are looking for comedians, steel band players, calypso, gombey troupes, dance troupes, bands, fire-dancers, soloists, rap-poets, stilt-walkers, jugglers, street theatre and more.
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
Coffee coffee = new Stimulant('coffee') | |
function code(coffee) { | |
var keep_coding = true | |
while (keep_coding) { | |
if (coffee.Empty) { | |
coffee.Refill() | |
} | |
coffee.Consume() | |
keep_coding = (coffee.refill_count != 0) |
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
TASK: [npm install --production] ********************************************** | |
failed: [10.0.0.10] => {"failed": true} | |
msg: this module requires key=value arguments (['production', 'state=present']) | |
FATAL: all hosts have already failed -- aborting |
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
# vagrant.yml | |
- hosts: all | |
user: vagrant | |
sudo: True | |
tasks: | |
- name: Update APT package cache | |
apt: update_cache=yes | |
- name: Upgrade APT packages | |
apt: upgrade=yes |
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
{ | |
"caret_style": "phase", | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme", | |
"detect_indentation": false, | |
"detect_slow_plugins": false, | |
"folder_exclude_patterns": | |
[ | |
".sass-cache", | |
".git", | |
".hg", |
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
<cfscript> | |
function stripQuotes(str) { | |
var regex = '^"(.+)"$'; | |
var pattern = createObject("java", "java.util.regex.Pattern"); | |
var matcher = pattern.compile(regex).matcher(str); | |
return matcher.replaceAll("$1"); | |
} | |
</cfscript> |