Skip to content

Instantly share code, notes, and snippets.

Remote employee forever!

Theodoros Ploumis theodorosploumis

Remote employee forever!
Block or report user

Report or block theodorosploumis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
theodorosploumis /
Last active Feb 18, 2020 — forked from dcrystalj/startup.bat
Setup Cron jobs with crontab for Drupal 7.x and 8.x (also how to clear caches)
# Open crontab with nano
# env EDITOR=nano crontab -e
# Examples from
# 0 03 * * 1-5
# */15 * * * *
# 33 * * * *
0 03 * * 1-5 /usr/local/bin/curl "" > /dev/null 2>&1
View Global Composer tools
composer global require maglnet/composer-require-checker
composer global require insolita/unused-scanner
composer global require --dev brainmaestro/composer-git-hooks
composer global require --dev localheinz/composer-normalize
theodorosploumis /
Last active Nov 29, 2019
Install php7 with useful extension on Ubuntu xenial 16.10
sudo apt-get purge php5-common -y
#sudo apt-get install php7.0 php7.0-fpm php7.0-mysql -y
sudo apt-get install -y \
php \
libapache2-mod-php \
php-fpm \
php-mysql \
php-memcached \
php-pear \
theodorosploumis /
Last active Nov 3, 2019
Update phpstorm on Ubuntu linux.
#!/bin/bash -e
# IMPORTANT. My phpstom installation exists on /opt/phpstorm.
# IMPORTANT. Run with sudo!
# Early Access program:
# For stable releases try:
echo -n "Please enter the PhpStorm download url (eg "
read url
# Download file from url

Κανόνες παιχνιδιού κεντρικού παίκτη (midfielder)

  1. Πρέπει ανά πάσα στιγμή να ελέγχει όλο το γήπεδο (γρήγορες ματιές) και να ξέρει που είναι όλοι οι συμπαίκτες και οι αντίπαλοι.
  2. Είναι υπεύθυνος για τον ρυθμό του παιχνιδιού και την συμμετοχή όλων των παικτών στο παιχνίδι (αλλαγές παιχνιδιού, δημιουργα υπεραριθμίας κτλ).
  3. Απλό παιχνίδι (μέγιστο 2 κοντρόλ).
  4. Καλές τοποθετήσεις στον κατάλληλο (κενό) χώρο.
  5. Οι πάσεις του πρέπει να έχουν όσο το δυνατόν καλύτερη ακρίβεια.
  6. Όταν παίρνει την μπάλα με την πλάτη να την επιστρέφει σχεδόν πάντα πίσω.
  7. Οι πάσες προς τα πίσω να είναι 100% σωστές.
  8. Όταν έχει κοντά αντίπαλο δίνει άμεσα πάσα.
View composer_commands.txt
composer outdated -Dm
composer prohibits vendor/package version
composer show vendor/package
composer show vendor/package -a
composer depends vendor/package -t
composer outdated -m
composer outdated
composer update vendor/package --with-dependencies --dry-run
composer require vendor/package:constraint --no-update
composer update vendor/package vendor/package vendor/package
theodorosploumis /
Last active Apr 13, 2019
Get lists of software etc used on a Drupal 8.x site (modules, themes, 3rd party libraries, drupal libraries)
// Get lists of software etc used on a Drupal 8.x site
// Get drupal projects
drush pml --status="enabled"
// Get non core Drupal projects installed
drush pml --status="enabled" --no-core --format="table"
// Get php party libraries
composer show -i
theodorosploumis /
Last active Apr 10, 2019
The Gizra way pricing method

Basic rules

A simple pricing estimation method to avoid cost and time pitfalls. See more at

  • Everyone should understand the "pricing" table (simple naming etc)
  • Split the project to undestandable taks
  • Set max of 12hr for a task (more hr cannot be accurate)
  • Setup a human language for the tasks
  • Create group of tasks with a visible result (eg a webpage, a complete functionality etc)
  • Write zero prices for almost zero time tasks (eg a Drupal login)
  • With Drupal we can split tasks and estimate time is easier because of the architecture of the CMS (menu, entities, fields etc)
theodorosploumis / Vagrantfile
Last active Feb 18, 2019 — forked from anthonysterling/Vagrantfile
Windows IE Vagrantfile
View Vagrantfile
# Usage: IE={box} vagrant up
# Eg. IE=XPIE6 vagrant up
boxes = {
"XPIE6" => "",
"XPIE8" => "",
"VistaIE7" => "",
"Win7IE8" => "",
"Win7IE9" => "",
You can’t perform that action at this time.