Ansible and ControlMaster file naming
This is a short story of how Ansible and SSH (using the default `ControlMaster` path format) bite me. Lets take this network layout for example, where we have the same IP behind different machines....
/home/rabin.io/notes
This is a short story of how Ansible and SSH (using the default `ControlMaster` path format) bite me. Lets take this network layout for example, where we have the same IP behind different machines....
I need to manage several insensate of WordPress installations, some of them are in Hebrew and one in Arabic, and when using `wp-cli` to manage the installation, e.g when running `plugin update`, `wp-cli` will...
TL;DR Set your IDE to listen for incoming connections On the CLI set the session key, Set XDEBUG configuration (can be set as environment variables or in-line parameters) PS. set remote_host IP to the...
I needed to have comment in a PHP ini file where the prefix for commenting is `;`, This is something I didn’t find in the documentation for the comment filter, so I looked in...
I found this method works for me, #Check if user is root if [[ $EUID -ne 0 ]]; then echo “Sudo privileges required!” exit 1; fi dnf update NEXT_VERSION=25 rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-${NEXT_VERSION}-$(uname -i) dnf...
Self note, Add this lines to ~/.zshrc bindkey ‘\e[1~’ beginning-of-line # Linux console bindkey ‘\e[H’ beginning-of-line # xterm bindkey ‘\eOH’ beginning-of-line # gnome-terminal bindkey ‘\e[2~’ overwrite-mode # Linux console, xterm, gnome-terminal bindkey ‘\e[3~’ delete-char...
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...