Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
language: java | |
env: | |
global: | |
- SONATYPE_USERNAME=yourusername | |
- secure: "your encrypted SONATYPE_PASSWORD=pass" | |
after_success: | |
- python addServer.py | |
- mvn clean deploy --settings ~/.m2/mySettings.xml |
// Short module explanation // Something to gather my thoughts | |
// // I think this looks cool. | |
// | |
module.exports = the_exported_function // Modules are a function. Always. | |
// | |
module.exports.extra = extra // Additional API entry points if | |
module.exports.other = other // desired. | |
// | |
var util = require('util') // Other packages from npm or core | |
var assert = require('assert') // No comma-first due to lots of |
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
@Grab('com.bloidonia:groovy-stream:0.9.0') | |
import groovy.stream.* | |
def (n, f, b, fb) = [Closure.IDENTITY, { 'fizz' }, { 'buzz' }, {'fizzbuzz'}] | |
def fns = Stream.from([n, n, f, n, b, f, n, n, f, b, n, f, n, n, fb]).repeat() | |
def num = Stream.from(1..100).zip(fns) { counter, fn -> fn(counter) } | |
num.each { println it } |
Having given the last talk at So Coded 2013, I was delighted to be asked to come and MC the 2015 edition of the conference. The last time I MC'ed at an event, I found that briefly interviewing speakers before their slot led to a lot of randomness and, in one case, introducing the wrong speaker. So I decided to try and introduce a very loose narrative, based on a picaresque journey that represented the conference’s thematic arc, but with lots of my favourite pop culture references. Many thanks to Julia, Ole and Thorben for having me back.
I’ve added notes in italics just in case any of the (obvious, but obviously obvious to me) references aren’t clear. Much of the sense of these little bits are with apologies to Jennifer Brook and her time machine from Úll