Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
| KEYMAPOPTS="us us" | |
| HOSTNAMEOPTS="-n alpine" | |
| INTERFACESOPTS="auto lo | |
| iface lo inet loopback | |
| auto eth0 | |
| iface eth0 inet dhcp | |
| hostname alpine | |
| " | |
| TIMEZONEOPTS="-z UTC" |
| #!/bin/bash | |
| # Make sure your Android device is plugged in and accessible over adb. | |
| #### Remember to enable virtual displays in xorg by adding the following to your configuration (e.g. /usr/share/X11/xorg.conf.d/20-virtual.conf) | |
| # Section "Device" | |
| # Identifier "intelgpu0" | |
| # Driver "intel" | |
| # Option "VirtualHeads" "1" | |
| #EndSection |
| ############## SPOTIFY - ADS - BEGIN | |
| 127.0.0.1 media-match.com | |
| 127.0.0.1 adclick.g.doublecklick.net | |
| 127.0.0.1 www.googleadservices.com | |
| 127.0.0.1 pagead2.googlesyndication.com | |
| 127.0.0.1 googleads.g.doubleclick.net | |
| 127.0.0.1 pubads.g.doubleclick.net | |
| 127.0.0.1 securepubads.g.doubleclick.net | |
| 127.0.0.1 www.omaze.com | |
| 127.0.0.1 omaze.com |
| # Connect to a WPA2 Enterprise network with wpa_supplicant with this .conf file. | |
| # I used this to connect to my university's wireless network on Arch linux. | |
| # Here's the command I used: | |
| # | |
| # wpa_supplicant -i wlan0 -c ./wpa_supplicant.conf | |
| # | |
| network={ | |
| ssid="YOUR_SSID" | |
| scan_ssid=1 |
| #!/bin/bash | |
| ################################# | |
| # Constants / global variables | |
| ################################# | |
| LOGFILE='example.log' | |
| LOGLEVEL='INFO' | |
| ################################# | |
| # Functions |
| """ | |
| A simple proxy server, based on original by gear11: | |
| https://gist.github.com/gear11/8006132 | |
| Modified from original to support both GET and POST, status code passthrough, header and form data passthrough. | |
| Usage: http://hostname:port/p/(URL to be proxied, minus protocol) | |
| For example: http://localhost:5000/p/www.google.com | |
| """ | |
| import re |
exec - Returns last line of commands output
passthru - Passes commands output directly to the browser
system - Passes commands output directly to the browser and returns last line
shell_exec - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen - Opens read or write pipe to process of a command
proc_open - Similar to popen() but greater degree of control
pcntl_exec - Executes a program
| #!/bin/sh | |
| set -u | |
| set -e | |
| umask 0077 | |
| prefix="/opt/openssh" | |
| top="$(pwd)" | |
| root="$top/root" | |
| build="$top/build" |