Skip to content

Instantly share code, notes, and snippets.

View NDNewell's full-sized avatar

Nicholas Newell NDNewell

View GitHub Profile
@joemccann
joemccann / gist:d4d51d1e2f37a1e0c2e01c1e2f2e8720
Created June 5, 2025 21:51
Asymmetric Z-Score Histogram
//@version=5
//
// _____ __ .__
// / _ \ _________.__. _____ _____ _____/ |________|__| ____
// / /_\ \ / ___< | |/ \ / \_/ __ \ __\_ __ \ |/ ___\
// / | \\\___ \ \___ | Y Y \ Y Y \ ___/| | | | \/ \ \___
// \____|__ /____ >/ ____|__|_| /__|_| /\___ >__| |__| |__|\___ >
// \/ \/ \/ \/ \/ \/ \/
//
// Disclaimers: https://t.co/kOsUzy5pCB
@tanaikech
tanaikech / submit.md
Last active January 14, 2023 19:32
Binance API for Google Apps Script

Binance API for Google Apps Script

This sample script is for using Binance API by Google Apps Script. This script encryptes "signature" like samples. In this script, "Example 1: As a query string" is used, and it retrieves "All orders (SIGNED)" by "GET".

function main() {
    var key = '#####'; // Please input your key.
    var secret = '#####'; // Please input your secret.
    var api = "/api/v3/allOrders"; // Please input API Endpoint you want.
    var timestamp = Number(new Date().getTime()).toFixed(0);
 var string = "symbol=LTCBTC&amp;timestamp=" + timestamp; // Please input query parameters for the inputterd API.
@PaulKinlan
PaulKinlan / criticalcss-bookmarklet-devtool-snippet.js
Last active March 12, 2025 01:22
CriticalCSS Bookmarklet and Devtool Snippet.js
(function() {
var CSSCriticalPath = function(w, d, opts) {
var opt = opts || {};
var css = {};
var pushCSS = function(r) {
if(!!css[r.selectorText] === false) css[r.selectorText] = {};
var styles = r.style.cssText.split(/;(?![A-Za-z0-9])/);
for(var i = 0; i < styles.length; i++) {
if(!!styles[i] === false) continue;
var pair = styles[i].split(": ");