Skip to content

Instantly share code, notes, and snippets.

View NicolasBizzozzero's full-sized avatar
💻
All-nighting

Bizzozzéro Nicolas NicolasBizzozzero

💻
All-nighting
View GitHub Profile
@NicolasBizzozzero
NicolasBizzozzero / comprehensive_header.py
Last active February 3, 2024 23:31
Python template of a comprehensive header, with shebang, docstring, GPLv3 license and all metadata.
#!/usr/bin/env python
""" Short description of this Python module.
Longer description of this module.
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.
@NicolasBizzozzero
NicolasBizzozzero / cp_template.py
Last active October 4, 2021 08:23
Competitive Programming template for Python 3 files, with a GPLv3 header.
""" Answer a specific exercise of a programming contest.
This module contains all the code needed to answer a given exercise during a
programming contest. Due to its quick creation and the fact that it's probably
not following proper Python guidelines (as described in multiples PEP
documents), it shouldn't be used in production.
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
@NicolasBizzozzero
NicolasBizzozzero / notes.sty
Last active January 14, 2020 12:27
Custom LaTeX style used to create my lectures notes.
\NeedsTeXFormat{LaTeX2e}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Package name and information %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{notes}[2020/01/14 Bizzozzéro Nicolas custom LaTeX style]
%%%%%%%%%%%%%%%%%%%%%%%%%%
@NicolasBizzozzero
NicolasBizzozzero / google_advanced_search.txt
Created July 3, 2018 19:54
A list of keywords and symbols to add in your Google querry for refining your search.
# A list of keywords and symbols to add in your Google querry for refining your
# search.
#
# Keep in mind that Google ignore punctuations and character casing (not in
# search operators).
#
# Most of them are listed here :
# https://support.google.com/websearch/answer/2466433
#
# Keywords no more supported :
@NicolasBizzozzero
NicolasBizzozzero / autoexec.cfg
Last active November 17, 2020 18:09
autoexec.cfg config file for Counter Strike : Global Offensive
// ------------------------------
// autoexec.cfg for Counter Strike : Global Offensive
//
// For it to works, you need to put this file in the following directory :
// $STEAM_DIRECTORY\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
// Usually (but not always), it is :
// C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
//
// For optimal experience, do not forget to install the Nvidia GeForce
// Experience software and to configure the following filters (alt+f3) :
@NicolasBizzozzero
NicolasBizzozzero / import.py
Last active October 21, 2019 11:49
Import all modules from standard Python 3.7.3 lib
""" Import all modules from standard Python 3.7.3 lib. """
# Import warnings first to filter deprecated packages
try: import warnings
except ModuleNotFoundError: pass
with warnings.catch_warnings():
warnings.filterwarnings("ignore",category=DeprecationWarning)
# Python Runtime Services
@NicolasBizzozzero
NicolasBizzozzero / utility_training.cfg
Created October 5, 2019 13:38
Counter Strike : Global Offensive config file for utility training
/**
* utility_training.cfg for Counter Strike : Global Offensive
*
* For it to works, you need to put this file in the following directory :
* $STEAM_DIRECTORY\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
* Usually (but not always), it is :
* C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
* Thereafter, start a game then type the following command :
* exec utility_training
*
@NicolasBizzozzero
NicolasBizzozzero / deaf.cfg
Created October 12, 2019 11:54
Counter Strike : Global Offensive config file optimized for deaf players
// EVERYTHING YOU NEED TO KNOW IS IN CONSOLE WHEN YOU EXEC THE CFG
// MODIFY KEY ONLY IF U KNOW WHAT URE DOING
// iDeaf CFG
// MADE BY @iDexCsgo
@NicolasBizzozzero
NicolasBizzozzero / request_proxies.py
Last active October 23, 2019 15:36
Example of using the Python's requests library with RR cycling proxies.
import itertools
import requests
from lxml.html import fromstring
def main():
URL = 'https://example.org'
BATCH_SIZE_PROXIES = 10
CYCLE_TIME = 3
@NicolasBizzozzero
NicolasBizzozzero / coupons.md
Last active November 29, 2019 10:12
List of usual words used as coupons discount for online shopping

Words to test

  • military
  • veteran
  • student
  • vendor
  • test
  • admin
  • sorry
  • save
  • take