Total Pageviews

Showing posts with label admin. Show all posts
Showing posts with label admin. Show all posts

Thursday, February 16, 2012

How to install your OEM certificate on Windows 7


  • Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  • Click OK.
  • At a command prompt, type the following command, and then press ENTER:
  • slmgr.vbs -ilc oem-cert.xml
See Also:

Sunday, February 12, 2012

Remote desktop to Windows 7 (or Windows 2008 server) which requires Network Level Authentication using freeRDP

FreeRDP is a free, open source implementation of the RDP protocol, according to the Microsoft Open Specifications. It is released under the Apache License and is available on OS X, Cygwin for Microsoft Windows, FreeBSD, Linux, Solaris.

As of January 2012, FreeRDP adds support for Network Level Authentication. You can then use FreeRDP to connect to Windows 7 or Windows Server 2008 which requires NLA by default.

Note: freeRDP is commonly used on Linux. Since
To install freeRDP on Ubuntu Linux:
  • sudo add-apt-repository ppa:freerdp-team/freerdp
  • sudo apt-get update
  • sudo apt-get install freerdp
To use freerdp to connect to a remote Windows machine:
xfreerdp --plugin cliprdr -g 1024x768 -k no -u {username} -d {domain} {remote-windows-machine}

Sunday, November 20, 2011

Switch to HEX edit mode using VIM

  • Enter hex edit mode:
    %!xxd
  • Exit hex edit mode:
    %!xxd -r

Re-map HOME END keys on Mac OS

Edit ~/Library/KeyBindings/DefaultKeyBinding.dict:


"\UF729"  = "moveToBeginningOfLine:";                   /* Home         */
"\UF72B"  = "moveToEndOfLine:";                         /* End          */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:";       /* Shift + End  */

See also


Saturday, November 12, 2011

DOKUWIKI: modify arctic template to support mobile devices

1. Create arctic_mobile.css. The aim of the mobile CSS is to : 
  • Reduce all margins and paddings. 
  • Remove all float (right or left). There will be only one collumn with sidebar in the bottom. 
  • Maximize the width of the div.
body {
  margin: 0.1em;
}
 
div#wrapper {
  width: 98%;
  padding: 0.1em;
}
 
div.dokuwiki div.right_sidebar, div.dokuwiki div.left_sidebar {
  float: none;
  width: 99%;
}
 
div.dokuwiki div.right_page, div.dokuwiki div.left_page {
  padding: 0;
  width: 99% !important;
}
 
div.dokuwiki div.toc {
  float: none;
  width: 99%;
  margin: 0.1em;
}

2. Modify main.php
 
<meta name="HandheldFriendly" content="true" />
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no" />
<link rel="stylesheet" media="only screen and (max-device-width: 599px)" type="text/css" href="<?php echo DOKU_TPL?>arctic_mobile.css" /> 
Orgin from: http://blog.slucas.fr/en/oss/dokuwiki-arctic-mobile