root layout.tsx
export const metadata: Metadata = {
// ...
icons: [{
rel: 'icon',
url: process.env.NODE_ENV === 'production' ? '/favicon.ico' : '/favicon-dev.ico',
}]
}
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
-='cd -' | |
...=../.. | |
....=../../.. | |
.....=../../../.. | |
......=../../../../.. | |
1='cd -1' | |
2='cd -2' | |
3='cd -3' | |
4='cd -4' | |
5='cd -5' |
#!/bin/bash | |
# Target starting number for renaming (start at 64) | |
start_number=64 | |
# Iterate through folders in reverse, starting with folder number 51 | |
for i in {51..32}; do | |
old_name="${i}-" # Build the old folder name pattern | |
# Check if the folder exists |
root layout.tsx
export const metadata: Metadata = {
// ...
icons: [{
rel: 'icon',
url: process.env.NODE_ENV === 'production' ? '/favicon.ico' : '/favicon-dev.ico',
}]
}
#!/bin/bash | |
# Loop through folders from 01 to 33 | |
for folder_number in {1..33}; do | |
folder=$(printf "%02d-" "$folder_number") # Format folder number with leading zero | |
# Find folders with the given prefix | |
folders_with_prefix=$(find . -maxdepth 1 -type d -name "$folder*") | |
# Loop through folders with the given prefix |
import { type ClassValue, clsx } from "clsx" | |
import { twMerge } from "tailwind-merge" | |
export function cn(...inputs: ClassValue[]) { | |
return twMerge(clsx(inputs)) | |
} |
5oqq2216 | |
Oh-U00Xi3-0RSVAR-9BU4U-9XR50-TTjXk-jlOBT |
--- dump ---
⢀⡀⠀⠀⠀⠀⠀⡄⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀ | |
⠀⠀⠀⠀⠀⠀⣏⠓⠒⠤⣰⠋⠹⡄⠀⣠⠞⣿⠀⠀ | |
⠀⠀⠀⢀⠄⠂⠙⢦⡀⠐⠨⣆⠁⣷⣮⠖⠋⠉⠁⠀ | |
⠀⠀⡰⠁⠀⠮⠇⠀⣩⠶⠒⠾⣿⡯⡋⠩⡓⢦⣀⡀ | |
⠀⡰⢰⡹⠀⠀⠲⣾⣁⣀⣤⠞⢧⡈⢊⢲⠶⠶⠛⠁ | |
⢀⠃⠀⠀⠀⣌⡅⠀⢀⡀⠀⠀⣈⠻⠦⣤⣿⡀⠀⠀ | |
⠸⣎⠇⠀⠀⡠⡄⠀⠷⠎⠀⠐⡶⠁⠀⠀⣟⡇⠀⠀ | |
⡇⠀⡠⣄⠀⠷⠃⠀⠀⡤⠄⠀⠀⣔⡰⠀⢩⠇⠀⠀ | |
⡇⠀⠻⠋⠀⢀⠤⠀⠈⠛⠁⠀⢀⠉⠁⣠⠏⠀⠀⠀ | |
⣷⢰⢢⠀⠀⠘⠚⠀⢰⣂⠆⠰⢥⡡⠞⠁⠀⠀⠀⠀ |
#!/usr/bin/env PATH=$PATH:/opt/homebrew/opt/node@18/bin node | |
// Required parameters: | |
// @raycast.schemaVersion 1 | |
// @raycast.title Open Logseq Today's JW | |
// @raycast.mode fullOutput | |
// Optional parameters: | |
// @raycast.icon 📆 |