5.24.2014

copy depot software to single depot file

swpackage -s /path/to/depot -x target_type=tape -d
/tmp/singledepotfile.depot bundle_or_product_name

Where:

-s = source directory path (on depot server)

-d =output file

bundle_or_product_name = bundle / product / patch / depot being
retrieved from the source

4.16.2014

cool way to send sms messages from command line

http://dan.rossiters.org/sms-on-command-line/

seriously cool way to send text messages via command line, a perl script

getting clipboard sync to work across both chromeOS and crouton

http://jeanlouisnguyen.blogspot.com/2014/01/guide-how-to-install-elementary-os-on.html

see the part about installing the chrome extension. I can't find it
by using anything other than the direct link. searching the chrome
web store doesn't turn it up.

direct link:
https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom

3.27.2014

script itanium ILO

to change a large number of itanium ILOs - you will have to create an
"expect" script to power this. You can send ssh command to the ILO
like this:
ssh Admin@iloname.company.com uc -change Admin -password [NEW PASSWORD] -nc

but unfortunately you are still prompted for the ILO password every
connection. Therefore to get this really scripted you need to use
expect.


The cpqlocfg utility only works on the proliant ILOs. I didn't think
there was a difference between the Proliant ILO and Integrity ILOs,
but it seems there is quite a bit.

This kind of explains the options:
http://h50146.www5.hp.com/products/software/oe/hpux/developer/document/pdfs/4AA2-6329ENW.pdf
Scripting Techniques: Integrated Lights Out (iLO & iLO 2) for
Integrity and HP9000 Entry-Level Servers

3.20.2014

determine if samba server has registered with wins server

see if the netbios name or alias gets registered:

/opt/samba/bin/nmblookup -R -U wins-server-name netbios-name-to-check

-U is for the wins server name and the last parameter is the netbios
name you are looking for.

2.17.2014

chromebook / chrome os switch tabs

Three finger swipe to left or right switches tabs in the browser.

2.14.2014

transition from Windows to chromebook keyboards for Chrome remote desktop

transitioning from Windows keyboards to chromebook keyboard is somewhat problematic if you use the windows key when doing chrome remote desktop.

some of this was found by trial and error - others found via the "View Keyboard Overlay":  control + alt + /  somewhere on a native chrome screen.

Here's the deal - on the chromebook keyboard when connected via remote desktop:
the right control key is the "windows" key
use the right control and right alt keys in combination with tab to do the windows "ALT - TAB" sequence
finally to issue the F-keys: use the search key.  For example:  to do a windows ALT-F4 to close an app/window, push this combo:  ALT + search + full screen (or number 4)

Another issue I found was doing page up / page down / home / end keys.  in Chrome Remote Desktop use the search key + right arrow for home ; search + left arrow for end ; search + up for page up ; search + down for page down.

Also to make the remote desktop viewing better I suggest you use "curtain mode" which will require you add the following registry keys and entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"RemoteAccessHostRequireCurtain"=dword:00000001

1.23.2014

openvpn and windows 8 fix for "Route: Waiting for TUN/TAP interface to come up..."

Windows 8 and OpenVPN client - doesn't make a true, successful
connection (can't ping, etc). Typically the log file will show
something like this: "Route: Waiting for TUN/TAP interface to come
up..."

first, be sure to run the gui as Administrator (shortcut properties
"Advanced" button).

The fix is easy, just open the "Network and Sharing Center" (use the
search function if necessary). Just open it and leave it open -
nothing needs to be done inside it. You can minimize it and continue
to work. Disconnect/re-connect openvpn to test. Is strange, but
works - until the bugs in openvpn or the TAP driver is fixed.

1.16.2014

netbackup unix client restore debug log

create a /usr/openv/netbackup/logs/bpcd if it doesn't exist. debug
logs will appear there (not the "status" bplog, but more technical
ones).

10.04.2013

windows 7 error recovery options

bcdedit /set {default} bootstatuspolicy ignoreallfailures

You can crash as often as you like and you will not be prompted for
the Startup Repair.

To restore things to normal, simply issue the following command:

bcdedit /set {default} bootstatuspolicy displayallfailures

this will prevent that "start windows normally" or windows recovery
screen if the machine crashes or whatever - useful for unattended
remote machines.

10.01.2013

disable windows 7 recovery options completely.

from: http://www.sevenforums.com/general-discussion/11336-disable-windows-startup-repair-default-option.html

to prevent the windows 7 recovery options screen from appearing after
a crash, do this:

bcdedit /set {default} bootstatuspolicy ignoreallfailures

You can crash as often as you like and you will not be prompted for
the Startup Repair.

To restore things to normal, simply issue the following command:

bcdedit /set {default} bootstatuspolicy displayallfailures

9.22.2013

find where the path to which vimrc

find the path to where the vimrc is located in the currently running vim session:


use the following commands in vim:

:script
:version

9.12.2013

how to process outlook rules on Lync IM missed conversations

Outlook (at least the 2007 version) will not process rules which might run against Lync IM "missed converation" messages for some reason - probably because it doesn't see them as "incoming" messages and rather "stored" messages.  If you manually run the outlook rule it will process those messages.

So a round-about way of having outlook process rules on those types of messages is to run these rule via a VBS script run by the a scheduled task in windows.  The VBS script you're looking for is here:
http://www.windowsreference.com/ms-office/how-to-schedule-outlook-2007-rules-to-run-at-specific-time/

for constant, UNREAD_MSGS_ONLY see below
'Name Value Description
'olRuleExecuteAllMessages 0 Executes a rule against all messages in the specified folder or folders.
'olRuleExecuteReadMessages 1 Executes a rule against messages that have been read in the specified folder or folders.
'olRuleExecuteUnreadMessages 2 Executes a rule against messages that have not been read in the specified folder or folders.

7.11.2013

view / display / see wireless connections

If you want to remove a wireless access point / connection in windows
8 and you are out of range of it; or you just want to view a list of
the wireless APs you've connected to, you're out of luck if you want a
built-in gui.

There are other options like the netsh wlan command. Here's a good listing:
http://www.thesysadminhimself.com/2012/10/delete-wireless-profile-in-windows-8.html

4.02.2013

boot animations for android

http://androidbootanimation.com

good stuff -- fav:  apple vs andy 

stock ics rom for atrix 2 (mb865)


http://goo.gl/J1gDC.qr

loop android boot sound

in the desc.txt file  if there's a sound listed as indicated by "s filename.ogg"  you can make that sound loop by editing / adding the metadata tags for the ogg file (in audacity or another tag editor). 

the tag name to be added is: "ANDROID_LOOP"  it's value should be "true".

For example: In audacity under file, "open metadataeditor editor", then add the tag above.

There are some other tags I've seen used in ogg files, but none of them made any difference: LOOPSTART  LOOPLENGTH