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
git clone https://github.com/Homebrew/brew.git | |
export PATH=${HOME}/brew/bin:${PATH} |
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
BEGIN{ | |
if (ARGC != 2) { | |
print("This script takes exactly two parameter. 1: name of node, 2: number of hops"); | |
exit(1); | |
} | |
void reduce_in(graph_t _g, node_t _n, edge_t _e, int _d){ | |
_e = fstin(_n); | |
while (_e != NULL) { | |
clone(_g, _e); |