Skip to content

Instantly share code, notes, and snippets.

Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/kylef/Spectre.git
Completed resolution in 15.33s
Cloning https://github.com/apple/swift-protobuf.git
Resolving https://github.com/apple/swift-protobuf.git at 1.1.2
Cloning https://github.com/kylef/Spectre.git
Resolving https://github.com/kylef/Spectre.git at 0.9.0
Cloning https://github.com/kylef/Commander.git
// code.9leap.net default template
// based on enchant.js v0.7.1
window.focus();
enchant();
window.onload = function(){
var game = new Core(320, 320);
game.fps = 15;
game.preload('chara3.png','icon0.png','chara6.png');
@wapa5pow
wapa5pow / test
Created November 15, 2016 08:50
rack-action_logger
test
@wapa5pow
wapa5pow / gist:e9ff65ac51e05a74477d34c541466704
Created August 15, 2016 07:45
embulkのgemのバージョン
$ embulk gem list
2016-08-15 16:45:17.901 +0900: Embulk v0.8.13
*** LOCAL GEMS ***
addressable (2.4.0)
embulk-input-mysql (0.7.2)
embulk-output-bigquery (0.3.7)
faraday (0.9.2)
google-api-client (0.9.11)
@wapa5pow
wapa5pow / gist:51eb79cf3b258a71e0934bfcb1fee463
Created August 15, 2016 05:25
Try to update ca for Amazon Linux
[root@ip-10-0-11-111 anchors]# curl -o /etc/pki/ca-trust/source/anchors/GTEGlRoot.crt https://www.cybertrust.ne.jp/sureserver/download/root_ca/GTEGlRoot.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 890 100 890 0 0 6885 0 --:--:-- --:--:-- --:--:-- 6899
[root@ip-10-0-11-111 anchors]# ls
GTEGlRoot.crt
[root@ip-10-0-11-111 anchors]# update-ca-trust
p11-kit: duplicate 'GTE CyberTrust Global Root' certificate found in: ca-bundle.legacy.crt
p11-kit: duplicate 'GTE CyberTrust Global Root' certificate found in: ca-bundle.legacy.crt
p11-kit: duplicate 'GTE CyberTrust Global Root' certificate found in: ca-bundle.legacy.crt
@wapa5pow
wapa5pow / gist:a1ba470cf4c8bafdaf7c525a547c029a
Created August 12, 2016 05:03
Amazon Linuxでのopenssl verify
$ openssl s_client -connect www.googleapis.com:443 -verify -showcerts
verify depth is 0
CONNECTED(00000003)
depth=3 C = US, O = Equifax, OU = Equifax Secure Certificate Authority
verify return:1
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = Google Inc, CN = Google Internet Authority G2
verify return:1
depth=0 C = US, ST = California, L = Mountain View, O = Google Inc, CN = *.googleapis.com
@wapa5pow
wapa5pow / gist:8c4ffea6b7b89bacdf12044f5700294b
Last active August 12, 2016 04:06
embulk-output-bigquery ssl error
2016-08-12 11:54:33.870 +0900 [INFO] (0001:transaction): Loaded plugin embulk-input-mysql (0.7.2)
2016-08-12 11:54:43.060 +0900 [INFO] (0001:transaction): Loaded plugin embulk-output-bigquery (0.3.6)
2016-08-12 11:54:43.127 +0900 [INFO] (0001:transaction): Fetch size is 10000. Using server-side prepared statement.
2016-08-12 11:54:43.585 +0900 [INFO] (0001:transaction): ...
2016-08-12 11:54:43.700 +0900 [INFO] (0001:transaction): Using local thread executor with max_threads=2 / tasks=1
2016-08-12 11:54:44.123 +0900 [INFO] (0001:transaction): embulk-output-bigquery: Get dataset... xxx
2016-08-12 11:54:44.131 +0900 [DEBUG] (0001:transaction): embulk-output-bigquery: client_options: {:application_name=>"Embulk BigQuery plugin", :application_version=>"0.0.0", :proxy_url=>nil, :use_net_http=>false}
2016-08-12 11:54:44.134 +0900 [DEBUG] (0001:transaction): embulk-output-bigquery: request_options: {:authorization=>nil, :retries=>5, :header=>nil, :timeout_sec=>300, :open_timeout_sec=>300}
D, [2016-08-12T11:54:44.793