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 | |
sudo pacman -S texlive-core texlive-latexextra texlive-bibtexextra |
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 | |
################################################################### | |
#Script Name :UFWInternetArchiveBlocker | |
#Description :Adds AS7941 (Internet Wayback Archive) ipranges to ufw DENY list | |
#Args :N/A | |
#Author :Ruben van der Ham | |
#Email :ravdham+github@protonmail.com | |
################################################################### | |
which whois &> /dev/null; |
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
FROM nginx:alpine | |
ENV OPENSSL_VERSION=1.0.2q | |
ARG OPENSSL_VERSION | |
RUN build_pkgs="alpine-sdk curl perl libffi-dev py-pip linux-headers pcre-dev zlib-dev apr-dev apr-util-dev libjpeg-turbo-dev icu-dev python2-dev" && \ | |
runtime_pkgs="ca-certificates pcre apr-util libjpeg-turbo icu icu-libs python2 py-setuptools" && \ | |
apk add --update --no-cache ${build_pkgs} ${runtime_pkgs} && \ | |
mkdir /src && \ |
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
#!/usr/bin/python2 | |
#SET THIS LINE ABOVE TO THE CORRECT PYTHON 2 PATH!! | |
from __future__ import print_function | |
import sys | |
import subprocess | |
#PYTHON PATH AND SHEBANG MUST BE SUBSTITUTED WITH THE CORRECT PYTHON 2 VERSION!! | |
PYTHONPATH = "/usr/bin/python2" #TRY /usr/bin/python for example |
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 | |
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x67 | |
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x3000 | |
#Confirmed working with ALC295 | |
#https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1648183 |
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 | |
Oauthkey=#Put your Oauth key here | |
curl https://api.github.com/user/repos?access_token=$Oauthkey | jq .[].clone_url | xargs -n 1 git clone |
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 | |
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose | |
sudo chmod +x /usr/bin/docker-compose | |
docker-compose --version |