This file contains hidden or 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
| cd node_modules\flickr-tag-crawler |
This file contains hidden or 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
| cd c:\ | |
| mkdir sobig | |
| cd sobig |
This file contains hidden or 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
| var BBOX2Heatmap = require('bbox2headmap'); | |
| //Oktoberfest | |
| BBOX2Heatmap([11.543283,48.12657,11.554785,48.137053]); |
This file contains hidden or 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
| node bbox2heatmap/execute.js -B 11.543283,48.12657,11.554785,48.137053 |
This file contains hidden or 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
| npm install bbox2heatmap |
This file contains hidden or 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
| #MediaWiki URL省略スタイル用htaccess | |
| #extディレクトリは直接参照可能 (自作のPHPを置いたり等のため) | |
| RewriteEngine on | |
| RewriteRule ^/ext(.*)$ /ext$1 [L,QSA] | |
| RewriteRule ^[^:]*\.(php|src|jpg|jpeg|png|gif|css|js|inc|swf|flv|phtml|pl|ico|html|shtml|zip|rar|svg|gz)$ - [L,NC] | |
| RewriteRule ^index.php?title - [L] | |
| RewriteRule ^(.*)\&(.*)$ /index.php?title=$1\%26$2 [L,QSA] | |
| RewriteCond %{REQUEST_URI} (//+) | |
| RewriteRule ^(.*)/(.*)$ /index.php?title=$1%1$2 [L,QSA] |
This file contains hidden or 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
| var http = require('http'); | |
| http.createServer(function (req, res) { | |
| res.writeHead(200, {'Content-Type': 'text/plain'}); | |
| res.end('Hello World\n'); | |
| }).listen(8080, '192.168.0.200'); | |
| console.log('Server running at http://192.168.0.200:8080/'); |
This file contains hidden or 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 dnf install nodejs npm | |
| node -v | |
| #v0.10.36のようなバージョン番号がでてきたらインストール成功 | |
| npm -v | |
| #1.3.6のようなバージョン番号がでてきたらインストール成功 |
This file contains hidden or 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
| # MariaDBのサービスを停める | |
| sudo systemctl stop mariadb.service | |
| #MariaDBをセーフモードで立ち上げる。 | |
| sudo mysqld_safe --skip-grant-tables & | |
| #rootでログイン | |
| mysql -u root | |
| #rootのパスワードを設定(MariaDBのコマンドライン上で) |
This file contains hidden or 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
| {"metadata":{ | |
| tags:["car","train"], | |
| bbox:[ | |
| [-122.28,33.27,-113.43,42.26], | |
| [-6.52,49.81,2.32,58.79] | |
| ]}, | |
| "data":[ | |
| {"id":"4233845758", | |
| "owner":"51035555243@N01", | |
| "secret":"b9604dafc0", |