Monday, January 31, 2011

Assign shortcut key to strikethrough font in Word

1. Press Ctrl+D or choose Font from the Format menu. (If you are using Word 2007, press Ctrl+D or click the Home tab of the ribbon, then click the small control at the bottom-right of the Font group.) Word displays the Font tab of the Font dialog box. (Click here to see a related figure.)
2. Hold down Alt+Ctrl and, at the same time, press the plus sign on the numeric keypad. The mouse pointer turns into a clover symbol.
3. Click on the Strikethrough check box in the Font dialog box. (As you move the mouse pointer to get ready to click, the mouse pointer may change back to an arrow instead of a clover; this is OK.) When you click, Word displays the Customize Keyboard dialog box with the insertion point blinking in the Press new Shortcut Key box. (Click here to see a related figure.)
4. Type whatever shortcut key you want to use for the strikethrough format. Just hold down whatever combination of the Alt, Ctrl, and Shift keys you want, and then press the desired key to go with that combination. If the combination is already taken, that information shows just below the Customize Keyboard dialog box, and you can then change to a different shortcut key. (A good combination to consider is Alt+Shift+S or Ctrl+Alt+S, neither of which are used in a default installation of Word.)
5. Click the Assign button. The shortcut key is now assigned to apply strikethrough formatting.
6. Click Close to dismiss the Customize Keyboard dialog box.
7. Click Cancel to dismiss the Font dialog box.

Wednesday, January 5, 2011

DotNetNuke Install Notes
From webinar http://www.dotnetnuke.com/Resources/Training/InstallingDotNetNuke/tabid/1604/Default.aspx
My Configuration:
- Windows Vista Ultimate 64 bit
- IIS 7.0
- DotNetNuke version 5.6 Community Edition
- SQL Server 2008 R2 Express 64 bit
DotNetNuke Preinstallation
- Install IIS 6.0+ (7.0 is what I am running)
- Install .Net framework 3.5+ (I have 2.0 upto 4.0 installed)
- Install SQL Server Express 2008 R2 from http://www.microsoft.com/express/Database/
-- Remember to install 64-bit version if that is your computer/server type.
-- Make sure to install the package that includes management studio
DotNetNuke FileSystem Setup pt. 1
- Download latest edition of dotnetnuke from: dotnetnuke.com
- Download community ediition install package
- After download is complete move install package to desktop
- Right click the install package and click “unblock” on the bottom of properties. Otherwise windows will block some dotnetnuke files that you will need for the install.
- Unzip it
- Create a folder here: C:\inetpub\wwwroot\DotNetNuke
- Copy and paste the contents of the unzipped folder to C:\inetpub\wwwroot\DotNetNuke
- Cut and paste the unzipped folder to C:\Program Files (x86)\DotNetNuke_Community_05.06.00_Install (this is just for storage and backup in case you make a mess of the C:\inetpub\wwwroot\DotNetNuke). Also handy in case you upgrade you can easily go back to an old version if the upgrade doesn’t work.
- Note: file system permissions still need to be setup, but we will do this after we perform the webServer setup.
DotNetNuke WebServer Setup
- Start->run->inetmgr
- Create new application/virtual directory. Under Connections expand down to sites and right click on defaultwebsite and select Add Application.
-- Alias = dotnetnuke
-- ApplicationPool = DefaultAppPool
-- Physical Path = C:\inetpub\wwwroot\DotNetNuke
DotNetNuke FileSystem Setup pt. 2
- Right click on = C:\inetpub\wwwroot\DotNetNuke
- Security Tab, click edit (to add a new user), click Add, and do the following:
- Add User
-- IIS AppPool\DefaultAppPool (if windows 7)
-- NETWORK SERVICE (if Vista)
-- Local Machine, not Domain
- Assign Modify Permissions
- Note: we couldn’t do this in pt.1 because we hadn’t setup the AppPool in IIS yet. A point only for windows 7. In Vista we could have done it in part 1.

DotNetNuke Database Setup
- Watch the webinar for how to perform to full version of SQL Server. Basic difference is that you’ll need to create the database (empty, the wizard has scripts to populate it) and associate it with a SQL Auth user account. DotNetNuke Installation Wizard will setup the database automatically using SQL Server Express.

DotNetNuke Installation Wizard
- Browse to http://localhost/dotnetnuke
- Step through typical installation (use default settings)
-- SQL 2008 Express
-- Type in database field = Database.mdf
-- Select integrated security
- Configure Host Account: (Super User)
-- Username = host, password = plus
-- SMTP Server leave blank/anonymous
- Configure Portal Account (admin of website)
-- Username = admin, password = plus
- You should now see “start building your new site!”
Ending note: to make a website external he briefly describes arround 1:02 of the webinar.

Sunday, January 2, 2011

windows script to recursively delete svn folders

The following adds a "delete svn folders" command to your right-click folder options. I found it to be very useful.

1.) make a new text file on your desktop, copy and paste the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""


2.) save, then rename the file extension to .reg

3.) double click to add it to your registry