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
class Здравствуй { | |
constructor(){ | |
const d1 = new Date() | |
const d2 = new Date().getTime().toString() | |
const output = `\r ${d1} ${d2}` | |
process.stdout.write(output) | |
setTimeout(function(){ | |
new Здравствуй() |
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
var obj = { | |
"name" : { | |
full_name: 'Hello', | |
given: ['a name', 'b name', 'c name'] | |
}, | |
"tel" : { | |
phone: '0000000', | |
mobile: '+886 11111111' | |
}, | |
"address" : '天龍區' |
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
const app = { | |
name: 'solar-watcher-client', | |
script: './index.js', | |
env: { | |
CLIENT_ID: 'J=_pxGn4m5W4(=v', | |
CLIENT_LOGGER_URL: 'http://solar-data.zackexplosion.fun', | |
CLIENT_SERIAL_PORT_PATH: '/dev/serial/by-id/usb-FTDI_FT231X_USB_UART_D309Q80Z-if00-port0', | |
}, | |
} |
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
IMAGE_NAME=your-image-name | |
NAS_URI=yourname@yournas.com | |
ARCHIVE_FILE_NAME=archive.tar | |
REMOTE_PATH=/a/remote/path | |
REMOTE_PORT=22 | |
PORTMAP=1111:1111 | |
rm $ARCHIVE_FILE_NAME | |
docker rmi $IMAGE_NAME | |
docker build . -t $IMAGE_NAME |
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
// make sure you have been login to https://www.newebpay.com/sale/Sell_center/search_transaction | |
// copy and paste this snippit to web dev console | |
// exportToCsv credit | |
// https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side | |
function exportToCsv(filename, rows) { | |
var processRow = function (row) { | |
var finalVal = ''; | |
for (var j = 0; j < row.length; j++) { | |
var innerValue = row[j] === null ? '' : row[j].toString(); |
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
const moment = require('moment') | |
const ecpay_payment = require('ecpay-payment') | |
function getAddress (invoice) { | |
if (invoice.string_address) { | |
return invoice.string_address | |
} | |
var address = '' | |
try { |
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
2015-01-03 05:41:08 中和-土城 | |
2015-01-03 05:43:56 土城-樹林 | |
2015-01-03 05:47:56 三鶯-鶯歌系統 | |
2015-01-03 05:49:38 鶯歌系統-大溪 | |
2015-01-03 05:53:53 大溪-龍潭 | |
2015-01-03 05:56:28 龍潭-關西服務區 | |
2015-01-03 06:00:47 關西服務區-關西 | |
2015-01-03 06:03:56 關西-竹林 | |
2015-01-03 06:09:47 竹林-寶山 | |
2015-01-03 06:11:34 寶山-新竹系統 |
出處:https://home.gamer.com.tw/creationDetail.php?sn=2927540
原始版本每一條的格式不太整齊,因此整理一下貼到這來ww
- 買個鎮暴槍去人家生存版說要打生存 鬧到眾人皆恥笑
- 去EYNY取暖結果搞到帳號被禁止訪問
- 到女巴友小屋言語騷擾 問人家是不是處女
- 拿著一台最基本的代步工具當寶四處炫 還不是自己賺來的 是親戚家出的錢
- 月薪不到22K生活堪慮卻硬要打腫臉充胖子 硬要學人買iPhone
NewerOlder