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

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
View eventd_event_size.go
package main
import (
View .block
license: mit
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script id="jsbin-javascript">
View namecard_pch_v1.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:651a7ddadca873f82b9132536a354c76
# In Debian-world, cron.daily runs at a random time. This is an ansible task to
# change it to run at an hour specified by `cron_daily_time`.
- name: Change cron.daily to run at a specified time
become: yes
path: /etc/crontab
regexp: '(\S*[ \t])(\S*)([ \t].*cron\.daily)'
replace: '\g<1>{{ cron_daily_time }}\g<3>'

Node / npm

Node -- Think: JavaScript on the backend

Package -- Think: A repository of software

npm -- Stands for Node Package Manager

npm allows developers to share software with each other. This can be all types of software -- some are used for development purposes, some are used to create web servers, some are even used just for fun. We've seen fs, events, nodemon, express, pug, express-generator. These are all packages (other software) that DO things. They're just objects or functions that return/execute different things. That's why everything is written in dot-notation and parentheses! Just like JQuery, packages are imported and used accordingly.

View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
View boostrap-slashremove.php
require './vendor/autoload.php';
use Doctrine\ORM\Tools\Setup;
use Doctrine\ORM\EntityManager;
use Psr7Middlewares\Middleware\TrailingSlash;
* Configurações

###Setting up Pi Zero OTG - The quick way (No USB keyboard, mouse, HDMI monitor needed)
More details -

For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt file dtoverlay=dwc2 on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh in the SD card as well. By default SSH is