Skip to content

Instantly share code, notes, and snippets.

Brice Burgess briceburg

Block or report user

Report or block briceburg

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
@briceburg
briceburg / nm-legumous-plants.md
Last active May 15, 2019
Native legumous plants of New Mexico / ABQ
View nm-legumous-plants.md

Native legumous plants of New Mexico (Albuquerque)

name common sandia fieldguide
Amorpha canescens leadplant no
Astragalus albulus cibola milkvetch no
Astragalus allochrous halfmoon milkvetch no
Astragalus amphioxys Crescent milkvetch no
Astragalus brandegeei Brandegee's milkvetch no
@briceburg
briceburg / main.tf
Last active Jun 26, 2018
terraform - autoscaling group that updates instances on changes
View main.tf
## random LC name is assigned
resource "aws_launch_configuration" "main" {
image_id = "${var.ami}"
instance_type = "${var.instance_type}"
@briceburg
briceburg / nc-httpd.sh
Created May 4, 2018
quickie nectcat httpd server
View nc-httpd.sh
#!/usr/bin/env bash
cmd="ls /home"
port=8888
while true; do echo -e "HTTP/1.1 200 OK\\n\\n $($cmd)\\n" | nc -l -p $port ; done
View flameshot.trace
execve("/usr/bin/flameshot", ["flameshot", "gui"], 0x7ffcd8d54e78 /* 30 vars */) = 0
brk(NULL) = 0x555984515000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=108558, ...}) = 0
mmap(NULL, 108558, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffa0d9aa000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libQt5Widgets.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\244\24\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=6657984, ...}) = 0
@briceburg
briceburg / healthcheck.sh
Created Mar 20, 2018
bash :: HTTP GET client (for healtcheck)
View healthcheck.sh
#!/usr/bin/env bash
# example HTTP client. @author briceburg
main(){
set -eo pipefail
readonly __script=$(basename "$0")
host="$(hostname -i || echo 'localhost')"
port=8080
View keybase.md

Keybase proof

I hereby claim:

  • I am briceburg on github.
  • I am briceburg (https://keybase.io/briceburg) on keybase.
  • I have a public key whose fingerprint is 2E54 3DCE BC9A 6B97 1510 A9A0 D053 2DD2 254E 4188

To claim this, I am signing this object:

@briceburg
briceburg / reincarnate.coffee
Created Nov 17, 2017
restart hubot on reincarnate command
View reincarnate.coffee
module.exports = (robot) ->
robot.hear /reincarnate hubots?/i, (res) ->
res.send "goodbye for now cruel world. may I return a better bot... (boom)!"
setTimeout ->
process.exit();
, 500
@briceburg
briceburg / bcrypt.sh
Created Oct 7, 2017
bcrypt - xor obfuscation in bash
View bcrypt.sh
#!/usr/bin/env shell-helpers
# bcrypt - simple obfuscation through xor
# NOT safe for cryptographic use.
# @requires shell-helpers (https://github.com/briceburg/shell-helpers)
#
# example usage:
# cat source.txt | bcrypt > source.txt.crypt
# cat source.txt.crypt | bcrypt > source.txt.decrypted
# diff source.txt source.txt.decrypted || echo "there was an error!"
@briceburg
briceburg / fixes.patch
Last active Sep 28, 2017
[patch] adds logs service, general fixes
View fixes.patch
diff --git a/ansible/playbooks/aws-swarm-mk.yml b/ansible/playbooks/aws-swarm-mk.yml
index f181725..a082932 100644
--- a/ansible/playbooks/aws-swarm-mk.yml
+++ b/ansible/playbooks/aws-swarm-mk.yml
@@ -166,3 +166,12 @@
docker_experimental_mode: yes
roles:
- docker-ce
+
+ tasks:
@briceburg
briceburg / Dockerfile
Created Sep 26, 2017 — forked from nknapp/Dockerfile
Traefik setup as reverse-proxy with docker and letsencrypt
View Dockerfile
FROM traefik:camembert
ADD traefik.toml .
EXPOSE 80
EXPOSE 8080
EXPOSE 443
You can’t perform that action at this time.