# build if it needs to be compiled - example: typescript
npm run build;
# link locally
npm link;
The above will work for dynamic linking. However, you might need to uninstall / reinstall for other compiled repos.
/** | |
* Render CyberBrokers | |
* Using the on-chain Broker renderer | |
**/ | |
// Change these variables as you see fit | |
const WEB3_PROVIDER_URL = "http://0.0.0.0:8545"; | |
const TOKEN_ID = 0; | |
const SVG_SAVE_FILE_NAME = `${__dirname}/CyberBroker_${TOKEN_ID}.svg`; |
var fs = require('fs'); | |
var exec = require('child_process').exec; | |
/** | |
::NOTICE:: | |
Requires `twurl` to be installed -> https://github.com/twitter/twurl | |
::Custom Parameters:: | |
filename | |
name of the file to write to, defaults to replies_output.txt |
I hereby claim:
To claim this, I am signing this object:
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer