Nisses blog

Slå mig, älska mig

Archive for February, 2010

How to connect Outlook 2003 to a domino mail account

I’m not a big fan of Notes and I wish to use Outlook at my new job. So I did some google search and found a connector and a registry hack that you need to do before installation.

Step 1.
Modify the registry
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Options\General]
“UnknownRowsSortOrder”=dword:00000001

Step 2.
Go to http://www.microsoft.com/downloads/details.aspx?FamilyId=8EBBBA59-5F17-4E52-8980-C4F0DFA92D65&displaylang=en
download and install.

Step 3.
Start your Notes client and then start outlook. Create  a new account and choose “Additional Server Types“. Then choose “Microsoft Office Outlook Connector for IBM Lotus Domino“. Click finish and then you are ready to use Outlook instead of Notes

posted by Nisse in Technical and have No Comments

Ringtones to your Iphone

I’m one of those who got a new Iphone for my self as a present when I got a new job. The thing is that i’m a fan of spotify and not of Itunes so I don’t pay for my mp3 songs. The issue here is that you can’t take a song from your itunes library and make it the ringtone. You need to buy that song from Itunes.

I found a webbsite called audiko.net where you can make your own songs or download songs already made by other users.

Download the songs form audiko.net and then open them in Itunes. Sync with your Iphone and voilá!

posted by Nisse in Technical and have No Comments

Clear all connections to a Micrsoft SQL Server(MSSQL)

Sometimes you need to clear allt he connections to the database in order to make som changes to it. I guess that there is a lot of way doing this but this one suites me.

USE master;
GO
ALTER DATABASE [databaseName]
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
GO
ALTER DATABASE [databaseName]
SET MULTI_USER;
GO

 

Found it on this site

posted by Nisse in Technical and have No Comments

Progressbar in C# with backgroundworker

I’m developing a application where there are some time consuming database activity and I need to show the user that the application is running and not crashed. You would also want the GUI thread to be free so the user can move the window and navigate the menus.

I found a blog with a simple example of how you can use a backgroundworker for this. *

posted by Nisse in Code and have No Comments

Facebook build their own PHP compiler and server

I’m one of those who use Facebook more or less daily and I’m always amazed about the speed and availability of facebook. They are using PHP. If Facebok is running PHP on their site it says alot of PHP and the power of this small and simple language. Combine this with cache it’s one of the best languages for the web.

I read an article on their developerblog about how they have changed the way they serve all users. Facebook have deloped a PHP compiler and named it HipHop. Simple way of explaining this is that it compiles PHP to C++ and then runned as a webserver.

Go read more about this

Technorati-taggar: ,,

facebook

posted by Nisse in OS and have No Comments

Inside a botnet. Pushdo.

I found an interesting article on an simple but very functional botnet on Trend Micro’s website. Bellow is the links for all parts.

Part 1
Part 2
Part 3
Part 4
Part 5

They are quite short so you should read them all.

posted by Nisse in Uncategorized and have No Comments