Skip to content

Instantly share code, notes, and snippets.

View Lazza's full-sized avatar

Andrea Lazzarotto Lazza

View GitHub Profile
Lazza /
Created January 3, 2023 16:03
Hiding Twitter ads (January 2023)

Hiding Twitter ads (January 2023)

Ads on post-Elon Twitter are becoming more and more obnoxious. You can hide them if you use a content blocking extension, such as the awesome uBlock Origin.

By targeting the little icon that appears near the "Sponsored" label, the filter works on Twitter in every language.

Simply add the following rule to your ad-blocker:

! 2023-01-02

Lazza / attack.xml
Created January 19, 2019 22:45
Italian Electronic Invoice with PHP attachment (phpinfo)
<?xml version="1.0" encoding="UTF-8"?>
<FatturaElettronica xmlns:xsi="" xmlns:xsd="" versione="FPR12" xmlns="">
<FatturaElettronicaHeader xmlns="">
Lazza /
Created May 20, 2017 15:05
Run 'git pull' on all FreeCAD modules
#!/usr/bin/env python
# Copyright 2017 Andrea Lazzarotto <>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
Lazza / play_services_license_full.txt
Last active October 14, 2016 11:35
Full text and stripped version of the Google Play Services license notice from Android 5.1.1
Open Source Licenses:
: =========================================================================
This product includes cld from The Chromium Authors
Copyright (c) 2010 The Chromium Authors. All rights reserved.
Lazza /
Created April 27, 2015 15:06
Keybase proof of identity

Keybase proof

I hereby claim:

  • I am Lazza on github.
  • I am lazza ( on keybase.
  • I have a public key whose fingerprint is 1623 1D13 A8F7 94E1 9EE7 5397 1303 106B A68F E7D1

To claim this, I am signing this object:

Lazza /
Last active April 16, 2024 09:36
VPNGate Python script

This script is NOT MAINTAINED

This snippet of code was posted in 2014 and slightly revised in 2016 and 2017. It was more of a quick'n'dirty script than a polished tool. It is made only for Linux and in Python 2, which has since become outdated.

I currently do not use it, and I suggest you avoid it as well. Please do not expect support for using this script.

🔥 If you need an alternative, @glaucocustodio has kindly suggested EasyVPN in this comment.

The rest of the README is left for historical purposed.