Skip to content

Instantly share code, notes, and snippets.

View JuenTingShie's full-sized avatar
🧑‍💼
Working in Taiwan

JuenTingShie JuenTingShie

🧑‍💼
Working in Taiwan
View GitHub Profile
@JuenTingShie
JuenTingShie / script_zhtw.js
Created March 3, 2026 08:23
Soundiiz.com batch export
(async () => {
// ========= 可調參數(如你的頁面類別不同請改這裡) =========
const MODAL_SELECTOR = '.modal-inner.modal-entrance'; // 可滾動的 Modal 內容容器
const GRID_IN_MODAL = '.ReactVirtualized__Grid'; // Modal 裡的虛擬清單 Grid(如果有)
const INNER_SELECTOR = '.ReactVirtualized__Grid__innerScrollContainer';
const ROW_SELECTOR = '.list-selector.track-selector'; // 單列容器
const TITLE_SELECTOR = '.selector-content .item-title'; // 標題(顯示用)
const CHECKBOX_SELECTOR = 'input[type="checkbox"]'; // 勾選的 input
const CLICKABLE_FALLBACK = '.checkbox-inner, .selector-check, .checkbox'; // 非原生 input 的候選
@JuenTingShie
JuenTingShie / run.sh
Last active July 20, 2025 05:09
My brand-new linux startup
#!/usr/bin/env bash
# Check APT
echo ==============
echo = apt update =
echo ==============
sudo apt update && sudo apt upgrade -y
# Install git
echo ===============
echo = git install =
@JuenTingShie
JuenTingShie / how
Last active October 29, 2021 05:41
cheatsheet in bash
# This simple function is to get cheatsheet from http://cht.sh/
# Nothing complex else!
# install:
# Put into your .bashrc
# usage:
# how {language}/{word1}+{word2}
function how () {
if [ $# -eq 0 ]; then
curl cht.sh/;
else
Logging to C:/Data/Users/NTUST/AppData/Local/Packages/Template3D_pzq3xp76mxafg/TempState/UnityPlayer.log
Loading native plugins
Loading opus_egpv.dll
Loading mrwebrtc.dll
Loading AudioPluginMsHRTF.dll
Module information:
Built with Compiler Ver '191627012'
Built from '2019.4/release' branch
Version is '2019.4.18f1 (3310a4d4f880)'
Master build
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Right
AlignOperands: true
// Bounce.c
// Demonstrates a simple animated rectangle program with GLUT
// OpenGL SuperBible, 2nd Edition
// Richard S. Wright Jr.
#include <time.h>
#include <windows.h>
#include <gl/glut.h>
// Bounce.c
// Demonstrates a simple animated rectangle program with GLUT
// OpenGL SuperBible, 2nd Edition
// Richard S. Wright Jr.
#include <windows.h>
#include <gl/glut.h>
// Initial square position and size
@JuenTingShie
JuenTingShie / cloudSettings
Last active February 19, 2021 07:44
VScode setting sync
{"lastUpload":"2021-02-19T07:44:12.692Z","extensionVersion":"v3.4.3"}