Skip to content

Instantly share code, notes, and snippets.

Christian Rocha meowgorithm

Block or report user

Report or block meowgorithm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c5607e248a9a9c21b3dcbc70b00ab727
$ node --version
v12.4.0
$ npm install
> tree-sitter@0.14.0 install /Users/christian/Code/elm-language-server/node_modules/tree-sitter
> prebuild-install || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=12.4.0 runtime=node arch=x64 libc= platform=darwin)
CC(target) Release/obj.target/tree_sitter/vendor/tree-sitter/lib/src/lib.o
View keybase.md

Keybase proof

I hereby claim:

  • I am meowgorithm on github.
  • I am meowgorithm (https://keybase.io/meowgorithm) on keybase.
  • I have a public key ASDyO8tA1JW4FtgFnXgs9TscHPEvMv1lW0EBZWIBGePDJQo

To claim this, I am signing this object:

View salesforce.sql
BEGIN;
CREATE TABLE todos (
id SERIAL,
name TEXT,
done BOOLEAN
);
CREATE TABLE people (
id SERIAL,
@meowgorithm
meowgorithm / Node.js Upstart Template for Ubuntu
Created Nov 25, 2013
Node.js Upstart template for Ubuntu. Variables are as follows: PROJECT_PATH: Path to the directory of the Node.js script. PROJECT_NAME: Name to prepend to process and log files. ENGINE: "node" or "coffee". SERVER_SCRIPT_PATH: Path to the server script, i.e. `/var/www/project/server.js` or `/var/www/project/server.coffee`.
View Node.js Upstart Template for Ubuntu
description "node.js server"
author "hi-res"
start on (local-filesystems and net-device-up)
stop on shutdown
respawn
script
export HOME="{{ PROJECT_PATH }}"
View information-desk.txt
... .,,,,,,,.
$888888888888OOOO888888=
.D88OOOOOOOOOOOOOOOOOOOOOO888.
8888OOOOOOOOOOOOOZZZZOOOOOOOO88I
.D88OOOOOOOOOZZZZZZZZZZZZZZZOOOOO8D,
.D88OOOOOOOZZZZZZZZZZZZZZZZZZZZOOOO8D
.D888OOOOOOOOOZZZZZZZZZZZZZZZZZZOOOO888
8D888OOOOOOOOOOOOZZZZZZZZZZZZZZZZOOOO887
.D888888OOOOOOZ?OOOOOOZZZZZZZZZZZOOOO888D,
+D88888888888I~:,IO8OOOOOOOOOOOOOOOOO888D7
View gist:32f93b5c5e402018f0ba
### Keybase proof
I hereby claim:
* I am meowgorithm on github.
* I am rocha (https://keybase.io/rocha) on keybase.
* I have a public key whose fingerprint is AAF7 36A9 967C 2EE9 0FA3 3B73 17DA D7F7 BBAC 298D
To claim this, I am signing this object:
View keybase.md

Keybase proof

I hereby claim:

  • I am roshambo on github.
  • I am rocha (https://keybase.io/rocha) on keybase.
  • I have a public key whose fingerprint is AAF7 36A9 967C 2EE9 0FA3 3B73 17DA D7F7 BBAC 298D

To claim this, I am signing this object:

View node-express-redis-cache.js
var zlib = require('zlib');
var redis = require('redis');
var redisClient = redis.createClient();
var crypto = require('crypto');
// Our custom caching write function
function cached(body, lifetime, type) {
var key = this.req.originalUrl;
var res = this;
var etag, len;
You can’t perform that action at this time.