Posts Tagged ‘tips’

Install a font using “runas” under Windows

In Uncategorized on January 22, 2010 at 1:46 pm

My Windows account does not have administrator privileges. I used the following recipe to install a font under Windows.

  1. runas /user:Administrator cmd.exe
  2. cp *.ttf c:\windows\fonts
  3. start c:\windows\fonts
  4. When the Fonts folder pops up, select File->Install New Font and browse to the c:\windows\fonts folder.
  5. Pick all the copied fonts, and click OK.

Setting up Git for use with Github on Windows

In Uncategorized on January 15, 2010 at 3:40 pm

I followed the tutorial here:

  1. Download and install msysgit.
  2. Install with the following options:
    • No additional icons.
    • No Explorer integration.
    • Use Git Bash only
    • Use PLink
    • Use Unix style line endings
  3. Go through the following steps to make sure my connection works:
    • Connect using PuTTY to and accept the key
    • Make sure the key is loaded in Pageant
    • See this Github guide if you have issues
  4. Set up Git preferences (see this Github guide)
    • github.user (perhaps not needed)
    • github.token (perhaps not needed)
  5. Create a file (Github flavored Markdown)
  6. Commit the file and push to remote repository
    • git add
    • git commit -m "Added README"
    • git remote add origin
    • git push origin master