Skip to content

Instantly share code, notes, and snippets.

View Lazza's full-sized avatar

Andrea Lazzarotto Lazza

View GitHub Profile
@Lazza
Lazza / Twitter-ads-hiding.md
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 https://twitter.com

@Lazza
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="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" versione="FPR12" xmlns="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2">
<FatturaElettronicaHeader xmlns="">
<DatiTrasmissione>
<IdTrasmittente>
<IdPaese>IT</IdPaese>
<IdCodice>07643520567</IdCodice>
</IdTrasmittente>
<ProgressivoInvio>1</ProgressivoInvio>
<FormatoTrasmissione>FPR12</FormatoTrasmissione>
@Lazza
Lazza / freecad_pull_all.py
Created May 20, 2017 15:05
Run 'git pull' on all FreeCAD modules
#!/usr/bin/env python
# freecad_pull_all.py
# Copyright 2017 Andrea Lazzarotto <andrea.lazzarotto@gmail.com>
#
# 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
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
Lazza / keybase.md
Created April 27, 2015 15:06
Keybase proof of identity

Keybase proof

I hereby claim:

  • I am Lazza on github.
  • I am lazza (https://keybase.io/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
Lazza / README.md
Last active October 16, 2024 08:17
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.