Skip to content

Instantly share code, notes, and snippets.

View nokachidev1's full-sized avatar
:electron:
Does nothing

Pheerapat Rinnasak nokachidev1

:electron:
Does nothing
View GitHub Profile
@earthchie
earthchie / freedopa-2.py
Created April 4, 2026 09:59
สคริปต์เจาะสมุดบัญชีรายชื่อผู้มีสิทธิเลือกตั้ง DOPA (แก้ไขแล้ว) ที่ซื้อขายกันใน discord
import discord
from discord.ext import commands
import aiohttp
# 1. ตั้งค่าพื้นฐานของบอท
intents = discord.Intents.default()
intents.message_content = True # เปิดใช้งานการอ่านข้อความ
bot = commands.Bot(command_prefix='!', intents=intents)
@bot.event
@kongvut
kongvut / install-line-on-fedora.md
Last active March 3, 2026 06:37
ติดตั้ง LINE บน Fedora ด้วย Wine

ติดตั้ง LINE บน Fedora ด้วย Wine

การติดตั้งของ Ubuntu, Debian น่าจะคล้าย ๆ กันเปลี่ยนแค่ dnf เป็น apt

0. ลบ Wine เดิมออก

sudo dnf remove "wine*"

1. ติดตั้ง Wine และ Winetricks

@chabala
chabala / using-google-takeout.md
Last active April 23, 2026 13:14
Merge and extract tgz files from Google Takeout

Recently found some clowny gist was the top result for 'google takeout multiple tgz', where it was using two bash scripts to extract all the tgz files and then merge them together. Don't do that. Use brace expansion, cat the TGZs, and extract:

$ cat takeout-20201023T123551Z-{001..011}.tgz | tar xzivf -

You don't even need to use brace expansion. Globbing will order the files numerically:

$ cat takeout-20201023T123551Z-*.tgz | tar xzivf -
@one909
one909 / gist:b5ffc901c0c54a2f1b411b9af7ecb570
Created April 18, 2020 16:32
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
=================================================================================
. Run "Command Prompt" as Administrator
. slmgr.vbs -ipk Product Key
. slui4
=================================================================================
Windows 7 Ultimate Retail Phone Activation Keys
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289
V77DJ-CT8WB-Y3GXT-X3FBP-6F987
JC7BV-94FD2-D86PH-XRMHR-BXKDG