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
[ | |
{ | |
"type": "lifecycle", | |
"data": [ | |
"Initializing PHPStan extension" | |
], | |
"timestamp": "2025-01-08T07:23:51.798Z", | |
"timestampMs": 1736321031798 | |
}, | |
{ |
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
CREATE TABLE `users` ( | |
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, | |
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`email_verified_at` timestamp NULL DEFAULT NULL, | |
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`balance` decimal(8,2) NOT NULL DEFAULT '100.00', | |
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | |
`created_at` timestamp NULL DEFAULT NULL, | |
`updated_at` timestamp NULL DEFAULT NULL, |
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
# ---------------------------------------- | |
# Install Nginx | |
# ---------------------------------------- | |
## Update and Upgrade packages | |
sudo apt update | |
sudo apt upgrade | |
## Install Nginx | |
sudo apt install nginx |
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 | |
$input = <<<INPUT | |
use Affinity4\Temple\Temple | |
html(lang=en_IE) | |
head | |
css(path/to/style) | |
js(path/to/js defer) | |
body.app.theme__affinity4#app |
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
==> homestead: Checking if box 'laravel/homestead' version '9.1.0' is up to date... | |
==> homestead: Clearing any previously set forwarded ports... | |
==> homestead: Clearing any previously set network interfaces... | |
==> homestead: Preparing network interfaces based on configuration... | |
homestead: Adapter 1: nat | |
homestead: Adapter 2: hostonly | |
==> homestead: Forwarding ports... | |
homestead: 80 (guest) => 8000 (host) (adapter 1) | |
homestead: 443 (guest) => 44300 (host) (adapter 1) | |
homestead: 3306 (guest) => 33060 (host) (adapter 1) |
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
{ | |
"plugins": [ | |
[ | |
"@babel/plugin-transform-react-jsx", | |
{ | |
"pragma": "Reactbone.createElement" | |
} | |
] | |
] | |
} |
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
import dom from 'jsx-render'; | |
const Reactbone = {}; | |
Reactbone.createElement = dom; | |
export class Component | |
{ | |
view(el) | |
{ | |
el.appendChild(this.render()); |
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
import Reactbone, { Component } from './Reactbone'; | |
class Test extends Component | |
{ | |
constructor() | |
{ | |
super(); | |
this.view(document.getElementById('app')); | |
} |
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
class Test extends Component | |
{ | |
constructor() | |
{ | |
super(); | |
this.view(document.getElementById('app')); | |
} | |
render() | |
{ |
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
import dom from 'jsx-render'; | |
class Component | |
{ | |
view(el) | |
{ | |
el.appendChild(this.render()); | |
} | |
render() |
NewerOlder