Skip to content

Instantly share code, notes, and snippets.

View marcorichetta's full-sized avatar
🏀
Ballin'

Marco Richetta marcorichetta

🏀
Ballin'
View GitHub Profile
@marcorichetta
marcorichetta / Matrix.html
Created March 18, 2018 19:50
Matrix-style page. Downloaded from Sololearn App.
<html>
<head>
<style>
/*basic reset */
*{
margin: 0;
padding: 0;
}
@marcorichetta
marcorichetta / KDE.md
Last active December 28, 2019 00:29
KDE Installation on Manjaro
@marcorichetta
marcorichetta / layout.html
Created January 11, 2019 14:21
Layout to use mainly on Flask projects with bootstrap (JS included)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- BOOTSTRAP CSS -->
<link rel="stylesheet" type="text/css" media="screen" href="../static/bootstrap.min.css" />
@marcorichetta
marcorichetta / oop.py
Created March 21, 2019 19:59
OOP Corey Schafer Tutorial
class Empleado:
# Class variables
aumento = 1.10
numEmpleados = 0
def __init__(self, first, last, pay):
""" El método `__init__` se ejecuta cada vez que se crea un nuevo `Empleado` """
self.first = first
self.last = last
@marcorichetta
marcorichetta / split.py
Created June 24, 2019 13:20
Split a pdf file between provided pages.
from PyPDF2 import PdfFileReader, PdfFileWriter
def split(path, split_name, start_page, end_page):
# Create a FileReader instance
pdf = PdfFileReader(path)
# Create a FileWriter instance
pdf_writer = PdfFileWriter()
@marcorichetta
marcorichetta / LG-G6-Claro-Debloat.sh
Last active October 9, 2019 23:22
Script para desinstalar system apps innecesarias
pm uninstall -k --user 0 com.gameloft.android.gdc && # Claro Juegos
pm uninstall -k --user 0 com.portal && # Ideas Claro
pm uninstall -k --user 0 com.naranya.claroapps && # Claro apps
pm uninstall -k --user 0 com.claroColombia.contenedor && # Alguna mierda de Claro
####
pm uninstall -k --user 0 com.lge.sizechangable.weather && # Stock weather App
pm uninstall -k --user 0 com.lge.sizechangable.weather.platform && # Support for above
pm uninstall -k --user 0 com.lge.sizechangable.weather.theme.optimus && # Support for above
pm uninstall -k --user 0 com.lge.sizechangable.musicwidget.widget && # Music widget
pm uninstall -k --user 0 com.lge.theme.white && # White theme (just delete themes you're not gonna use)
@marcorichetta
marcorichetta / Manjaro.md
Last active December 3, 2022 23:41
Manjaro KDE Installation on Lenovo Ideapad 330S-15ARR

Booting Manjaro

  1. Download latest Manjaro Architect iso
  2. Burn the iso to a usb following the steps from the Manjaro wiki
  3. On Lenovo BIOS
    1. Disable Secure boot
    2. Set USB boot configuration on UEFI only.
    3. Save changes and press F12 to choose from boot menu.
  4. On Manjaro GRUB menu, add the ivrs_ioapic[32]=00:14.0 grub parameter. Source
@marcorichetta
marcorichetta / Havoc-LG.md
Last active February 23, 2020 18:29
Havoc OS 3.0 installation on LG G6 H870AR
@marcorichetta
marcorichetta / postgresql-manjaro.md
Last active May 7, 2024 14:24
Install PostgreSQL on Manjaro and set it up for Django
@marcorichetta
marcorichetta / TL-WR740N-v6.md
Last active March 23, 2020 22:20
Instalación de DDWRT/OpenWRT en router TPLink TL-WR740N v6