- https://unix.stackexchange.com/questions/126630/creating-diagrams-in-ascii#126638'
- http://search.cpan.org/~tels/Graph-Easy/bin/graph-easy
https://www.cheatography.com/weidadeyue/cheat-sheets/jupyter-notebook/
The IPython Notebook has two different keyboard input modes. Edit mode allows you to type code/text into a cell and is indicated by a green cell border. Command mode binds the keyboard to notebook level actions and is indicated by a grey cell border.
Apple has released support for bootcamping Windows 10, but only on 2012 Macs and later. Despite not being supported. it is possible to install Windows 10 on earlier iMacs and it seems to run quite well.
IMPORTANT: Unplug all external and physical hard drives (where possible) that you won't be installing to to avoid accidentally erasing them. Also make note of which drives and partitions remain (e.g. System and Storage hard drives), and be super careful to not erase the wrong one.
RECOVERY: If you nuke your machine, restore your time machine backup. Instructions here.
# ANDROID / ECLIPSE | |
# built application files | |
*.apk | |
*.ap_ | |
# files for the dex VM | |
*.dex | |
# Java class files |
- Setup:
git clone <repo-url>
git branch -m master vendor
#check configurations
git config --get-regexp 'branch.vendor.*'
#master will contain customizations
git checkout -b master
#reading 1000 random 4k blocks from first 16GB of a disk | |
time for i in `seq 1 1000`; do | |
dd bs=4k if=/dev/sda count=1 skip=$(( $RANDOM * 128 )) >/dev/null 2>&1; | |
done | |
#References: | |
# https://unix.stackexchange.com/questions/65595/how-to-know-if-a-disk-is-an-ssd-or-an-hdd | |
# https://serverfault.com/questions/551453/how-do-i-verify-that-my-hosting-provider-gave-me-ssds/551495#551495 |
git clone git@github.com:Benjamin-Dobell/Heimdall.git | |
cd Heimdall | |
mkdir build | |
cd build | |
cmake -DDISABLE_FRONTEND=ON -DCMAKE_BUILD_TYPE=Release .. | |
LIBRARY_PATH=/usr/local/lib make | |
#References: | |
#https://raw.githubusercontent.com/Benjamin-Dobell/Heimdall/master/Linux/README |
git fetch --all
git reset --hard origin/master
git pull origin master
We could simply set the SIGCHLD signal to be handled by SIG_IGN (ignored), and based on POSIX.1-2001 it will clean up the terminated child process.
struct sigaction sa;
sa.sa_handler = SIG_IGN;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
if (sigaction(SIGCHLD, &sa, 0) == -1) {
perror(0);
exit(1);
}
#Apache Hadoop Quick Start Guide
This content was originally prepared for the course CMPUT 681 - Parallel and Distributed Systems at the University of Alberta (Fall 2016):
https://www.ualberta.ca/computing-science/graduate-studies/course-directory/courses/parallel-and-distributed-systems
Obtain latest stable Hadoop release: https://hadoop.apache.org/releases.html