Skip to content

Instantly share code, notes, and snippets.

View ggrandes's full-sized avatar
🛠️
I may be slow to respond.

G.Grandes ggrandes

🛠️
I may be slow to respond.
View GitHub Profile
@ggrandes
ggrandes / README.md
Last active November 2, 2019 18:36 — forked from alexandernst/ninja.py
Delete our Messages from Telegram

Instalacion y uso

Logueate en tu cuenta de Telegram desde https://my.telegram.org/

Ve a API Development toolsy de allí a Create new application, crea una con cualquier cosa, y modifica en el script API ID y API Hash

Dependencias

pip3 install telethon

@ggrandes
ggrandes / tmux_vs_screen.md
Created February 6, 2019 10:35 — forked from P7h/tmux_vs_screen.md
tmux vs screen commands

tmux vs. screen commands


Action tmux screen
start a new session tmux
tmux new
tmux new-session
screen
start a new session with a name tmux new -s name screen -S name
re-attach a detached session tmux attach
tmux attach-session
screen -r
re-attach a detached session with a name tmux attach -t name
tmux a -t name
screen -r name
re-attach an attached session (detaching it from elsewhere) tmux attach -dtmux attach-session -d screen -dr
@ggrandes
ggrandes / mozlz4a.py
Created November 15, 2017 19:27 — forked from ylmrx/mozlz4a.py
MozLz4a compression/decompression utility
#!/usr/bin/env python3
#
# Decompressor/compressor for files in Mozilla's "mozLz4" format. Firefox uses this file format to
# compress e. g. bookmark backups (*.jsonlz4).
#
# This file format is in fact just plain LZ4 data with a custom header (magic number [8 bytes] and
# uncompressed file size [4 bytes, little endian]).
#
# This Python 3 script requires the LZ4 bindings for Python, see: https://pypi.python.org/pypi/lz4
#