:::: MENU ::::

Monthly Archives / December 2014

  • Dec 22 / 2014
  • 0
Google Agenda

Create a repeating event on last day of each month on Google Calendar

There is no easy way to make an event repeating on last day of each month with Google Calendar. So here is a simple trick to pass through this and get an event repeating on the last day of each month.

Open a simple text editor with a new file (with Notepad for example, it’s efficient!) and write this in:

You will need to change these parameters:

  • DTSTART/DTEND: The date (start/end) of the first event
  • SUMMARY: The name of the event
  • DESCRIPTION: The description of the event
  • BYDAY: You can choose whether the last business day or not by letting/dropping the SU and SA entries (for Sunday and Saturday

Save the file as “calendar.ics” and close it.

Right now, to include this recurring event:

  1. Go on your Google Calendar page
  2. On the left panel, click on the arrow near  “Other Calendars” and click on “Import calendar
  3. You will be asked for a file, choose the one you’ve just created (calendar.ics)
  4. Choose also the calendar you want to use to add the entries (you can create a new calendar or use an existing one)
  5. Click on “Import

Your event will now appear on the last day of each month (28, 29, 30 or 31st) depending on the month!

  • Dec 19 / 2014
  • 0
Python

Tools Center opening – URL Screenshot Online

I’m glad to announce the opening of the BG Go Further Tools Center right there: BG Go Further Tools Center

You will find some projects I’m working on such as the first project:

URL Screenshot Online – The ability to perform screenshot of your favorite websites without any tool, only using a form and/or an API to integrate it in your own website 😉 ! Some cache mechanisms will allow you to optimize requests when asking for a screenshot already performed (very useful in case of high traffic website for example!)

201412191044_f55e5aae145ce6b872d2088bec11415f_crop

Feel free to send me any feedback!

  • Dec 18 / 2014
  • 0
Linux

Testing SMTP server using telnet (whether with authentication or not)

You can need to perform testing with your SMTP server and see if you are able to send mail with it.
You have your domain name, and you want to check if mail server is answering properly?

1. Check the mail server with DNS entries

We first need to find the right DNS entry for MX record and know what is the mail server.

2. Open connection to mail server (default ports 25,587)

We will now open a telnet connection on the mail server we just found. Port to use can be different depending on the configuration of the server mail.

The answer can change depending on the mail engine used, this is just an example.

3. Send an email with or without authentication

In case of there is no authentication needs (an open smtp server), just perform:

If the server requests an SSL/TLS authentication before being able to send mail, you will probably need to use openssl library as telnet does not support TLS by default (you will get an error on STARTTLS command).
You will also need to prepare the credentials by encoding them in base 64:

Once you got this, you can open connection and request mail sending as following:

Notice that if the mail server doesn’t allow SMTP relay, you won’t be able to send a mail to another domain that the ones that this server is allowing. In that case, you will get an error as:

That means you will only be able to send mail to an “@mydomain.com” mail address and not to any other.

  • Dec 07 / 2014
  • 0
Google Agenda

Unsubscribe from birthdays calendar on Google Calendar

To unsubscribe from the Birthday’s calendar, here is the process:

  1. Click on the arrow in left panel besides Other calendars and choose Browser interesting calendards
  2. Go to the More tab
  3. On line Birthdays, click on Unsubscribe at the right of the ligne
  • Dec 02 / 2014
  • 0
Linux

Testing an ISO or an USB bootable drive with QEMU

If you want to test an ISO image or a bootable USB drive you just prepared, you can do it very easily thanks to QEMU with a simple command-line. Obviously, you will need to install the QEMU package first so you can use it. For example on a Debian-based distribution:

For USB drive testing, plug the USB key and get the name of device (checking dmesg if necessary and ensure that the drive is not mounted automatically). Afterwards you can launch:

For ISO testing, just get the path of your ISO image and launch:

It will launch an emulator with 1G RAM (-m option). As it’s emulated, there is a lot of things that won’t work and I recommend you to use this only for simple testing purposes (no network access or usb port enabled by default for example). All of these can surely be configured with a more complete command-line, but I invite you to read full QEMU documentation for doing that.

Here you go 😉 !

Question ? Contact