Skip to content

Instantly share code, notes, and snippets.

View annihilatorrrr's full-sized avatar
:octocat:
Processing ...

ÁÑÑÍHÌLÅTØR SPÄRK annihilatorrrr

:octocat:
Processing ...
View GitHub Profile
@annihilatorrrr
annihilatorrrr / chid.txt
Last active June 18, 2025 03:18
Fsub Channel Id for bots of @Memers_Gallery !
-1002521434990
@annihilatorrrr
annihilatorrrr / collifyscript.sh
Last active July 5, 2024 17:59
The install.sh
#!/usr/bin/env bash
[ ! -n "$BASH_VERSION" ] && echo "You can only run this script with bash, not sh / dash." && exit 1
set -eou pipefail
SCRIPT_VERSION="v1.4.2"
ARCH=$(uname -m)
WHO=$(whoami)
DEBUG=0
FORCE=0
@annihilatorrrr
annihilatorrrr / setupserverwithcoolify.sh
Last active November 27, 2023 14:01
Setup server with coolify.
#!/bin/bash
sudo apt update && sudo apt upgrade -y && sudo apt update && sudo apt install wget curl bash neofetch git apt-utils build-essential -y && sudo snap refresh && sudo apt update && sudo apt autoremove -y && sudo apt autoclean -y && sudo apt update && sudo apt upgrade -y && sudo apt update && wget -q https://get.coollabs.io/coolify/install.sh -O install.sh; sudo bash ./install.sh -f -n -a && sudo apt update && sudo apt autoremove -y && rm -rf coolify install.sh
@annihilatorrrr
annihilatorrrr / updaterwithgopy.sh
Last active December 11, 2023 16:15
Update server with installations of go and py!
#!/bin/bash
sudo apt update && sudo apt upgrade -y && sudo apt update && sudo apt install wget curl bash neofetch git apt-utils build-essential software-properties-common -y && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt install python3.12 python3.12-dev python3.12-venv -y && sudo snap install go --classic && sudo snap refresh && sudo apt update && sudo apt autoremove -y && sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
@annihilatorrrr
annihilatorrrr / updaterwithpy.sh
Last active December 11, 2023 16:17
Setup server with py only!
#!/bin/bash
sudo apt update && sudo apt upgrade -y && sudo apt update && sudo apt install wget curl bash neofetch git apt-utils build-essential software-properties-common -y && sudo add-apt-repository ppa:deadsnakes/ppa && sudo apt install python3.12 python3.12-dev python3.12-venv -y && sudo snap refresh && sudo apt update && sudo apt autoremove -y && sudo apt update
@annihilatorrrr
annihilatorrrr / update.sh
Last active November 27, 2023 14:35
Setup the server!
#!/bin/bash
sudo apt update && sudo apt upgrade -y && sudo apt update && sudo apt install wget curl bash neofetch git apt-utils build-essential -y && sudo snap refresh && sudo apt update && sudo apt autoremove -y && sudo apt autoclean -y && sudo apt update && sudo apt upgrade -y && sudo apt update
@annihilatorrrr
annihilatorrrr / hack.sh
Created June 11, 2022 18:37 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@annihilatorrrr
annihilatorrrr / rateLimitDecorator.py
Created February 20, 2022 00:13 — forked from gregburek/rateLimitDecorator.py
Rate limiting function calls with Python Decorators
import time
def RateLimited(maxPerSecond):
minInterval = 1.0 / float(maxPerSecond)
def decorate(func):
lastTimeCalled = [0.0]
def rateLimitedFunction(*args,**kargs):
elapsed = time.clock() - lastTimeCalled[0]
leftToWait = minInterval - elapsed
if leftToWait>0: