To disable a plugin in Google Chrome type chrome://plugins/ in the address bar (sometimes also called omnibox). A page with all plugins will be displayed and you can disable them easily by just clicking the “Disable” link.
Jan
08
Spell Checker in Axosoft OnTime
It seems that Axosoft does not intend to implement spell checker in the Windows client for OnTime Scrum Project Management Software. There is however a solution for the problem: AutoHotkey and "AutoCorrect for English" script.
- Download AutoHotkey from http://www.autohotkey.com/
- Download "AutoCorrect for English" script for AutoHotkey from http://www.autohotkey.com/download/OtherDownloads.htm.
- Install AutoHotkey.
- Double click AutoCorrect.ahk file in the file manager of your choice to run the script.
- You will get a small H icon in the Windows Tray area. If you right click it you will get a popup menu that allows you to edit or reload the script, suspend hotkeys, etc.
- Open OnTime if it is not running yet and start typing. If you make a mistake the AutoCorrect script will automatically fix it for you.
The "AutoCorrect for English" script corrects about 4700 common English misspellings on-the-fly (wherever you type them) via hotstrings. It also includes a Win+H hotkey to make it easy to add more corrections for misspellings (see the screenshot below). Of course you can also edit the script manually with a regular text editor. The good thing is that the script will also work in other applications (Notepad, etc.).
I cannot recommend using AutoHotKey enough for other purposes also because it is truly very powerful and useful tool that can save you lots of keystrokes and mouse clicks.
Jan
06
How can I get information about digital signatures of all files in the folder?
The following PowerShell code snippet allows you to get information about digital signatures of all files in a specific folder:
Get-ChildItem *.* | foreach-object {Get-AuthenticodeSignature $_}
All you have to do is start PowerShell, go to the folder you want to check and run the command.
Oct
12
How can I delete records from MS SQL Server database using Python?
The following code will delete all records from table in database on server.
import win32com.client
connectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=database;Data Source=server;"
query = "delete from table;"
con = win32com.client.Dispatch('ADODB.Connection')
con.Open(connectionString)
con.Execute(query)
con.Close( )
Note: This code works on Windows only. You will also need to install excellent Python for Windows extensions (pywin32) by Mark Hammond from http://sourceforge.net/projects/pywin32/.
Sep
28
How can I restart Windows service with Python?
First you need to install excellent Python for Windows extensions (pywin32) by Mark Hammond from http://sourceforge.net/projects/pywin32/.
Then you can use the following code (that will restart the Print Spooler service).
import win32serviceutil serviceName = "spooler" win32serviceutil.RestartService(serviceName)
Note: this code was tested with Python 2.7 and version 216 of the pywin32 extensions.
Feb
03
How can I get application’s directory in a WPF application?
string appPath = AppDomain.CurrentDomain.BaseDirectory;
Jan
26
Cannot convert lambda expression to type ‘string’ because it is not a delegate type
When you get the “Cannot convert lambda expression to type ‘string’ because it is not a delegate type” error in Visual Studio 2010, all you have to do is add
using System.Linq;
to the top of the source file.
Jan
20
Unhandled Error in Silverlight Application 2104
When you get the error
Message: Unhandled Error in Silverlight Application Code: 2104 Category: InitializeError Message: Could not download the Silverlight application. Check web server settings
when you try to deploy your Silverlight application you have to register MIME type in your IIS 7:
Extension: .xap
MIME Type: application/octet-stream
At least that is what it worked for me.
Dec
28
Look What I Found #5
PDFsharp: .NET library for creating and processing PDF documents on the fly.
SSH.NET: .NET 4.0 library for SSH client protocol.
MailSystem.NET: suite of .NET components with support for SMTP, POP3, IMAP4, NNTP, MIME, S/MIME, OpenPGP, DNS, vCard, vCalendar, Anti-Spam (Bayesian , RBL, DomainKeys), Queueing, Mail Merge and WhoIs.
Json.NET: makes working with JSON formatted data in .NET simple.
PunyPNG: Free website optimization tool that dramatically reduces the file size of images without loss of quality.
Smush.it: Remove unnecessary bytes from image files.
Dec
28
Free books from Microsoft Press
Microsoft Press offers several e-books free of charge.
For developers
Programming Windows Phone 7, by Charles Petzold
Moving to Microsoft Visual Studio 2010, by Patrice Pelland, Pascal Paré, and Ken Haines
Parallel Programming with Microsoft .NET, by Colin Campbell, Ralph Johnson, Ade Miller and Stephen ToubIntroducing Microsoft SQL Server 2008 R2, by Ross Mistry and Stacia Misner
Microsoft Application Architecture Guide, 2nd Edition, by Microsoft Patterns & Practices Team