Skip to content

Instantly share code, notes, and snippets.

View natemoo-re's full-sized avatar
⌨️
Clickity clacking away

Nate Moore natemoo-re

⌨️
Clickity clacking away
View GitHub Profile
export class BaseEnvironment {
env: BaseEnvironment.Env
FirebaseConfig: {
apiKey: string,
authDomain: string,
databaseURL: string,
projectId: string,
storageBucket: string,
messagingSenderId: string
}
@toonetown
toonetown / karabiner-elements-remote-desktop.json
Last active August 3, 2024 09:55
Karabiner Elements JSON configuration for Microsoft Remote Desktop
{
"title": "Microsoft Remote Desktop",
"rules": [
{
"description": "Windows Mappings",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "x", "modifiers": { "mandatory": [ "command" ] } },
"to": [ { "key_code": "x", "modifiers": [ "left_control" ] } ],
@developit
developit / *constant-locals-loader.md
Last active February 4, 2022 17:15
Inline Webpack CSS Modules classNames, reducing bundle size. https://npm.im/constant-locals-loader

constant-locals-loader for Webpack

This loader optimizes the output of mini-css-extract-plugin and/or css-loader, entirely removing the potentially large CSS classname mappings normally inlined into your bundle when using CSS Modules.

Run npm install constant-locals-loader, then make these changes in your Webpack config:

module.exports = {
 module: {
@natemoo-re
natemoo-re / houston.astro
Created October 20, 2023 20:06
Houston component
---
interface Props {
pose?:
| "default"
| "happy"
| "disappointed"
| "shocked"
| "love"
| "grumpy"
| "sad"