James

Since JavaScript can set a variable equal to a reference of another variable, there are two types of comparisons. Same _.eq will do a same value zero comparison to determine if […]

To resolve the mbstring extension not found error with phpMyAdmin, enable the extension. Open your php.ini file and ensure that extensions are enabled, and pointing to the correct directory: extension_dir […]

Grab the installer: 64 bit: wget https://downloads.plex.tv/plex-media-server/1.3.4.3285-b46e0ea/plexmediaserver_1.3.4.3285-b46e0ea_amd64.deb 32 bit: wget https://downloads.plex.tv/plex-media-server/1.3.4.3285-b46e0ea/plexmediaserver_1.3.4.3285-b46e0ea_i386.deb Then install manually sudo dpkg -i {the filename} The application should be available at http://{IP ADDRESS / DNS name}:32400/manage/index.html Restart the […]

PHP arrays are defined with the array() function $myArray = array(“a”, “b”, “c”) And to loop over it: foreach ($myArray as $value){ echo “$value”; }

For persistent storage after closing the browser, you can use HTML5 “sessionStorage”. It only takes simple values, not complex objects (unless you do some JSON to string conversions). Saving something: […]