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 / 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 / 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 / checkFileForModifiedImports
Last active August 29, 2015 14:28 — forked from madsleejensen/checkFileForModifiedImports
grunt-newer configuration to only preprocess scss files that have imported files that have changed
# grunt-newer:
# Check for newer @import .scss files example
# See: https://github.com/tschaub/grunt-newer/issues/29
newer: {
options: {
override: function(details, include) {
if (details.task === 'sass') {
checkForNewerImports(details.path, details.time, include);
}