Skip to content

Instantly share code, notes, and snippets.

Fabio Tea f4bio

Block or report user

Report or block f4bio

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 strict-transport-security.conf
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
@f4bio
f4bio / RPi-aria2-with-webui.sh
Last active Aug 9, 2018 — forked from akaxxi/RPi-aria2-with-webui.sh
Install Aria2 and webui on Raspberry Pi with one simple script.
View RPi-aria2-with-webui.sh
#!/bin/sh
DOWNLOAD_DIR="${HOME}/MiniDLNA"
CONFIG_DIR="${HOME}/.aria2"
RPC_TOKEN="changeIt"
RPC_PORT="6800"
change_apt_source(){
if [ -f /etc/apt/sources.list ]; then
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
View ubuntu-server rescue mode (mount)
#!/bin/bash
echo "better use: https://github.com/f4bio/linux-rescuemode.git"
#mount /dev/sda3 /mnt/custom
#mount --bind /dev /mnt/custom/dev
#mount --bind /proc /mnt/custom/proc
#mount --bind /sys /mnt/custom/sys
@f4bio
f4bio / keybase.md
Last active Feb 11, 2019
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am f4bio on github.
  • I am f4bio (https://keybase.io/f4bio) on keybase.
  • I have a public key whose fingerprint is 6E18 EF36 05B4 C52B 1245 37B5 E864 FE9E C0B7 8300

To claim this, I am signing this object:

@f4bio
f4bio / gist:9fb53f84c11ec56f0f764c4eff6a580a
Last active Sep 1, 2016
Windows 10 x64 node-gyp/bcypt
View gist:9fb53f84c11ec56f0f764c4eff6a580a
View gist:db8dd8097591714de57f
* `$ sudo dd if=/dev/zero of=/dev/sdc bs=446 count=1`
* clear the MBR: dd if=/dev/zero of=/dev/device bs=446 count=1
* run fdisk /dev/device
* remove all partitions and create 1 primary partition, make it bootable then save the changes
* run mkfs.ntfs /dev/device1 (partition 1)
* copy the entire contents of the windows install iso on to the partition you created
thanks [Raymond](http://serverfault.com/a/126857)
@f4bio
f4bio / ferengi-lighttpd.txt
Last active Aug 29, 2015
ferengi-lighttpd.txt
View ferengi-lighttpd.txt
# https://github.com/ft11/scripts/blob/master/lighttpd/README.md
$HTTP["remoteip"] == "192.133.125.0/24" {
server.kbytes-per-second = 14
}
$HTTP["remoteip"] == "165.135.0.0/16" {
server.kbytes-per-second = 14
}
$HTTP["remoteip"] == "192.104.54.0/24" {
server.kbytes-per-second = 14
View cracking.md

MacOS

Download from here:

http://d.pr/f/QE3d

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to:

You can’t perform that action at this time.