Simple interpreter from scratch in Python Credits: Jay ConrodEchoed from: http://www.jayconrod.com/posts/37/a-simple-interpreter-from-scratch-in-python-part-1 http://www.jayconrod.com/posts/37/a-simple-interpreter-from-scratch-in-python-part-2http://www.jayconrod.com/posts/37/a-simple-interpreter-from-scratch-in-python-part-3http://www.jayconrod.com/posts/37/a-simple-interpreter-from-scratch-in-python-part-4 The thing that attracted me most to computer science in college was the compiler. Continue Reading →
Dynamically modifying the option for a select element with JQuery Echoed from: https://paulund.co.uk/add-and-remove-options-in-select-using-jquery Found these handy guide with examples for dynamically adding or removing child elements of a dropdown select element posted by Paulund on his page. Continue Reading →
Restricting access to an Apache Web Directory Select a username and password pair. Continue Reading →
CLI, Batch Image Format Conversion Here’s a neat trick to convert an image or batch convert a bunch of images from an Ubuntu CLI using ImageMagick. Continue Reading →
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 →