Skip to content

Instantly share code, notes, and snippets.

View solana.js
import * as bip32 from 'bip32';
import * as BufferLayout from 'buffer-layout';
import _ from 'lodash';
import nacl from 'tweetnacl';
import { Service } from 'typedi';
import {
Account, Connection, PublicKey, SystemProgram, SYSVAR_RENT_PUBKEY, Transaction,
} from '@solana/web3.js';
jamesflorentino /
Created July 14, 2016 21:17 — forked from dergachev/
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF


To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

jamesflorentino /
Created November 13, 2015 08:45 — forked from vicmaster/
Code of Ethics

Never forget this

Code of Ethics

  • Always communicate. Always be online on Slack.
  • Always work with a Pull Request. Long running PRs are welcome but mark them with [WIP] so we don't merge it.
  • Follow the git flow principles.
  • We always work with a Milestone. See the current milestone here link changed purposely
  • Don't hesitate to review other people's work. Always welcome criticism.
View player-chat.js
// NPC by cmwelsh
client.players = function(players) {
client.on('chat', function(playerID) {
players.get(playerID, function(player) {
player.move(30, 35);
jamesflorentino /
Created May 17, 2012 03:25
CoffeeScript // Cookie Handling
jamesflorentino / BadScript.js
Created April 9, 2012 03:01 — forked from wilornel/BadScript
Big js script
View BadScript.js
var store_reguser;
function usernameVer(in_, out)
var ajaxRequest;
if (window.XMLHttpRequest)
{//Code for IE7+, Firefox, Chrome, Opera, Safari
ajaxRequest=new XMLHttpRequest();