Download OsmAndMapCreator and extract.
Install osmupdate and osmconvert into path.
cd ~/bin
wget -O - http://m.m.i24.cc/osmupdate.c | cc -x c - -o osmupdate
wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
| # size of immediate sub-folders | |
| du -d1 -BM | sort -g |
| /************************************** | |
| * Header Counters in TOC | |
| **************************************/ | |
| /* No link underlines in TOC */ | |
| .md-toc-inner { | |
| text-decoration: none; | |
| } | |
| .md-toc-content { |
| // ==UserScript== | |
| // @name Webpages slideshow | |
| // @namespace https://github.com/aleung/ | |
| // @version 1.1.0 | |
| // @description Loop display a serial of webpages. Display time for each page can be set. | |
| // @author Leo Liang | |
| // @license MIT License | |
| // @include * | |
| // @noframes | |
| // @require https://openuserjs.org/src/libs/sizzle/GM_config.js |
| Trace of ID 1 | |
| 1497340609369: Received request. ID: 1 | |
| 1497340609369: Step 1 1 | |
| 1497340610599: Step 2 1 | |
| 1497340610602: Response sent 1 | |
| ----- | |
| Trace of ID 2 | |
| 1497340606575: Received request. ID: 2 | |
| 1497340606575: Step 1 2 | |
| 1497340612700: Step 2 2 |
Download OsmAndMapCreator and extract.
Install osmupdate and osmconvert into path.
cd ~/bin
wget -O - http://m.m.i24.cc/osmupdate.c | cc -x c - -o osmupdate
wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <title>SANKEY Demo</title> | |
| <style> | |
| .node rect { | |
| cursor: move; | |
| fill-opacity: .9; | |
| shape-rendering: crispEdges; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| For | |
| * ES5 | |
| * ES6 | |
| * CoffeeScript |
| async function operationOne(context: SharedContext, input: Readonly<Op1Input>): Promise<[Op1Output, RollbackFn]> { | |
| const id = input.id; | |
| await saveDb(id, true); | |
| const result = 'OK'; | |
| const rollback = async (context: SharedContext) => { | |
| await saveDb(id, false); | |
| } | |
| #!/usr/bin/env python3 | |
| # | |
| # Usage: | |
| # git-history-extract.py [-o <output_path>] <rev> [<path>] | |
| # | |
| # Retrieve a file or a directory from git history at specific reversion (tag or commit). | |
| # The restored file(s) are saved into destination path. | |
| # | |
| # You must run it in a directory which is inside a git repository. | |
| # |