Expand GitHub Branch Actions Block
If you have a large list of actions in your action block, you will have to scroll inside of it, and I find it annoying, luckily you can fix it very easily with Firefox...
/home/rabin.io/notes
If you have a large list of actions in your action block, you will have to scroll inside of it, and I find it annoying, luckily you can fix it very easily with Firefox...
If you’re lucky and have search engine which list the results with their magnet links, and you found the right query to list only the torrent you are looking for, one can use this...
This is mostly a self documentation for my self, as I had to reset my Firefox profile, and I had to dig out this little script I wrote few years ago to “scratch my...
Convert a PEM file to DER (crt etc) $ openssl x509 -outform der -in certificate.pem -out certificate.crt Convert a PKCS#12 file (.pfx .p12) containing a private key and certificates to PEM $ openssl pkcs12...
GitKraken is a very nice tool to work with git, it really simplify some of the common tasks which most users need to work with git, and the nice GUI is another plus. Long...
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 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...
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...
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)...