Skip to content

Instantly share code, notes, and snippets.

View kenziebottoms's full-sized avatar

Kenzie Bottoms kenziebottoms

View GitHub Profile
nonbinary #524d52,#736e73,#A06ABD,#ffffff,#A06ABD,#FFFFFF,#fff200,#A06ABD
trans #84d1e3,#452842,#eb94c4,#ffffff,#c0e7f0,#706156,#EB94C4,#EB94C4
ace #6b4968,#8c5e88,#d3c7d9,#292328,#ba79b5,#FFFFFF,#292328,#a69ea8
@kenziebottoms
kenziebottoms / sass-vs-scss.md
Last active January 25, 2018 16:37
Basic SASS vs SCSS

SCSS

@import 'reset';

$font-stack:    Helvetica, sans-serif;
$primary-color: #333;

body {
 font: 100% $font-stack;
@kenziebottoms
kenziebottoms / git-cheetsheet.md
Last active January 3, 2021 12:41
git cheetsheet

Branches

I want all the branches at my disposal

git fetch

Change branches.

@kenziebottoms
kenziebottoms / material.md
Last active January 19, 2018 18:55
Quick Material Icons

Icon Font

<head>:

<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

<body>:

@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>
@kenziebottoms
kenziebottoms / fonts.md
Last active February 15, 2018 19:18
Favorite Google fonts
@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 / .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 / 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 / .prettierrc
Created January 30, 2019 17:44
My Prettier Config
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"overrides": [
{
"files": "*.scss",
"options": {
"tabWidth": 4