Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈
Codin them thangs

Kylie Auld kylie-a

🏳️‍🌈
Codin them thangs
  • Seattle, WA
Block or report user

Report or block kylie-a

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View polled_pork_mac_cheese.md

Pulled Pork

Ingrdients

  • 3 dried chili negros; seeds removed (this sauce is pretty spicy w/o the seeds)
  • 1 bunch green onion
  • 8oz chipotle peppers in adobo sauce
  • 6 cups water and chicken & beef boullion or 3 cups chicken broth & 3 cups beef broth
  • 1.5 tablespoon diced garlic
  • Fresh ground pepper to taste
View colors
export BLACK="\033[0;38;5;0m"
export MAROON="\033[0;38;5;1m"
export GREEN="\033[0;38;5;2m"
export OLIVE="\033[0;38;5;3m"
export NAVY="\033[0;38;5;4m"
export PURPLE="\033[0;38;5;5m"
export TEAL="\033[0;38;5;6m"
export SILVER="\033[0;38;5;7m"
export GREY="\033[0;38;5;8m"
export RED="\033[0;38;5;9m"
View snappy_profiles.py
"""
You'll need to isntall the C++ library libsnappy-dev and the Python bindings
for it to be able to use snappy compression
To install:
Linux: sudo apt-get install libsnappy-dev
OSX: brew isntall libsnappy-dev
Windows: You're boned
@kylie-a
kylie-a / main.go
Created Jan 9, 2018 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"
@kylie-a
kylie-a / main.go
Created Jan 9, 2018 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
View org_clone_all.sh
org_name=$1
curl -s https://api.github.com/orgs/$org_name/repos\?per_page\=100 | perl -ne 'print "$1\n" if (/"ssh_url": "([^"]+)/)' | xargs -n 1 git clone
View Spellslinger.json
{"setting":{"duration":{"color":{"a":255,"r":255,"g":255,"b":255}},"border":{"color":{"a":255,"r":255,"g":255,"b":255}},"auras":[{"overlay":{"source":"1"},"dynamic":{"source":"1"},"behavior":"All","duration":{"source":"1"},"border":{"enable":true,"sprite":"sprAS_Chnl_Flash"},"stacks":{"source":"1"},"name":"Spell Surge","bar":{"source":"1"},"icon":{"sprite":"Icon_SkillMisc_UI_m_slvo","source":"1","posY":-227,"posX":-205},"triggers":[{"triggerType":"Buff","border":{"color":{"a":255,"r":255,"g":255,"b":255}},"spellName":"Spell Surge","unit":"Player","name":"Buff"}]},{"overlay":{"source":"1"},"charges":{"source":"1"},"dynamic":{"source":"1"},"behavior":"All","duration":{"source":"1"},"bar":{"source":"1"},"visibility":{"combat":false},"name":"Charged Shot","text":{"source":"1"},"icon":{"sprite":"Icon_SkillSpellslinger_charged_shot","source":"1","posX":-142,"height":45,"posY":-73,"width":45},"triggers":[{"triggerType":"Ability","border":{"color":{"a":255,"r":255,"g":255,"b":255}},"spellName":"Charged Shot","name":"
View enumerate.py
l = ['a','b', 'c']
for index, value in enumerate(l):
print("The value at index {} is {}".format(index, value)
# Output
# The value at index 0 is a
# The value at index 1 is b
# The value at index 2 is c
View Shell Helpers.sh
function cover { coverage run --source='.' --omit='*.pyc. *.html' ./manage.py test $1;coverage html; }
export cover
alias coverall="coverage run --source='.' --omit='*.pyc. *.html' ./manage.py test account api group item;coverage html"
alias testall="./manage.py test account api channel group item moderation notifications payments"
# Git completion/colorful prompt
source ~/.git-completion.bash
source ~/.git-prompt.sh
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
GIT_PS1_SHOWDIRTYSTATE=1
@kylie-a
kylie-a / prepare-commit-msg
Last active Oct 15, 2015
Git hook to append branch name to commit message
View prepare-commit-msg
# Automatically adds the JIRA ticket number to the end of every commit message.
# This will work provided your branch is named in the form [a-zA-Z]{3}-[0-9]{3,}
# Place this file in PROJECT/.git/hooks and make it executable chmod +x path/to/file
# Example:
# [BND-1234] <--- This is a branch name
# $ git commit -am "This is my message"
# [BND-1234 1edab53] This is my message [BND-1234]
#
# [BND-1234-This-Branch-Has-A-Description] <--- This is a branch name
# $ git commit -am "This is my message"
You can’t perform that action at this time.