Skip to content

Instantly share code, notes, and snippets.

View first087's full-sized avatar

Artit Kiuwilai first087

View GitHub Profile
@first087
first087 / check-thread.sh
Created July 21, 2020 08:59
Java check thread by pid using jstack
echo "Check process $1"
while true
do
"$JAVA_HOME/bin/jstack" -l $1 | grep pool
sleep 1
echo
done
# Command: sh check-thread.sh {pid}
// บอทปั้มเงิน TLM เกม Alien Worlds (เงินจะเอาไปแลกเงินจริงใน Binance ได้)
// ไว้ทดสอบเฉย ๆ อย่าเอาไปใช้จริง คนเขียนไม่รับผิดชอบต่อบั๊กใด ๆ ทั้งสิ้น
//
// วิธีใช้:
// 1. สมัคร + เข้า https://play.alienworlds.io/
// 2. ต้องเคย mine แบบ manual ก่อน 1 ครั้ง
// 3. ก๊อปสคริปท์นี้ไปแปะใน Console (F12)
// น่าจะมีบั๊กพวก rate limit อะไรทั้งหลาย กับ if/loop บางอันเอาออกได้
// ลองรันเล่น ๆ 5 ชม จาก user เปล่า ๆ ได้มา 8 TLM (ขึ้นกับดวงและอื่นๆด้วยมั่ง)
// ใครว่าง ๆ แก้เป็นยิงเข้า API โดยตรงไม่ผ่าน JS น่าจะเสถียรกว่าเยอะมาก
@first087
first087 / opencert.md
Created May 27, 2022 03:45 — forked from nolifelover/opencert.md
OpenAttestation and OpenCert

Install open-attestation cli

npm install -g @govtechsg/open-attestation-cli

Creating a wallet

open-attestation wallet create --output-file wallet.json

During the creation, you will be prompted for a password. Make sure to remember it for the following steps. You will see a message after completion of the command:

@first087
first087 / index.js
Last active August 1, 2022 13:59
[node.js] Test hash count per time
const crypto = require('crypto')
const algor = 'sha256' // sha1, sha256
const diffTime = 10 // sec
const test = (nonce) => {
const data = `${Date.now()}${nonce}`
const hash = crypto.createHash(algor).update(data).digest('hex')
// console.log(hash)
}
Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4