Skip to content

Instantly share code, notes, and snippets.

node_modules
@jamesflorentino
jamesflorentino / BadScript.js
Created April 9, 2012 03:01 — forked from wilornel/BadScript
Big js script
var store_reguser;
function usernameVer(in_, out)
{
var ajaxRequest;
if (window.XMLHttpRequest)
{//Code for IE7+, Firefox, Chrome, Opera, Safari
ajaxRequest=new XMLHttpRequest();
}
else
// NPC by cmwelsh
//#CLIENTSIDE
client.players = function(players) {
client.on('chat', function(playerID) {
players.get(playerID, function(player) {
player.move(30, 35);
});
});
};
@jamesflorentino
jamesflorentino / GIF-Screencast-OSX.md
Created July 14, 2016 21:17 — forked from dergachev/GIF-Screencast-OSX.md
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

Instructions

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

@jamesflorentino
jamesflorentino / code-of-ethics.md
Created November 13, 2015 08:45 — forked from vicmaster/code-of-ethics.md
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 https://github.com/organization/project/issues/milestones link changed purposely
  • Don't hesitate to review other people's work. Always welcome criticism.
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,
TransactionInstruction
} from '@solana/web3.js';
@jamesflorentino
jamesflorentino / cookie-util.coffee
Created May 17, 2012 03:25
CoffeeScript // Cookie Handling