My notes about combinatorics (binomial coefficent, permutations and cominations)...
This type of analysis can help to develop competitive schemes without weaknesses, that is, they do not expose fixed pre-built strategies that allow you to circumvent the logic coming to the end result without depending on the results of other players.
A ML model can be trained to predict the right...
Python script I wrote in 2022 to convert csv files into DDL SQL instructions, leveraging Pandas and NumPy.
It writes resulting DDL into a sql file with the same name of the csv and in the same directory.
If the primary key is not provided inside the CSV file, the script can generate ID by itself...
A batch script that I wrote in 2022 to speed up release process of a .war package uploading it on a remote Tomcat web server via SSH protocol.
cd
::rename .war in .war.new
ren .war .war.new
::copy the war.new into the destinatio...
Python script that I wrote in 2021 to convert SQL schema DDL instructions to XML Liquibase scripts.
...Python script written in 2021 to detect big files that are unused from a certain amount of time to assist the user clean and manage disk space.
It logs and produces a txt report containing the list of files based on a date (by default datetime(2021, 2, 1)
) and a byte size (by default 47185920)....
I wrote this shader in 2019 to generate large scale cities inside QBatica. It is expected to be used in pairs with Instancing Shader. It was made to be applied to the terrain plane to tweak the map on which the buildings blocks are arreanged; it is implemented at the fragment and the tessella...
Written in 2019 to handle some documents...
Written in 2019 to speed up some repetitive file s...
Written in 2019. Prints the folder structure tree based on the provided nesting level. Outlines folders and files matching the provided string.
#!/bin/bash
initial_max_depth=2
matching_string=""
matching_string_provided="false"
display_branch()
{
for D in $(ls $1); do
if [[ -d "$1/$D...