hehehe
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+IUXKEwgSAjypvuuedx8DqpIQrNtHcLWBFEnc24vWV1BApwDa57+bxAOKNTwk/QTOsmjDjyiiHNx532IW4Yg0+U/S0uFvHIlmpuFRst2rPloMktIPy2gOMXOqRhy8uwheGMP7FhXPZaivTYFJreLu1981ipMl5irhdo++FOU5G2DnSBIN1vqS1fR2zAEy1Nnc1Nabx0W5IoaIdAZJ5Z+I49XXq09pismxa6Mkx9otL6ijU7Jf7cH5RRoGj6BJQk/XuNdWpOCw1hWDOT3n5Gn6BGcdx0AoGD4DzqbNjXR1r9Wmjx26YEgNMC0iZRspKUUJMwhNa3TlA4u9N8RrAR0D [email protected] |
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
<lifecycle onMount() { | |
console.log('Debug Tag', component); | |
}/> | |
<return=component/> |
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
#!/bin/bash | |
# Check if `proto` is installed, if not, ask for user confirmation to install | |
if ! command -v proto &>/dev/null; then | |
echo "Proto is not installed. Do you want to install Proto? (y/N)" | |
read -r user_confirmation | |
if [[ $user_confirmation == [yY] ]]; then | |
# Command to install Proto | |
echo "Installing Proto..." | |
curl -fsSL https://moonrepo.dev/install/proto.sh | bash |
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
{ | |
"title": "Quake-style Hotkey Window for Wezterm", | |
"rules": [ | |
{ | |
"description": "Launch/show Wezterm if it is not in foreground", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", |
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
<script lang="ts"> | |
let name: string = "world"; | |
</script> | |
<h1>Hello asdf {name}!</h1> |
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 Setters<Type> = { | |
[Property in keyof Type as `set${Capitalize<string & Property>}`]: (newValue: Type[Property]) => Type & Setters<Type> | |
}; | |
abstract class VO<T> { | |
constructor( | |
public readonly type: any, | |
public readonly excludedProperties: string[], | |
) { | |
return (new Proxy(this, { |
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
ui Web | |
/** | |
* Defines a context for the screens | |
* A context is a set of screens that are related to each other. | |
* It can have preconditions that are checked before allowing the user to | |
* navigate to the screens in the context. | |
* | |
* A context can have preconditions that are checked before allowing the user | |
* to navigate to the screens in the context. | |
* |
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
Commands: ๐ฎ ๐น โ โจ ๐ ๐ โ ๐ฆ ๐ฅ ๐ ๐๐ผ โ ^ | |
Receive: ๐ฅ ๐ฉ ๐จ ๐ฌ | |
Publish: ๐ฐ ๐ข | |
Change: โก๏ธ | |
Negative: ๐ซ ๐ โ โ โคซ | |
Warning: โ ๏ธ ๐จ ๐ง โ โ ๏ธโ | |
Notify: ๐ ๐ ๐ ๐ข ๐ฃ ๐ฃ ๐ | |
Mail: ๐จ ๐ค ๐ฅ ๐ง ๐ฉ ๐ช ๐ซ ๐ฌ ๐ญ ๐ฎ ๐ฆ | |
Time: โฐ โฑ โฒ โณ โ โง โง | |
Movement: ๐ ๐ซ ๐ฌ |
- Create a
run-plugin.sh
somewhere in your project - Copy the code from the
run-plugin.sh
file in this gist - Install nodemon with
yarn add --dev nodemon
- Add a script in the
scripts
property of yourpackage.json
replacingPLUGIN_CODE_FOLDER
by the path to the folder where your plugin code lives"scripts": {
"livereload": "nodemon --watch PLUGIN_CODE_FOLDER --exec run-plugin.sh"