- Open a private tab
- Create a completely new wallet by visiting https://www.sollet.io
- You will see a screen displaying "Create new wallet" and a list of seed words
- Copy the seed words
- Check the box next to "I have saved these words in a safe place."
- Click "DOWNLOAD BACKUP MNEMONIC FILE (REQUIRED)". This downloads your seed phrase. Delete this file.
- Click "continue"
- Paste the seed words when it asks you to, then click continue
- Click "Main Account" at the top of the screen to copy the new wallet address. This address is where you'll send your spam NFTs.
- Open your Phantom wallet (assuming you are using Phantom)
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
'use strict'; | |
// run using this fork of NodeJS | |
// https://github.com/targos/node/commits/v8-5.4 (https://github.com/nodejs/node/pull/8317) | |
// | |
// node --harmony_async_await await_thenables.js | |
function counter(count) { | |
return { | |
then: function(res, rej) { |
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 LRU = require('lru-cache'); | |
var i = 0; | |
var sets = 0; | |
var start = Date.now(); | |
var last = Date.now(); | |
var max = 8193; // 8192 is the magic number upper perf limit of plain objects | |
var maxAge = 1000 * 60 * 60 * 24; |
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
/** | |
* example of configurable parallelism | |
*/ | |
// silly counter | |
var i = 0; | |
// configurable amount of work to run in parallel | |
var max = 1; |
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
mongo -u USERNAME -p PASSWORD --host "REPLICA_SET_NAME/HOST:PORT" --authenticationDatabase DB_NAME | |
# after connected, you'll need to change the database | |
// db = db.getSiblingDB(DB_NAME); |
run this with > time DEBUG=amqp:* COUNT=30000 PREFETCH=0 BUCKET_SIZE=20000 node index.js
before applying the fix:
real 1m22.216s
user 1m10.973s
sys 0m16.106s
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
http://swannodette.github.io/2013/08/24/es6-generators-and-csp/ | |
https://github.com/visionmedia/co | |
http://wiki.ecmascript.org/doku.php?id=harmony:generators | |
http://pag.forbeslindesay.co.uk/ |
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 assert = require('assert') | |
var uri = 'mongodb://localhost/findAndModifyBug'; | |
var mongo = require('mongodb') | |
console.log('driver version: %s', mongo.version); | |
mongo.connect(uri, function (err, db) { | |
if (err) throw err; | |
console.log('connected'); |
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
/** | |
* configuration | |
*/ | |
// connection pool size | |
var poolSize = 5; | |
// number of parallel queries | |
var n = 60; |
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 mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var assert = require('assert') | |
console.log('\n==========='); | |
console.log(' mongoose version: %s', mongoose.version); | |
console.log('========\n\n'); | |
var dbname = 'goosetest-1652'; |
NewerOlder