Skip to content

Instantly share code, notes, and snippets.

@fatherofluqmaan
fatherofluqmaan / multi-simbot-script.sh
Last active September 9, 2021 23:32
A script to run all pairs on Coinbase Pro with the pycryptobot created by Michael Whittle
#!/usr/bin/env bash
rm short-simbot-run.txt
dte=$(date +"%Y-%m-%d %T")
dt=$(date +"%Y-%m-%d")
c=$(< "pairs.txt" wc -l)
a="$c"
simst='2021-07-25'
simen='2021-08-05'
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active March 26, 2024 11:27
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!






\

@ShirtlessKirk
ShirtlessKirk / luhn.js
Last active February 12, 2024 05:09
Luhn validation algorithm
/**
* Luhn algorithm in JavaScript: validate credit card number supplied as string of numbers
* @author ShirtlessKirk. Copyright (c) 2012.
* @license WTFPL (http://www.wtfpl.net/txt/copying)
*/
var luhnChk = (function (arr) {
return function (ccNum) {
var
len = ccNum.length,
bit = 1,