Skip to content

Instantly share code, notes, and snippets.

View n0nuser's full-sized avatar
馃懡

Pablo Jes煤s Gonz谩lez Rubio n0nuser

馃懡
View GitHub Profile
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active February 2, 2026 01:14
Conventional Commits Cheatsheet
@regpaq
regpaq / lightswitch.js
Last active January 14, 2021 14:20 — forked from nickpunt/lightswitch.js
Lightswitch: A dark mode switcher with user override
/*******************************************************************************
LIGHTSWITCH: A DARK MODE SWITCHER WITH USER OVERRIDE
Originally By Nick Punt 10/26/2018
How to use:
1. Create two data theme sets with CSS Variables 'light' and 'dark' such as:
html[data-theme="light"] {
--color-text: #000;
@todmephis
todmephis / Automating scanning with fish shell
Last active August 12, 2020 07:46
Automating scanning with fish shell
=======================HOST DISCOVERY===========================================
Host discovery con PING:
$ for octect in (seq 0 254)
echo "Pinging [X.X.X.$octect]"
ping -c 2 10.150.150.$octect | grep "bytes from" | awk '{print $4}' | uniq -d | cut -d ":" -f 1 | tee -a targets.list
end
Host discovery con NMAP IMCP o ARP
$sudo nmap -vv -sn -PE 10.150.150.0/24 -oG HOSTDISCOVERY_ICMP.gnmap
@n0nuser
n0nuser / .bash_aliases
Last active August 13, 2024 13:33
My Bash aliases
alias aliases="source ~/.bash_aliases"
# OS
alias poweroff="halt -p"
# Reboot and forever with No Gui
alias rebootNoGui='sudo systemctl set-default multi-user && sudo reboot'
# Reboot and forever with Gui
@xprilion
xprilion / Python Websockets SSL with Let's Encrypt
Last active December 17, 2025 20:06
Python Websockets SSL with Lets Encrypt
## Python Websockets SSL with Lets Encrypt
This code uses the `python-websockets` library.
You'll need to generate the certificate and keyfile using Let's Encrypt.
After generating the files correctly, you need to make them accessible to the current user who runs the script, my way of doing this was to copy it to the home directory of the current user and change the owner to the current user, set the permissions of the files to 400.
To know more about this process, read the blog here - https://xprilion.com/python-websockets-ssl-with-lets-encrypt/
@kjerk
kjerk / sd_v1_artists.txt
Created May 3, 2023 20:19
Artist list from parrot zone's 'Stable Diffusion V1 Artist Style Studies', changed to 'Firstname Lastname' and clean formatted
A-1 Pictures
A. J. Casson
Aaron Douglas
Aaron Horkey
Aaron Jasinski
Aaron Siskind
Abbott Fuller Graves
Abbott Handerson Thayer
Abram Efimovich Arkhipov
Adam Elsheimer