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
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "_amountInFinney", | |
"type": "uint256" | |
} | |
], | |
"name": "claim", |
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
{"version":1,"resource":"file:///Users/lee/Documents/workspace_node/aoc-2022/packages/day6/src/data","entries":[{"id":"p2KT","timestamp":1670316216190},{"id":"h8gp","timestamp":1670317039135},{"id":"rqYa","timestamp":1670317051949},{"id":"IWX3","source":"工作區編輯","timestamp":1670317071659},{"id":"Vd1t","source":"工作區編輯","timestamp":1670317226346},{"id":"pUmf","source":"工作區編輯","timestamp":1670317246133},{"id":"DDP6","source":"工作區編輯","timestamp":1670317256789},{"id":"DX85","source":"工作區編輯","timestamp":1670319676550},{"id":"qnke","source":"工作區編輯","timestamp":1670319847455}]} |
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
[ { "project": "[全民工會] 第三方突擊工時勞檢方案", "id": "ZFRxu8Zlr4a" }, | |
{ "project": "開放都市-台北2050計畫追蹤", "id": "y7f4dxUB2oh" }, | |
{ "project": "一鍵 Excel 轉 .csv (含自動修復) (Ver20160305)", | |
"id": "vDLLZbbikXF" }, | |
{ "project": "宜蘭農業", "id": "jAFuERTpDC5" }, | |
{ "project": "中研院「社會變遷全記錄」半自動化計畫", "id": "UssOWtAVda9" }, | |
{ "project": "開放資料新聞產生器", "id": "SfuUIP4TA80" }, | |
{ "project": "#{自己的飛安,自己救} ", "id": "NacE7VPcPVx" }, | |
{ "project": "台灣正名器 http://nameistw.herokuapp.com/", | |
"id": "RRUz1822aga" }, |
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
"activate-power-mode": | |
prettyName: "Activate Power Mode" | |
homepage: "https:/atom.io/packages/activate-power-mode" | |
"atom-beautify": | |
prettyName: "Atom Beautify" | |
homepage: "https:/atom.io/packages/atom-beautify" | |
"autocomplete-modules": | |
prettyName: "Autocomplete Modules" | |
homepage: "https:/atom.io/packages/autocomplete-modules" | |
"busy-signal": |
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
function sum(a) { | |
function f(b) { | |
return sum(a + b); | |
} | |
f.toString = function() { return a }; | |
return f; | |
}; | |
var add3 = sum(1)(2); | |
var result = [1, 2, 3] |
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 | |
import sys, os, time, atexit | |
from signal import SIGTERM | |
class Daemon: | |
""" | |
A generic daemon class. | |
Usage: subclass the Daemon class and override the run() method |
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
# coding: utf-8 | |
import base64 | |
import hashlib | |
import random | |
base64.b64encode(hashlib.sha256( str(random.getrandbits(256)) ).digest(), | |
random.choice(['rA','aZ','gQ','hH','hG','aR','DD'])).rstrip('==') |
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 jsdom = require('jsdom'); | |
var promise = require('bluebird'); | |
var request = require("request"); | |
function getURL(url) { | |
return new Promise(function (resolve, reject) { | |
var target = url; | |
var jar = request.jar(); |
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
lts = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] | |
tmp_list = [] | |
for lt in lts: | |
for ele in lt: | |
tmp_list.append(ele) | |
print(tmp_list) |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello React</title> | |
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/1.12.1/semantic.min.css"> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.2/react-with-addons.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/react/0.13.2/JSXTransformer.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/1.12.1/semantic.min.js"></script> | |
</head> |
NewerOlder