Skip to content

Instantly share code, notes, and snippets.

View fredrik's full-sized avatar
🚀

Fredrik Möllerstrand fredrik

🚀
View GitHub Profile
@fredrik
fredrik / The Technical Interview Cheat Sheet.md
Last active August 29, 2015 14:28 — 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.
@fredrik
fredrik / linode
Last active December 22, 2015 06:19 — forked from cmer/gist:1566734
(old) linode four cores 512MB RAM
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: fakedew.net: GNU/Linux
OS: GNU/Linux -- 2.6.32.16-linode28 -- #1 SMP Sun Jul 25 21:32:42 UTC 2010
Machine: i686 (unknown)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU L5520 @ 2.27GHz (4533.5 bogomips)
Hyper-Threading, MMX, Physical Address Ext
@fredrik
fredrik / linode basic
Last active December 22, 2015 06:18 — forked from cmer/gist:1566734
digital ocean basic ~2.2GHz 512MB RAM
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: bark: GNU/Linux
OS: GNU/Linux -- 3.2.0-23-virtual -- #36-Ubuntu SMP Tue Apr 10 22:29:03 UTC 2012
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: QEMU Virtual CPU version 1.0 (4600.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
@fredrik
fredrik / Hetzner-EX6S
Last active December 22, 2015 06:09 — forked from cmer/gist:1566734
Hetzner EX6S (Intel Xeon E3-1245 Quadcore, 32GB RAM, ..)
=> http://www.hetzner.de/en/hosting/produkte_rootserver/ex6s
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: wtfbbq: GNU/Linux
OS: GNU/Linux -- 3.8.0-29-generic -- #42~precise1-Ubuntu SMP Wed Aug 14 16:19:23 UTC 2013
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
#!/bin/bash -xe
# from http://gist.github.com/249915 by fairchild
if [ -z $1 ]; then
echo "usage: $0 INSTANCE_ID"
exit
fi
EBS_DEVICE='/dev/sdh'
INSTANCE_ID=$1