The Best Heatsink Compound Thermal Paste Grease CPU

Which one is the best – Gold Silver Copper Ceramic Silicone ??

This is a table with thermal conductivity of metals used for thermal greases:

Symbol

Metal

Thermal conductivity [W/(m*K)]

Ag

Silver

429

Cu

Copper

401

Au

Gold

317

Al

Aluminium

237

Sn

Tin

66.7

Pb

Lead

34.9

As you can probably know “All that glisters is not gold”, so if you are looking for the best performance for you PC without overheating go for silver thermal paste. Better thermal conductivity will keep your CPU or GPU at lower and safer temperature.

Comments Off

How to configure the Remote Desktop client to connect to a specific port

The default port is 3389. To change the port number that the Remote Desktop client connects to, follow these steps:

1. Click Start, click All Programs, point to Accessories, point to Communications, and then click Remote Desktop Connection.

2. In the Computer box, type the computer name or the IP address of the computer that you want to connect to, followed by a colon (:) and the port number that you want to use.

For example, to connect to port 3390 on a computer that is named “MyComp,” type the following information:

MyComp:3390

To connect to port 3391 on a computer with IP address 192.168.1.10, type the following information:

192.168.1.10:3391

3. Click Connect.

Tags: , ,

Comments Off

How to change the listening port for Remote Desktop

This post describes how to change the port that Remote Desktop listens on.

  1. Start Registry Editor.
  2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber

  1. On the Edit menu, click Modify, and then click Decimal.
  2. Type the new port number, and then click OK.
  3. Quit Registry Editor.

Tags: , ,

Comments Off

How to Send Email from a PHP Script

Send email from PHP script is extremely easy.

All you need is one function: mail($to, $subject, $body, $headers)

This is an example:

<?php
 $to = "recipient@example.com";
 $subject = "Hi!";
 $body = "Hi,\n\nHow are you?";
 $headers = "From: sender@example.com\r\n"
           . "Cc: ccsender@example.com\r\n"
           . "X-Mailer: php";
 if (mail($to, $subject, $body))
 {
 echo("<p>Message successfully sent!</p>");
 }

 else
 {
 echo("<p>Message delivery failed...</p>");
 }
?>

This is it.

Comments Off

Dos commands to find a username or computername

To get user name in DOS batch use NET CONFIG command

Example #1

C:\net config

Computer name                        \\COMPUTER735
Full Computer name                   HomePC_Desktop
User name                            kris

Workstation active on
NetbiosSmb (000000000000)
NetBT_Tcpip_{CC09707A-A099-457D-BD4F-15F9F783C4C1} (00319B7A4864)

Software version                     Windows 2002

Workstation domain                   DSE
Workstation Domain DNS Name          domain.co.uk
Logon domain                         DSE

COM Open Timeout (sec)               0
COM Send Count (byte)                16
COM Send Timeout (msec)              250
The command completed successfully.

Example #2

If your computer is in the Active Domain system net config can be used for you local pc (Workstation) or for (Server).

C:\>net config
The following running services can be controlled:

Server
Workstation

The command completed successfully.

then to find user name use workstation command:

C:\>net config Workstation

Computer name                        \\COMPUTER735
Full Computer name                   HomePC_Desktop
User name                            kris

Workstation active on
NetbiosSmb (000000000000)
NetBT_Tcpip_{CC09707A-A099-457D-BD4F-15F9F783C4C1} (00319B7A4864)

Software version                     Windows 2002

Workstation domain                   DSE
Workstation Domain DNS Name          domain.co.uk
Logon domain                         DSE

COM Open Timeout (sec)               0
COM Send Count (byte)                16
COM Send Timeout (msec)              250
The command completed successfully.

Example #3

To retrieve only the user name one can use find command, this is an example:

C:\>net config | find “User name”
User name                            kris

Example #4

To save user name in the file “user.txt” use:

C:\>net config | find “User name” > user.txt
or
C:\>net config | find “User name” > %temp%.\user.txt

Example #5

Finally a little bit more sophisticated script for advanced users (save this code in getuser.bat file):

@echo off
SET user=
if not ‘%1==’ goto 2nd
net config workstation | find “User name” > %temp%.\getuser.bat
%temp%.\getuser.bat


:2nd pass
set user=%2
if “%user%”==”" ECHO No User name set
if not “%user%”==”" ECHO User=%user%
del %temp%.\getuser.bat

Then execute above script:

C:\>user.bat

User=kris

Tags: , , ,

Comments Off

Welcome!

Welcome to my blog. My name is Krzysztof KUBIAK and I am researcher in fluid dynamic and Tribology. I will keep this site up to date about the information on Tribology, friction, lubrication, fretting, surface engineering, and fluid dynamic, surface wetting, micro-fluidics, contact angle analysis and fluid flow simulation.

Comments Off