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 / .prettierrc
Created July 13, 2023 16:55
.prettierrc
{
"arrowParens": "avoid",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 80,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["prettier-plugin-tailwindcss"]
@destinio
destinio / loops.go
Created August 4, 2023 13:43
Loops in Go
// standard for loop
for i := 0; i < 10; i++ {
fmt.Println(i)
}
// while loop
j := 0
for j < 10 {
fmt.Println(j)
@destinio
destinio / tailwind.config.js
Last active January 26, 2024 21:25
Config Files
// @ts-nocheck
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./**/*.php', './**/*.html'],
theme: {
extend: {},
},
plugins: [],
}
@destinio
destinio / tailwind.json
Created February 1, 2024 20:19
All Tailwind CSS links (Updated: 2/1/2024)
[
{
"topic": "Accent Color",
"slug": "accent-color",
"url": "https://tailwindcss.com/docs/accent-color"
},
{
"topic": "Adding Custom Styles",
"slug": "adding-custom-styles",
"url": "https://tailwindcss.com/docs/adding-custom-styles"
-- js
require('dap-vscode-js').setup {
-- node_path = "node", -- Path of node executable. Defaults to $NODE_PATH, and then "node"
debugger_path = vim.fn.stdpath 'data' .. '/lazy/vscode-js-debug', -- Path to vscode-js-debug installation.
adapters = { 'chrome', 'pwa-node', 'pwa-chrome', 'pwa-msedge', 'node-terminal', 'pwa-extensionHost', 'node', 'chrome' }, -- which adapters to register in nvim-dap
}
for _, language in ipairs(js_based_languages) do
require('dap').configurations[language] = {
{