Skip to content

Instantly share code, notes, and snippets.

View TIBTHINK's full-sized avatar
💃
salsa dance

TIBTHINK TIBTHINK

💃
salsa dance
  • Salsa Solutions
  • closer than you think
  • 15:22 (UTC -05:00)
View GitHub Profile
@TIBTHINK
TIBTHINK / spotify.py
Last active October 11, 2024 00:20
spotify artist time calculator
# you need to get a spotify dev account
# you also need to install spotipy using this command
# pip install spotipy
# put your client id and client secret where its labeled
import spotipy
from spotipy.oauth2 import SpotifyClientCredentials
import re
@TIBTHINK
TIBTHINK / pluginpack.py
Last active December 31, 2021 01:17
a small script that downloads the latest version of a plugin from github (script generated from http://pioxy.ddns.net:3000/tibthink/minecraft-server)
# Yes i know, i could find a way to get the name of the jar file,
# but i am not motivated to give a fuck about it so you guys just
# have to deal with the lazyness
import os
import json
import requests
pwd = str(os.getcwd())
class plugins():
# This is for repos with more than one release version
def github_downloader(url, name, sub=1):
@TIBTHINK
TIBTHINK / rfotam.sh
Created April 29, 2021 01:44
removing backups older than 2 weeks
find /home/dev/backups -type f -mtime +14 -name '*.gz' -delete
@TIBTHINK
TIBTHINK / .zshrc
Last active March 8, 2021 03:42
kali linux zshrc config
~/.zshrc file for zsh interactive shells.
# see /usr/share/doc/zsh/examples/zshrc for examples
setopt autocd # change directory just by typing its name
#setopt correct # auto correct mistakes
setopt interactivecomments # allow comments in interactive mode
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
setopt nonomatch # hide error message if there is no match for the pattern
setopt notify # report the status of background jobs immediately
setopt numericglobsort # sort filenames numerically when it makes sense
echo you need to run this as root
sleep 2
wget https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/fahclient_7.5.1_amd64.deb
dpkg -i fahclient_7.5.1_amd64.deb