Skip to content

Instantly share code, notes, and snippets.

{
"AuxAudioDevice1": {
"balance": 0.5,
"deinterlace_field_order": 0,
"deinterlace_mode": 0,
"enabled": true,
"flags": 0,
"hotkeys": {
"libobs.mute": [],
"libobs.push-to-mute": [],
@botoxparty
botoxparty / index.js
Last active April 17, 2020 12:39
gatsby-remark-embed-gist filter-by-lines
import querystring from "querystring";
import cheerio from "cheerio";
import rangeParser from "parse-numeric-range";
import request from "request-promise";
import visit from "async-unist-util-visit";
// default base url
const baseUrl = "https://gist.github.com";
@botoxparty
botoxparty / hydro-delay-1000.ino
Last active April 14, 2020 09:09
Pounding System - Hydro Delay 1000
// _ _ _ _
// /7_ __ _//_ _ _// __ /7 _ _ __ ,'/,' \ ,' \ ,' \
// / \\V /,'o///7,'o| ,'o/,'o///,'o|\V / /// 0 // 0 // 0 /
// /n_/ )/|__/// |_,' |__/ |_(// |_,7 )/ // \_,' \_,' \_,'
// // //
// adam hammad
// SETUP LIBRARIES
@botoxparty
botoxparty / bananas.js
Created April 13, 2020 18:38
Going bananas
(
'b' + // String "b" - "b"
'a' + // String "a" - "ba"
+'a' + // NaN - "baNaN"
'a' + // String "a" - "baNaNa"
's'
) // String "s" - "baNaNas"
.toLowerCase(); // - "bananas"
Output: 'bananas';
@botoxparty
botoxparty / handler.js
Last active April 12, 2020 18:17
Serverless WebSocket Server Example
"use strict";
const AWS = require("aws-sdk");
const dynamo = new AWS.DynamoDB.DocumentClient();
const CONNECTION_DB_TABLE = process.env.CONNECTION_DB_TABLE;
const successfullResponse = {
statusCode: 200,
body: "Success",