Skip to content

Instantly share code, notes, and snippets.

🕴
3 junior developers stacked upon each other in a trenchcoat

Eli Gundry eligundry

🕴
3 junior developers stacked upon each other in a trenchcoat
Block or report user

Report or block eligundry

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 docker-compose.yml
version: '3'
services:
# nginx:
# container_name: talentinc-nginx
# image: jwilder/nginx-proxy
# ports:
# - "80:80"
# - "443:443"
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
@eligundry
eligundry / input.js
Created Feb 19, 2017
JS Unicode Splay
View input.js
unicode_str = '🀀🀁🀂🀃🀄🀅🀆🀇🀈🀉🀊🀋🀌🀍🀎🀏🀐🀑🀒🀓🀔🀕🀖🀗🀘🀙🀚🀛🀜🀝🀞🀟🀠🀡🀢'
splat = [...unicode_str];
@eligundry
eligundry / beer-design.md
Created Dec 22, 2016
Top 7 Beer Designs
View beer-design.md

Top 10 Beer Designs

1. Genese Cream Ale

Classic 3 color design. They actually switched to this in the past 5 years, before they had this Budwiser looking can that I wasn't into.

Genese Cream Can

2. Miller High Life Bottle

View 2016-Best-Music.md

This year, I discovered the magic that is Spotify's discover tab. I found so many great albums that I had no idea existed. As a result, many of the best albums I listened to this year didn't come out in 2016, so these are the best albums I listened to this year.

  1. Nxworries - Yes Lawd

    Anderson .Paak probably had the best 2016 of pretty much anyone on the planet (seriously, find me someone who had a better 2016). Malibu was hot, every single one of his features was on point, and dude just seemed like he was

View keybase.md

Keybase proof

I hereby claim:

  • I am eligundry on github.
  • I am eligundry (https://keybase.io/eligundry) on keybase.
  • I have a public key whose fingerprint is B05C 707D 991F 1E5F FCCF FDC2 6BA2 E3B5 B281 BE37

To claim this, I am signing this object:

@eligundry
eligundry / sample.py
Last active Dec 1, 2015
Python Correctly Trim Decimals
View sample.py
import decimal
def trim_decimal(value):
if isinstance(value, (decimal.Decimal, float)):
# I think format was something Django specific, because I don't know where it came from or what it does.
value = format(value, 'f')
s = str(value)
return s.rstrip('0').rstrip('.') if '.' in s else s
View gist:e6b0c35519dc13813547
╭─[~/Code/Croscon/bestday/application] [:develop*:e1865cb]
╰⤭ apt-cache policy dropbox [11:58]
\dropbox:
Installed: 2015.02.12
Candidate: 2015.02.12
Version table:
*** 2015.02.12 0
500 http://linux.dropbox.com/debian/ sid/main amd64 Packages
500 http://linux.dropbox.com/debian/ sid/main i386 Packages
100 /var/lib/dpkg/status
View gist:e317cf3e8136cd5b1793
### Keybase proof
I hereby claim:
* I am eligundry on github.
* I am eligundry (https://keybase.io/eligundry) on keybase.
* I have a public key whose fingerprint is E537 5EBD 4507 36F2 358A 1619 ACC1 4C81 E28C A7AD
To claim this, I am signing this object:
@eligundry
eligundry / dmesg
Created Jan 2, 2015
wireless_issue
View dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.1-1-MANJARO (builduser@phil) (gcc version 4.9.2 (GCC) ) #1 SMP PREEMPT Thu Dec 18 03:38:20 UTC 2014
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-318-x86_64 root=UUID=94480cf3-56f6-483e-bc2a-5719acbc6216 rw quiet splash
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009e7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009e800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000d2000-0x00000000000d3fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
@eligundry
eligundry / insanity-wolf-debugging.js
Created Nov 18, 2014
Shouldn't work, but fuck it.
View insanity-wolf-debugging.js
try {
// something stupid
} catch (e) {
alert("YOU DONE FUCKED UP! " + e.message + "! TERMINATING!");
window.close();
}
You can’t perform that action at this time.