gitflow | git |
---|---|
git flow init |
git init |
git commit --allow-empty -m "Initial commit" |
|
git checkout -b develop master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bullseye-slim | |
RUN \ | |
apt-get update \ | |
&& apt-get install --yes --no-install-recommends \ | |
ca-certificates \ | |
libjpeg62-turbo \ | |
libpangocairo-1.0-0 \ | |
openssl \ | |
racket \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "${API_KEY}" ]; then | |
>&2 echo "Must set API_KEY!" | |
exit 1 | |
fi | |
PAD_API="https://coderpad.io/api/pads" | |
PAD_PAGE="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
BUNDLE_DIR="${HOME}/.vim/bundle" | |
if [ ! -d "${BUNDLE_DIR}" ]; then | |
echo >&2 "${BUNDLE_DIR} does not exist!" | |
exit 1 | |
fi | |
for bundle in ${BUNDLE_DIR}/*/; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
vboxmanage list runningvms | awk '{print $2}' | tr -d '{}' | xargs -I '{}' vboxmanage controlvm {} poweroff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
'''Print list of all comics from http://questionablecontent.net/archive.php''' | |
import csv | |
import re | |
import sys | |
from urllib.error import HTTPError, URLError | |
from urllib.parse import urljoin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace `$USER` with your purdue career login | |
Host *.cs.purdue.edu | |
User $USER | |
PubkeyAuthentication yes | |
IdentityFile ~/.ssh/purdue_rsa | |
Host moore0* moore1* moore2* | |
HostName %h.cs.purdue.edu | |
User $USER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ZSH Theme based on bira (just color changes) | |
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
local user_host='%{$terminfo[bold]$fg[red]%}%n%{$fg[cyan]%}@%{$fg[red]%m%}%{$reset_color%}' | |
local current_dir='%{$terminfo[bold]$fg[blue]%} %~%{$reset_color%}' | |
local rvm_ruby='' | |
if which rvm-prompt &> /dev/null; then | |
rvm_ruby='%{$fg[red]%}‹$(rvm-prompt i v g)›%{$reset_color%}' | |
else | |
if which rbenv &> /dev/null; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "$1" ]; then | |
echo "usage:" | |
echo " pantex <filename>" | |
exit 1 | |
fi | |
directory=$(dirname "$1") | |
filename=$(basename "$1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MIT License | |
Copyright (c) 2019 Ed Flanagan | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
NewerOlder