On my defense I don't have a collection of shoes to begin with, so I usually wear the pair of shoes for quite some time until they are worn out or unacceptably stinky. The shoes I wear for volleyball are worse. I sweat a lot just by walking. You can imagine how would that be after three-hour running and jumping from volleyball. I would like to know very much how I can keep my pair of shoes from smelling too bad but still be able to wear pretty much everyday. I have done a few research and found this post on Yahoo answers.
I'll copy paste here in case the url expires for some reason.
The Original Post:
Labels
About Me
Wednesday, December 31, 2014
Saturday, December 13, 2014
Lenovo Y50 with Windows 8.1
I have recently purchased this new computer and would like to start up a journal to record the changes I have made since day 0.
Dec 11:
Got the computer from UPS in the morning
Started the initial setup but stuck after everything was ready, did a hard reboot and everything seemed to be working OK
Installed Google Chrome, Daemon Tool Lite 4
Originally wanted to install Ubuntu alongside Windows but this is too complicated and video card might not work properly so decided to install Ubuntu using Virtual Machine.
Dec 12:
Debated on which Virtual Machine to use, VM Ware or Virtual Box and settled on Virtual Box since it's free and tend to use less source from the hosting OS.
Installed Virtual Box
Downloaded Ubuntu 14.04 64 bit
Downloaded IDL 8.4 which I use for my graduate research
Uninstalled McAfee, Nitro Pro and more since they are not free and I can find free alternatives Installed Avast Free AntiVirus
Set up the Virtual Machine for Ubuntu 14.04 using fixed size 300 Gigabytes which takes around 2 hours and disk 0 activity at almost 100% which might not be a good idea but I will use Ubuntu as my main working system
Dec 13:
Installed Ubuntu using the allocated 300 Gigabytes space, 50 G for root \, 16 G as swap disk, and the rest for \home.
Installed IDL 8.4
Installed Sogou Pinyin Input
Installed MikTeX
Installed BaiduYunpan
Dec 14-18:
Installed GSView, GVim, CubicExplorer, Mendeley Desktop, SumatraPDF, Microsoft Office 2013, MPC, SSH Client, Winrar, Xming
Dec 11:
Got the computer from UPS in the morning
Started the initial setup but stuck after everything was ready, did a hard reboot and everything seemed to be working OK
Installed Google Chrome, Daemon Tool Lite 4
Originally wanted to install Ubuntu alongside Windows but this is too complicated and video card might not work properly so decided to install Ubuntu using Virtual Machine.
Dec 12:
Debated on which Virtual Machine to use, VM Ware or Virtual Box and settled on Virtual Box since it's free and tend to use less source from the hosting OS.
Installed Virtual Box
Downloaded Ubuntu 14.04 64 bit
Downloaded IDL 8.4 which I use for my graduate research
Uninstalled McAfee, Nitro Pro and more since they are not free and I can find free alternatives Installed Avast Free AntiVirus
Set up the Virtual Machine for Ubuntu 14.04 using fixed size 300 Gigabytes which takes around 2 hours and disk 0 activity at almost 100% which might not be a good idea but I will use Ubuntu as my main working system
Dec 13:
Installed Ubuntu using the allocated 300 Gigabytes space, 50 G for root \, 16 G as swap disk, and the rest for \home.
Installed IDL 8.4
Installed Sogou Pinyin Input
Installed MikTeX
Installed BaiduYunpan
Dec 14-18:
Installed GSView, GVim, CubicExplorer, Mendeley Desktop, SumatraPDF, Microsoft Office 2013, MPC, SSH Client, Winrar, Xming
Friday, December 10, 2010
Thursday, December 2, 2010
Useful Linux Commands
1. tar - tape archive and gzip - gnu zip
Creating a tape archive:
tar -cf archive.tar myDirectory/
Note - using the "v" flag prints out extra messages, as verbose mode, though it's not related to extracting files.
Listing the contents of an archive:
tar -tf archive.tar
It is generally a good idea to preview the contents of tape archives before unpacking them. This can become a serious problem if you are currently root, and the archive just happens to jump out of the current directory, and write over some important system files.
Extracting all files from an archive:
tar -xf archive.tar
To extract just partial pieces from the archive, supply a file or directory name after the archive name. You can list as many as desired here, separated by spaces.
tar -xf archive.tar filename
This is a gnu utility that is used to compress/decompress a file. Generally, if there is a set of files to compress, they will be sent through tar first to create a single file.
Compress:
gzip archive.tar
Decompress:
gunzip archive.tar.gz
Creating a tape archive:
tar -cf archive.tar myDirectory/
Note - using the "v" flag prints out extra messages, as verbose mode, though it's not related to extracting files.
Listing the contents of an archive:
tar -tf archive.tar
It is generally a good idea to preview the contents of tape archives before unpacking them. This can become a serious problem if you are currently root, and the archive just happens to jump out of the current directory, and write over some important system files.
Extracting all files from an archive:
tar -xf archive.tar
To extract just partial pieces from the archive, supply a file or directory name after the archive name. You can list as many as desired here, separated by spaces.
tar -xf archive.tar filename
This is a gnu utility that is used to compress/decompress a file. Generally, if there is a set of files to compress, they will be sent through tar first to create a single file.
Compress:
gzip archive.tar
Decompress:
gunzip archive.tar.gz
How to Print non-contiguous pages in Leopard's Preview
One of the handy new features in the OS X 10.5 version of Preview—I’m pretty sure this is 10.5-only, at least—is the ability to selectively print pages directly from Preview. While you can use the Print dialog in any program to print one or a range of pages, you can’t use it to print a non-contiguous selection of pages—say pages two, four and five, and nine. But using Preview, you can do just that.
Open your multi-page PDF in Preview, hold down the Command key, and click on each page you’d like to print. With more than one page selected, the File - Print menu item changes to read File - Print Selected Pages. Choose that, or just press Command-P, and you’ll print the selected pages.
This trick proves really useful when printing Web pages. When I want to print something from the Web, I always first print it to a PDF, to see how it’s going to look, because some Web sites don’t print well at all. But once you’re in Preview, there’s no access to the Print dialog; if you click the Print button, the print job starts. By using the Command-click trick, you can choose exactly which of the site’s pages you’d like to print, right from Preview.
But what if you want to print just one page from the Web site? You might think you could Command-click on that one page and select Print…but that won’t work. With just one page selected, Preview will revert to printing the entire document. If you had access to the Print dialog, this wouldn’t be a problem…but because you printed to a PDF, you don’t.
The solution? Hold down Command and click on every page except the one you want to print, then hit Command-Delete. This will delete the selected pages, leaving just the one page you want to print. Please note that if you’re doing this on a file you’ve saved, you do not want to save the changes you’ve made—if you do, the pages you deleted will be gone for good! (But really, in the case of a saved document, you should just use the Print dialog to specify the one page you want to print.)
So the next time you need to print a non-contiguous range of pages—or just one page from a Web site—in Preview, use the Command key to get the (print) job done.
Sources:http://www.macworld.com/article/137760/2008/12/printsomepages.html by Rob Griffiths
Open your multi-page PDF in Preview, hold down the Command key, and click on each page you’d like to print. With more than one page selected, the File - Print menu item changes to read File - Print Selected Pages. Choose that, or just press Command-P, and you’ll print the selected pages.
This trick proves really useful when printing Web pages. When I want to print something from the Web, I always first print it to a PDF, to see how it’s going to look, because some Web sites don’t print well at all. But once you’re in Preview, there’s no access to the Print dialog; if you click the Print button, the print job starts. By using the Command-click trick, you can choose exactly which of the site’s pages you’d like to print, right from Preview.
But what if you want to print just one page from the Web site? You might think you could Command-click on that one page and select Print…but that won’t work. With just one page selected, Preview will revert to printing the entire document. If you had access to the Print dialog, this wouldn’t be a problem…but because you printed to a PDF, you don’t.
The solution? Hold down Command and click on every page except the one you want to print, then hit Command-Delete. This will delete the selected pages, leaving just the one page you want to print. Please note that if you’re doing this on a file you’ve saved, you do not want to save the changes you’ve made—if you do, the pages you deleted will be gone for good! (But really, in the case of a saved document, you should just use the Print dialog to specify the one page you want to print.)
So the next time you need to print a non-contiguous range of pages—or just one page from a Web site—in Preview, use the Command key to get the (print) job done.
Sources:http://www.macworld.com/article/137760/2008/12/printsomepages.html by Rob Griffiths
Tuesday, July 20, 2010
How To Config the Default Settings for VI editor
1. create a file named .exrc in your home directory
2. config your settings in this file
And you are good to go
2. config your settings in this file
And you are good to go
Monday, July 19, 2010
Procedures and Functions
1. fitexy:
Syntax - fitexy, x, y, A, B, X_SIG=sigx, Y_SIG=sigy, [sigma_A_B, chi_sq, q, TOLERANCE = ]
Subscribe to:
Posts (Atom)
