Skip to content

Instantly share code, notes, and snippets.

View kenziebottoms's full-sized avatar

Kenzie Bottoms kenziebottoms

View GitHub Profile
@kenziebottoms
kenziebottoms / dragon.txt
Created February 11, 2022 18:15
Dragon ASCII art
_ __,----'~~~~~~~~~`-----.__
. . `//====-_ ___,-' `
-. \_|// . /||\\ `~~~~`---.___./
______-==. _-~o~ \/ ||| \\ _,'`
__,--' ,=='||\=_ ;_--~/_-'|- |`\ \\ ,'
_-' ' | \\`. '-'~7 /- / || `\. /
.' | \\ \_ / /- / || \ /
/ ____ __ | \\.`-_/ /|- _/ ,|| \ /
@kenziebottoms
kenziebottoms / iterm.json
Last active June 25, 2024 18:14
iterm.json
{
"Right Option Key Sends" : 0,
"Tags" : [
],
"Ansi 12 Color" : {
"Green Component" : 0.83529411764705885,
"Red Component" : 0.40784313725490196,
"Blue Component" : 1
},
@kenziebottoms
kenziebottoms / kenziebottoms.zsh-theme
Last active March 11, 2021 23:11
kenziebottoms.zsh-theme
# forked from agnoster.zsh-theme
CURRENT_BG='NONE'
case ${SOLARIZED_THEME:-dark} in
light) CURRENT_FG='white';;
*) CURRENT_FG='black';;
esac
# Special Powerline characters
@kenziebottoms
kenziebottoms / .prettierrc
Created January 30, 2019 17:44
My Prettier Config
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"overrides": [
{
"files": "*.scss",
"options": {
"tabWidth": 4
@kenziebottoms
kenziebottoms / mileage_calc.php
Last active May 14, 2019 21:23
Mileage calculator script tag
<script type="text/javascript">
// hard-coded product id of mile rate woocommerce product
let productId = 246;
let map, auto;
const v1_url = window.theme_bundle_data.rest_url + 'sim/cremation/shop/v1/';
const v2_url = window.theme_bundle_data.rest_url + 'sim/cremation/shop/v2/';
@kenziebottoms
kenziebottoms / .zshrc
Last active June 25, 2024 18:20
oh-my-zsh shortcuts
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh
DEFAULT_USER="kenzie"
ZSH_THEME="kenziebottoms"
@kenziebottoms
kenziebottoms / ng-enter.js
Created May 1, 2018 19:06
Angular directive: `ng-enter`
"use strict";
const angular = require("angular");
// reference: https://stackoverflow.com/questions/17470790/how-to-use-a-keypress-event-in-angularjs
angular.module("mixtape").directive("ngEnter", function () {
return {
controller: "MixCtrl",
link: function (scope, element, attrs) {
element.bind("keydown keypress", function (event) {
@kenziebottoms
kenziebottoms / fonts.md
Last active February 15, 2018 19:18
Favorite Google fonts
@kenziebottoms
kenziebottoms / functions.php
Created February 11, 2018 18:36
Social links options page for WordPress
// social media links settings page
function social_links_page() { ?>
<div class="wrap">
<h1>Social Links</h1>
<form method="post" action="options.php">
<?php settings_fields("section");
do_settings_sections("social-links");
submit_button(); ?>
</form>