Tuesday, December 22, 2009
"hiding" a file in windows
/B” is for binary. By adding this mark, you append [file] binary mode to the end of the new JPG.
a jpg viewer will only read the length indicated in the file header and ignore the rest, displaying the file as normal. By appending the extra data, the jpg's new file size will be the sum of the original jpg and the new file appended to it.
from:webfreebies4u.boggspot.com
Sunday, December 20, 2009
Alcatel CMD
Use to add a static route
Alcatel CMD
- copy working certified
- copy flash-synchro
Use after making configuration changes to save those changes.
Apple Mail DB re-index CMD
March 3rd, 2007 · View commentsComments
Tim Gaden of Hawk Wings fame (and formerly of APC X-Factor fame, sniffle) has documented an excellent tip to speed up Apple Mail.
It involves optimising the SQLite database Apple Mail uses to store indexes and subject lines of emails.
You can check your current 'envelope archive' size by entering this in the terminal:
ls -lah ~/Library/Mail/Envelope\ Index
Then to optimise it (cleans out stuff that has been marked for deletion but not actually deleted, defragments the structure, etc):
sqlite3 ~/Library/Mail/Envelope\ Index vacuum;
Then check your envelope archive size again to see the results…
ls -lah ~/Library/Mail/Envelope\ Index
It compacted my envelope archive down from 55MB to 50MB — not a huge increase, but the speed difference was dramatic.
In particular, my 'sent mail' folder which had been taking 10 – 15 seconds to open (8,000 items) now only takes two or three seconds.
Read the full post and many informative comments here.
Twitpic RSS
netbackup CMD's
First you need to make sure that there are no valid images on the tape that you want.*
NetBackup\bin\admincmd\bpimmedia -mediaid
If there are no images that you need, expire the tape:*
NetBackup\bin\admincmd\bpexpdate -m
This expires the images in the media database which resides specifically on the media server.
Verify that the images have been expired by re-running:*
NetBackup\bin\admincmd\bpimmedia -mediaid
Now make sure that the tape is deleted from the volume manager on the master server. This step is automatically run by Veritas twice a day, and if you have used bpexpdate the tape will be removed but you can force it to take effect immediately:*
volmgr\bin\vmquery -m
This gets some information on the tape such as its assigned date, pool number and status. If the status is anything other that 0x0, that issue needs to be resolved first – The most likely issue is a Frozen tape – IT must be unfrozen before you deassign it.*
To unfreeze a tape:*
NetBackup\bin\admincmd\bpmedia -unfreeze -m
If the tape was suspended you can replace -unfreeze with –unsuspend
If you are unsure which media server the tape belongs to:*
NetBackup\bin\admincmd\bpimmedia -L -mediaid
This step will deassign and remove the volume images.*
Volmgr\bin\vmquery -deassignbyid
Finally delete the tape:*
volmgr/bin/vmdelete -m
* Snagged from www.tek-tips.com
AD CMD info query
list user create date
dsquery * domainroot –d [domain name] -limit 0 -filter "(&(objectCategory=Person)(objectClass=User))" -attr sAMAccountName name whencreated userAccountControl > c:\adUserCreateDate.txt
list user set no expire
dsquery * domainroot –d [domain name] -limit 0 -filter "(&(objectCategory=Person)(objectClass=User)(userAccountControl:1.2.840.113556.1.4.803:=65536))" -attr sAMAccountName name > c:\adUserPasswordNoExpire.txt
list user set disabled
dsquery * domainroot –d [domain name] -limit 0 -filter "(&(objectCategory=Person)(objectClass=User)(userAccountControl:1.2.840.113556.1.4.803:=2))" -attr sAMAccountName name > c:\adUserSetDiabled.txt
Live Spaces
I have read that MS is constantly undercutting themselves by dropping whatever is in place for the "hot" new thing the company wants to promote and from a customer perspective, that seems to have happened with spaces when bling went live. Prior to bling, to get to my spaces account I just went to www.live.com and logged in. That would take me to my account area and I was good to go. Currently, www.live.com redirects to www.bling.com and logging in does not take me to my live account page. Currenlty, I have to search for spaces on bling to reach my area.
I found out that www.live.com was re-branded my.live.com on 9/25/09. That is great but where was the email alerting me of this change? Where was the communication with the customer?
Yes, I was able to create a custom URL for my blog but that process was not self evident from the live help pages and did not diffuse my frustration with the whole live experience.
As a result, I am re-branding to "tech notes and miscellany" and will migrate my live blog entries to here. Hopefully Blogger isn't going anywhere...
