- Download a wallet backup in all peers
- close the wallet
- delete browser's localStorage (this will delete ALL YOUR WALLETs, be sure to have backups for ALL)
- go to Import Wallet
- Add the param:
?skip=txProposals
to the URL (e.g:https:/copay.io//#!/import?skip=txProposals
) (other possible params are:privateKey
,publicKeyRing
, separeted with,
) - A banner in the page should appear: https://www.evernote.com/shard/s49/sh/ee2282a5-b712-42c7-ae2b-196d5d94c345/6c72c7e59af341d76884dfe0ce08d43a
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
export class EnumSymbol { | |
sym = Symbol.for(name); | |
value: number; | |
description: string; | |
constructor(name: string, {value, description}) { | |
if(!Object.is(value, undefined)) this.value = value; | |
if(description) this.description = description; |
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 | |
BOOT2DOCKER_CERTS_DIR=/var/lib/boot2docker/certs | |
CERTS_DIR=/etc/ssl/certs | |
CAFILE=${CERTS_DIR}/ca-certificates.crt | |
for cert in $(/bin/ls -1 ${BOOT2DOCKER_CERTS_DIR}); do | |
SRC_CERT_FILE=${BOOT2DOCKER_CERTS_DIR}/${cert} | |
CERT_FILE=${CERTS_DIR}/${cert} | |
HASH_FILE=${CERTS_DIR}/$(/usr/local/bin/openssl x509 -noout -hash -in ${SRC_CERT_FILE} 2>/dev/null) |
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
# Copyright 1999-2014 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: $ | |
EAPI=5 | |
PYTHON_COMPAT=( python2_{6,7} ) | |
MY_PV="v${PV}" | |
MY_P="${PN}-${MY_PV}" |
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 | |
# bash cluster <cluster_root> <number_of_clusters> <network_id> <runid> <local_IP> [[params]...] | |
# sets up a local ethereum network cluster of nodes | |
# - <n> is the number of clusters | |
# - <root> is the root directory for the cluster, the nodes are set up | |
# with datadir `<root>/00`, `<root>/01`, ... | |
# - new accounts are created for each node | |
# - they launch on port 30300, 30301, ... | |
# - they star rpc on port 8100, 8101, ... |
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
var Reflux = require('reflux') | |
var axios = require('axios') | |
var CategoryStore = Reflux.createStore({ | |
init: function() { | |
this.items = null | |
}, | |
list: function() { | |
var items = this.items |
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
/** | |
* FOR COPAY WALLET | |
* Converts multisig xpubs into addresses | |
* | |
* Dependencies: | |
* npm install bitcore | |
* | |
* NOTE: You can retrieve xpubs from copay using JSON backup | |
* Decrypt json backup using sjcl @ https://github.com/bitwiseshiftleft/sjcl | |
*/ |
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 | |
bucket=$1 | |
set -e | |
echo "Removing all versions from $bucket" | |
versions=`aws s3api list-object-versions --bucket $bucket |jq '.Versions'` | |
markers=`aws s3api list-object-versions --bucket $bucket |jq '.DeleteMarkers'` |
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
// give it a name so it reuses the same window | |
var win = window.open(null, "redux-devtools", "menubar=no,location=no,resizable=yes,scrollbars=no,status=no"); | |
// reload in case it's reusing the same window with the old content | |
win.location.reload(); | |
// wait a little bit for it to reload, then render | |
setTimeout(function() { | |
React.render( | |
<DebugPanel top right bottom left > |
If you have multiple applications on Heroku and would like to use a single Logentries account for all of them, this is how you do it. Basically, do not use add-ons, and send all drains to your account.
- In your Logentries account, click on
Add Log
- Select
Manual
- In the form that appears, input the following:
- Log Name:
access.log
- Select Set:
new
set namedmyapp-{environment}
, for instancemyapp-staging
(at least, this is how I like to name my entries) - Select the
Plain TCP, UDP - logs are sent via syslog
option
- Log Name:
- Click on
Create Log Token