Skip to content

Instantly share code, notes, and snippets.

View sulincix's full-sized avatar
🇹🇷

​​ sulincix

🇹🇷
View GitHub Profile
@sulincix
sulincix / lie-build.md
Last active June 17, 2025 08:12
debian-live

live build ile iso yapmak

Gerekli paketlerin kurulması

Gerekli paketleri yüklemek için:

apt install live-build xorriso mtools

profil oluşturma

Öncelikle profil oluşturmamız gereklidir.

@sulincix
sulincix / main.py
Created June 11, 2025 08:51
Input lag calculator
#!/usr/bin/env python3
import gi
import time
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib
cur = int(time.time()*10**6)
diff_min = 10**6
@sulincix
sulincix / list.txt
Last active June 5, 2025 09:08
insecure username (extracted from spam ssh attack)
!
!!!
"
">
#
#$
$
$USER
%
&
@sulincix
sulincix / lcd-fix.cpp
Created May 29, 2025 18:08
Simple qt application that may fix lcd bad pixel
#include <QApplication>
#include <QMainWindow>
#include <QPalette>
#include <QTimer>
/* For compile:
g++ main.cpp -o lcd-fix $(pkg-config --cflags --libs Qt6Widgets Qt6Core Qt6Gui) -fPIC
*/
static QMainWindow *mainWindow;
@sulincix
sulincix / Paket-yamalama.md
Last active May 30, 2025 07:57
Debian paket yapımı ve sürdürülmesi

Debianda var olan paketi yamalamak

Öncelikle düzenlenecek olan paketi git üzerinden çekin.

git clone <upstream-git-adresi>

Ardından içine girip gbp ile yama dalı oluşturun.

cd hello
gbp pq import
@sulincix
sulincix / 31.txt
Last active April 26, 2025 13:31
31 türleri
dertlendinmi kafa dağıtma 31i
sıkılınca sıkıldım 31i
mutlu olunca keyif 31i
nedensiz çekilen 31
azınca çekilen 31
canın istemiyo olsa bile çekilen 31
günaydın 31i
iyi geceler 31i
gece uyandım 31i
hasta olunca çekilen 31
@sulincix
sulincix / apple-blocker.js
Created March 12, 2025 10:03
Apple Blocker for Websites
// Apple garbage blocker
function isApple() {
return /iPhone/i.test(navigator.userAgent)
|| /Macintosh/i.test(navigator.userAgent)
|| /Mac OS X/i.test(navigator.userAgent)
|| /iPad/i.test(navigator.userAgent);
}
if(isApple()){
document.body.innerHTML = "<h1 style='background: black; color:white;'>Apple Devices Are Not Allowed!</h1>"
@sulincix
sulincix / offline-update.sh
Last active February 5, 2025 13:35
debian offline update
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
export DEBCONF_NONINTERACTIVE_SEEN=1
export TERM=linux
if [ $$ -ne 1 ] ; then
set -e
apt update
apt install kexec-tools -yq
apt full-upgrade -yq --download-only
sync
@sulincix
sulincix / parse.py
Last active February 14, 2025 14:40
Unsafe Username Lists
import subprocess
import json
users = []
with open("spammer.txt", "r") as f:
users += f.read().split("\n")
process = subprocess.Popen(
["journalctl", "-f"],
stdout=subprocess.PIPE,
@sulincix
sulincix / parse,sh
Created December 21, 2024 19:06
posix shell ini parser without command
#!/bin/sh
parse(){
section="$1"
value="$2"
found="false"
while read line ; do
case $line in
[*)
if [ "$line" == "[$section]" ] ; then
found="true"