Skip to content

Instantly share code, notes, and snippets.

'''
Demonstration of using `splice` with non-blocking IO
Lots of code is similar to 'splice.py', take a look at that module for more
documentation.
'''
import os
import os.path
import errno
@coleifer
coleifer / The Technical Interview Cheat Sheet.md
Last active September 24, 2020 02:47 — 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.
* spazcowz - Daniel
* mcroydon - Matt
* mintchaos - Xian
* bltsandwich - Ben T.
* exoar - Travis
* fxdgear - Nick
* jacobian - Jacob KM
* bobbygrace - Bobby
* duke_sam - Niall
* thekaul - Kyle Stern
Shougo/deoplete.nvim
Shougo/neosnippet-snippets
Shougo/neosnippet.vim
Xuyuanp/nerdtree-git-plugin
airblade/vim-gitgutter
airblade/vim-rooter
arcticicestudio/nord-vim
fatih/vim-go
fidian/hexmode
godlygeek/tabular
@coleifer
coleifer / .compton.conf
Created September 28, 2016 04:08
Installing Compton compositor for tear-free video in Xubuntu (XFCE).
# Place this file in ~
# Installing Compton: sudo apt-add-repository ppa:richardgv/compton; sudo apt-get update; sudo apt-get -y install compton
backend = "xrender";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl";
#xrender backend with opengl solves "laggy drag" issue on 14.04
@coleifer
coleifer / nginx.conf
Created February 12, 2016 01:49 — forked from phpdude/nginx.conf
Nginx image filter + caching of results.
location /resize {
alias /tmp/nginx/resize;
set $width 150;
set $height 100;
set $dimens "";
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) {
set $width $1;
set $height $2;
set $image_path $3;