I hereby claim:
- I am joelwallis on github.
- I am joelwallis (https://keybase.io/joelwallis) on keybase.
- I have a public key ASBJAt3Lo5eMRpOQWeUyWlOK-wEYaERjW9xxRVBKn54WSwo
To claim this, I am signing this object:
░░░█▀░░░░░░░░░░░▀▀███████░░░░ | |
░░█▌░░░░░░░░░░░░░░░▀██████░░░ | |
░█▌░░░░░░░░░░░░░░░░███████▌░░ | |
░█░░░░░░░░░░░░░░░░░████████░░ | |
▐▌░░░░░░░░░░░░░░░░░▀██████▌░░ | |
░▌▄███▌░░░░▀████▄░░░░▀████▌░░ | |
▐▀▀▄█▄░▌░░░▄██▄▄▄▀░░░░████▄▄░ | |
▐░▀░░═▐░░░░░░══░░▀░░░░▐▀░▄▀▌▌ | |
▐░░░░░▌░░░░░░░░░░░░░░░▀░▀░░▌▌ | |
▐░░░▄▀░░░▀░▌░░░░░░░░░░░░▌█░▌▌ |
number_one = IO.gets "Please provide the first number: " | |
number_two = IO.gets "Please provide the second number: " | |
operation = IO.gets "Inform which operation you would like to do (+, -, *, /): " | |
number_one = number_one |> String.slice(0..-2) |> String.to_integer | |
number_two = number_two |> String.slice(0..-2) |> String.to_integer | |
operation = operation |> String.slice(0..-2) | |
# IO.puts number_one | |
# IO.puts number_two |
#!/bin/bash | |
# settings | |
HOST='myapp.com.br' | |
USER='john' | |
BASE_PATH='/tomcat_home' | |
WEBAPPS_PATH="${PROJECT_PATH}/webapps" | |
# local steps | |
mvn package |
module.exports = CodeMachine = function (coffee) { | |
if (coffee instanceof Coffee) { | |
throw new TypeError('CodeMachine needs coffee to work') | |
} | |
var linesOfCode = [] | |
for (var i = 0, end = Math.random() * 1000; i < end; i++) { | |
var line = [] |
I hereby claim:
To claim this, I am signing this object:
function shouter(whatToShout) { | |
return whatToShout.toUpperCase() + '!!!'; | |
} | |
/* From here down, you are not expected to | |
understand.... for now :) | |
Nothing to see here! |
function Animal (animalName) { | |
this.name = animalName | |
} | |
Animal.prototype.walk = function () { | |
console.log('Walking around...') | |
} | |
function Cat (catName) { | |
Animal.call(this, catName) |
#!/bin/bash | |
# | |
# Calculates the MD5 hash of a given file. It uses hashing utilities powered by | |
# operating systems, but wraps them into a consistent interface. | |
OS=$( | |
case $(uname) in | |
(Darwin*) echo "mac";; | |
(Linux*) echo "linux";; | |
# TODO: implement MD5 hashing on Windows |
class HelloWorld | |
def hello | |
begin | |
# this return will actually be the return from HelloWorld.hello??? | |
return 'Why?' | |
end | |
'Hello world!' | |
end | |
end |