Skip to content

visuve/ostrinkets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ostrinkets - operating / file system trinkets

  • Small trinkets for fun & learning

rand_file

  • Opens a random file in a directory using default file association

dir_clean

  • Finds and removes files or folders recursively based on user input

drive_info

  • Shows basic information of physical drives

sloth_copy

  • Copies a file very unpredictably slowly

entropy_calc

  • Calculates Shannon's entropy of a file

file_info

  • Example usage of
    • fstat & fstatvfs on POSIX and GetFileInformationByHandle & GetFileInformationByHandleEx on Windows

bit_flipper

  • Periodically flips random bits on a file or a drive

file_watcher

  • Polls for file changes in a folder

perus64

  • A simple base64 encoder & decoder

file_search

  • Search files for certain content

file_replace

  • Finds and replaces content in a file

mem_search

  • Finds a value in process memory

lorem_ipsum

  • A Linux kernel module (character device) which outputs "Lorem Ipsum" data
  • Not quite finished yet

process_exit

  • Waits for process to exit and prints it's exit code

byte_printer

  • Prints out a file in hex, byte by byte

record_sound

  • A simple sound recorder for Windows

Prerequisites

  • Windows, Linux, FreeBSD or macOS
  • GCC, Clang or Visual Studio 2022