Skip to content

Instantly share code, notes, and snippets.

View sulincix's full-sized avatar
🇹🇷

​​ sulincix

🇹🇷
View GitHub Profile
@sulincix
sulincix / build-linux.sh
Last active November 10, 2026 10:06
am67a_t3_gem_o1_a53 u-boot build
#!/bin/bash
set -ex
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export DEBEMAIL=dev@pardus.org.tr
export DEBFULLNAME="Pardus Devs"
THREAD_COUNT=$(nproc)
@sulincix
sulincix / httpd.py
Created September 21, 2026 13:51
python tcp socket httpd
#!/usr/bin/env python3
import os
import sys
import json
import threading
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind(("", 8000))
@sulincix
sulincix / hosts.txt
Created August 26, 2026 15:48
Epic hosts list
This file has been truncated, but you can view the full file.
0.0.0.0 0-ilxrc-w285.p9bckp.sbs
0.0.0.0 0-lxk284pre.c3kqmp.cfd
0.0.0.0 0.0.0.0
0.0.0.0 0.0.0.0.creative.hpyrdr.com
0.0.0.0 0.0.0.0.hpyrdr.com
0.0.0.0 0.ackzany.com
0.0.0.0 0.athwartwhoafat.com
0.0.0.0 0.blissfullyzebra.com
0.0.0.0 0.duhquietly.com
0.0.0.0 0.gadzooksrudely.com
@sulincix
sulincix / pycups.rst
Created July 22, 2026 08:34
Python CUPS documentation
@sulincix
sulincix / aidattakipsistemi.py
Last active June 18, 2026 21:27
yönetimcell - aidattakipsistemi
# Fetch information from https://aidattakipsistemi.com
import json
import requests
BASE = "https://aidattakipsistemi.com/webyonetimcellcom"
# Fetch values in js console: (press f12 and paste)
# document.cookie.replaceAll("%22", "\"").replaceAll("%2C", ", ")
siteid=xxxxx
@sulincix
sulincix / ipc.py
Last active June 15, 2026 07:55
python ipc
#!/usr/bin/env python3
import os
import socket
import json
class IpcServer:
def __init__(self, path):
self.server = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
if os.path.exists(path):
os.unlink(path)
/
/.env
/.env.backup
/.env.local
/.env.old
/.env.prod
/.env.production
/.git/HEAD
/.git/config
/.npmrc
@sulincix
sulincix / blockip.txt
Created April 1, 2026 11:28
Spammer ip list
1.0.133.208
1.0.209.177
1.13.2.59
1.13.14.209
1.14.15.205
1.14.142.52
1.15.13.216
1.15.39.219
1.15.58.114
1.15.85.193
@sulincix
sulincix / detect_portal.py
Created March 11, 2026 08:47
Python Captive Login Detect
#!/usr/bin/env python3
import socket
def detect_portal():
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("detectportal.firefox.com", 80))
s.send(b'GET /\n\r\n')
data = s.recv(1024).decode("utf-8").strip()
@sulincix
sulincix / merge.sh
Last active February 26, 2026 17:59
#!/bin/bash
# Create merged input. Merged all output sources.
# Insert this script in /etc/X11/xinit/xinitrc.d/
if [ "$1" == "-u" ]; then
# Unload the loopback and null sink modules
pactl unload-module module-loopback
pactl unload-module module-null-sink
else
# Exit if already loaded.
if pactl list sources short | grep "combined" &>/dev/null ; then