Posts | Tags | Archive

How to set up Queen's University Webmail on an iPhone

Before you start, make sure the iPhone is connected to the internet via 3G or WiFi.

  1. Navigate to the main settings screen
  2. Tap "Mail, Contacts, Calendars"
  3. Tap "Add Account..."
  4. Tap "Other"
  5. Tap "Add Mail Account"
  6. Enter your name, the address of the account you want to access ([your NetID]@queensu.ca), your password, and an optional description
  7. Tap "Save"
  8. Tap "IMAP"
  9. Scroll down to "Incoming Mail Server" and enter the following info:
    • Host Name: mail.queensu.ca
    • User Name: [your NetID]
    • Password: [your password]
  10. Scroll down to "Outgoing Mail Server" and enter the following info:
    • Host Name: mail.queensu.ca:465
    • User Name: [your NetID]
    • Password: [your password]
  11. Save and exit.

Good Luck!


Setting up TortiseHg on Windows

TortiseHg can be a bit of a pain to set up if you don't want to haveĀ peagent running in the background all the time for authentication. This method uses TortisePlink (comes with the install) for authentication, and runs it only when it needs to authenticate.

Generating a public/private key pair

  1. Download PuTTYgen and run it.
  2. Generate the key pair by clicking the generate button.
  3. Optionally, enter a passphrase to protect the private key.
  4. Save the public and private keys somewhere. I prefer to save them as id_rsa.pub and id_rsa.ppk in C:/Users/[username]/.ssh/ but it doesn't really matter.

Setting up TortiseHg

  1. Download TortiseHg and install it.
  2. When installing, make sure that SSH Utils are installed.
  3. When it finishes installing, run the program (it'll be called "TortiseHg Workbench" in the start menu).
  4. Configure the settings as you see fit. This will generate a configuration file at C:/Users/[username]/mercurial.ini.
  5. Close the program and open up mercurial.ini in a text editor.
  6. Under the "[ui]" section (if it doesn't exist, create it) add/edit two entries (adjusting for your own custom settings):
1
2
username = [name] <[email]@[domain]>
ssh = "C:\\Program Files\\TortoiseHg\\TortoisePlink.exe" -i "C:\\Users\\[username]\\.ssh\\id_rsa.ppk"

Now all that's needed is to upload the generated public key to the server(s) you wish to pull from or push to.

When asked, just open the key up in a text editor (make sure it's the public key, NEVER share your private key) and copy-paste the text.

After configuring this, you'll be able to push to repositories on the servers you give your public key to, without having to enter your password every time.


Sending a file via a P2P connection in a web browser

Sharefest is a site that allows users to send files of arbitrary size via a P2P connection. To use it, go to the site, select a file to share, then give the link to friend. All they have to do is visit the URL and they'll be able to download the file you shared.

This transfer is directly from your computer to theirs, without the file being uploaded anywhere between. This also makes it easy to stop sharing the file. Just close the browser window and the file becomes inaccessable.

Sharefest is open-source! Check out the code on GitHub.

© Carey Metcalfe. Built using Pelican. Theme is subtle by Carey Metcalfe. Based on svbhack by Giulio Fidente.