Μηνιαία αρχεία: Νοέμβριος 2014


Σταδιοδρομία 2014 – Παρουσίαση “Λειτουργός Πληροφορικής”

Κατεβάστε τη παρουσίαση που προβλήθηκε στις 29 Νοεμβρίου 2014, ώρα 17:50, αίθουσα Α, για  “Λειτουργός Πληροφορικής” εδώ.

[download id=”870″]

[download id=”869″]

Σχετική ανακοίνωση:
——————————–

 Σταδιοδρομία 2014

Το Σάββατο 29 & Κυριακή 30 Νοεμβρίου, 11 π.μ. – 1.30 μ.μ. & 3 μ.μ. – 7 μ.μ., θα πραγματοποιηθεί η Έκθεση Επαγγελμάτων “Σταδιοδρομία 2014” που διοργανώνεται από τον Κυπριακό Σύνδεσμο Καθηγητών Συμβουλευτικής και Επαγγελματικής Αγωγής (ΟΕΛΜΕΚ) με τη στήριξη της Τράπεζας Κύπρου.

Η Έκθεση πραγματοποιείται στα Κεντρικά Γραφεία της Τράπεζας στη Λευκωσία και σ’ αυτήν λαμβάνουν μέρος επαγγελματικοί και επιστημονικοί συνδέσμοι, καθώς και άλλοι φορείς, εκπροσωπώντας όλα τα επαγγέλματα που συναντούμε στον εργασιακό χώρο της Κύπρου.

Μαθητές και γονείς ενημερώνονται για τις προοπτικές κάθε επαγγέλματος και στα ερωτήματά τους απαντούν οι ίδιοι οι εκπρόσωποι των συνδέσμων. Κατά τη διάρκεια της Έκθεσης πραγματοποιούνται και προγραμματισμένες ενημερωτικές διαλέξεις. Σχετικό πρόγραμμα μπορείτε να βρείτε πατώντας εδώ([download id=”862″]).

PRESS AD

Για αυτά και για άλλες νέες πληροφορίες, θα μπορείτε να ενημερώνεστε μέσω του  facebook page Stadiodromia (www.facebook.com/Stadiodromiacy).


HOWTO: Make Terminator Terminal Act Like Guake Terminal in Fedora 20/Ubuntu 14.10 8

We tried to toggle the visibility of the terminator window using the configuration in the ‘Terminator Preferences’ under Keybindings.

But, we could not get the hide_window keybinding to work and so we could not toggle the window visibility with a single key.

After trying other versions of the terminator source which also failed we switched to an alternative solution.

This solution requires two additional packages: xdotool and wmctrl.

In Fedora you can install them using sudo yum install xdotool wmctrl and in Ubuntu using sudo apt-get install xdotool wmctrl

After the installation is complete,  you need to paste the following code in a file and make it an executable.

e.g From a terminal issue nano ~/toggle_visibility.sh, then paste the code and hit CTRL+X to exit. When prompted if you want to save press ‘Y’ and enter.

#!/bin/bash

#The purpose of this script is to allow the user to toggle the visibility of (almost) any window.
#Please note it will work on the first match, so if there are multiple instances of an application it would be a random window of them the one to be affected.

#Checking that all dependencies are met, since we cannot proceed without them.
declare -a DEPENDENCIES=("xdotool" "wmctrl");
declare -a MANAGERS=("yum" "apt-get");

for DEPENDENCY in ${DEPENDENCIES[@]};
do
    echo -n "Checking if $DEPENDENCY is available";
    if hash $DEPENDENCY 2>/dev/null;
    then
        echo "- OK, Found";
    else
        echo "- ERROR, Not Found in $PATH";
        for MANAGER in ${MANAGERS[@]};
        do
            if hash $MANAGER 2>/dev/null;
            then
                echo -n "$DEPENDENCY is missing, would you like to try and install it via $MANAGER now? [Y/N] (default is Y): ";
                read ANSWER;
                if [[ "$ANSWER" == "Y" || "$ANSWER" == "y" || "$ANSWER" == "" ]];
                then
                    sudo "$MANAGER" install "$DEPENDENCY";
                else
                    echo "Terminating";
                    exit -1;
                fi
            fi
        done
    fi
done

APPLICATION="$1";

#Checking if the application name provided by the user exists
if ! hash $APPLICATION 2>/dev/null;
then
    echo -e "$APPLICATION does not seem to be a valid executable\nTerminating";
    exit -2;
fi

#Checking if the application is running. We are using pgrep as various application are python scripts and we will not be able to find them using pidof. pgrep will look through the currently running processes and list the process IDs of all the processes that are called $APPLICATION.
PID=$(pgrep $APPLICATION | head -n 1);

#If the application is not running, we will try to launch it.
if [ -z $PID ];
then
  echo "$APPLICATION not running, launching it..";
    $APPLICATION;
else
    #Since the application has a live instance, we can proceed with the rest of the code.
    #We will get the PID of the application that is currently focused, if it is not the application we passed as parameter we will change the focus to that. In the other case, we will minimize the application.
  echo -n "$APPLICATION instance found - ";
    FOCUSED=$(xdotool getactivewindow getwindowpid);
    if [[ $PID == $FOCUSED ]];
    then
    echo "It was focused so we are minimizing it";
        #We minimize the active window which we know in this case that it is the application we passed as parameter.
        xdotool getactivewindow windowminimize;
    else
    echo "We are setting the focus on it";
        #We set the focus to the application we passed as parameter. If it is minimized it will be raised as well.
        wmctrl -x -R $APPLICATION;
    fi
fi

exit 0

Afterwards, you need to make the script an executable so you should issue chmod +x ~/toggle_visibility.sh to do that.

Then, execute ~/toggle_visibility.sh in your terminal once. We need to do that in order to install any missing dependencies for the tool.

Finally, you need to create a custom shortcut that will call the script using the key combination you like at any point.

For Fedora,

  1. Issue the following in a terminal gnome-control-panel to start the gnome control panel.
  2. In the newly appeared window, click on the ‘keyboard’ icon that is in the category ‘Hardware’.
  3. After that, click on the tab ‘Shortcuts’
  4. and on the left list, click on custom shortcuts.
  5. You will see a button with the + sign, click that.
  6. In the dialog box that will appear enter the following:
    – In the name field enter anything you like. e.g ‘Toggle Terminator Visibility’
    – In the command field enter ‘/home/<USER>/toggle_visibility.sh terminator’ where user enter your own username.
    – Click apply.
  7. You will see a new row with two columns with the name you just set in the first column. Click on the second column, where it should say ‘Disabled’ and the press the key combination you want for toggling terminator e.g F12

For Ubuntu, go to System Settings and follow the same procedure after step 2.

You are ready to go 🙂

Just try the key combination you just provided and terminator will appear in front of you. Pressing it once more it will hide it.


Travel Advisory for the 104th IEEE Region 8 Committee Meeting, Limassol – 28-29 of March 2015 3

This page contains the travel advisory information for the 104th IEEE Region 8 Committee Meeting to be held in Limassol on 28-29 of March 2015.

Air Travel

Cyprus (Larnaca and Paphos airports) can be reached by several major international airlines from European gateway cities. From North America, travelers can break up the journey in the European city of their choice or elect to keep connection time to a minimum. Popular gateways include London, Paris, Amsterdam, Athens, Frankfurt, Zurich, Helsinki, Rome, Dubai etc. In addition, Cyprus Airways provides regular daily flights from many Major European and Middle Eastern gateways.
If you need any assistance with flight itineraries and fares, please contact the Meeting Secretariat.

Legal Points of Entry

Larnaca Airport is the most popular point of entry in Cyprus and is located less than 60 km (around 36 miles) from the Four Seasons Hotel. Paphos Airport is located less than 70 km (around 43 miles) from the Four Seasons Hotel. The alternative option is the Limassol Harbor, which is has easy access to the hotel. These are the only legal points of entry which are situated in the area under the effective control of the Government of the Republic of Cyprus. Entry into the territory of the Republic of Cyprus via any other airport or port on which the Government of the Republic does not exercise effective control (Turkish military occupied areas) is illegal.

Airport Transfers

From either airport there are shuttle bus services to transfer you to the station in Limassol and from there you can take a taxi to your hotel of residence. The cost of the bus is €9.00 per way from both airports. You may view the timetables of the airport shuttle bus services here. In addition, taxis are always available at both Airports for your transfer to Limassol. The cost for a 4-seated taxi from Larnaca Airport to Limassol is approximately €55.00 per taxi per way and from Paphos Airport approximately €65.00 per taxi per way. Please note the prices for taxis vary depending on the time of arrival. If you wish to pre-book a taxi prior to your arrival, please contact the meeting secretariat.

  • From Larnaca Airport, the shuttle “Limassol Airport Express” stops near tourist area (not far from the meeting venue) and at St. George Havouzas. From there you will need to take a taxi to the hotel and the ride takes around 5’ and 15’, respectively [attachment Limassol Airport Express – LARNACA]
  • From Paphos Airport, the bus stops at St. George Havouzas. From there you will need to take a taxi to the hotel and the ride takes around 15’ [attachment Limassol Airport Express – PAPHOS]
  • From the Limassol Harbor to the hotel you may take a taxi (10’–15’) or a single route by Bus-30 (around 15’) [attachments of EMEL bus route map & bus 30]

Travelling Documents

Travelling to Cyprus is very easy. The documentation required varies, depending on your nationality. A valid passport is required for a stay of up to 90 days for all bonfire tourists except citizens of European Union countries, Switzerland, Iceland, Liechtenstein and Norway who may enter Cyprus with their national identity card provided it bears a photo. Some non-EU third country nationals require a visa. Further detailed information can be obtained from the Cyprus Ministry of Foreign Affairs. List of countries whose citizens do NOT need a visa for a stay of up to 90 days.

Letter of Invitation

Delegates requiring a letter of invitation in order to attend the meeting may write to the Meeting Secretariat specifying the necessary details. Please note that this procedure aims at assisting the delegates who need to obtain a visa or permission to attend the meeting.

Four Seasons Hotel – the  Meeting Venue

The prestigious independently owned and operated Four Seasons Hotel lies on a sandy beach east of Limassol approximately midway between the airports of Larnaca and Pafos and only a few minutes drive from the city centre. This five-star resort is the pinnacle of luxury & style, combining impeccable facilities with world class hospitality and service that you can take a peek at using the interactive virtual hotel tour.

Limassol Maps

Limassol Map 01 Limassol Map 02

The following online map contains a lot of additional information http://geomatic.com.cy/visitcyprus/

Climate

Cyprus enjoys a Mediterranean climate with long dry summers from mid-May to mid-October and with mild winters from December to February, which are separated by short autumn and spring seasons. See Cyprus Weather for more details.

Month of year

March

April

Temperature Highs (°C)

16.7

19.2

Average air temp. (°C)

15.9

18.7

Temperature Lows (°C)

14.8

18.0

Average Wind speed (kts)

11

10

Dominant Wind direction

West

West

Precipitation (mm)

12.5

15.6

Language

Greek is the official language. English and Russian are widely spoken in Limassol. French and German are also spoken within the tourism Industry.

Currency / Banking Hours / Credit Cards

The currency of the Republic of Cyprus is the Euro (€). Banking hours for the public: Monday-Friday 08:00 – 13:30. There are many Automated Teller Machines (ATMs) outside most branches of banks in all towns and in the main tourist resorts. Hotels, large shops and restaurants normally accept credit cards and traveler’s checks. Banknotes of major foreign currencies are also acceptable.
Rates of exchange are published daily in the local press and are broadcasted via the media.

Tipping

Because of the 10% service charge levied in hotels and restaurants, a tip is not obligatory, but small change is always welcome.

Electrical Power Utilities

The supply in Cyprus is 230 Volts, 50 Hertz. Sockets are 13 Amperes (although most adaptors allow only 10 Amperes) BS 1363 three-pin rectangular plugs and sockets. Many hotels provide adaptors upon request from the reception.

BS 1363 three-pin 02 BS 1363 three-pin 01

Chemist Pharmacies / Drug Stores

They stay open during shopping hours. For information about open pharmacies during non-working hours, please check the daily papers or on-line.

Additional information for Airport Transportation via Limassol Airport Express

  • Limassol Airport Express
    Tickets as seen on 22 of November 2014:
    – Adults (€9)
    – Children 3-12 years old (€4)
    * First child travels for free
  • Service contact information
    +357 77 777075 (Land Line)
    +357 25 338767 (Land line)
    +357 97 779090 (Mobile phone)
    [email protected]
  • Itineraries
    For Larnaca airport ([download id=”810″] Copy retrieved on 22 of November 2014)
    Guests need to stop at the Elias Hotel bus station to transfer to local bus (number 30 or 31) until Four Seasons Hotel.
    For Paphos airport ([download id=”812″] Copy retrieved on 22 of November 2014)
    From Paphos airport, the Limassol Airport Express stops only at St. George Havouzas church. The guests from Paphos might want to take a taxi to the Four Seasons Hotel because it requires three local buses to reach it.
  • Click here for Frequently Asked Questions (FAQ) / More Useful information

More information on Public Transportation

 Cyprus Tourism Organization

The official website of the Cyprus Tourism Organisation provides comprehensive information on the major attractions of Cyprus, complete with maps, an updated calendar of events, a detailed hotel guide, downloadable photos, a travel planner to help you organise your trip to Cyprus and suggested itineraries. You will also find a list of tour operators covering Cyprus, information on conferences and incentives and a wealth of other useful information.

Visit http://www.visitcyprus.com for more information

Interesting reading material about Cyprus

  • ([download id=”1039″] Copy retrieved on 24 of December 2014)
  • ([download id=”1034″] Copy retrieved on 24 of December 2014)

Map


Create a sortable ‘Modified Date’ sortable column for posts and pages in wordpress admin area 7

2016-07-14: Post updated to support both pages and posts without redundant/useless code

Paste the following in the functions.php file of your theme:

// Register the column for modified date
function bf_post_modified_column_register( $columns ) {
    $columns['post_modified'] = __( 'Modified Date', 'mytextdomain' );
    return $columns;
}
add_filter( 'manage_edit-post_columns', 'bf_post_modified_column_register' );
add_filter( 'manage_edit-page_columns', 'bf_post_modified_column_register' );

// Display the modified date column content
function bf_post_modified_column_display( $column_name, $post_id ) {
    if ( 'post_modified' != $column_name ){
        return;
    }
    $post_modified = get_post_field('post_modified', $post_id);
    if ( !$post_modified ){
        $post_modified = '' . __( 'undefined', 'mytextdomain' ) . '';
    }
    echo $post_modified;
}
add_action( 'manage_posts_custom_column', 'bf_post_modified_column_display', 10, 2 );
add_action( 'manage_pages_custom_column', 'bf_post_modified_column_display', 10, 2 );

// Register the modified date column as sortable
function bf_post_modified_column_register_sortable( $columns ) {
    $columns['post_modified'] = 'post_modified';
    return $columns;
}
add_filter( 'manage_edit-post_sortable_columns', 'bf_post_modified_column_register_sortable' );
add_filter( 'manage_edit-page_sortable_columns', 'bf_post_modified_column_register_sortable' );

When you refresh http://<Your Domain>/wp-admin/edit.php or http://<Your Domain>/wp-admin/edit.php?post_type=page the ‘Modified Date’ column will be visible and sortable.