Updating Exchange Rates Automatically in SAP Business One
This is a personal itch I had to scratch, instead of waiting for our accountant to update the exchange rates in SBO to allow us enter new orders, I wrote a small PowerShell script...
/home/rabin.io/notes
This is a personal itch I had to scratch, instead of waiting for our accountant to update the exchange rates in SBO to allow us enter new orders, I wrote a small PowerShell script...
This is a quick tip which I found useful so I mostly documenting it here for my personal use (and in case some else will find it useful). The Easy Way – Use Firefox...
Some Background My application runs on a CentOS machine with Apache 2.4 and PHP 5.6 (from Remi’s repo), and I’m using PHP-FPM (via Apache proxy option) to handle the php files (not the Apache...
If you need to match a non ASCII string with NGiNX, and don’t want to use the encoded URL, you can use this trick, location ~* (*UTF8)^/אודות$ { return 301 “https://blog.rabin.io/about-me”; } Resources http://stackoverflow.com/questions/28055909/does-nginx-support-raw-unicode-in-paths...
Some times when I need to troubleshoot a problem, adding some visualization to the process can help a lot, especially if one need to correlate between 2 (or more) metrics in the data. But...
This a quick hack I found while I was looking to run a knock script before connecting to servers which I have the SSH service protected with a knock sequence. In my setup I...
A quick snippet I use to validate email address format. <?php if (empty($argv[1])) { echo ‘usage: ‘ . $argv[0] . ‘ [email protected]’ . PHP_EOL; exit (1); } array_shift($argv); foreach ($argv as $key => $email)...
The Dockerfile This Dockerfile will use Fedora Docker image (which you can download from any Fedora mirror server, and then use docker import to import the image) as the base for our builder image,...
This post is based on my personal need to mount/umount some network shares automatically when I’m switching between networks (e.g Homer/Office). Later on I was looking to make it more modular and came out...
This is a small snippet I found to speed up importing MySQL dumps, it’s is almost as fast as coping the DB files directly. Pre INSERT Put the commands at the top of the...