Skip to content

Instantly share code, notes, and snippets.

View rig8f's full-sized avatar

Filippo Rigotto rig8f

View GitHub Profile
@rig8f
rig8f / update-trackers-list.sh
Created May 31, 2019 12:43
Get and elaborate a list of trackers
#!/bin/sh
echo $(pwd)
# get best
wget -q https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt
wget -q https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best_ip.txt
# get list
wget -q https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt
wget -q https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt
# get blacklist
wget -q -O trackers_black.txt https://raw.githubusercontent.com/ngosang/trackerslist/master/blacklist.txt
@rig8f
rig8f / nbformat
Last active June 22, 2019 20:10
A Python 3 script to format Colab / Jupyter notebooks
#!/usr/bin/python3
# Colab/Jupyter/IPython notebooks formatter
# Can fix indentation and clear cells' output, useful for readability and versioning
# MIT License - Copyright (C) 2019 Filippo Rigotto
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights