ali

Posts Tagged ‘windows’

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.
Advertisements

Setting up Git for use with Github on Windows

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

I followed the tutorial here:

http://nathanj.github.com/gitguide/tour.html

  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 git@github.com 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)
    • user.email
    • user.name
    • github.user (perhaps not needed)
    • github.token (perhaps not needed)
  5. Create a README.md file (Github flavored Markdown)
  6. Commit the file and push to remote repository
    • git add README.md
    • git commit -m "Added README" README.md
    • git remote add origin git@github.com:...
    • git push origin master