Getting the current time stamp
Easy! Just select: CURRENT_TIMESTAMP
Easy! Just select: CURRENT_TIMESTAMP
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 […]
When installing PHP on Windows, I used the manual install method. After installing, there are two sample php.ini files in the install directory. If you want a global PHP configuration […]
When installing PHP on Windows Server, I set up a simple ECHO page to test the install. It worked fine. I tried a simple phpinfo() file, and got a 500 […]
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 […]
I manage some headless (command line) servers, so I need a way to remove old kernels without a GUI. I haven’t written a script to do it yet, since I […]
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: […]
In my Pokemon application, I am using ES6, which does not support mixins. I noticed that I was using a lot of the same code repeatedly for interacting with my […]