This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#--------------------- start ---------------------- | |
# Copy the flowwing to your .zshrc file. | |
# # COMPLETION SETTINGS | |
# # add custom completion scripts | |
# fpath=(~/.zsh/completion $fpath) | |
# # compsys initialization | |
# autoload -U compinit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name Description | |
Peter Norvig Director of Research at Google and author of the standard text on AI. | |
Alan Kay Inventor of Smalltalk. Coined the term "object-oriented programming". | |
Guy Steele Co-inventor of Scheme and part of the Common Lisp Gang of Five. Currently working on Fortress. | |
Donald Knuth Author of The Art of Computer Programming and TeX | |
Gerald Jay Sussman Co-creator of Scheme and co-author of The Structure And Interpretation of Computer Programs. | |
John McCarthy Invented Lisp | |
John Carmack Founder of id Software; lead programmer of Doom, Quake, and others. | |
Dennis Ritchie Invented C and contributed to development of UNIX | |
Joe Armstrong Inventor of Erlang |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#define METRIC_BUFSIZ 8192 | |
int | |
clean_metric(char *metric, char *allowed_chars) { | |
char cleaned_metric[METRIC_BUFSIZ]; | |
char *p, *q, *lastnl; | |
char *firstspace = NULL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <lua.h> | |
#include <lauxlib.h> | |
#include <lualib.h> | |
#include <stdlib.h> | |
int map_create(lua_State *lua); | |
int map_slice(lua_State *lua); | |
int main(int argc, char **argv){ | |
lua_State *lua = lua_open(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BREW_HOME=$HOME/.homebrew | |
$ brew install zookeeper | |
$ C_INCLUDE_PATH=${BREW_HOME}/Cellar/zookeeper/3.3.3/include/c-client-src/ pip install zkpython |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from inspect import isgenerator | |
import re | |
import copy | |
class Dict(dict): | |
""" | |
Dict is a subclass of dict, which allows you to get AND SET(!!) | |
items in the dict using the attribute syntax! |