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{venndiagram2sets}[tikzoptions={scale=0.5}] | |
\fillA \fillB | |
\end{venndiagram2sets} |
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
public void forward(int[] intarray, int pointer) { | |
System.out.println(intarray[pointer]); | |
if (pointer < intarray.length-1) { | |
forward(intarray, pointer + 1); | |
} | |
} | |
public void backward(int[] intarray, int pointer) { | |
if (pointer < intarray.length-1) { | |
backward(intarray, pointer + 1); |
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
# install wine and ltspice | |
sudo apt-get install wine | |
# sudo pacman -S wine | |
cd /tmp/ | |
wget http://ltspice.linear-tech.com/software/LTspiceIV.exe | |
wine LTspiceIV.exe | |
rm LTspiceIV.exe | |
# start lstpice through wine | |
wine ~/.wine/drive_c/Program\ Files/LTC/LTspiceIV/scad3.exe |
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
# replace all "-" with "0" in test2 | |
sed -i -e 's/-;/0;/g' -e 's/-$/0/g' test2 | |
# replace all "-" with "0" in all files in local directory | |
for i in *; do sed -i -e 's/-;/0;/g' -e 's/-$/0/g' $i; done | |
# replace all "-" with "0" in all files in all subdirectories | |
for i in */*; do sed -i -e 's/-;/0;/g' -e 's/-$/0/g' $i; done | |
# replace all "-" with "0" in all *.csv files in all subdirectories |
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
for i in *; do cd $i; echo $i; git shortlog -s -n; cd ..; done |