Skip to content

Instantly share code, notes, and snippets.

View sulincix's full-sized avatar
🇹🇷

​​ sulincix

🇹🇷
View GitHub Profile
@IAMACAR10
IAMACAR10 / player.gd
Last active June 23, 2022 10:47
Godot First Person Character Controller
extends KinematicBody
onready var cam = $Camera
var speed = 5
var moveX = 0
var moveZ = 0
var gravity = 9.81
#!/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"
@sulincix
sulincix / init
Last active November 20, 2022 19:44
/sbin/init
#!/bin/bash
#
# 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.
#
# Simple init script written bash
# You can edit this file
#

Usb autosuspend disable:

echo -1 > /sys/module/usbcore/parameters/autosuspend

Fix USB cable is bad or device descriptor issue

echo Y | tee /sys/module/usbcore/parameters/old_scheme_first

Wifi power save mode disable