DevelopmentProgramming, scripting. Code snips of my latest and greatest achievements.
There were several times when my team had to do a port scan in a commercial environment to discover rouge or lingering devices on the network. I always had troubles finding a portable, commercial-free, easy-to-use, fast and trusted application so I decided to write my own.
I was recently working on a project where I had to work with huge numbers (>32 hexadecimal digits). Since not even the largest integer type was able to hold these, I had to come up with a solution to be able to do arithmetic functions on them.
I recently managed to crash my development machine so hard that not even a recovery was possible. After the OS the next thing to install was Delphi 7 and I had to face with the usual compatibility issues.
Had enough of researching, it's time to put all necessary steps at one place to make this 15-year-old software to work on a modern system, like Windows 10!
I already made this mistake several times. UAC is turned on and I launch a Command Prompt to perform some activities. However, some actions will eventually fail as we don't have Administrative privileges.
In the past I launched a new Command Prompt (elevated, this time) and navigated back to the original folder to try again. Today I proudly present a script, which will do this for you!
Recently I was assigned to a task where I had to collect folder sizes (and do some math with them) on large number of servers. Talking about real file servers I quickly met the famous "Invalid number. Numbers are limited to 32-bits of precision." message. Here's how I solved it.
Providing feedback for the user about the status of our scripts is really important. We would like to know if everything is fine - or if not, why? Let me show you some tricks which can take the well-known ECHO command a little bit further!