All your notes, scripts, config files and snippets deserve version control and tagging!
gist
is a simple bash script for gist management.
It is lightweight(~700LOC) and dependency-free! Helps you to boost coding workflow.
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
testnet=0 | |
regtest=0 | |
# Memory | |
dbcache=200 | |
maxmempool=300 | |
# Indexes | |
txindex=1 | |
blockfilterindex=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
// ES2015 / TypeScript | |
import * as Swipe from '@swp/swipe-sdk' | |
// or via CommonJS | |
// const Swipe = require('@swp/swipe-sdk') | |
// initializes on production environment | |
const swp = Swipe.init({ | |
apiKey: "your api key", | |
secret: "your secret key", |
_
Multi Link Example for http://www.robschmuecker.com/d3-js-drag-and-drop-zoomable-tree/#comment-6190
Added an additional link between nodes at the bottom of the dndTree.js file.
This example pulls together various examples of work with trees in D3.js.
The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.
One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.
This is the map of Nielen Designated Marketing Areas using D3.js. Hover over for data related to each area.
See map here
See code here
###Credits
- Map adapted from Mike Bostock's map example
- Topojson made by converting shapefile from here to topojson via Mike Bostock's instructions
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 | |
# | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Requires bc, dc, openssl, xxd | |
# | |
# by grondilu from https://bitcointalk.org/index.php?topic=10970.msg156708#msg156708 | |
base58=({1..9} {A..H} {J..N} {P..Z} {a..k} {m..z}) | |
bitcoinregex="^[$(printf "%s" "${base58[@]}")]{34}$" |
This project has been moved to https://github.com/weakish/gister
Please update your bookmark and git remote
.
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
""" vimrc """ | |
" ~/.vim | |
" - autoload | |
" - pathogen | |
" - bundle | |
" - nerdtree | |
" - supertab | |
" - vim-coffee-script | |
" - syntax |