SSH2 and OpenSSH A colleague gave me his public key to be authorized for access into this server we were working on. Continue Reading →
CSS Hack: Detect an updated CSS (or JS or image files) and override cached version Discussion of original solution is here: https://stackoverflow.com/questions/118884/how-to-force-the-browser-to-reload-cached-css-js-files The rewrite rule in htaccess: RewriteEngine on RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L] The PHP function: /** * Given a file, i.e. Continue Reading →
Random Notes: On WordPress Disabling Plugin Update notifications – The script that disables update notifications only works when the plugin is active. Continue Reading →
SVG Image Resizing Echoed from: https://medium.com/@ayumitabinote/how-to-resize-a-svg-image-7829bac8948c What is SVG? Continue Reading →
Expanding the WordPress User Profile WordPress hooks to use: show_user_profile, edit_user_profile, personal_options_update, and edit_user_profile_update. Continue Reading →
Aligning image elements vertically within a div Echoed from: https://www.tutorialrepublic.com/faq/how-to-vertically-align-an-image-inside-a-div-using-css.php You can align an image vertically center inside a <div> by using the CSS vertical-align property in combination with the display: table-cell; on the containing div element. Continue Reading →
Insights: Git and SVN Here’s an interesting commentary on Git and SVN by Craig Chapman ,the maintainer of the DarkGlass Game Engine project on Github. Continue Reading →
PHP: Passing POST data from script to script This is how to pass data via POST to another processing script but not via the usual HTML form submission. Continue Reading →
Linux CLI: Bash Alias Bash aliases are kind of shortcuts for working on the command line on Unix-like systems. Continue Reading →