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
-- The C compiler identification is AppleClang 5.1.0.5030040 | |
-- The CXX compiler identification is AppleClang 5.1.0.5030040 | |
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang | |
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ | |
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 3 columns, instead of 1. in line 5.
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
x,y,UTF-8_(日本語=Japanese) | |
1.1,1.2,1.3 | |
2.1,2.2,2.3 | |
3.1,3.2,3.3 | |
4.1,4.2,4.3 | |
# $ nkf --guess UTF-8.csv | |
# UTF-8 (LF) |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 3 columns, instead of 1. in line 5.
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
x,y,Shift_JIS_(���{��=Japanese) | |
1.1,1.2,1.3 | |
2.1,2.2,2.3 | |
3.1,3.2,3.3 | |
4.1,4.2,4.3 | |
# $ nkf --guess Shift_JIS.csv | |
# Shift_JIS (LF) |
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
- CVE-2014-6271 ✔ | |
- CVE-2014-7169 ✔ | |
- CVE-2014-7186 ✔ | |
- CVE-2014-7187 ? | |
- CVE-2014-6277 ✔ | |
- CVE-2014-6278 ✔ |
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
$ sudo patch -b -p0 < Reader.html.patch |
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
#!/usr/bin/ruby | |
require 'yaml' | |
$prompt = "% " | |
$commands_to_be_checked_yml = <<EOS | |
"": | |
- "uname -a" | |
- "sw_vers" | |
- "hostinfo" | |
- "mdimport -L" |
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
$ go run json2str.go "{\"key\": {\"country\": \"日本\", \"n\": 0}, \"values\": [1,2]}" | |
{"key":{"country":"日本","n":0},"values":[1,2]} |
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
$ wget http://download.geofabrik.de/asia/japan-latest.osm.bz2 | |
$ go run goosm.go -f japan-latest.osm.bz2 -db osm | |
[6時間以上かかった] | |
$ mongo osm_ways | |
MongoDB shell version: 3.0.1 | |
connecting to: osm_ways | |
> show dbs | |
local 0.000GB | |
osm_nodes 5.479GB |
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
$ cat points.json | |
{ | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"geometry": { | |
"type": "Point", | |
"coordinates": [139.710001, 35.690283] | |
}, |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import simplejson | |
import textwrap | |
from pymongo import MongoClient | |
client = MongoClient('localhost') |
OlderNewer