- Get key ratio, return csv format file
http://financials.morningstar.com/ajax/exportKR2CSV.html?t=<market>:<stock>
Market
- XHKG: Hong Kong Stock Exchange
- XASE: American Stock Exchange
- XNAS: Nasdaq Stock Exchange >* XNYS: New York Stock Exchange
| /** initialize css counter */ | |
| #write { | |
| counter-reset: h1 | |
| } | |
| h1 { | |
| counter-reset: h2 | |
| } | |
| h2 { |
| #!/usr/bin/perl -w | |
| use Verilog::EditFiles; | |
| use Getopt::Long qw( :config posix_default bundling no_ignore_case ); | |
| my $outdir = ''; | |
| my $infile = ''; | |
| GetOptions ('o=s' => \$outdir, 'i=s' => \$infile); | |
| my $split = Verilog::EditFiles->new( | |
| outdir => $outdir, |
| #!/bin/bash - | |
| /sbin/m5 switchcpu | |
| timeout 1 yes > /dev/null | |
| sleep 1 | |
| timeout 1 yes > /dev/null | |
| sleep 1 | |
| /sbin/m5 switchcpu |
| #!/bin/sh | |
| set -e | |
| write_to () { | |
| echo $2 | sudo tee $1 > /dev/null | |
| } | |
| set_rate () { | |
| c=fclk$1 |
| .markdown-here-wrapper { | |
| font-size: 16px; | |
| line-height: 1.8em; | |
| letter-spacing: 0.1em; | |
| } | |
| pre, code { | |
| font-size: 14px; | |
| font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace; |
| // http | |
| git config --global http.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| // socks5 | |
| git config --global http.proxy socks5://127.0.0.1:1080 | |
| git config --global https.proxy socks5://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy |
| # Install bitcoind | |
| ## build bitcoind | |
| mkdir -p ~/source; cd ~/source | |
| wget https://github.com/bitcoin/bitcoin/archive/v0.9.2.tar.gz | |
| tar zxvf v0.9.2; cd bitcoin-0.9.2 | |
| ## open-nodes.org_hub-v0.9.2.patch | |
| wget https://gist.github.com/bitkevin/a1b4a556fffce6fc527a/raw/ -O open-nodes.org_hub-v0.9.2.patch | |
| patch -p1 < open-nodes.org_hub-v0.9.2.patch |