Skip to content

Instantly share code, notes, and snippets.

@code-boxx
code-boxx / 0-PHP-ECOMMERCE.MD
Last active October 23, 2023 02:00
PHP eCommerce Website
@code-boxx
code-boxx / 0-PHP-SIGNAGE.MD
Last active November 14, 2023 04:47
PHP MYSQL Digital Signage

PHP MYSQL DIGITAL SIGNAGE

https://code-boxx.com/digital-signage-php-mysql/

NOTES

  1. Create a test database and import 1-database.sql.
  2. Change the database settings in 2-lib-pg.php to your own.
  3. Access 3a-admin.html to update the pages, 4a-signage.html to show them.
  4. Run unpack.bat (Windows) unpack.sh (Mac/Linux). This will create an assets folder and save the images below.

IMAGES

@code-boxx
code-boxx / 0-PHP-FOOD-ORDER.MD
Last active June 20, 2025 07:52
PHP MYSQL Food Ordering System
@datio
datio / enable-wifi.ps1
Last active November 26, 2025 10:10
Enable Windows 10 & 11 WiFi Hotspot - Powershell Script
# https://stackoverflow.com/questions/45833873/enable-win10-inbuild-hotspot-by-cmd-batch-powershell/60444585#answer-60444585
[Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result