Skip to content

Instantly share code, notes, and snippets.

View sksat's full-sized avatar
💭
🛰️

sksat sksat

💭
🛰️
View GitHub Profile
@sksat
sksat / dakuryu.sh
Last active October 12, 2022 19:48
濁流(0.5%記念)
#!/bin/bash
# data storage
DISCORD_WEBHOOK="https://discord.com/api/webhooks/*****"
# Web browser is best useful tool
TOKEN=""
INPUT="{{{{masterpiece}}}},UnrealEngine"
UC="worst quality, low quality, normal quality"
@sksat
sksat / badge.json
Created November 30, 2021 19:58
shelds.io endpoint test
{
"schemaVersion": 1,
"label": "hello",
"message": "sweet world",
"color": "orange"
}
@sksat
sksat / README.md
Last active September 21, 2024 17:10
オタク向け yaml_cvのstyle.txt

オタク向けのyaml_cvのstyle.txt.

実はみなさんが必要なのは連絡先・顔写真・学歴/職歴,免許/資格の欄だけだったりする.

@sksat
sksat / addi.s
Last active July 14, 2021 10:00
RV32I assembler test
addi x1, x2, 1
addi x2, x3, 2
addi x3, x4, 3
addi x4, x5, 4
addi x5, x6, 5
addi x6, x7, 6
addi x7, x8, 7
addi x8, x9, 8
addi x9, x10, 9
addi x10, x11, 10
@sksat
sksat / proton_vrchat.sh
Created July 2, 2021 14:44
VRChat by Proton
#!/bin/bash
PROTON_VERSION="- Experimental"
STEAM_COMPAT_CLIENT_INSTALL_PATH="${HOME}/.local/share/Steam"
STEAMAPPS_BASE="${STEAM_COMPAT_CLIENT_INSTALL_PATH}/steamapps"
STEAMAPPS_COMMON="${STEAMAPPS_BASE}/common"
PROTON_BIN="${STEAMAPPS_COMMON}/Proton ${PROTON_VERSION}/proton"
@sksat
sksat / marupop.js
Created May 9, 2021 12:14
marupop-auto
const puppeteer = require('puppeteer');
puppeteer.launch({
headless: false,
executablePath: "/usr/bin/chromium",
ignoreDefaultArgs: "--mute-audio"
}).then(async browser => {
const page = await browser.newPage()
await page.goto('https://marupop.yopc.dev/')
@sksat
sksat / keybase.md
Last active March 31, 2022 14:49
Keybase proof

Keybase proof

I hereby claim:

  • I am sksat on github.
  • I am sksat (https://keybase.io/sksat) on keybase.
  • I have a public key ASAMjl9YcdMtYk_nzITcIArAzZIGGIs7anYW2XKGg17mSgo

To claim this, I am signing this object:

@sksat
sksat / fizzbuzz.py
Created December 24, 2020 14:10
FizzBuzz
import os
os.system("""
bash << EOS
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env;cargo new fizzbuzz;cd fizzbuzz
echo Zm4gbWFpbigpe2ZvciBpIGluIDEuLjEwMXttYXRjaChpJTMsaSU1KXsoMCwgMCkgPT4gcHJpbnRsbiEoIkZpenpCdXp6IiksKDAsIF8pID0+IHByaW50bG4hKCJGaXp6IiksKF8sIDApPT5wcmludGxuISgiQnV6eiIpLF89PnByaW50bG4hKCJ7fSIsIGkpLH19fQo= | base64 -d > src/main.rs
cargo run
EOS
""")
@sksat
sksat / 7bank.js
Last active December 19, 2020 18:51
7bank deposit
const config = require("./config.js");
const puppeteer = require("puppeteer");
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
const navigationPromise = page.waitForNavigation();
await page.goto(
"https://ib.sevenbank.co.jp/IB/IB_U_CO_002/IB_U_CO_002_100.aspx?Lang=ja-JP"
@sksat
sksat / speed.sh
Created November 8, 2020 20:36
speed.sh
#!/bin/bash
#/usr/bin/speedtest --server 15047 --csv >> /home/sksat/speed/`date -u "+%Y-%m-%d"`.csv
line=`/usr/bin/speedtest --server 15047 --csv`
csv=()
for ((i=1; i < 11; i++)); do
a=`echo ${line} | cut -d ',' -f ${i}`
#echo $a