readline = require "readline"
rl = readline.createInterface
input: process.stdin
output: process.stdoutYou could use named functions to better read callbacks instead of deeply nested
| #!/bin/sh | |
| echo "Enter your AWS Access Key: " | |
| read access_key | |
| echo "Enter your AWS Secret Key: " | |
| read secret_key | |
| encrypted=$(echo $secret_key | openssl aes-256-cbc -a -salt) |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2013 plugnburn | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| # Conway's Game of Life, in LiveScript | |
| # ==================================== | |
| # | |
| # Conway's Game of Life is a cellular automaton, published by John H Conway | |
| # in 1970, fulfilling the design principles but greatly simplifying the | |
| # research of von Neumann, into a hypothetical machine that could build | |
| # copies of itself. It is a zero-player game, meaning there is no input, and | |
| # the game will progress on its own with a 'seed', or configuration, to | |
| # begin with. | |
| # |
| #crawler-js-container | |
| #crawler-js | |
| :coffeescript | |
| window.joystick = {}; | |
| ($ document).ready -> | |
| MicroEvent.mixin VirtualJoystick | |
| window.joystick = new VirtualJoystick({ | |
| container : document.getElementById('crawler-js-container'), | |
| mouseSupport : true | |
| }) |