Skip to content

Instantly share code, notes, and snippets.

View cocoa1231's full-sized avatar

Cocoa cocoa1231

View GitHub Profile
@heroheman
heroheman / ranger-cheatsheet.md
Last active June 16, 2025 15:09
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@dreikanter
dreikanter / encrypt_openssl.md
Last active May 23, 2025 13:12 — forked from crazybyte/encrypt_openssl.txt
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt:

@alexflint
alexflint / make_video.py
Last active September 28, 2024 02:03
Create a video from a sequence of images (or PDFs) in python (using ffmpeg internally)
import os
import sys
import tempfile
import argparse
import subprocess
NATURAL_FPS = 30.
# Formats convertible by imagemagick:
CONVERTIBLE_EXTENSIONS = ['png', 'jpeg', 'jpg', 'pdf', 'pgm', 'bmp']