If you want to set outlook to follow the ISO week you need to make the following changes: Outlook 2007 and previous Tools-> Options…-> button Calendar Options… Outlook 2010 File-> section Options-> section Calendar Set the following Options:First day of week: Monday First week of year: First 4-day week
I was looking at getting the house wired for Ethernet. I do not have any major requirements at the moment, I do not intend to stream HDMI over the network :). About as bad as we get is streaming from the media centre to an extender (XBox 360) which is around 1.5Mb for a HD stream. I found out about MoCA and did some research, from what I could tell it would meet all my requirements, better still I did not need to get anything re-wried as we have points at every place in the house that I wanted a network outloet. I picked up 2 of them which gave me 4 points, I now have a nice stable network (Wireless N was spotty when streaming from my Media Centre to the XBox 360) which allows me to stream and move my server to a out of the way location in the house. It does not have the same capabilities as a fully wired Cat6 network but for my needs it works a treat!
I know this is not the most secure way to store credentials but it works and is simple to manage. I use this when I need creds stored for accessing web based resources. To use it run the following: [code lang=“ps”] #To set Credentials Set-MyCredential -File c:\temp\thecreds.dat #To get Credentials $creds = Get-MyCredential -User domain\user -File c:\temp\thecreds.dat function Set-MyCredential($File) { $Credential = Get-Credential $credential.Password | ConvertFrom-SecureString | Set-Content $File } function Get-MyCredential($User, $File) { $password = Get-Content $File | ConvertTo-SecureString $credential = New-Object System.Management.Automation.PsCredential($user,$password) $credential } [/code]
[caption id="" align=“alignright” width=“132” caption=“Photo by alancleaver_2000”][/caption] I have been meaning to upload this for a while. I use the Time Management App from An App A Day site. I have modified it a bit from the source, as it is GPL I have released my variation with source. It uses click once for deployment and modified the loging a bit. Go to the app tracker page to get it.
Here is Version 1.1 of the script, it has some logging and I have tried to make the config simpler. I use OneNote more and more in my daily work. I wanted to have the ability to make a journal function accessible from anywhere. Goal:To be able to hit Win+J and have OneNote open the right page and date and time stamp the entry. Outcome: When I hit Win+J it opens OneNote at the right week (I have one page per week with the heading of Week 1, Week 2, …, Week 52) goes to the end of the entry and inserts a line and then makes a check box with the date and time as the value. This allows me to simplify my weekly review as it is hard to miss a checkbox with a date in it. Also it now has the start as a ever increasing number so the tasks are soreted in the list for review time. I also created a second function Ctrl+Shift+Alt+Win+J which makes 52 pages in OneNote (You need to have the section open that you want the pages created in) for the journal. Configuration: You will need to modify the OneNote Url in the code. This is at the top of the file. OneNoteJournalSection := “onenote:< PATH TO SECTION STORING WEEKLY PAGES >” Example: Using a Windows Live SkyDrive synced path. This will open the local copy of the OneNote file. OneNoteJournalSection := “onenote:https://wh7jutsd.docs.live.net/fac74a8d9c9b9a9c9d/%5e.Documents/My%20Journal/2011%20Journal.one” Code: [code lang=“autohotkey”] ; Goes to the week in OneNote for the journal. ; Created by Jon Bullen (http://blog.sytone.dev) ; Leave a comment on the site if you have issues. ; V1.1 ; Added logging and set default to the ISO week. Play with number if you need to shift the week number. ; ; V1.0 ; - Inital Version to the World ; ; #SingleInstance force #NoTrayIcon ; ; Set the path below to the section containing the week pages. ; OneNoteJournalSection := “onenote:PATH_TO_SECTION_STORING_WEEKLY_PAGES” ; ; If you need to offset the week modify the offset below. ; JournalWeekOffset := 1 #j:: ; ——————————————————————————————— ; You should not have to modify anything below here.. I said should :) ; OneNoteUrl := OneNoteJournalSection . “#Week%20” FileRecycle, %A_ScriptFullPath%.log FormatTime, TimeString , , hh:mm:ss StringRight, WeekNumber, A_YWeek, 2 FileAppend, %TimeString% WeekNumber: %A_YWeek% `n, %A_ScriptFullPath%.log FileAppend, %TimeString% WeekNumber: %WeekNumber% `n, %A_ScriptFullPath%.log ;StringReplace, WeekNumber, WeekNumber, 0, ,All FileAppend, %TimeString% WeekNumber: %WeekNumber% `n, %A_ScriptFullPath%.log ; Allows you to offset the week if needed. ;FWIW… I found a solution for Win7 in this old thread: http://www.autohotkey.com/forum/topic991.html ;HKEY_CURRENT_USER\Control Panel\International\iFirstWeekOfYear WeekNumber := WeekNumber + JournalWeekOffset FileAppend, %TimeString% WeekNumber: %WeekNumber% `n, %A_ScriptFullPath%.log FileAppend, %TimeString% FullURL: %OneNoteUrl%%WeekNumber% `n, %A_ScriptFullPath%.log Run, %OneNoteUrl%%WeekNumber% ; Generate Date and Time Stamp FormatTime, TimeStringShort,, yyyyMMddHHmmss FormatTime, TimeStringLong,, dddd MMMM d, yyyy HH:mm:ss WinWaitActive, Week %WeekNumber% - Microsoft OneNote Sleep, 500 SendInput, ^{End} SendInput, ^{End} Sleep, 500 SendInput, {Enter}{Enter} SendInput, ———————————————– Sleep, 500 SendInput, {Enter} SendInput, ^1 SendInput, (%TimeStringShort%) %TimeStringLong% SendInput, {Enter} return ; Create all the weeks in the year in the current section. ; To use this Create a new section on OneNote ; Click in the title of the first untilted page. ; Press Shift+Ctrl+Win+Alt+J and it will make the pages. #+!^j:: ;Run, %OneNoteUrl% Loop, 52 { SendInput, ^n SendInput, Week %A_Index% Sleep, 300 } return [/code]
I use AutoHotKey for automation, I needed to make a link to the Libraries in Windows 7 as they hold all my info in one place now. To do this just use the following line. [code lang=“autohotkey”] Run, “%A_AppData%\Microsoft\Windows\Libraries\Documents.library-ms” [/code] Replace Documents with the library name.
I use OneNote more and more in my daily work. I wanted to have the ability to make a journal function accessible from anywhere.
**Goal :**To be able to hit Win+J and have OneNote open the right page and date and time stamp the entry.
Outcome: When I hit Win+J it opens OneNote at the right week (I have one page per week with the heading of Week 1, Week 2, …, Week 52) goes to the end of the entry and inserts a line and then makes a check box with the date and time as the value. This allows me to simplify my weekly review as it is hard to miss a checkbox with a date in it. I also created a second function Ctrl+Shift+Alt+Win+J which makes 52 pages in OneNote (You need to have the section open that you want the pages created in) for the journal.
I wanted to use the SqlConnectionStringBuilder object in the SqlClient area but was having issues accessing the properties. The Object itself is just a collection with a key value structure.
To access the keys use the following PowerShell code:
Case Converter was made when I wanted the text to display in a WPF UI in upper case. Probably not the best class name, but anyway. To get the code and install read on. Make any UI string uppercase. Once you have registered the resource and created the class just use the converter in the element you want converted.
Add the following element to the XAML, usually in Window.Resources and ensure that you have registered your namespace for local to the namespace of your application. e.g. xmlns:local=“clr-namespace:ExampleApp”
When running SharePoint locally it is a good idea to control the memory usage of SQL. To do this use the SQL query below. [code lang=“sql”] sp_configure ‘max server memory’, 1024 RECONFIGURE GO [/code] A good article that goes through some of the areas you need to look at in relationship to memory is located at: http://www.eraofdata.com/blog/2008/10/sql-server-memory-configuration/