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
find [foldername]/ -type f |
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
//Preload images ("yes" or "no"): | |
var preloadimg="yes" | |
//Set optional link target to be added to all images with a link: | |
var optlinktarget="" | |
//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+: | |
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)" | |
if (preloadimg=="yes"){ |
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
#!/usr/bin/env bash | |
cat <<'RUBYEOF' > /tmp/textmate-command-$$.rb | |
begin | |
require 'rubygems' | |
require 'closure-compiler' | |
true | |
rescue LoadError | |
false |
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
<h1>HTML tag test</h1> | |
<p>HTML 4.01 tags, examples and what they look like.</p> | |
<h2>Text tags</h2> | |
<p>Paragraph with text</p> | |
<p>Paragraph with <b>bold text</b></p> | |
<p>Paragraph with <strong>strong text</strong></p> | |
<p>Paragraph with <i>italic text</i></p> |
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
awk -F, '{x = substr($3,8); print $1","$2","20x","$3","$4","$5","$6 }' file.csv > output.csv |
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 `ls *.jpg`; do convert -resize 50% -quality 80 $i conv_$i; done |
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
history | grep whatever |
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
sed -n '1~3p' file.txt | |
sed -n '2~3p' file.txt | |
sed -n '3~3p' file.txt |
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
awk '{print $1}' file.csv | sort | uniq | grep '^[^; ]' > output.txt |
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
convert image.gif image_%d.gif |