Skip to content

Instantly share code, notes, and snippets.

@arav97531
arav97531 / smfbd.py
Last active February 20, 2018 17:41
Maybe most useful of all the scripts I made. Written to sort the photos of my cat, about 3 years ago, and all this time I kept modifying it, but I think it's finally done. :3
#!/bin/env python3
"""Sort Media Files By Date
A script sorts the files using a date from an EXIF field, or a file name.
Adapted for YYYY-MM-DD date formats. A regexp is simple to alter.
A set of extensions that must be sorted can be easily changed by modifying of
a tuple ALLOWEDFORMATS.
Script builds a directory structure where it was ran.
Directory structure:
@arav97531
arav97531 / ibdl-4chan.py
Last active March 2, 2019 19:48
This script downloads all the files from a specified thread on 4chan.org.
#!/usr/bin/env python3
"""Image board downloader for 4chan.org.
Downloads all the files from a specified thread.
Now multithreaded!
A number of threads is cpu_count * 4 by default, but if number of files is less
then the number of threads would be accordingly smaller.
"""
__version__ = "1.1.0"
__author__ = "Arav"
-- Program for Farming Turtle from ComputerCraft mod.
-- AutoFarm Ver 1.0
-- Copyright (c) 2015 Arav <me@arav.icu>
-- Farming 9x9 field
-- I S x x x x x x x x
-- x x x x x x x x x
-- x x x x x x x x x
-- x x x x x x x x x
-- x x x x W x x x x
-- x x x x x x x x x
@arav97531
arav97531 / ed-journal-extractor.py
Last active May 31, 2022 20:31
Elite: Dangerous Journal Extractor
#!/usr/bin/env python3
"""Elite: Dangerous Journal Extractor
Is a tool for extracting information from journal files.
Features:
- extract your discoveries into a CSV table;
- make an ImportStars.txt file.
Changelog:
Version 1.0.1 - 19th October 2018