View Makefile
test.pdf: test.tex
context $<
.PHONY:
clean:
rm -f test.pdf
View brew-install-opam.txt
$ brew install opam
==> Installing dependencies for opam: ocaml, ocamlbuild, camlp4, gringo
==> Installing opam dependency: ocaml
==> Downloading https://homebrew.bintray.com/bottles/ocaml-4.03.0.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ocaml-4.03.0.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/ocaml/4.03.0: 1,641 files, 173.7M
==> Installing opam dependency: ocamlbuild
==> Downloading https://homebrew.bintray.com/bottles/ocamlbuild-0.9.2.yosemite.bottle.tar.gz
######################################################################## 100.0%
View convert.sh
pandoc --listings \
-H ~/.pandoc/templates/listings-setup.tex \
-f markdown
https://raw.githubusercontent.com/lampepfl/progfun-wiki/gh-pages/CheatSheet.md \
-o CheatSheet.pdf
View style.css
/* @media print {
*/
body {
font-family: "Fira Sans", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: charter, serif;
View reason.txt
=-=- merlin.2.3.1 installed successfully =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
=> merlin installed.
Quick setup for VIM
-------------------
Append this to your .vimrc to add merlin to vim's runtime-path:
let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
Also run the following line in vim to index the documentation:
View reason.txt
=-=- merlin.2.3.1 installed successfully =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 🐫
=> merlin installed.
Quick setup for VIM
-------------------
Append this to your .vimrc to add merlin to vim's runtime-path:
let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
Also run the following line in vim to index the documentation:
View default.nix
# Build a complete build server from one declarative config file.
# 2016/5/1
# install all the software
# run the services
# configure the proper system user?
# configure access to users
# configure access levels?
View filterr.pig
REGISTER /home/pradeep/jars/piggybank-0.12.0.jar;
%DECLARE infile '/home/pradeep/data/infochimps_dataset_4778_download_16677/NYSE/NYSE_daily_prices_A.csv';
%DECLARE outfile '/home/pradeep/data/infochimps_dataset_4778_download_16677/NYSE/tmp.csv';
RMF $outfile;
data = LOAD '$infile'
USING org.apache.pig.piggybank.storage.CSVExcelStorage(',', 'NO_MULTILINE', 'UNIX', 'SKIP_INPUT_HEADER')
AS(exchange:chararray,stock_symbol:chararray, date:chararray, stock_price_open:float,stock_price_high:float,stock_price_low:float, stock_price_close:float, stock_volume:float,stock_price_adj_close:float);
View what-bibtex.md

URL (input):

https://mjg59.dreamwidth.org/40397.html

Zotero exports BibTeX entry:

@misc{mjg59_40397,
	title = {mjg59 {\textbar} {I} bought some awful light bulbs so you don't have to},
	url = {https://mjg59.dreamwidth.org/40397.html},
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.