Skip to content

Instantly share code, notes, and snippets.

View shawn-sandy's full-sized avatar
💭
I may be slow to respond.

Shawn Sandy shawn-sandy

💭
I may be slow to respond.
View GitHub Profile
@shawn-sandy
shawn-sandy / _module.scss
Last active February 28, 2022 00:05
SCSS snippets
/**
* **************************************
* FirsPaint
* Author: Shawn Sandy
* Date: 2021-04-01
* **************************************
* @format
*/
@mixin props() {
@shawn-sandy
shawn-sandy / ExampleDocs.stories.mdx
Last active March 18, 2022 17:57
storybook development

import { Meta } from '@storybook/addon-docs'

Example title

@shawn-sandy
shawn-sandy / .eslintignore
Last active September 22, 2022 20:14
Husky setup files
node_modules
package-lock.json
# Cache
.npm
.cache
.eslintcache
# ignore built packages
dist
@shawn-sandy
shawn-sandy / squoosh.json
Last active October 3, 2021 18:36
squoosh
npx @squoosh/cli --resize '{"enabled":true,"width":1800,"height":1275,"method":"lanczos3","fitMethod":"stretch","premultiply":true,"linearRGB":true}' --quant '{"enabled":true,"zx":0,"maxNumColors":256,"dither":1}' --webp '{"quality":75,"target_size":0,"target_PSNR":0,"method":4,"sns_strength":50,"filter_strength":60,"filter_sharpness":0,"filter_type":1,"partitions":0,"segments":4,"pass":1,"show_compressed":0,"preprocessing":0,"autofilter":0,"partition_limit":0,"alpha_compression":1,"alpha_filtering":1,"alpha_quality":100,"lossless":0,"exact":0,"image_hint":0,"emulate_jpeg_size":0,"thread_level":0,"low_memory":0,"near_lossless":100,"use_delta_palette":0,"use_sharp_yuv":0}'
@shawn-sandy
shawn-sandy / code-attribution.txt
Last active May 5, 2022 20:52
Shawn sandy copyright info
/*
***************************************
FirsPaint
Author: Shawn Sandy
Date: 2021-04-01
***************************************
*/
@shawn-sandy
shawn-sandy / main.tour
Created August 21, 2021 03:11
firebase
{
"$schema": "https://aka.ms/codetour-schema",
"title": "Install Setup",
"steps": [
{
"file": "README.md",
"description": "# Clone the repository \n\nRun `git clone https://github.com/shawn-sandy/cas-tutor-react` of click the link below to run in your terminal\n\n>> git clone https://github.com/shawn-sandy/cas-tutor-react\n\n- Open the repo in VSCode, terminal or your IDE of choice\n- VSCODE users can install the suggested extensions (optional)",
"line": 17,
"selection": {
"start": {
@shawn-sandy
shawn-sandy / Button.js
Last active March 11, 2024 13:38
React snippets
import React from 'react'
const Button = (props) => {
const { className, children, ...rest } = props
return (
<button className={className} {...rest}>
{children}
</button>
)
}
@shawn-sandy
shawn-sandy / main.tour
Created July 24, 2021 18:49
tours for substack test
{
"$schema": "https://aka.ms/codetour-schema",
"title": "#1 Install and Setup",
"steps": [
{
"file": "package.json",
"description": "# Installation\n\n* To install,setup and customize your site please start by clicking `npm i` below or running the command in your terminal of choice\n\n>> npm i\n\n* When installation is complete run `npm start` by clicking the link below or run the command in your terminal\n\n>> npm start\n\nStarts the `dev server` and launches you 11tysite `http://localhost:**` in your default browser with live reloading",
"line": 1,
"contents": "{\r\n \"name\": \"@fppages/substack\",\r\n \"version\": \"0.0.1\",\r\n \"config\": {\r\n \"name\": \"A UI toolkit for building web-apps using First Paint and Eleventy \",\r\n \"stylesheets\": [\r\n \"\"\r\n ],\r\n \"commitizen\": {\r\n \"path\": \"./node_modules/cz-conventional-changelog\"\r\n }\r\n },\r\n \"description\": \"FP Pages\",\r\n \"main\": \"index._js\",\r\n \"scripts\": {\r
@shawn-sandy
shawn-sandy / readme.md
Last active May 3, 2021 19:55
.net snippets

.net snippets

@shawn-sandy
shawn-sandy / .env
Last active November 15, 2021 02:28
React Snippets
SKIP_PREFLIGHT_CHECK=true