- 장소&시간
- 5/19(일) 12시 석바위공원
- 준비위원
- 송민구샘, 오수영샘, 김다혜샘, 이영진샘
- 컨셉
- 선생님과 아이들이 더욱 친해지도록
- 즐거운 추억 만들기
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
from bitcoin import sha256 | |
arr = [ | |
"abandon", | |
"ability", | |
"able", | |
"about", | |
"above", | |
"absent", | |
"absorb", |
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
fetch( | |
'https://mempool.space/api/tx/862ad0316f9cb974f285db9403384a3cc64f3e1f01dd8e5f945b578548a8b59d', | |
) | |
.then(response => response.json()) | |
.then( | |
res => | |
res.vout.find(item => item.scriptpubkey_type === 'op_return') | |
.scriptpubkey, | |
) | |
// .then(console.log) |
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
from bitcoin import sha256 | |
import requests | |
# fetch 2048 words | |
res = requests.get("https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/english.txt") | |
arr = res.text.strip().split('\n') | |
# 23 words selected | |
words_23 = 'around beauty boil brown brush cable castle chest cloud copper couple desert design dirt dutch file habit indoor joke lazy lock miss odor' |
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
from bitcoin import * | |
# byte 값을 bit로 변환 | |
def bits(bytes): | |
result = '' | |
for b in bytes: | |
temp = '' | |
for i in range(8): | |
temp += str((b >> i) & 1) | |
result += (temp[::-1]) |
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
from cryptos import * | |
c = Bitcoin() | |
for i in range(1000) : | |
priv = random_key() | |
addr = c.privtoaddr(priv) | |
inputs = c.unspent(addr) | |
print(i, priv, addr, len(inputs)) | |
if len(inputs) > 0 : |
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
import renderer from 'react-test-renderer' | |
import DialogNewBusiness from 'ui-component/basic/DialogNewBusiness' | |
describe('DialogNewBusiness', () =>{ | |
test('snapshot', () => { | |
const tree = renderer.create(<DialogNewBusiness/>).toJSON() | |
expect(tree).toMatchSnapshot() | |
} | |
) | |
}) |
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
import * as fs from 'fs' | |
import {createRandomString} from '../utils' | |
import * as path from 'path' | |
export async function sendFax({args, logger, _fax}) { | |
const dir = './upload' | |
if(!fs.existsSync(dir)){ | |
fs.mkdirSync(dir, 0o744) | |
} | |
const fileList = await Promise.all(args.files) |
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
{"schema":{"root":{"properties":{"creditors_date":{"type":"TheDateInput","visible":true,"title":"채권현재액 기준일","rules":{"required":true,"message":"채권현재액 기준일 cannot be empty"}},"creditors_list_doc_created_date":{"type":"TheDateInput","visible":true,"title":"문서 작성일","rules":{"required":true,"message":"문서 작성일 cannot be empty"}},"creditors":{"type":"TheMultiFunctionTable","title":"채권자목록","addText":"add","maxColumnRow":"5","visible":true,"isDialogInputTable":true,"columns":{"name":{"type":"TheInput","title":"채권자","width":"150px","row":"1","readonly":true,"rules":{"required":true,"message":"채권자 이름을 입력하세요"}},"issuedDate":{"type":"TheDateInput","visible":true,"readonly":true,"width":"150px","title":"채권발생일","row":"1","rules":{"required":true,"message":"채권발생일을 입력하세요"}},"issuedDesc":{"type":"TheTextArea","visible":true,"readonly":true,"width":"300px","title":"채권의 원인","row":"1","rules":{"required":true,"message":"채권의 원인을 입력하세요"}},"attached":{"type":"TheCheckbox","visible":true,"readonly":true,"width":"200px","title":"부속서류의 |
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
`9,100 | |
3,000 | |
3,200`.split('\n').map(str => Number(str.replace(',', ''))).reduce((a,b) => a+b) |
NewerOlder