Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View augbog's full-sized avatar
🤡
heehee

Augustus Yuan augbog

🤡
heehee
View GitHub Profile
@augbog
augbog / CSGO_Settings_README.md
Last active January 14, 2020 09:32
CS:GO Settings

How to use

I wrote some Powershell scripts to make things easier.

If you do not know where your cfg folder is, run these in order. Replace "G:\Program Files (x86)" with wherever your Steam games are located.

First extract the path of your autoexec.cfg from the raw file link in your gist. For example the one here would look like below and set it into the variable $rawFilePath

PS C:\Users\PC> $rawFilePath = "https://gist.githubusercontent.com/augbog/6b0377d0192a2dea870a60c8001cffac/raw/7d7f9667357866e66d078349b2b44c1704c27fda/autoexec.cfg"
@augbog
augbog / .Frontend Technical Interview Prep.md
Last active March 4, 2024 16:25
Frontend Technical Interview Prep: A study guide of things I constantly re-review when interviewing for frontend.

Frontend Technical Interview Prep

EDIT: Well this has been linked now so just an FYI this is still TBD. Feel free to comment if you have suggestions for improvements. Also here is an unrolled Twitter thread of a lot of the tips I talk about on here.

I've been doing frontend for a while now and one thing that really gripes me is the interview. I think the breadth of knowledge of a "Frontend Engineer" has been so poorly defined that people really just expected you to know everything. Many companies have made this a hybrid role. The Web is massive and there are many MANY things to know. Some of these things are just facts that you learn and others are things you really have to understand.

Every time I interview, I go over the same stuff. I wanted to create a gist of the TL;DR things that would jog my memory and hopefully yours too.

Lots of these things are real things I've been asked that caught me off guard. It's nice to have something you ca

@augbog
augbog / closure-question.html
Last active July 23, 2018 19:22
Basic interview question on closures
<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
augbog / index.html
Created July 10, 2017 18:39 — forked from rbndelrio/snip.html
Vertical aligning with Flexbox + IE9 table fallback
<div class="va">
<div class="va__body">
<div class="va__content">
<h1>Hello, World!</h1>
</div>
</div>
</div>
@augbog
augbog / pax-tickets.sh
Created June 8, 2017 19:12
PAX Website Checker
#!/bin/bash
echo 'Running Pax Tickets script...'
while [ 1 ];
do
count=`curl -H 'Cache-Control: no-cache' -s "http://west.paxsite.com/registration?$[ (RANDOM % 18747214) + 1 ]" | grep -c "showclix.com"`
echo "http://west.paxsite.com/registration?$[ (RANDOM % 18747214) + 1 ]"
if [ "$count" != "0" ]
then
echo "West PAX Site updated!"
@augbog
augbog / Free O'Reilly Books.md
Last active March 2, 2024 22:24
Free O'Reilly Books

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 download.sh 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 download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@augbog
augbog / mamp.md
Last active July 7, 2016 20:35 — forked from jfloff/mamp.md
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
augbog / The Technical Interview Cheat Sheet.md
Last active August 1, 2021 15:30 — forked from tsiege/The Technical Interview Cheat Sheet.md
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.

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

Array

Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@augbog
augbog / LICENSE.txt
Created March 9, 2016 08:52 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@augbog
augbog / redditwallpapers.sh
Last active August 2, 2017 20:47
CURL imgur links from a subreddit every so often so you always have a variety of wallpapers :)
#!/bin/bash
cd ~/Pictures/wallpapers && curl https://www.reddit.com/r/wallpapers/ | tr '"' '\n' | grep imgur | tee "$$.tmp" | egrep 'http:\/\/i.imgur.com\/.*\.jpg' | xargs wget -q -nc
egrep '^http://imgur.com/a/' "$$.tmp" | xargs -L1 ~/Pictures/wallpapers/imgur_album_download.sh
rm "$$.tmp"
# Credit /u/Molozonide
# https://www.reddit.com/r/wallpapers/comments/138qi2