Server stores are contextual -- they are added to the context of the root component.
import { getStores, navigating, page, updated } from "$app/stores";This list is generally ordered from most to least recent, though there are undoubtedly some overlaps.
⭐ - indicates a project of which I am particularly proud, typically large in scope
📚 - indicates a project with extensive public-facing documentation
✴️ - indicates a particular highlight for a project, e.g. an important choice I made, or just some sweet code
| Shader "Name" { | |
| Properties { | |
| _Name ("display name", Range (min, max)) = number | |
| _Name ("display name", Float) = number | |
| _Name ("display name", Int) = number | |
| _Name ("display name", Color) = (number,number,number,number) | |
| _Name ("display name", Vector) = (number,number,number,number) |
| import PlaygroundSupport | |
| import SwiftUI | |
| struct ContentView: View { | |
| @State private var userQuestions: [String] = [ | |
| "one", "two" | |
| ] | |
| var body: some View { |
| // ==UserScript== | |
| // @name Reddit Code-ifier | |
| // @namespace https://*.reddit.com/* | |
| // @version 1.0 | |
| // @description Fix up messy code formatting on Reddit. | |
| // @author u/thebermudalocket | |
| // @match https://*.reddit.com/* | |
| // @grant none | |
| // @run-at document-end | |
| // ==/UserScript== |
| import Combine | |
| import Foundation | |
| let preferenceKey = "com.bermudalocket.myapp" | |
| @propertyWrapper | |
| struct Persistable<T> { | |
| let key: String |
| extension Color { | |
| static let systemRed = Color(UIColor.systemRed) | |
| static let systemGreen = Color(UIColor.systemGreen) | |
| static let systemTeal = Color(UIColor.systemTeal) | |
| static let systemBlue = Color(UIColor.systemBlue) | |
| static let systemYellow = Color(UIColor.systemYellow) | |
| static let systemOrange = Color(UIColor.systemOrange) | |
| static let systemPink = Color(UIColor.systemPink) | |
| static let systemPurple = Color(UIColor.systemPurple) | |
| static let systemIndigo = Color(UIColor.systemIndigo) |
| /******************************************** | |
| It's fucking Safari in Firefox!!! | |
| author: github.com/bermudalocket | |
| *********************************************/ | |
| /* No fucking shadows. */ | |
| * { |