Skip to content

Instantly share code, notes, and snippets.

View muloka's full-sized avatar
💖
I may be slow to respond.

Muloka muloka

💖
I may be slow to respond.
View GitHub Profile

This is a H2 title

  • this
  • is
  • a list
S3_ENABLED=true
S3_BUCKET=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_REGION=
S3_PROTOCOL=https
S3_HOSTNAME=
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

America's Cup - Entertainment Talent

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

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.

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)
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
# 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
@muloka
muloka / Preferences.sublime-settings.js
Last active December 11, 2015 10:48
Sublime Settings / Preferences
{
"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",
<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>