Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
import { Canvas, useLoader } from "@react-three/fiber"; | |
export default function Scene() { | |
const backgroundImage = useLoader(THREE.TextureLoader, "/bg.png"); | |
return <Canvas scene={{ background: backgroundImage }}>...</Canvas>; | |
} |
<?php | |
// Used in https://github.com/im4aLL/roolith-event | |
class Event { | |
private static $events = []; | |
public static function listen($name, $callback) { | |
self::$events[$name][] = $callback; | |
} |
# ALWAYS git pull before doing it | |
git pull | |
git reset HEAD^ --hard | |
git push origin -f |
MAINTENANCE_MODE=0 |
/cache/ |
#!/usr/bin/env sh | |
. "$(dirname -- "$0")/_/husky.sh" | |
git diff --name-only HEAD~1..HEAD | grep '\.php$' | xargs ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=my_config.php_cs.dist | |
# You should create a file named "post-commit" in your ".husky" directory | |
# Change the "my_config.php_cs.dist" by your config file | |
# Or use this one to exlude "vendor" and "tools" directories | |
# git diff --name-only HEAD~1..HEAD | grep '\.php$' | grep -Ev '^vendor/|^tools/' | xargs ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php |