Skip to content

Instantly share code, notes, and snippets.

View mxjxn's full-sized avatar
💭
nextjs 13 + prisma + evm everyday

Max Jackson mxjxn

💭
nextjs 13 + prisma + evm everyday
View GitHub Profile
@Saityi
Saityi / circledb.rkt
Last active February 19, 2021 16:07
'An Archaeology-inspired database' (but in Racket) (https://www.aosabook.org/en/500L/an-archaeology-inspired-database.html) (Incomplete -- does not include queries)
#lang racket
(require racket/generic
racket/match
racket/pretty
struct-update
threading)
(define flip
(curry (λ (f a b) (f b a))))
@44kwm20
44kwm20 / ClappingMusic.sc
Last active May 27, 2020 23:14
Clapping Music by Steve Reich (in SuperCollider)
////////////////////////////
// SynthDef ////////////////
////////////////////////////
(
SynthDef(\clap,{
arg output=0, vari=0, acc = 1;
var noiz, amp, filt1, filt2, aEnv, fEnv, tap;
noiz = WhiteNoise.ar;
aEnv = EnvGen.kr(Env.perc(0.01, 0.4, 1, -10).delay(Rand(0,0.02)), 1, doneAction:2);
@frozeman
frozeman / createContract.js
Last active September 5, 2018 18:57
Deploy contracts on Ethereum and reliable get the contract address
// -> Soldity
// **********
// Your Soldity contract
event Created(bytes32 indexed identifier);
contract MyContract {
function MyContract(bytes32 identifier) {
Created(identifier);
}
@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active April 19, 2024 01:50
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active April 20, 2024 16:52
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

CoinEx API
# All timestamps are in UTC
# All currency amounts and exchange rates are multiplied by 10^8 to get rid of floating point numbers
# All API requests should contain HTTP header 'Content-type: application/json'
# Private API methods should have API-Key and API-Sign headers
# API-Key header should contain your API access key which can be generated
# at your account settings page
# API-Sign header should contain request's POST data signed by your account's
@nessthehero
nessthehero / README.md
Last active March 27, 2018 14:59
JavaScript Boilerplate

JS Boilerplate

Simple boilerplate I use to start JavaScript projects.

githalytics.com alpha