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
package main | |
import ( | |
"fmt" | |
"golang.org/x/crypto/bcrypt" | |
) | |
var hashes = [...][]byte{ | |
[]byte("$2a$10$Rvrp.PkB.pnvmXkbu7IYvuglQhJ.kAGJG/.rkCgiDbC1JCEyP7Avq"), | |
[]byte("$2a$10$mrNWPjlGFqRPbHmzybgJye90m7aUL12f0ZaEmzMBZ2rOfpmba23qO"), |
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
[ | |
{"account_name":"uesugi_shinichi","address":"埼玉県厚別区5-27","buy_parent_category_id":60,"created_at":1565402710,"id":3907,"num_buy_items":4,"num_sell_items":0,"plain_passwd":"pwhBq/lbL8Gz2xU4hAHcT4MaaS3gygDxxBGhlt+pr74"}, | |
{"account_name":"maki_mayuko","address":"滋賀県清田区5-4","buy_parent_category_id":10,"created_at":1565400177,"id":1374,"num_buy_items":4,"num_sell_items":0,"plain_passwd":"5+qHwh2zs79WbM5uDdckEmU4HEc2SRr/ctMLAdIIPs4"}, | |
{"account_name":"sakurai_hidetsugu","address":"三重県昭和区2-37","buy_parent_category_id":60,"created_at":1565399430,"id":627,"num_buy_items":4,"num_sell_items":4,"plain_passwd":"PGGNHUv+/sZJjahIJpYXdp3DcgWudAjMVKvQirD56uc"}, | |
{"account_name":"ooura_eiichi","address":"大阪府若林区5-41","buy_parent_category_id":50,"created_at":1565399457,"id":654,"num_buy_items":4,"num_sell_items":2,"plain_passwd":"HK624wvQTAkx0SIifGQ6i6+Zl6wAR3fDYeSQrcrMcm4"}, | |
{"account_name":"sasaki_ouga","address":"鹿児島県宮前区3-16","buy_parent_category_id":60,"created_at":1565401098,"id":2295,"num_buy_items":4,"num_sell_items":0," |
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
import deques,sets | |
# outputs | |
# CLEAR!! | |
# HHTHBHTBBBBB | |
# (myHP: 2, eneHP: -3, myCmd: 0, eneCmd: 3, myLeftTurn: 5, eneLeftTurn: 1) | |
# HP:71 -> 78 | |
# bow:21/2/5 (0) | |
# thu:35/0/10(1) | |
# hea:60/0/15(2) |
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
.\" spec - -*- Indented-Text -*- created at: Tue May 25 15:18:26 JST 1993 | |
* はじめに(なぜRubyか?) | |
Rubyは「UNIXで手軽にオブジェクト指向プログラミング」をしたいという望み | |
を実現するために生まれた. そのために必要だと思われた性質は: | |
* 文法や機能が単純である. | |
* オブジェクト指向プログラミングをサポートする機能を | |
持つ言語として設計されている. |
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
.js-drawer.drawer.wide{ | |
width: 200px; | |
left: -200px; | |
} | |
.js-app-content.app-content.is-open{ | |
transition-duration: 200ms; | |
transform: translateX(200px); | |
margin-right: 200px; | |
} |
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
import os | |
import system | |
import strutils | |
import sequtils | |
import algorithm | |
proc findCallCount(line:string) : string = | |
let args = line.split(" ") | |
for i,arg in args: |
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
import pandas as pd | |
import tweepy | |
def get_api(): | |
c_k = "K**" | |
c_s = "u**" | |
a_k = "2**" | |
a_s = "b**" | |
auth = tweepy.OAuthHandler(c_k, c_s) | |
auth.set_access_token(a_k, a_s) |
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 setScore(abc, scoreDOM, midiDOM) { | |
let tunes = ABCJS.renderAbc(scoreDOM, abc, {}, { | |
responsive: 'resize', | |
paddingtop: 0, | |
scale: 1, | |
paddingbottom: 0, | |
}); | |
ABCJS.renderMidi( | |
midiDOM, abc, {}, { | |
program: 25, |
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
mkdir yenten && cd yenten | |
git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt | |
sudo apt install -y libdb++-dev libssl-dev libgmp3-dev zlib1g-dev #libdb++ | |
./autogen.sh | |
CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11 -funroll-loops -fomit-frame-pointer" ./configure --with-curl | |
make |
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
mkdir yenten && cd yenten | |
git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt | |
sudo apt install libdb++-dev libssl-dev libgmp3-dev #libdb++ | |
./autogen.sh | |
./configure CFLAGS="-O3 -march=native -Wall" --with-curl | |
make | |
# ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u murata.miner1 -p **** |