Initial setup - Make sure you installed:
brew install gnupg pinentry-mac
You also have to do:
export GPG_TTY=$(tty)
find: <pre>(((?!<\/pre>).|\n)+)<\/pre> | |
replace: ``` javascript\n$1\n``` |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title contenteditable>Hey, buddy!</title> | |
<style class="default"> | |
* { | |
transition: all .5s ease; | |
} |
// quando clicco su enterfullscreen: | |
// vai in fullscreen | |
// all'entrata in fullscreen: | |
// mostra pulsante exitfullscreen | |
// nascondi header e footer | |
// quando clicco su exitfullscreen: | |
// esci da fullscreen |
# Install postgres first (e.g. OS X): | |
brew install postgres | |
# After installation... if user not created: | |
# This is a wrapper around CREATE ROLE, you might not have it. | |
# BTW, a role is the same as a user. | |
# A role is an entity that can own database objects and have database privileges; | |
# a role can be considered a "user", a "group", or both depending on how it is used. | |
createuser --superuser postgres # -s works as well |
function applyDebug(obj) { | |
for (var f in obj) { | |
if (obj.hasOwnProperty(f) && typeof obj[f] === 'function') { | |
console.log(obj[f].toString()); | |
origFunc = obj[f]; | |
obj[f] = function () { | |
console.debug("called at " + new Date()); | |
return origFunc.apply(this, arguments); |
/* | |
Common vector operations | |
Author: Tudor Nita | cgrats.com | |
Version: 0.51 | |
*/ | |
function Vec2(x_,y_) | |
{ | |
this.x = x_; | |
this.y = y_; |
#!/usr/bin/env ruby | |
puts File.read $0 # This is cheating, I know |
sum(L) -> sum(L,0). | |
sum([], Total) -> Total; | |
sum([H|T], Total) -> sum(T, H+Total). |
pico-8 cartridge // http://www.pico-8.com | |
version 16 | |
__lua__ | |
x=64 | |
y=64 | |
dir=nil | |
l=0 | |
r=1 | |
u=2 | |
d=3 |