This file contains hidden or 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
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
This file contains hidden or 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
import requests | |
MULLVAD_ID = "" | |
def get_token(mullvad_id: str): | |
with requests.post(f"https://api.mullvad.net/www/accounts/{MULLVAD_ID}", | |
headers={ | |
"Host": "api.mullvad.net", | |
"Origin": "https://api.mullvad.net", | |
"Referer": "https://mullvad.net/", |
This file contains hidden or 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
KEYMAPOPTS="us us" | |
HOSTNAMEOPTS="-n alpine" | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
hostname alpine | |
" | |
TIMEZONEOPTS="-z UTC" |
This file contains hidden or 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
// CROSSHAIR | |
cl_crosshair_drawoutline "0" | |
cl_crosshair_dynamic_maxdist_splitratio "0.0" | |
cl_crosshair_dynamic_splitalpha_innermod "1" | |
cl_crosshair_dynamic_splitalpha_outermod "0.300000" | |
cl_crosshair_dynamic_splitdist "5" | |
cl_crosshair_friendly_warning "1" | |
cl_crosshair_outlinethickness "0.5" | |
cl_crosshair_sniper_show_normal_inaccuracy "0" | |
cl_crosshair_sniper_width "1" |
This file contains hidden or 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 | |
echo "WARNING: MAKE SURE YOU BACK UP YOUR OLD SERVER DIRECTORIES!!!" | |
echo "This will delete any folder in your home directory" | |
echo "named `csgo_server`, do CTRL+C within the next 7 seconds to cancel" | |
echo "the installation." | |
sudo add-apt-repository multiverse | |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
sudo apt -y install lib32gcc1 steamcmd |
This file contains hidden or 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 | |
# Clean up previous directories | |
rm -rf aseprite | |
# Update packages | |
sudo apt update && sudo apt upgrade -y | |
# Install dependencies and other packages | |
sudo apt install -y aria2 g++ wget git unzip cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev | |
# Delete old deps directory if it exists and cd into it |
This file contains hidden or 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
sudo apt update | |
sudo apt-get install -y libtool-bin cmake libproxy-dev uuid-dev liblzo2-dev autoconf automake bash bison bzip2 diffutils file flex m4 g++ gawk groff-base libtool libslang2 make patch perl pkg-config shtool subversion tar texinfo zlib1g zlib1g-dev gettext libexpat1-dev libssl-dev cvs gperf unzip python libxml-parser-perl gcc-multilib gconf-editor libxml2-dev g++-multilib gitk libncurses5 mtd-utils libncurses5-dev libvorbis-dev git autopoint autogen sed build-essential intltool libelf1:i386 libglib2.0-dev xutils-dev lib32z1-dev lib32stdc++6 xsltproc gtk-doc-tools | |
cd $HOME | |
git clone https://github.com/RMerl/am-toolchains | |
git clone https://github.com/RMerl/asuswrt-merlin.ng | |
mkdir ~/amng-build | |
rsync -a --del ~/asuswrt-merlin.ng/ ~/amng-build | |
sudo ln -s ~/am-toolchains/brcm-arm-sdk/hndtools-arm-linux-2.6.36-uclibc-4.5.3 /opt/brcm-arm | |
ln -s ~/am-toolchains/brcm-arm-sdk ~/amng-build/release/src-rt-6.x.4708/toolchains | |
echo "PATH=\$PATH:/opt/brcm-arm/bin" >> ~/.profile |
This file contains hidden or 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 GOLANG_URL="https://golang.org/dl" | |
export GOLANG_FILENAME="go1.16.3.linux-armv6l.tar.gz" | |
sudo apt update && sudo apt install wget -y | |
wget "$GOLANG_URL/$GOLANG_FILENAME" | |
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf $GOLANG_FILENAME | |
sudo echo "export PATH=$PATH:/usr/local/go/bin" >> /etc/profile | |
source /etc/profile | |
rm -rf $GOLANG_FILENAME |
This file contains hidden or 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
sudo apt-get install -y gnupg1 apt-transport-https dirmngr | |
export INSTALL_KEY=379CE192D401AB61 | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY | |
echo "deb https://ookla.bintray.com/debian generic main" | sudo tee /etc/apt/sources.list.d/speedtest.list | |
sudo apt update && sudo apt install -y speedtest |
This file contains hidden or 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 VERSION="1.15.5" # Change to desired version | |
export ARCH="amd64" | |
export FILENAME="go${VERSION}.linux-${ARCH}.tar.gz" | |
curl -O -L "https://golang.org/dl/${FILENAME}" | |
tar -xf "${FILENAME}" | |
sudo chown -R root:root ./go | |
sudo mv -v go /usr/local | |
rm -rf $FILENAME |