Skip to content

Instantly share code, notes, and snippets.

View floodbost's full-sized avatar
😎
👍

Ridwan floodbost

😎
👍
View GitHub Profile
@floodbost
floodbost / [email protected]
Created February 14, 2022 02:16
qbittorrent https tracker
[Unit]
Description=qBittorrenti-nox service for user %I
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target nss-lookup.target
[Service]
Environment="SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt"
Environment="SSL_CERT_DIR=/etc/ssl/certs"
Type=simple
@floodbost
floodbost / iptables.txt
Created November 3, 2021 19:30
gre tunnel tcp mss clamp
iptables -A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
# remove specific file from git cache
git rm --cached filename
# remove all files from git cache
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
@floodbost
floodbost / postman.md
Last active September 20, 2019 08:14
install postman 7 from .tar.gz ubuntu

Since Chrome apps are now being depracated. Download postman from https://dl.pstmn.io/download/latest/linux

Installing Postman

tar -xzf Postman-linux-x64-7.7.3.tar.gz

If any version is installed before, remove it.

sudo rm -rf /opt/Postman
@floodbost
floodbost / php-alternatives-install.sh
Created December 11, 2018 14:08 — forked from renatomefi/php-alternatives-install.sh
Alternatives install for PHP
#!/bin/bash
# ------------------------------------------------------------------
# [Author] Renato Mefi <[email protected]>
# https://github.com/renatomefi
#
# [Desc] Configure alternatives for PHP Installations
# Very usefull when you are building your PHP and don't want to use
# more sofsticated softwares like 'phpbrew', 'php-build', 'php-env' ...
#
# [Usage] ./php-alternatives-install.sh /path/for/php/installation 200