For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
# extracted from http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip | |
# under public domain terms | |
country_bounding_boxes = { | |
'AF': ('Afghanistan', (60.5284298033, 29.318572496, 75.1580277851, 38.4862816432)), | |
'AO': ('Angola', (11.6400960629, -17.9306364885, 24.0799052263, -4.43802336998)), | |
'AL': ('Albania', (19.3044861183, 39.624997667, 21.0200403175, 42.6882473822)), | |
'AE': ('United Arab Emirates', (51.5795186705, 22.4969475367, 56.3968473651, 26.055464179)), | |
'AR': ('Argentina', (-73.4154357571, -55.25, -53.628348965, -21.8323104794)), | |
'AM': ('Armenia', (43.5827458026, 38.7412014837, 46.5057198423, 41.2481285671)), |
Boost 1.55.0(boost_1_55_0.zip)をダウンロードしてファイルを解凍する。(C:\boost_1_55_0)
http://www.boost.org/users/history/version_1_55_0.html
https://github.com/boostorg/boost/tree/boost-1.55.0
HPC Pack 2012 R2 MS-MPI Redistributable Package - 日本語(MSMPISetup.exe)をダウンロードしてインストールする。
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
/* | |
(c) by Thomas Konings | |
Random Name Generator for Javascript | |
*/ | |
function capFirst(string) { | |
return string.charAt(0).toUpperCase() + string.slice(1); | |
} | |
function getRandomInt(min, max) { |
> curl 'http://172.20.11.177:50070/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus' | |
{ | |
"beans" : [ { | |
"name" : "Hadoop:service=NameNode,name=NameNodeStatus", | |
"modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode", | |
"State" : "active", | |
"NNRole" : "NameNode", | |
"HostAndPort" : "localhost:19000", | |
"SecurityEnabled" : false, | |
"LastHATransitionTime" : 0 |
<config> | |
<!-- See sample config: /usr/share/doc/fahclient/sample-config.xml --> | |
<!-- Client Control | |
Don't fold anonymously, provide user info. --> | |
<fold-anon v='false'/> | |
<!-- Folding Slot Configuration --> | |
<gpu v='true'/> <!-- If true, attempt to autoconfigure GPUs --> |
# npm using https for git | |
git config --global url."https://github.com/".insteadOf [email protected]: | |
git config --global url."https://".insteadOf git:// | |
# npm using git for https | |
git config --global url."[email protected]:".insteadOf https://github.com/ | |
git config --global url."git://".insteadOf https:// |