Skip to content

Instantly share code, notes, and snippets.

View Manny27nyc's full-sized avatar

User-agent Satoshi Manny27nyc

  • Bitcoin Development
  • New York NY
View GitHub Profile
<div id="root">
<!-- This div's content will be managed by React. -->
Manny27nyc / meraki-mqtt-v1-asyncapi.yaml
Created October 13, 2022 16:04 — forked from dexterlabora/meraki-mqtt-v1-asyncapi.yaml
DEV --- The is just a TEST schema for Meraki MQTT data.
asyncapi: '2.3.0'
title: Meraki MQTT API
version: '1.0.0'
description: |
The Meraki MQTT service enables real-time telemetry from your network devices.
name: Apache 2.0
Manny27nyc /
Created October 13, 2022 16:04 — forked from dexterlabora/
Google Sheets Scripts with the Meraki Dashboard API
// Settings - Modify this with your values
// *************************
// User Defined in the Script
var API_KEY = '';
var ORG_ID = '';
var NET_ID = '';
var TIMESPAN = '';
// User Defined in a Sheet
Manny27nyc / index.html
Created August 19, 2022 18:12 — forked from gowon/index.html
SVG Scalable Text - IE
<link href=',400,700|Raleway:400,100,200,300,500,600,700,800,900|Playfair+Display+SC:400italic,700italic,400,700,900' rel='stylesheet' type='text/css'>
<div class="wrapper">
<div class="svg-wrapper"><svg><text class="upper sans">You have to</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper sans bold">say no</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper sans">to a lot of</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper serif">good things</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper sans">in order to be able to</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper sans bold">say yes</text></svg></div>
<div class="svg-wrapper"><svg><text class="upper sans">to a lot of</text></svg></div>
# Raw transaction API example work-through
# Send coins to a 2-of-3 multisig, then spend them.
# For this example, I'm using these three keypairs (public/private)
# 0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86 / 5JaTXbAUmfPYZFRwrYaALK48fN6sFJp4rHqq2QSXs8ucfpE4yQU
# 04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a986818a7cb624532f062c1d1f8722084861c5c3291ccffef4ec6874 / 5Jb7fCeh1Wtm4yBBg3q3XbT6B525i17kVhy3vMC9AqfR6FH2qGk
# 048d2455d2403e08708fc1f556002f1b6cd83f992d085097f9974ab08a28838f07896fbab08f39495e15fa6fad6edbfb1e754e35fa1c7844c41f322a1863d46213 / 5JFjmGo5Fww9p8gvx48qBYDJNAzR9pmH5S389axMtDyPT8ddqmw
# First: combine the three keys into a multisig address:
./bitcoind createmultisig 2 '["0491bba2510912a5bd37da1fb5b1673010e43d2c6d812c514e91bfa9f2eb129e1c183329db55bd868e209aac2fbc02cb33d98fe74bf23f0c235d6126b1d8334f86","04865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac09ef122b1a9
Manny27nyc / gist:47c3c33a4a1f0ad187562fd3e0154e03
Created January 16, 2022 03:46 — forked from rkalis/gist:eabdbba283f3807c0e38bd677672b6ae
128-bit integer proposal by Tobias Ruck
layout: specification
title: 2020-NOV-15 128-bit integer specification
date: 2020-01-14
activation: 2020-NOV-15
version: 1.0
author: Tobias Ruck
# Summary
Manny27nyc /
Created December 28, 2021 01:55 — forked from kennethreitz/
urllib2 vs requests
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2
gh_url = ''
req = urllib2.Request(gh_url)
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm()
Manny27nyc /
Created December 20, 2021 17:17 — forked from karpathy/
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
Manny27nyc /
Created December 18, 2021 11:59 — forked from bzerangue/
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

Manny27nyc /
Created December 6, 2021 21:35 — forked from derhuerst/
Installing the Z Shell (zsh) on Linux, Mac OS X and Windows

Installing zsh – the easy way

The Z shell (zsh) is a Unix shell [...]. Zsh can be thought of as an extended Bourne shell with a large number of improvements, including some features of bash, ksh, and tcsh.

Z shell – Wikipedia

Read more about ZSH at An Introduction to the Z Shell.

Choose one of the following options.