This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import uvloop | |
uvloop.install() | |
from starlette.applications import Starlette | |
from starlette.responses import Response | |
from starlette.routing import Route |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from starlette.applications import Starlette | |
from starlette.responses import Response | |
from starlette.routing import Route | |
import httpx | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
# Get last release from RELEASE-NOTES | |
LAST_RELEASE=$(curl -s https://raw.githubusercontent.com/spesmilo/electrum/master/RELEASE-NOTES | sed -n '1s/^# Release \(\S*\) .*$/\1/p') | |
if ! [[ -x electrum-"$LAST_RELEASE"-full-rbf-x86_64.AppImage ]]; then | |
TMPDIR=$(mktemp -d) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
########################### | |
# (C) 2021 Timothy Redaelli | |
# Based on work by: | |
# (C) 2017 Steven Black | |
########################### | |
# | |
# 2017-04-17 - 1.0.0 Initial release | |
# 2017-04-18 - 1.1.0 Improved modularization; added functionality for white & black lists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/winbase.h b/include/winbase.h | |
index dc8aa081be4..16e1b06ef8c 100644 | |
--- a/include/winbase.h | |
+++ b/include/winbase.h | |
@@ -1613,6 +1613,12 @@ typedef struct _WIN32_STREAM_ID { | |
} WIN32_STREAM_ID, *LPWIN32_STREAM_ID; | |
#include <poppack.h> | |
+/* Fix for GCC 10 */ | |
+#define va_start(v,l) __builtin_va_start(v,l) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import json | |
import uuid | |
import lxml.html | |
import requests | |
def main(): | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
NANOVAULT_VERSION=${1:-1.2.1} | |
TMPDIR=$(mktemp -d) | |
trap 'rm -rf "$TMPDIR"' EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import aiohttp | |
import logging | |
from collections import defaultdict | |
import time | |
from telethon.sync import TelegramClient |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# git clone --recurse --branch windows https://github.com/drizzt/grin.git | |
# cd grin | |
# wget -O Dockerfile https://gist.githubusercontent.com/drizzt/fa4d62fc1118b387078bc06bd6c69009/raw/Dockerfile | |
# docker build -t grin-mingw . | |
# docker run -ti --rm --user $(id -u) -v $PWD:/usr/src/grin grin-mingw | |
# ls target/x86_64-pc-windows-gnu/debug/grin.exe | |
FROM rust:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
LEDGER_LIVE_DESKTOP_VERSION=${1:-1.0.2} | |
TMPDIR=$(mktemp -d) | |
trap 'rm -rf "$TMPDIR"' EXIT |
NewerOlder