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
| "use strict" | |
| const fusejs = require('fusejs'); | |
| const fuse = require('fusejs').fuse; | |
| const EventEmitter = require('events').EventEmitter; | |
| const FileSystem = fusejs.FileSystem; | |
| const PosixError = fusejs.PosixError; | |
| console.log(process.argv.slice(2,process.argv.length)); |
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
| function Sheet(tracks, measureCount) { | |
| if (!(this instanceof Sheet)) { | |
| return new Sheet(tracks, measureCount); | |
| } | |
| this.tracks = tracks || []; | |
| this.info = {}; | |
| if (measureCount != null) { | |
| this.tracks.forEach(function (track) { | |
| track.fillMeasure(measureCount); |
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
| realMapToCode = (str)-> | |
| codes = (str.split '').map (i)-> i.charCodeAt 0 | |
| pos = 0 | |
| while pos <= codes.length - 2 | |
| if 54 is codes[pos] >> 10 | |
| if 55 is codes[pos + 1] >> 10 | |
| leading = (codes[pos] & 0x3ff) + 0x40 | |
| following = codes[pos + 1] & 0x3ff |
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
| require('coffee-script/register') | |
| require('./main.coffee') | |
| /* | |
| Usage : | |
| $ node index.js "url" | |
| For example : | |
| $ node index.js "http://forum.gamer.com.tw/C.php?bsn=18673&snA=104167&page=1" | |
| */ |
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
| {"1000":"垛","1001":"垚","1002":"埃","1003":"埋","1004":"城","1005":"埒","1006":"埂","1007":"埏","1008":"域","1009":"埠","1010":"埦","1011":"埭","1012":"埶","1013":"執","1014":"培","1015":"基","1016":"堂","1017":"堅","1018":"堆","1019":"堊","1020":"埤","1021":"埴","1022":"埵","1023":"埸","1024":"堃","1025":"堙","1026":"堞","1027":"堡","1028":"堠","1029":"堤","1030":"堪","1031":"堯","1032":"報","1033":"堲","1034":"場","1035":"堵","1036":"堧","1037":"堰","1038":"堦","1039":"塍","1040":"塊","1041":"塋","1042":"塌","1043":"塑","1044":"塔","1045":"墓","1046":"塚","1047":"塗","1048":"塘","1049":"塞","1050":"填","1051":"塢","1052":"塏","1053":"塤","1054":"塒","1055":"塎","1056":"塓","1057":"塵","1058":"塹","1059":"塼","1060":"塾","1061":"塿","1062":"墀","1063":"墁","1064":"境","1065":"墅","1066":"墉","1067":"墊","1068":"墄","1069":"塈","1070":"墐","1071":"墜","1072":"墝","1073":"增","1074":"墟","1075":"墨","1076":"墩","1077":"墮","1078":"墺","1079":"墳","1080":"墠","1081":"墫","1082":"墦","1083":"墾","1084":"壁","1085":"壅","1086":"壇","1087":"壈","1088":"壎","1089":"壑","1090":"壓","1091":"壕","1092":"壖", |
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
| { | |
| "/APP/Users/me ": { | |
| "Required parameters:": { | |
| "__data": [ | |
| "none" | |
| ] | |
| }, | |
| "Successful return:": { | |
| "__data": [ | |
| "user data as described above" |
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
| /* test 壹 */ | |
| var stack = require('callsite'); | |
| var fs = require('fs'); | |
| /* | |
| foo(); | |
| function foo() { | |
| bar(); |
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
| [ | |
| { | |
| "id": "1", | |
| "type": "大吉", | |
| "poem": "七寶浮圖塔,高峰頂上安,眾人皆仰望,莫作等閒看", | |
| "explain": "就像出現了用美麗寶石做成的佛塔般地,似乎會有非常好的事情。因為能改用放眼萬事的立場,可以得到周圍的人們的信賴吧。合乎正道的你的行為,能被很多人的認同及鼓勵。不用隨便的態度看事情,用正確的心思會招來更多的好的結果。", | |
| "result": { | |
| "願望": "會充分地實現吧。", | |
| "疾病": "會治癒吧。", | |
| "盼望的人": "會出現吧。", |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| body { | |
| counter-reset: section; /* Set the section counter to 0 */ | |
| } | |
| .page:after { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> | |
| <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js"></script><!-- | |
| <script src="http://ajax.aspnetcdn.com/ajax/bootstrap/3.3.0/bootstrap.min.js"></script> | |
| <link href="http://ajax.aspnetcdn.com/ajax/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> | |
| <link href="http://ajax.aspnetcdn.com/ajax/bootstrap/3.3.0/css/bootstrap-theme.css" rel="stylesheet" type="text/css" />--> | |
| <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.18.1/build/cssreset/cssreset-min.css"> |