Skip to content

Instantly share code, notes, and snippets.

View nonblocking.py
'''
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 Sep 24, 2020 — 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.
View The Technical Interview Cheat Sheet.md

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 Steam Friends
* spazcowz - Daniel
* mcroydon - Matt
* mintchaos - Xian
* bltsandwich - Ben T.
* exoar - Travis
* fxdgear - Nick
* jacobian - Jacob KM
* bobbygrace - Bobby
* duke_sam - Niall
* thekaul - Kyle Stern
View gist:4bde7115e37aed9a8444187787561b1e
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 Sep 28, 2016
Installing Compton compositor for tear-free video in Xubuntu (XFCE).
View .compton.conf
# 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
View gist:1855461
@coleifer
coleifer / nginx.conf
Created Feb 12, 2016 — forked from phpdude/nginx.conf
Nginx image filter + caching of results.
View nginx.conf
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;
You can’t perform that action at this time.