How to Make Windows 7 Search File Contents
http://www.wikihow.com/Make-Windows-7-Search-File-Contents
1. Click the Start button and in the search box at the very bottom type "search" then choose the result "Change How Windows Searches"
2.
2
Choose the "Advanced" button just below the list of indexed locations.
3.
3
Activate the "File Types" tab in the Advanced Options window.
4.
4
After windows populates the file type list, locate the extension that you want it to look into in the future.
* If the extension is not listed, enter your desired file extension, such as ".php" into the input box at the bottom and click Add.
5.
5
Once your extension is highlighted, change the indexing property to "Index Properties and File Contents" and click OK, close the Indexing options.
6.
6
Try your search again and your expected results will appear.
Friday, February 19, 2010
Monday, January 18, 2010
[work] miktex repository
make a local repository directory
for example, localtex
put two files in the folder
miktex-zzdb1-2.6.tar.bz2
miktex-zzdb2-2.6.tar.bz2
download the necessary packages for local installation
http://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/
for example, localtex
put two files in the folder
miktex-zzdb1-2.6.tar.bz2
miktex-zzdb2-2.6.tar.bz2
download the necessary packages for local installation
http://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/
Saturday, January 16, 2010
[work] ruby search convert files
require 'find'
require "FileUtils"
require "ftools"
def pfm2exr(dirname)
sum=0
Find.find(dirname) do |f|
if(f[f.length()-4..f.length()]==".pfm")
puts f
fnew=f[0..f.length()-4]+"exr"
cmdline="D:/proj/pfm2exr/Release/pfm2exr.exe -in \""+f+"\" -out \""+fnew+ "\" -precision 1"
puts cmdline
system("#{cmdline}")
puts "delete"+f
File.delete(f)
end
end
sum
end
if ARGV.length != 1
puts "ruby pfm2exr.rb\n"
Process.exit
end
dir=ARGV[0]
pfm2exr(dir)
[work] ruby time
oldtime=Time.now
for i in 0..18000
a=Math::cos(0.2)
#puts "hahahhee"
end
puts Time.now-oldtime
Monday, January 4, 2010
Monday, December 21, 2009
[Work] Ruby, check directory folder existence
if File.exists? path_out
puts path_out+" exists"
else
# puts path_out+" doesn't exist"
Dir.mkdir(path_out)
end
Wednesday, December 16, 2009
Subscribe to:
Posts (Atom)