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
0x7d24558fB9fb51022aE180074718738f1a824f61 |
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
# Clone the repo | |
git clone [email protected]:dogecoin/dogecoin.git | |
# Pick the correct branch/version | |
cd dogecoin | |
git checkout 1.14-branding | |
# Install dependencies | |
sudo apt install build-essential libtool autotools-dev autoconf pkg-config libssl-dev |
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
# Update | |
$ apt update | |
# Install cargo | |
$ curl https://sh.rustup.rs -sSf | sh; source $HOME/.cargo/env | |
# Install dependencies (not sure about libclang-dev llvm-dev clang) | |
$ apt install cmake libclang-dev llvm-dev clang libncurses5-dev libncursesw5-dev | |
# Build |
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
# Init | |
$ electron-forge init --template=react electron-example | |
# Start | |
$ npm start | |
# Package | |
$ npm run package | |
# Make |
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
# Sample Server Configuration File for Grin | |
# | |
# When running the grin executable without specifying any command line | |
# arguments, it will look for this file in three places, in the following | |
# order: | |
# | |
# -The working directory | |
# -The directory in which the executable resides | |
# -[user home]/.grin | |
# |
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 | |
NP="$(nproc)" | |
PYQTSIP_VERSION=4.19.14 | |
QT5_VERSION=5.12 | |
QT5_PATH=/opt/qt512 |
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
const electron = require('electron') | |
const APP_VERSION = require('../package.json').version | |
const AUTO_UPDATE_URL = 'https://api.update.rocks/github.com/rllola/electron-example/update/' + process.platform + '/' + APP_VERSION | |
function init () { | |
if (process.platform === 'linux') { | |
console.log('Auto updates not available on linux') | |
} else { | |
initDarwinWin32() |
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
Hello World ! |
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
import re | |
import glob | |
javascript_files = glob.glob('**/*.js', recursive=True) | |
variables = [] | |
for file in javascript_files: | |
with open(file, 'r') as f: | |
javascript_blob = f.read() |
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 | |
from Crypto.Util.number import inverse | |
import ecdsa | |
import random | |
import hashlib | |
C = ecdsa.SECP256k1 | |
G = C.generator | |
n = C.order |
OlderNewer