-
components should be silent when on the road, noisy when manufacturing
- log/printf for debugging as you develop
-
use testing to help eliminate noise as your components are built
- look at test output, when everything reads PASS, everything should be quiet. That means no more remaining log/printf output!
-
good unit tests help eliminate noise; less noise = more coverage!
This file contains 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 perl | |
# Inspired by one of my favourite Canadian cryptographer Tom St. Denis: | |
# | |
# This code is hereby placed in the Public Domain: | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# | |
# -- nnathan |
This file contains 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
import sys | |
import os | |
c = get_config() | |
# per-virtualenv history (for Python 2.x) | |
if hasattr(sys, 'real_prefix'): | |
venv_name = os.path.basename(sys.prefix) | |
c.HistoryManager.hist_file = os.path.join( | |
os.path.dirname(__file__), 'history-{}.sqlite'.format(venv_name) |
Just a collection of useful math resources, books, and collections I've found useful.
This book was suggested to me by Professor Howard G. Tucker at UCI
- Foundation of Analysis - Edmund Landau: https://www.amazon.com/Foundations-Analysis-AMS-Chelsea-Publishing/dp/082182693X
This file contains 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
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-surround' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'tpope/vim-sleuth' |
ftd aims to be a tool for drawing text-based diagrams in the same vein as OmniGraffle, Visio, and Monodraw. It should provide a UI that is WYSIWYG and should be "pixel perfect."
- Must be cross-platform and support Desktop Linux/Windows/Mac. The UI must be consistent across all platforms.
- Must be released in source and binary form as public domain (i.e. prevent crippling from the bondage of licensing).
This file contains 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 <linux/init.h> | |
#include <linux/module.h> | |
#include <linux/workqueue.h> | |
#include <linux/proc_fs.h> | |
/* proc shit */ | |
#define PROCFS_NAME "hellowq" | |
static struct proc_dir_entry *hellowq_file; | |
static struct file_operations hellowq_proc_ops; | |
static char hellowq_buf[1024]; |
This file contains 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
late night alumni - empty streets | |
solarstone & clare stagg - jewel (daniel kandi remix) | |
andain - what it's like (sneidjer remix) | |
vast vision - behind your smile (suncatcher remix) | |
bjorn akesson - castle technology | |
alex m.o.r.p.h - eternal flame | |
Above & Beyond - No one On Earth (Gabriel and Dresden Remix) | |
Yuri Kane VS Armin & Sharon - Right Back... and Love (Soulplay Extended Mash) | |
rank 1 & alex morph - and then | |
rank 1 - opus 17 |
This file contains 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
/* | |
* See queue(3) or https://www.freebsd.org/cgi/man.cgi?query=queue&sektion=3 for reference. | |
*/ | |
#include <stdio.h> | |
#include <sys/queue.h> | |
struct Pattern { | |
char name[100]; | |
/* Following expands to: |
OlderNewer