Skip to content

Instantly share code, notes, and snippets.

View DerrikMilligan's full-sized avatar

Derrik Milligan DerrikMilligan

  • ApplicantPro
  • Idaho Falls
  • 05:14 (UTC -06:00)
View GitHub Profile
@DerrikMilligan
DerrikMilligan / generate-wave-types.cjs
Last active September 6, 2023 21:52
Generate Wave Typescript Defintions
const fs = require('fs')
const baseDocPath = './src/documentation/views/ui-components/' // 'tag/api.vue'
const basePath = './src/wave-ui/components/'
/** @type Record<string, {splitDocs: boolean, docs: string | false, file?: string}> */
const components = {
'w-accordion': { splitDocs: false, docs: 'accordion' },
'w-alert': { splitDocs: false, docs: 'alert' },
'w-app': { splitDocs: false, docs: 'app' },
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DerrikMilligan
DerrikMilligan / astro-init.lua
Last active March 31, 2022 16:00
Astro Vim Config
local config = {
-- Set colorscheme
colorscheme = "duskfox",
-- Default theme configuration
default_theme = {
diagnostics_style = "none",
-- Modify the color table
colors = {
@DerrikMilligan
DerrikMilligan / cookie-clicker-hack.js
Created February 1, 2022 20:31 — forked from wmcmurray/cookie-clicker-hack.js
Cookie Clicker hack (auto click on cookie, golden cookies and reindeers)
@DerrikMilligan
DerrikMilligan / download_snapchat_memories.py
Last active July 2, 2021 04:26
A small script that takes the snapchat dump memories.json file and will download all the files from it concurrently
import concurrent.futures
import os
import re
import json
import mimetypes
# required libraries
import magic
import requests
/* ---------------------------------------------- */
/* Flex First */
/* ---------------------------------------------- */
#flex_first {
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
@DerrikMilligan
DerrikMilligan / Mac Home And End Keys.md
Last active August 10, 2018 00:28
Enable `home` and `end` keybindings on the MacOS

To have home and end keys funciton on a Mac as they do on a PC:

Create the file ~/Library/KeyBindings/DefaultKeyBinding.dict

This file will likely not exist and you may also need to create the KeyBindings directory.

In the file, insert this code.

{