Skip to content

Instantly share code, notes, and snippets.

Working from ~/

Aris Ripandi riipandi

Working from ~/
Block or report user

Report or block riipandi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
import javax.crypto.*;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import java.nio.file.Files;
import java.nio.file.Paths;

Keybase proof

I hereby claim:

  • I am riipandi on github.
  • I am riipandi ( on keybase.
  • I have a public key whose fingerprint is F9D9 7B05 E9D2 F455 52F7 5123 CD37 06FE 88C6 E215

To claim this, I am signing this object:

riipandi /
Last active Aug 21, 2019
Wireguard VPN Setup
if [[ $EUID -ne 0 ]]; then echo 'You must be root!' ; exit 1 ; fi
# Package setup
# -----------------------------------------------------------------------------------------------------------------------
crudini --set /etc/sysctl.conf '' 'net.ipv4.ip_forward' '1'
crudini --set /etc/sysctl.conf '' 'net.ipv6.conf.all.forwarding' '1'
add-apt-repository -y ppa:wireguard/wireguard ; apt -y install wireguard mawk grep iproute2 qrencode
sysctl -p ; modprobe wireguard ; dkms status ; lsmod | grep wireguard
riipandi / default-404.html
Last active Sep 29, 2019
Basic LEMP Stack snippets and configuration
View default-404.html
<!doctype html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all, noindex, nofollow">
<meta name="googlebot" content="all, noindex, nofollow">
<title>Site Not Found</title>
<link rel='stylesheet' type='text/css' href='//,700'>
View Pre-installed apps
Get-AppxPackage "Microsoft.3DBuilder" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.AppConnector" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingFinance" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingFoodAndDrink" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingHealthAndFitness" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingMaps" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingNews" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingSports" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingTranslator" | ForEach-Object {Add-AppxPackage -DisableDevelopmentMode -Register
Get-AppxPackage "Microsoft.BingTra
riipandi / NotepadContext.inf
Created Apr 12, 2019
Add Open with Notepad context menu.
View NotepadContext.inf
CopyFiles = NotepadContext.Files.Inf
AddReg = NotepadContext.AddReg
CopyFiles = NotepadContext.Files.Inf
AddReg = NotepadContext.AddReg
if ! grep -q 'sda5' /etc/fstab ; then echo '/dev/sda5 /media/Storage ntfs-3g default 0 0' >> /etc/fstab ; fi
mkdir -p /media/Storage ; mount -a
# Basic system setup
perl -pi -e 's#(.*sudo.*ALL=)(.*)#${1}(ALL) NOPASSWD:ALL#' /etc/sudoers
cat > /etc/apt/sources.list <<EOF
deb mirror:// bionic main restricted universe multiverse
deb mirror:// bionic-updates main restricted universe multiverse
deb mirror:// bionic-security main restricted universe multiverse
riipandi / wp-banned-subdomain.txt
Last active Oct 20, 2019
Example configuration
View wp-banned-subdomain.txt
about access account accounts add address adm admin administrator administration adult advertising affiliate affiliates ajax analytics android anon anonymous api app apps archive atom auth authentication avatar backup banner banners bin billing blog blogs board bot bots business chat cache cadastro calendar campaign careers cgi client cliente code comercial compare config connect contact contest create code compras css dashboard data db design delete demo design designer dev devel dir directory dns dnsadmin doc docs domain download downloads edit editor email ecommerce forum forums faq favorite feed feedback flog follow file files free ftp gadget gadgets games guest group groups help home homepage host hosting hostname html http httpd https hpg info information image img images imap index inside insight invite intranet indice ipad iphone irc java javascript job jobs js knowledgebase log login logs logout list lists mail mail1 mail2 mail3 mail4 mail5 mailer mailing main mx manager marketing master me media mes
riipandi / .env.example
Last active Apr 21, 2019
Laravel Scaffolding
View .env.example
You can’t perform that action at this time.