Skip to content

Instantly share code, notes, and snippets.


Augustus Yuan augbog

Block or report user

Report or block augbog

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
augbog / autoexec.cfg
Last active Aug 9, 2019
CS:GO Settings
View autoexec.cfg
alias +bombfind "+use;gameinstructor_enable 1;cl_clearhinthistory"
alias -bombfind "-use;gameinstructor_enable 0;cl_clearhinthistory"
bind e "+bombfind"
bind "mouse4" "use weapon_knife; use weapon_flashbang"
bind "v" "use weapon_smokegrenade"
bind "mouse5" "use weapon_incgrenade"
bind t "use weapon_c4; drop;"
bind h "+spray_menu"
bind [ "toggle cl_righthand 0 1"
augbog / closure-question.html
Last active Jul 23, 2018
Basic interview question on closures
View closure-question.html
<div id="hello1">Hello1</div>
<div id="hello2">Hello2</div>
<div id="hello3">Hello3</div>
<div id="hello4">Hello4</div>
<div id="hello5">Hello5</div>
augbog / index.html
Created Jul 10, 2017 — forked from rbndelrio/snip.html
Vertical aligning with Flexbox + IE9 table fallback
View index.html
<div class="va">
<div class="va__body">
<div class="va__content">
<h1>Hello, World!</h1>
augbog /
Created Jun 8, 2017
PAX Website Checker
echo 'Running Pax Tickets script...'
while [ 1 ];
count=`curl -H 'Cache-Control: no-cache' -s "$[ (RANDOM % 18747214) + 1 ]" | grep -c ""`
echo "$[ (RANDOM % 18747214) + 1 ]"
if [ "$count" != "0" ]
echo "West PAX Site updated!"
View Free O'Reilly

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x should do it)
  3. Run ./ and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
augbog /
Last active Jul 7, 2016 — forked from jfloff/
How to get MAMP to work with SSL ... Yes really.

First of all you need to be able to run MAMP in port 80. This is a "heat check" if you don't have any process jamming http ports. You can check it like this:

sudo lsof | grep LISTEN

If you do happen to have any process with something like this *:http (LISTEN), you are in trouble. Before with adventure check if it isn't MAMP itself (yeah, you should close that beforehand)

ps <pid of that process>

If you don't see MAMP, you are in good hands, I have just the thing for you:

augbog / The Technical Interview Cheat
Last active Jun 7, 2019 — forked from TSiege/The Technical Interview Cheat
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.
View The Technical Interview Cheat

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics



  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
augbog / LICENSE.txt
Created Mar 9, 2016 — forked from 140bytes/LICENSE.txt -- Click ↑↑ fork ↑↑ to play!
View LICENSE.txt
Version 2, December 2004
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
augbog /
Last active Aug 2, 2017
CURL imgur links from a subreddit every so often so you always have a variety of wallpapers :)
cd ~/Pictures/wallpapers && curl | tr '"' '\n' | grep imgur | tee "$$.tmp" | egrep 'http:\/\/\/.*\.jpg' | xargs wget -q -nc
egrep '^' "$$.tmp" | xargs -L1 ~/Pictures/wallpapers/
rm "$$.tmp"
# Credit /u/Molozonide
augbog / checkFileForModifiedImports
Last active Aug 29, 2015 — forked from madsleejensen/checkFileForModifiedImports
grunt-newer configuration to only preprocess scss files that have imported files that have changed
View checkFileForModifiedImports
# grunt-newer:
# Check for newer @import .scss files example
# See:
newer: {
options: {
override: function(details, include) {
if (details.task === 'sass') {
checkForNewerImports(details.path, details.time, include);
You can’t perform that action at this time.