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
View keybase.md

Keybase proof

I hereby claim:

  • I am riipandi on github.
  • I am riipandi (https://keybase.io/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
riipandi / wireguard-ubuntu.sh
Last active Aug 21, 2019
Wireguard VPN Setup
View wireguard-ubuntu.sh
#!/bin/bash
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
riipandi / default-404.html
Last active Sep 29, 2019
Basic LEMP Stack snippets and configuration
View default-404.html
<!doctype html>
<html>
<head>
<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='//fonts.googleapis.com/css?family=Karla:400,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
riipandi / NotepadContext.inf
Created Apr 12, 2019
Add Open with Notepad context menu.
View NotepadContext.inf
[version]
signature="$CHICAGO$"
[NotepadContextInstall]
CopyFiles = NotepadContext.Files.Inf
AddReg = NotepadContext.AddReg
[DefaultInstall]
CopyFiles = NotepadContext.Files.Inf
AddReg = NotepadContext.AddReg
View ubuntu-desktop.sh
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://mirrors.ubuntu.com/mirrors.txt bionic main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security main restricted universe multiverse
@riipandi
riipandi / wp-banned-subdomain.txt
Last active Aug 6, 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
riipandi / .env.example
Last active Apr 21, 2019
Laravel Scaffolding
View .env.example
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
ASSET_URL=${APP_URL}
TELESCOPE_ENABLED=${APP_DEBUG}
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
@riipandi
riipandi / contributor-covenant.md
Last active Jan 2, 2019
Code of Conduct sample documents.
View contributor-covenant.md

Kode Etik Contributor Covenant

Janji Kami

Sesuai minat kami untuk membuat lingkungan yang terbuka dan ramah, kami sebagai kontributor dan pengelola berjanji untuk membuat partisipasi dalam proyek kami dan komunitas kami bebas dari pelecehan untuk semua orang, tanpa memandang usia, ukuran tubuh, disabilitas, kelompok etnis, identitas gender dan ekspresinya, tingkat pengalaman, pendidikan, status sosial ekonomi, kewarganegaraan, penampilan pribadi, ras, agama, atau identitas dan orientasi seksual.

Standar Kami

You can’t perform that action at this time.