###To generate SSH keys run:
ssh-keygen
(keep pressing enter till the notices go away)
Then you will have a private key. Next run
cat ~/.ssh/id_rsa.pub
login: &login | |
adapter: mysql2 | |
host: localhost | |
username: root | |
password: | |
encoding: utf8 | |
collation: utf8_general_ci | |
development: |
if (typeof Object.create !== "function") | |
Object.create = function (o) { | |
function F() {} | |
F.prototype = o; | |
return new F(); | |
}; | |
var Model = { | |
prototype: { | |
init: function(){} |
<!doctype html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
</body> | |
</html> |
###To generate SSH keys run:
ssh-keygen
(keep pressing enter till the notices go away)
Then you will have a private key. Next run
cat ~/.ssh/id_rsa.pub
/* | |
Simple Image Block | |
*/ | |
SirTrevor.Blocks.Image = SirTrevor.Block.extend({ | |
type: "image", | |
title: function() { return i18n.t('blocks:image:title'); }, | |
droppable: true, |
.block { | |
min-height:50px; | |
background:blue; | |
margin-bottom:1em; | |
} |
preexec () { | |
# Note the date when the command started, in unix time. | |
CMD_START_DATE=$(date +%s) | |
# Store the command that we're running. | |
CMD_NAME=$1 | |
} | |
precmd () { | |
# Proceed only if we've ran a command in the current shell. | |
if ! [[ -z $CMD_START_DATE ]]; then | |
# Note current date in unix time |