Tuesday, October 5, 2010

Colorize vim

Use vim instead of vi. If you need help remembering, add a line like alias vi='vim' to your ~/.aliases.

Vim uses a file called ~/.vimrc to pull in settings. Unlike most rc files, vim's uses a double-quote for comments (instead of hash). You probably want something like this:
" settings for vim
syntax on
set background=dark
set ruler

Monday, September 27, 2010

BOB: Pick stuck in PrintPick.exe

Symptom is that Edi_Header.status = 'A' after PrintPick.exe is killed with EndTask in ScheduledJobs.


If you get "Already deducted from inventory and will not print" then

1) Check InvLog in MAINT07 to confirm that each line item WAS deducted from inventory.
2) If all were deducted then continue
3) Set Edi_Header.status = 'P'
4) Use Reprint function in ORDER07 to reprint the pick

Thursday, September 23, 2010

"If you don't let go of your past, you can't gain control of your future"



ClickOnce: Changing the Deployment Server

1.  Deploy application to new server.
2.  Run Mageui.exe and open up the .Application file (old server).
3.  On the name tab (old server), update the version to the same version you just deployed to the new server.
4.  Click on the Deployment options (old server), and update the Start Location to the new server.
5.  Click on Application Reference and choose select manifest (old server)- navigate to the manifest on the new server and select it.
6.  Save - It will ask you your signing options - if you application is signed, simply choose the certificate that you are currently signing with (old server).  The next time the users go to use the application, the update files will come from the new server location.  After they pick up the updates from that new server location at least one time, the old server can be killed and the application will know to look for updates at the new server location.

Automatic email by schedule

http://www.outlookcode.com/d/forms/skedrpt.htm
http://support.microsoft.com/kb/239087

Thursday, July 15, 2010

From an article at
http://lifehacker.com/5583307/top-10-usb-thumb-drive-tricks-2010-edition

Encryption,

Generally, a 'self-destruct' mechanism only gives you a sense of false security. If somebody really wanted your data, they could just as easily copy the entire (encrypted) contents of the drive to somewhere else and work from there.

This is what I do under Linux with flash drives: I have a 16GB drive, so I set up a 12GB and a 4GB partition. The 12GB is unencrypted FAT, so it can be used for quick data syncs, etc. with Windows/Mac/Linux.

I encrypted the 4GB partition with LUKS/dm-crypt (Serpent-XTS).

Now when I plug it in to my Linux machine, the 12GB FAT partition is auto-mounted and I'm prompted for the 4GB partition's LUKS passphrase (which I can ignore and not mount if I like).