This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from pyrogram import Client, filters | |
import subprocess | |
import time | |
import os | |
bindir=os.getcwd() | |
# Get hash from here https://my.telegram.org/apps | |
app = Client("shellbot",api_id=123456, | |
api_hash="your telegram app hash") | |
admin_id="1234234" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
# | |
# This program is free software; you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free | |
# Software Foundation; either version 3 of the License, or (at your option) | |
# any later version. | |
# | |
KERNEL_VERSION=5.11.6 | |
BUSYBOX_VERSION=1.33.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl https://www.gentoo.org/downloads/ | sed "s/.*href=\"//g" | sed "s/\".*//g" | grep "tar\." | grep -v "systemd" | grep -v "nomultilib" | grep -v "musl" | grep "amd64-" | grep -v "hardened" | sort -V | head -n 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script revoke usrmerge. | |
# You must save your unsaved files before run. | |
# System or applications may crash during process. | |
# You must reboot after script finished. | |
# This script is experimental. | |
set +e | |
apt-get install busybox-static -yq || exit 1 | |
cp /bin/busybox /busybox | |
[[ -d /var/lib/dpkg/info/ ]] || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Aşağıdaki betiği indirin ve root ile çalıştırın | |
cd /tmp | |
dpkg --add-architecture i386 | |
wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
apt-key add winehq.key | |
echo "deb https://dl.winehq.org/wine-builds/debian/ buster main" > /etc/apt/sources.list.d/wine.list | |
apt update | |
apt install --install-recommends winehq-stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bios="/sys/devices/virtual/dmi/id/" | |
UUID=$(cat $bios/product_uuid 2>/dev/null) | |
SERIAL=$(cat $bios/product_serial 2>/dev/null) | |
DP="none" | |
if qemu-system-$(uname -m) -display help | grep sdl &>/dev/null ; then | |
DP="sdl" | |
elif qemu-system-$(uname -m) -display help | grep gtk &>/dev/null ; then | |
DP="gtk" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### tool-init | |
set -ex | |
mkdir -p work | |
if [[ ! -f /bin/archstrap ]] ; then | |
wget https://gitlab.com/tearch-linux/applications-and-tools/archstrap/-/raw/master/archstrap.sh -O archstrap | |
mv archstrap /bin/archstrap | |
chmod +x /bin/archstrap | |
fi | |
### create archlinux chroot | |
archstrap work/rootfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
apt update | |
apt install qemu-kvm debootstrap grub-pc-bin -yq | |
mkdir -p work/ | |
[[ ! -f work/rootfs/etc/os-release ]] && debootstrap --variant=minbase --arch amd64 --no-merged-usr --no-check-gpg stable work/rootfs https://pkgmaster.devuan.org/merged | |
chroot work/rootfs apt install devuan-keyring -yq | |
### Anti bloat | |
cat > work/rootfs/etc/apt/apt.conf.d/01norecommend << EOF | |
APT::Install-Recommends "0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/adw-style-manager.c b/src/adw-style-manager.c | |
index ae1a858d..c5b5ac73 100644 | |
--- a/src/adw-style-manager.c | |
+++ b/src/adw-style-manager.c | |
@@ -14,6 +14,8 @@ | |
#include "adw-settings-private.h" | |
#include <gtk/gtk.h> | |
+int file_exists(const char *fname); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $UID -ne 0 ]] ; then | |
echo "You must be root" | |
exit 1 | |
fi | |
apt update | |
# Block service invoke | |
echo -e "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d | |
chmod +x /usr/sbin/policy-rc.d | |
# Remove systemd preremove script. |
OlderNewer