Skip to content

Instantly share code, notes, and snippets.

View kylieCat's full-sized avatar
🏳️‍🌈
Codin them thangs

Kylie Rogers kylieCat

🏳️‍🌈
Codin them thangs
View GitHub Profile
@kylieCat
kylieCat / colors
Last active November 5, 2023 10:35
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"

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

To Make Cheese Sauce

I usually make 2 lbs of medium - large shells.

For every lb. of pasta:

  • 1 1/2 cups milk
  • 1 1/2 tbsp. flour
  • 1 1/2 Tbsp. unsalted butter - very important you use unsalted butter throughout
  • 1 1/2 cups shredded cheese
"""
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
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
@kylieCat
kylieCat / main.go
Created January 9, 2018 03:45 — forked from creack/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"
@kylieCat
kylieCat / main.go
Created January 9, 2018 03:37 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
{"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":"
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
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