hehehe
View Quake-style Hotkey Window for Wezterm.json
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", |
View App.svelte
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> |
View value-object-proxied-base-class.ts
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, { |
View ui.disl
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. | |
* |
View Emoji and Unicode.txt
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: 🚀 🛫 🛬 |
View README.md
Figma Plugin Development Live Reload
- 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"
View test-index.js
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
'use strict'; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
/* tslint:disable no-require-imports */ | |
const fs = require("fs"); | |
const path = require("path"); | |
const glob = require("glob"); | |
const paths = require("path"); | |
const istanbul = require('istanbul'); |
View run_them_all.sh
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
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get update && sudo apt-get install -y nodejs yarn |
View nginx-config
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
server { | |
listen 80; | |
server_name ~^(www\.)?(?<project>.+?).dev$; | |
root /projects/$project; | |
index index.html index.htm index.php; | |
charset utf-8; | |
location / { |
NewerOlder