Skip to content

Instantly share code, notes, and snippets.

View destinio's full-sized avatar
☯️
Present

Destin Lee destinio

☯️
Present
View GitHub Profile
@destinio
destinio / App.tsx
Last active September 29, 2022 14:28
Very Basic all in one TODO list
import { BaseSyntheticEvent, useEffect, useState } from 'react'
interface Todo {
userId: number
id: number
title: string
completed: boolean
}
function Home() {
@destinio
destinio / main.go
Created August 12, 2022 14:21
Basic Golang webserver
package main
import (
"github.com/gin-gonic/gin"
)
func main() {
router := gin.Default()
router.GET("/", func(c *gin.Context) {
alias ll='ls -al'
alias ld='ls -alt'
alias c='code .'
alias ll='ls -al'
alias ld='ls -alt'
alias c='code .'
alias cd..='cd ..'
alias ..='cd ..'
alias ...='cd ../..'
alias cd!='cd !$'
@destinio
destinio / alpha.code-snippets
Last active March 28, 2022 21:36
Alpha Snippets
{
// "_ a": { "prefix": "_ a", "body": [""], "description": "a" },
// "_ b": { "prefix": "_ b", "body": [""], "description": "b" },
// "_ c": { "prefix": "_ c", "body": [""], "description": "c" },
// "_ d": { "prefix": "_ d", "body": [""], "description": "d" },
// "_ e": { "prefix": "_ e", "body": [""], "description": "e" },
// "_ f": { "prefix": "_ f", "body": [""], "description": "f" },
// "_ g": { "prefix": "_ g", "body": [""], "description": "g" },
// "_ h": { "prefix": "_ h", "body": [""], "description": "h" },
// "_ i": { "prefix": "_ i", "body": [""], "description": "i" },
@destinio
destinio / react.html
Last active March 27, 2022 12:33
React CDN
<!-- READ FIRST: https://babeljs.io/docs/en/babel-standalone -->
<!-- <script type="text/babel" src="https://unpkg.com/@babel/standalone/babel.min.js"></script> -->
<script src="https://unpkg.com/[email protected]/umd/react.development.js"></script>
<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js"></script>
@destinio
destinio / conventionalcommits.md
Created March 25, 2022 13:45
Conventional Commits with Emojis
Type Emoji code
feat :sparkles:
fix 🐛 :bug:
docs 📚 :books:
style 💎 :gem:
refactor 🔨 :hammer:
perf 🚀 :rocket:
test 🚨 :rotating_light:
build 📦 :package:
/* HEX */
--black: #111;
--gray: #555;
--gray-dark: #1c1d21;
--gray-light: #888;
--white: #f7f7f7;
--red: #e94a50;
--green: #7dbb5c;
--blue: #4fb3db;
:root {
--black: #111;
--gray: #555;
--gray-dark: #1c1d21;
--gray-light: #888;
--white: #f7f7f7;
--red: #e94a50;
--green: #7dbb5c;
--blue: #4fb3db;
--orange: #fe7c0d;
@destinio
destinio / .editorconfig
Last active December 27, 2021 20:00
Destinio Dotfiles
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = true