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/sh | |
#curl -L https://gist.github.com/daxxog/5793383/raw/install-utorrent.sh | sh | |
#download ssl lib | |
sudo apt-get -y install libssl0.9.8 | |
#grab and install the upstart service config | |
wget https://gist.github.com/daxxog/5793395/raw/utserver.conf | |
sudo cp ./utserver.conf /etc/init/utserver.conf | |
rm utserver.conf |
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 -L tinyurl.com/gothamachi | sh | |
cd ~/Downloads | |
wget https://www.vpn.net/installers/logmein-hamachi_2.1.0.198-1_amd64.deb | |
sudo apt -y install ./logmein-hamachi_2.1.0.198-1_amd64.deb | |
sudo hamachi check-update | |
sudo hamachi login | |
echo now run ->> | |
echo sudo hamachi attach [email] |
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/sh | |
#curl -L https://gist.github.com/daxxog/5877852/raw/lampp-install-32.sh | sh | |
#make a dev directory and switch to it | |
cd ~ | |
mkdir dev | |
cd dev | |
#grab and install LAMPP | |
wget -N http://192.168.1.135/xampp-linux-1.8.2-0-installer.run |
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
# long-div.py | |
# (c) 2019 David Volm (daXXog) <>< + + + ><> | |
# ___________________________________________ | |
firstNumber=input('whats the first number? \n') | |
secondNumber=input('whats the second number? \n') | |
def floorDiv(): | |
thinkFloor = str(int(secondNumber // firstNumber)) | |
lenDiff = len(str(secondNumber)) - len(thinkFloor) |
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/sh | |
# - set up Virtualbox Guest Additions on slitaz | |
# - make sure Guest Additions CD is inserted and mounted! | |
# - WARNING!! WILL REBOOT SYSTEM WHEN FINISHED!! | |
# wget -O - http://tinyurl.com/vboxslitaz | sh | |
# Download the script body | |
cd /tmp | |
wget --no-cache https://gist.githubusercontent.com/daxxog/b1a4780694e2cf9751f1c90ec6f58299/raw/.vboxslitaz-sh |
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
# typescript code generator for my cringe university assignments | |
_example_input = \ | |
"""class Product { | |
code: string; | |
name: string; | |
category: string; | |
price: number; | |
} | |
""" |
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
export LS_COLORS='di=36:ln=34:so=35:pi=1;32;47:ex=32:bd=1;30;47:cd=1;31;47:su=30;41:sg=1;30;45:tw=1;30;46:ow=1;31' |
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
from functools import cache | |
from typing import List, Tuple | |
from string import ascii_uppercase | |
def generate_sub(start: str = 'Z') -> Tuple[str]: | |
_l: List[str] = list(ascii_uppercase) | |
start_index: int = _l.index(start) | |
_o_list: List[str] = list(_l) |
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/env python3 | |
from string import ( | |
ascii_lowercase, | |
ascii_uppercase, | |
digits, | |
punctuation | |
) | |
from secrets import choice | |
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
# ls colors on mac | |
export CLICOLOR=1 | |
export LSCOLORS=gxexfxChcxAhBhabAfAgBx |
NewerOlder