This file contains hidden or 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
maxconnections=120 | |
minrelaytxfee=0 | |
testnet=1 | |
dbcache=200 #for a 2 GB server | |
# dbcache=1000 #for a 4 GB server | |
# Only relevant for those running jtoomim's eviction branch | |
# maxmempoolbytes=400000000 |
This file contains hidden or 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
var async = require('async') | |
var bitcoind = require("bitcoin") | |
var batch = []; | |
var addresses = [] | |
var client = new bitcoind.Client({ | |
host: 'localhost', | |
port: 9999, |
This file contains hidden or 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 hashlib | |
import base58 | |
from pycoin.ecdsa import generator_secp256k1, public_pair_for_secret_exponent | |
def bytetohex(byteStr): | |
return ''.join( [ "%02X" % x for x in byteStr ] ).strip() | |
litecoin = [b"\x30", b"\xb0"] | |
bitcoin = [b"\x00", b"\x80"] |
This file contains hidden or 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
// https://stackoverflow.com/questions/49771555/firebase-auth-error-data-parameter-is-nil-calling-getidtokenforcingrefresh | |
// https://github.com/firebase/firebase-ios-sdk/issues/1072 | |
// https://github.com/firebase/firebase-ios-sdk/issues/1140 | |
func applicationDidBecomeActive(_ application: UIApplication) { | |
if let currentUser = Auth.auth().currentUser { | |
currentUser.getIDToken { (token, error) in | |
} | |
} |
This file contains hidden or 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
- name: "Rollbar deployment notification" | |
rollbar_deployment: | |
token: "{{rollbar_token}}" | |
environment: production | |
revision: "{{ ansistrano_git_result.after }}" | |
user: "" # Somehow pull this from ansible awx/tower that launched the job? | |
rollbar_user: "" | |
comment: "" # hmmm maybe save result of the git log command? |
This file contains hidden or 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
# frozen_string_literal: true | |
# | |
# = net/protocol.rb | |
# | |
#-- | |
# Copyright (c) 1999-2004 Yukihiro Matsumoto | |
# Copyright (c) 1999-2004 Minero Aoki | |
# | |
# written and maintained by Minero Aoki <[email protected]> | |
# |
This file contains hidden or 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
- name: Bundle install with --deploy | |
bundler: | |
state: present | |
deployment_mode: yes | |
chdir: "{{ ansistrano_release_path.stdout }}" | |
executable: /home/ubuntu/.rbenv/shims/bundle | |
- name: Running pending migrations | |
shell: $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate | |
run_once: true |
This file contains hidden or 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
2.6.1 |
This file contains hidden or 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
fdfs |
This file contains hidden or 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
xattr -d com.apple.quarantine [install dir]/X-Plane\ 11/Resources/plugins/PilotEdge/ |