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
ssh ngrid01 "find /scratch/yluo/ -name 'power*log'" |
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{algorithm2e} | |
\SetKwFor{ForEach}{for each}{do}{endfch}%separate foreach with a space | |
\SetArgSty{textrm} %do not automatically use italic in arguments | |
\DontPrintSemicolon % Some LaTeX compilers require you to use \dontprintsemicolon instead | |
%\NoCaptionOfAlgo %using this to not print the bold Algorithm in caption, usful in inline algo explainations | |
\KwIn{input} | |
\KwOut{output} | |
\Return{return value} | |
\caption{caption} | |
\label{algo:label} |
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
\SetKwFor{ForEach}{for each}{do}{endfch} |
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
rsync -avz --remove-source-files /sourcedir user@host:/targetdir |
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{pgfpicture} | |
\pgftext{\pgfimage[width=4cm,height=3.5cm]{scratch.png}} | |
\end{pgfpicture} |
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
<html> | |
<!-- http://stackoverflow.com/questions/3338123/how-do-i-recursively-delete-a-directory-and-its-entire-contents-filessub-dirs --> | |
<head> | |
<title>PHP Test</title> | |
</head> | |
<body> | |
<?php echo '<p>Hello World</p>'; ?> | |
<?php | |
function rrmdir($dir) { |
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 it.unimi.dsi.webgraph.*; | |
import java.io.File; | |
import java.io.FileWriter; | |
/** | |
* Created by yluo on 6/13/2014. | |
* webgraph: http://webgraph.di.unimi.it/ | |
* | |
* output format: node [children] |
NewerOlder