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
@Manny27nyc
Manny27nyc / pep-0539.rst
Created July 2, 2021 05:10 — forked from ma8ma/pep-0539.rst
PEP 539: Diff from first round to version 3

PEP: 539 Title: A New C-API for Thread-Local Storage in CPython Version: $Revision$ Last-Modified: $Date$ Author: Erik M. Bray, Masayuki Yamamoto BDFL-Delegate: Nick Coghlan Status: Draft Type: Informational Content-Type: text/x-rst Created: 20-Dec-2016

php-8.1.0beta1.tar.bz2
SHA256 hash: 3bd4c7251a6e32931f7029a569ed2e444f163dc7ed3c458119a3af9cea41f588
PGP signature:
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEObZBND2MEEsrFG3D+cOdwLlphUQFAmD2+AYACgkQ+cOdwLlp
hURb1A/8DPJQPUGfhm5RLTyhFjMkCzOAqCmsc1lkSlNEYhD1xtoBsv2Z5ddq2GYC
hMR42ErnSTker6OJ+ELe5dHi3ZdGgpNeyZ+9gcAMfoHp/hC5E+t1f+Q+8uXAUGUf
gDxs/vq7B/JAq5na75Ah8TUmdD2+zOqwijaVg0X8vhRqQG+rQdgxFXhxqa4V0O5O
K5ANDy0ao9jISCARiyvv25dCV38NPbmxvpjirz1Ne/pJt/7WEydC0gs/X6qJmddw
@Manny27nyc
Manny27nyc / config
Created September 11, 2021 20:58 — forked from timwb/config
.ssh/config line to connect to a Leaseweb server by ServerId
# Usage: ssh root@2103823.lsw
# Don't forget to put your API key (or a variable) in the ProxyCommand line.
Host *.lsw
# Uncomment these only if you absolutely trust your servers, and they change host keys often, for example when you use rescue mode a lot.
#StrictHostKeyChecking no
#UserKnownHostsFile /dev/null
#User root
ProxyCommand nc $(curl -s -X GET --url https://api.leaseweb.com/bareMetals/v2/servers/$(cut -d'.' -f1 <<< %h)/ips -H "x-lsw-auth: YOUR-LEASEWEB-API-KEY-HERE" | jq --raw-output '.ips[] | select(.mainIp==true) | .ip' | cut -d'/' -f1) %p
@Manny27nyc
Manny27nyc / make-master-hmm.sh
Created September 26, 2021 06:26 — forked from arq5x/make-master-hmm.sh
For Gemini: Create a master ChromHMM track from the 9 distinct cell types.
echo "http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmGm12878HMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmH1hescHMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmHepg2HMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmHmecHMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmHsmmHMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmHuvecHMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmK562HMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmNhekHMM.bed.gz
http://hgdownload.cse.ucsc.edu/goldenPath/hg19/encodeDCC/wgEncodeBroadHmm/wgEncodeBroadHmmNhlfHMM.bed.gz" \
> chromhmm-files.txt
from django.core.management.utils import get_random_secret_key
from nacl.encoding import HexEncoder
from thenewboston.accounts.manage import create_account
"""
Running this script will produce all keys necessary for deploying a new node.
Account Number Signing Key:
2ea2542cb0b1176bd773beb58051c8baba832df30fe1f853e62ec9628032e087
from django.core.management.utils import get_random_secret_key
from nacl.encoding import HexEncoder
from thenewboston.accounts.manage import create_account
"""
Running this script will produce all keys necessary for deploying a new node.
Account Number Signing Key:
2ea2542cb0b1176bd773beb58051c8baba832df30fe1f853e62ec9628032e087
View this installation guide online at
https://wiki.archlinux.org/index.php/Installation_Guide
In Install media 2012.07.15, AIF (the Arch Installation Framework) is
no longer included but instead Arch Install Scripts are provided to aid
in the installation process. This article summarizes the install
process using these scripts. See the Beginners' Guide instead for a
walkthrough aimed at new users.
Contents
@Manny27nyc
Manny27nyc / install-xcodeCLT-homebrew-git.md
Created November 24, 2021 15:47 — forked from kamermanpr/install-xcodeCLT-homebrew-git.md
Install Xcode Command Line Tools, Homebrew, and Git on macOS

Install Xcode command line tools, Homebrew, and Git on macOS

Install the following apps on your mac running macOS:

  1. (standalone) Xcode Command Line Tools
  2. Homebrew
  3. Git

Modified from: https://www.moncefbelyamani.com

@Manny27nyc
Manny27nyc / intro.md
Created December 6, 2021 21:35 — forked from derhuerst/intro.md
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.

@Manny27nyc
Manny27nyc / _verify-repair-permissions-disk.md
Created December 18, 2021 11:59 — forked from bzerangue/_verify-repair-permissions-disk.md
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 /