This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*** Synthwave '84 - Padparadscha Edition ************************************** | |
**** bobmagicii [https://github.com/bobmagicii] I******************************/ | |
/*** | |
**** note that this is tuned for PHP not all languages have been audited for | |
**** sanity or completion | |
***/ | |
:root { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$GetValueCSS = (fn(?string $Input)=> match(TRUE) { | |
(str_starts_with($Input, '--')) | |
=> sprintf('var(%s)', $Input), | |
(!!preg_match('/^[0-9a-fA-F]{6,8}/', $Input)) | |
=> sprintf('#%s', $Input), | |
default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"Atlantis Surface Area Objects": { | |
"scope": "php, html", | |
"prefix": "--atlantis-areadoc", | |
"body": [ | |
"use Nether\\Atlantis;", | |
"use Nether\\Avenue;", | |
"use Nether\\Common;", | |
"use Nether\\Database;", | |
"use Nether\\Surface;", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Padparadscha Retro Terminal", | |
// a GoCoEdit (iPad) theme | |
// 2024-10-10 - bobmagicii | |
// based on my Synthwave Padparadscha for VS Code. | |
// based on Robb's Synthwave '84 for VS Code. | |
"defaults": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Container { | |
static protected | |
$Instance; | |
//////// | |
static public function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!env php | |
<?php | |
// placed in ~/Local/bin, chmoded, with that added to PATH. | |
// requires: https://github.com/jakehilborn/displayplacer | |
// use `displayplacer list` to find your screen id and supported modes. then | |
// update the screen id and sizes to have what you want. | |
// $ dp <size> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\Windows Terminal (Default)\command] | |
@="C:\\Apps\\WindowsTerminal\\WindowsTerminal.exe nt -d \"%V\"" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"The Date": { | |
"prefix": "--date", | |
"body": "$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE" | |
}, | |
"The Date, Quoted": { | |
"prefix": "--dateq", | |
"body": "'$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE'" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"minimum-stability": "dev", | |
"prefer-stable": true, | |
"config": { | |
"preferred-install": { | |
"netherphp/*": "source", | |
"*": "dist" | |
}, | |
"allow-plugins": { | |
"dealerdirect/phpcodesniffer-composer-installer": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// php -S localhost:80 -t www www/index.php | |
$Root = dirname(__FILE__); | |
$Mime = NULL; | |
$File = match($_SERVER['REQUEST_URI']) { | |
'/' => "{$Root}/index.html", | |
default => "{$Root}{$_SERVER['REQUEST_URI']}" | |
}; |
NewerOlder