Skip to content

Instantly share code, notes, and snippets.

View brandonmanke's full-sized avatar
🛫

Brandon Manke brandonmanke

🛫
View GitHub Profile
@brandonmanke
brandonmanke / Dockerfile
Created June 3, 2019 20:46
Valgrind Dockerfile. Mount current directory and run valgrind on compiled executable (e.x. valgrind --leak-check=full ./main)
FROM ubuntu:18
RUN apt-get update
RUN apt-get upgrade -y
# g++ or gcc
RUN apt-get install g++ valgrind -y
@brandonmanke
brandonmanke / express_session_submission.md
Created February 24, 2019 17:02
Hack Illinois 2019 Submission

I decided to work on the ExpressJS Session project because it was something that I have used countless times as a backend developer. This issue related to this contribution was expressjs/session#607. This issue is essentially a request to add Promise support to the sessionStore object.

The solution to this was particularly interesting as we had to maintain backwards compatibility with older Node versions (> 0.8.x).

Here is the current PR link: expressjs/session#635. This the tests for this PR are passing, however the coverage and test scope need to be improved for some of the methods (reload & destroy).

I technically worked alone on this project. However, not without the help of our mentor for the ExpressJS project.

It was really awesome to be able to contribute to something that you use regularly. I have gained a new appreciation for Open-Source Projects and everyone who has contributed to them.

Exploring Redis: Project 2

About

Redis is an in-memory data structure store that supports a variety of different data structures and functions. Redis is open-source and has a extremely well written documentation code. Redis is considered extremely fast and performant, one reason for this is that it is written in C. Another being that since Redis stores all of its data in-memory it does not require disk access to read or write data. Redis is based on a key value store in the sense that each data structure in the store is associate with a key. Because of Redis's wide variety of data structure support, it has a bunch of technical use cases. I have personally used Redis for storing client session data (cookies) in redis for fast lookup when the client connects to a webpage. Some other use cases include load-balancing requests across multiple servers or using pubsub messaging for distributed communication across machines. Redis communicates with other applications over TCP connections. Redis also supports f

@brandonmanke
brandonmanke / The Technical Interview Cheat Sheet.md
Last active September 21, 2017 20:45 — 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.

Keybase proof

I hereby claim:

  • I am brandonmanke on github.
  • I am bnm (https://keybase.io/bnm) on keybase.
  • I have a public key whose fingerprint is 8BC4 D0C9 80F5 EDFF A166 6956 806D 5EB3 AF74 1E6C

To claim this, I am signing this object: