A little something about everything

internet marketing and website development made simple..

How to generate a self signed PEM file on windows using IIS.

First if you have not already install the IIS role on your windows system.

Open IIS and choose the top level folder(your server) then choose Server Certificates

Now choose Create Self Signed Certificate from the far right

friendly name should be the DNS name of the device you need to create the pem file for, then choose ok.

Now open the certificate manager on your system, to do this run mmc

File > Add/Remove snap-in

Choose Certificates > Add > Computer account > Next > Local computer > Finish > OK

Now expand the certificates folder you create the cert in, by default this is Personal > Certificates.

right click on the certificate you created and choose all tasks > export > next > No, > next > Base-64 > next > 

pick a file name


Now, you can rename the .cer file to .pem and that's it you're done.

Vertical alignment of a menu using pure css

Many methods for this are workarounds or hacks that break other elements or don't work on some browsers. However, you can do this quite simply using flex.

For example:


 <div id="menubox">
  <ul id="menu">
   <li>menu item 1</li>
   <li>menu item 2</li>
   <li>menu item 3</li>


#menubox {
 flex-direction: column;
#menu {
 margin: auto 0;


Unable to access UNC server address from remote location | Logon failure: the user has not been granted the requested logon type at this computer.

This can be one of the most frustrating errors because your UNC path may work from some computers but not others. If you are receiving this error the following steps should solve the issue.

Go to Control Panel

  • change the view by to small icons
  • select "User Accounts"
  • select "Manage your credentials"
  • select "Windows Credentials"
  • then "Add a Windows Credential"


Now enter your UNC server and share path for example: \\UNCServer\SharedFolder 

Username and password, then click OK.

Now you should be able to access your UNC share from the windows explorer shell.

Chain sharpening instructions for DeWalt DCCS670X1 Chainsaw

  1. For best results use a 4.5 mm file and a file holder or filing guide to sharpen your chain. This will ensure you always get the correct sharpening angles.
  2. Place the file holder flat on the top plate and depth gauge of the cutter.
  3. Figure W- Keep the correct top plate  19  filing angle line of 30° on your file guide parallel with your chain (file at 60° from chain viewed from the side).
  4. Sharpen cutters on one side of the chain first. File from the inside of each cutter to the outside. Then turn your saw around and repeat the processes (2, 3, 4) for cutters on the other side of the chain. NOTE: Use a flat file to file the tops of the rakers (portion of chain link in front of the cutter) so they are about .025" (.635 mm) below the tips of the cutters as shown in Figure X.
  5. Figure Y- Keep all cutter lengths equal.
  6. If damage is present on the chrome surface of the top plates or side plates, file back until such damage is removed.
  7. The raker guide should be filed to .025"(.635mm)

You can use oregon off the shelf bar and chain or dewalt branded ones.

Here are the dewalt branded models:

  • Bar: 16” service part number 90641855 18” service part number N500117
  • Chain: 16” service part number 90618541 18” service part number N500152

Ref: https://hybrisimages.toolcommerce.com/documents/English/Instruction%20Manual/N499324,DCCS670.pdf