This file contains hidden or 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
# This is the configuration file for Ghostty. | |
# | |
# This template file has been automatically created at the following | |
# path since Ghostty couldn't find any existing config files on your system: | |
# | |
# /Users/philipsinatra/Library/Application Support/com.mitchellh.ghostty/config | |
# | |
# The template does not set any default options, since Ghostty ships | |
# with sensible defaults for all options. Users should only need to set | |
# options that they want to change from the default. |
This file contains hidden or 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
{ | |
"extends": [ | |
"stylelint-config-standard", | |
"stylelint-config-recommended", | |
"stylelint-config-alphabetical-order", | |
"stylelint-config-html" | |
], | |
"customSyntax": "postcss-html", | |
"plugins": ["stylelint-value-no-unknown-custom-properties"], | |
"overrides": [ |
This file contains hidden or 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
{ | |
"compilerOptions": { | |
/* Base Options: */ | |
"esModuleInterop": true, | |
"skipLibCheck": true, | |
"target": "es2022", | |
"allowJs": true, | |
"resolveJsonModule": true, | |
"moduleDetection": "force", | |
"isolatedModules": true, |
This file contains hidden or 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
{ | |
"alt-require": true, | |
"attr-lowercase": true, | |
"attr-no-duplication": true, | |
"attr-value-double-quotes": true, | |
"doctype-first": true, | |
"doctype-html5": true, | |
"id-unique": true, | |
"spec-char-escape": true, | |
"src-not-empty": true, |
This file contains hidden or 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
const fs = require('fs'); | |
const path = require('path'); | |
const MAX_FILES_PER_FOLDER = 500; | |
const IMAGE_EXTENSIONS = ['.png', '.jpg', '.jpeg', '.gif']; | |
// Get a list of all files in the current directory | |
const files = fs.readdirSync('.'); | |
// Filter out only the image files |
This file contains hidden or 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 "./style.css"; | |
const color_data = [ | |
{ | |
name: "red", | |
hex: "#ff0000", | |
sound: "sound_1", | |
}, | |
{ | |
name: "white", |
This file contains hidden or 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
code { | |
font-family: Menlo, Monaco, "Lucida Console", Consolas, monospace; | |
font-size: 110%; | |
margin: 0; | |
} | |
pre { | |
margin: 1em 0; | |
overflow: auto; | |
} | |
pre code { |
This file contains hidden or 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
{ | |
"[html]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"[javascriptreact]": {}, | |
"[json]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
This file contains hidden or 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 type="ts"> | |
import { onMount } from 'svelte'; | |
let title: string; | |
onMount(() => { | |
try { | |
fetch('/api/post', { | |
method: 'post', | |
headers: { 'Content-Type': 'application/json' }, |
This file contains hidden or 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
.box { | |
box-shadow: | |
0 2.8px 2.2px rgba(0, 0, 0, 0.034), | |
0 6.7px 5.3px rgba(0, 0, 0, 0.048), | |
0 12.5px 10px rgba(0, 0, 0, 0.06), | |
0 22.3px 17.9px rgba(0, 0, 0, 0.072), | |
0 41.8px 33.4px rgba(0, 0, 0, 0.086), | |
0 100px 80px rgba(0, 0, 0, 0.12); | |
} |
NewerOlder