Skip to content

Instantly share code, notes, and snippets.

View jameslin101's full-sized avatar

James Lin jameslin101

View GitHub Profile
@jameslin101
jameslin101 / gist:20d6a04f64a9152fd3b5b742adc8781d
Last active October 27, 2021 04:52
metaplex candymachine tutorial
# 🤔 Prerequisites
Lerna
`npm install --global lerna`
ts-node
`npm install --global ts-node`
node-js
`https://nodejs.org/en/download/current/`
@jameslin101
jameslin101 / gist:42764dd987e40b52230d45d544018d0a
Last active February 5, 2019 02:48
Mapping of PS3 buttons to Unity joystick buttons
Select - 0
L3 - 1
R3 - 2
Start - 3
dpad up - 4
dpad right - 5
dpad down - 6
dpad left - 7
import random
class Slice():
def __init__(self, pie_type, loc, size):
self.pie_type = pie_type;
self.loc = loc;
self.size = size;
def __str__(self):
2/20/12,Presidents Day (Washingtons Birthday)
4/6/12,Good Friday
5/28/12,Memorial Day
7/4/12,Independence Day
9/3/12,Labor Day
11/22/12,Thanksgiving Day
12/25/12,Christmas Day
1/1/13,New Year Day
1/21/13,Martin Luther King Jr. Day
2/18/13,Presidents Day (Washingtons Birthday)