I hereby claim:
- I am gregdotca on github.
- I am chetcuti (https://keybase.io/chetcuti) on keybase.
- I have a public key ASCU0-eR_uDvNjycZac_-6GL3fyuguI8PTR2HO10vrMH2Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| --- | |
| - hosts: virtualmin | |
| remote_user: '{{ standard_user }}' | |
| become: true | |
| become_method: sudo | |
| tasks: | |
| - name: 'remove unneeded packages' | |
| apt: | |
| name: | |
| - libnet-ssleay-perl |
| <?php | |
| ////////////////////////////////////////////////// | |
| // This script is still a work in progress... | |
| ////////////////////////////////////////////////// | |
| // Whitelist: list=w / Blacklist: list=b | |
| // Add: action=a / Delete: action=d | |
| // Domain: domain=example.com | |
| // Example: http://pihole/wb.php?list=w&action=a&example.com (This will add example.com to the Pi-hole whitelist) | |
| ////////////////////////////////////////////////// |
| <?php | |
| // Bookmark: javascript:void(window.open('http://pi.hole/add.php?action=w&url='+location.href, '_blank')); | |
| // Modify the above URL accordingly | |
| // Whitelist: action=w | |
| // Blacklist: action=b | |
| $action = $_GET['action']; | |
| if (isset($_GET['url'])) { |
| ********** ALL SHELLS ********** | |
| All Users | |
| echo "" >> ~/.vimrc && echo "set nocompatible" >> ~/.vimrc | |
| ********** ZSH ********** | |
| All Users | |
| sudo apt install git zsh && sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && echo "" >> ~/.zshrc | |
| echo "alias vi='vim'" >> ~/.zshrc && echo "alias dir='ls -hlp --group-directories-first'" >> ~/.zshrc && echo "alias dira='ls -Ahlp --group-directories-first'" >> ~/.zshrc && head -n -3 ~/.oh-my-zsh/themes/steeef.zsh-theme > ~/.oh-my-zsh/themes/greg.zsh-theme && sed -i -- 's/robbyrussell/greg/g' ~/.zshrc |
I hereby claim:
To claim this, I am signing this object:
| #CommentFlag // | |
| #InstallKeybdHook | |
| // Original Author: Jarvis Prestidge | |
| // Enhanced by: Andrew Chen | |
| // ========================= | |
| // Pok3r Layout Marcos | |
| // ========================= | |
| // Includes Media Keys (Previous|Q, Play/Pause|W, Next|E) |
| #CommentFlag // | |
| #InstallKeybdHook | |
| // Author: Jarvis Prestidge | |
| // Description: Simulates my preferred keyboard layout, similiar to that of the Pok3r 60% keyboard | |
| // on any keyboard without programmable keys. i.e. my laptop ^^ | |
| // <COMPILER: v1.1.22.00> | |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |