Schedule meetings automatically into Google Calendar with Doodle or Calendly

doodle.com is a well known page for scheduling meetings or making decisions. Its calendar integration is probably less known. Doodle can export a calendar with the dates you have chosen in order to remind you to keep them blocked. When a date is fixed for a query, doodle releases the other dates. You can also add your calendar to doodle to see your availabilities right in the doodle calendar and to use such features as autofill.

If you look for something else, calendly.com is another free service that provides an interface for others to schedule a meeting with you. Dates with concurring events in your Google calendar are automatically blanked out.

 

Recover webpages from your browser cache

Think of the following situation: The database of your Wiki just crashed, you have a backup from a couple of days ago, but what about the pages that have been edited since then?

There is hope, most likely your browser has cached some of the files when you viewed them the last time.

Very important!
Don’t try to access the page because this will overwrite the cached contents.

To recover the cached pages follow these steps:

Firefox:

  1. Go into offline mode by clicking the hamburger icon, developer tools and work offline
  2. Open the page about:cache
  3. Click on “List Cache Entries”
  4. Search for the page you want to recover
  5. Click on the link, this leads you to a page with the hexdump of the compressed file entitled “Cache entry information”
  6. Click on the link to the page here, the page opens with the cached contents, including images
  7. Save your page

Repeat this from step 2 for every page you are interested in. Go back to online mode (hamburger icon, developer tools and uncheck work offline) when done.

Chrome:

  1. Open chrome://cache
  2. Search for the page you want to recover
  3. Click on the link, this leads you to a page with the hexdump of the compressed file
  4. Select all on this page (Ctrl + A) and copy it to the clipboard (Ctrl + C)
  5. Go to this page http://www.sensefulsolutions.com/2012/01/viewing-chrome-cache-easy-way.html
  6. Paste the contents into the textbox on the page
  7. Click “Go”
  8. Click on the link under “Results” to download the cached file. Some browsers block the download of html files because of security concerns, in this case go to downloads and explicitely allow the download of this file

Repeat this for every page you are interested in.

You are welcome.

Turn off ligatures in LateX

Latex ligatures make a fine typesetting, but sometimes you might want to turn them off — for example if people should be aber to copy the text from the pdf document or if you need to export the pdf to a doc.

You can turn off ligatures with the following commands in the preamble of the Latex document:

\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }

Missing fonts when starting X-application on Linux

Recently, I got the following error message when I tried to start an X-application under Linux:

Some fonts seem to be missing in your system, you should install either xfonts-100dpi or xfonts-75dpi and then restart Xorg to get xboard running.

I got this error message despite having the packages xfonts-100dpi and xfonts-75dpi installed. After scratching my head for some time I found the problem: I was running the application via ssh with X-forwarding from a Windows PC. And the Xserver was actually running on Windows, namely the Xming application.
The problem was quickly fixed by downloading the font packages from the Xming page.

Download an entire Web site for off-line viewing with wget

$ wget \
–recursive \
–no-clobber \
–page-requisites \
–html-extension \
–convert-links \
–restrict-file-names=windows \
–domains website.org \
–no-parent \
www.website.org/tutorials/html/

This command downloads the Web site www.website.org/tutorials/html/.

The options are:
–recursive: download the entire Web site.
–domains website.org: don’t follow links outside website.org.
–no-parent: don’t follow links outside the directory tutorials/html/.
–page-requisites: get all the elements that compose the page (images, CSS and so on).
–html-extension: save files with the .html extension.
–convert-links: convert links so that they work locally, off-line.
–restrict-file-names=windows: modify filenames so that they will work in Windows as well.
–no-clobber: don’t overwrite any existing files (used in case the download is interrupted and resumed).

“Ping” a specific port

“Cannot connect to server”, but why?
First diagnosis is usually trying to ping the server, however sometimes it is useful to check if a particular port is reachable from your computer. So these are your tools:
  ping
gives you information if the server is up and on the time a packet needs to travel to the server and back
  nmap -v -A host
scans all open ports on the server and lists them. Useful to check which services are running.
  telnet host port if the port is reachable, the answer looks like this
    Trying 123.123.123.123...
    Connected to filesrv.nes.aau.at.
    Escape character is '^]'.

Instead of telnet, any other terminal program (for example putty) can be used as well.

Telling Eclipse to ignore .svn folders

eclipse usually builds the .class files in a seperate binary folder named bin. Therefore it copies the directory structure and files from the src folders, which means that eventual .svn folders are duplicated in the bin tree, leading to irritation among subversion clients such as TortoiseSVN.

In order to overcome the problem, you can add .svn as a filtered resource. Open the properties dialog for your workspace or for your project, go to: Java Compiler | Building and add “.svn” to the list of ‘Filtered resources:’ under ‘Output folder’.