Skip to content

veeso/brol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brol

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.

Projects

C

  • 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).

CPP

  • 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

Elm


Java


JavaScript

  • flatten: Flatte a JS object
  • range: A function which creates array of numbers from ranges of numbers
  • strptime: exactly strptime

PHP


Python

  • 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

Qt


React


Rust


Shell


Code of conduct

View repository Code of conduct


Support the developer ☕

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:

ko-fi PayPal bitcoin ethereum


License

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.

About

A repository with all those useful code snippets and tools written during my career as developer.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published