Brol ~ en Français de Belgique: Désordre, bazar.
Developed by Christian Visintin
Brol is a repository with all those useful code snippets and tools written during my career as developer.
- easyfb: simple library to interact with the framebuffer (read/write you know). MIT license
- elapsed-ms: How to get elapsed time in microseconds
- jannson: an example which shows how to use jannson JSON library
- getline: I reimplemented getline in case it's necessary
- progress_bar: A simple progres bar in C
- settimeofday: An example program which shows how to set system time
- sigint: A simple SIGINT handler
- traslate-bit-size: Traslate a numeric value into another bit power (e.g. 31,5 => 255,8)
- TunTap: create and perform I/O on TUN/TAPs
- uintToAscii: a converter for uint8_t to ASCII buffer
- union: An example which shows how to use Union with data buffers and structures (verify useful for example for protocols).
- aixlog: Aixlog example implementation
- base64pp: Simple base64 library in C++
- cli11: Simple CLI11 example
- fstream-doesnot-throw: nothing, just a proof that fstream doesn't throw if was not possible to open it
- ftpcurlpp: Ever wondered how to use curlpp with FTP? I did and I couldn't find any example on how to use it...
- getdir: Get all files in a directry
- libzip: An example which shows how to use libzip
- logrotator: A simple log rotator library in c++
- lunasvg: Convert SVG to PNG using liblunasvg and libpng
- lz4: an example on how to use lz4 in c++
- nlohmann-query: An algorithm to make recursive query in nlohmann (e.g. find a.b[1].c in a JSON)
- plog: Plog example implementation
- tzoffset: Get current timezone offset in C++
- utils: utilities (for filesystem, strings, those stuff you know)
- xml2: libxml2 example
- json-custom-type-decoder: Implementation of a JSON decoder for a custom type (Date.Date)
- json-decoder: Basic JSON decoder for a single entity
- json-decoder-list: Basic JSON decoder for a list entities of the same type
- utils: Elm utilities
- ISO3166: ISO3166 utils
- ISO8601: ISO8601 utils
- MySqlDateTime: MySQL/MariaDB date parser
- flatten: Flatte a JS object
- range: A function which creates array of numbers from ranges of numbers
- strptime: exactly strptime
- json-node: find a JSON leaf through query
- requests: Send GET/POST requests using PHP with cURL
- resize-image: Resize an image using Imagick
- base64-cli: Base64 CLI encoder/decoder written in Python3
- crypter: AES CLI encrypter/decrypter written in Python3
- github-downloads: Collect download counts for each artifact you want for all the releases of a certain repository
- logrotate-cli: CLI application which can be used to rotate logs. Is not a daemon, must be called manually. I Should really make a Pypi binary out of this
- modem-utils: Utility to query modem
- json-patch: Utility to apply missing keys from one JSON into another
- netaddr-calc: Utility to calculate network addresses and stuff like that
- randtime: Utility to generate a random date between now and a specified offset in days. I used it a lot to generate random times in my projects.
- struncate: I swear nobody has ever did this before. A damn function to truncate the first n bytes from a file without creating a new one.
- subvar: Replace
$VARIABLES
and${VARIABLES}
in files using environment. - [voice-demo(python/voice-demo): Some demo application to split audio by silence and to use voice recognition
- wikidata-search: Simple Python3 script which searches on wikidata the provided input and if the result is a person, retrieves metadata for it
- filehandler: Simple file I/O QML utility
- FPSText: Show FPS in QML
- Netif: Simple network interface QML utilty
- Pong: YES
- Process run subprocesses from QML
- auto-relative-time: Automatic relative time unit using react-intl
- aws-s3-cli: A simple CLI client for AWS S3
- bytes: Example of usage of the bytes crate
- c-enums: C-enums in Rust and conversion from primitives
- chrono: utilities I've used in some projects, using the chrono crate
- console: Console utils
- file-utils: File utilities
- fs-notify: File system notify example
- keyring-client: A rust keyring client, which uses
keyring-rs
to interact with your secret storage. - git: Git utilities. GPL3 License
- git-latest-release: Get through git API the latest release for a repository
- magic-crypt: Encryption/decryption example using magic-crypt
- Notifications: Notify-rust example
- open: open-rs example
- pipe: UNIX Pipes Façade for Rust. GPL3 License
- progress_bar: Simple progress bar in rust.
- rabbitmq: Simple rabbitmq clients (publisher + consumer) with lapin
- refcounter: Example with Rc.
- sftp-client: Just a minimalist SFTP CLI client. (Don't complain about error handling)
- sha-1: SHA-1 encoding
- store: A generic purpose key-value storage in Rust
- ssh-client: Just a minimalist SSH client.
- ssh-config: SSH config parser test
- subproc: UNIX subprocess with named pipes. GPL3 License
- Fish functions: Some utils functions for fish
View repository Code of conduct
If my snippets resulted useful to you and you're grateful for the work I've done, please consider a little donation 🥳
You can make a donation with one of these platforms:
Licensed under WTFPL See the entire license text HERE
Some code is under different license (Don't worry, is open-source anyway). If a project has a different license is reported in the project directory.