Skip to content

Instantly share code, notes, and snippets.

Fabricio20 Fabricio20

Block or report user

Report or block Fabricio20

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
@Fabricio20
Fabricio20 / Iptables.md
Created Jun 26, 2019
Iptables cheatsheet.
View Iptables.md

Iptables cheatseet

Good to know: Iptables reads rules from top to bottom, stopping at the first rule that matches.

Terms

chain: group of rules (Default ones are INPUT, OUTPUT and FORWARD).

target: What to do with a packet (Often used are ACCEPT, DROP (No echo/"offline"), REJECT (Echoes back 'not authorized icmp')).

Targets

View docker-compose.yml
version: '2'
volumes:
pgdb:
services:
sentry_redis:
image: redis
sentry_postgres:
image: postgres
environment:
POSTGRES_USER: sentry
@Fabricio20
Fabricio20 / docker-compose.yml
Created Jul 9, 2018
Dockerized Grafana + Prometheus + GrayLog
View docker-compose.yml
version: '2'
services:
mongo:
image: "mongo:3"
volumes:
- ./mongo:/data/db
graylog:
image: graylog2/server:2.1.1-1
environment:
GRAYLOG_PASSWORD_SECRET: GRAYLOG_PASSWORD
View Add Lock Bitlocker Drive.reg
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; Created on: January 14th 2016
; Tutorial: https://www.tenforums.com/tutorials/37432-add-lock-drive-context-menu-bitlocker-drives-windows-10-a.html
; Needs the file below (VB file) on System32
[HKEY_CLASSES_ROOT\Drive\shell\lock-bde]
"AppliesTo"="System.Volume.BitLockerProtection:=1 OR System.Volume.BitLockerProtection:=3 OR System.Volume.BitLockerProtection:=5 NOT C:"
@Fabricio20
Fabricio20 / ReadMe.md
Last active Feb 21, 2020
Docker - Nginx + PHP FPM + MariaDB + PhpMyAdmin
View ReadMe.md

Docker

This is a docker-compose template for a lemp stack.

Make sure to change both the root password under the mysql service, and the absolute URI on the phpmyadmin container.
You can also expose phpMyAdmin locally instead of remotely by properly configuring the ports.

Default locations:
(Original) -> (Your server)
/var/www/html -> ./webroot
/etc/nginx -> ./nginx

View jitter.cpp from gamedev - 678475
>scheduling jitter
total measurement interval: 735.587 milliseconds
measurement latency: 0.25424 milliseconds
average above measurement: 0.477161 milliseconds
worst case (this is what matters): 50.3514 milliseconds
@Fabricio20
Fabricio20 / Users-Service.md
Last active Jun 21, 2017
DiscordBans RESTful Responses
View Users-Service.md

PATH: /users/{id}
METHOD: GET
Description: Returns a user profile (with all info).

{
    "heat": 10,
    "names": [
        {
            "name": "LewdBot",
            "time": {
View keybase.md

Keybase proof

I hereby claim:

  • I am fabricio20 on github.
  • I am fabricio20 (https://keybase.io/fabricio20) on keybase.
  • I have a public key ASAXGr2LUbyt8knhutTxQRtjhio12iT4i3oWiy5a_dxuDwo

To claim this, I am signing this object:

@Fabricio20
Fabricio20 / ufw.sh
Created Jan 27, 2017
UFW "fix" for anything, used over ssh
View ufw.sh
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
sudo ufw disable
@Fabricio20
Fabricio20 / Combat Ships
Last active May 16, 2016
Elite: Dangerous Ship Builds By Fabricio20, alerok_147 @ Ghost Legion
View Combat Ships
http://coriolis.io/outfit/vulture/24A5E4A3A5A4E3C1e1e040400004a2b27252h.AwRj4zyA.Aw19kA==?bn=Combat%20Vulture
You can’t perform that action at this time.