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 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 /
Created May 27, 2016
Print versions of software installed. Useful for README.txt, CHANGELOG.txt etc. Mainly for Drupal.
#!/usr/bin/env bash
# Print versions of installed software
# bash /scripts/ >> /SOFTWARE.txt
# Print distribution info
echo -e "-----------------------------------\n"
echo -e "$(uname -a)"
echo -e "---------------------------------- \n"
# Print date created
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 \
View rsync_drupal_files.txt
# Run this on 'From' server
rsync -avz --progress \
--exclude=styles --exclude=ctools --exclude=css --exclude=js --exclude=xmlsitemap \
-e 'ssh -i ~/.ssh/SOME_PUBLIC_KEY' USERNAME@HSTNAME:/from/dir/ /to/dir/
theodorosploumis / dockr
Created Apr 9, 2016 — forked from nir0s/dockr
dockr - some useful docker shortcuts
View dockr
# add yourself to the docker group
# useradd -G docker USERNAME
# then you can enjoy this (for instance)
# dockr get logstash_container ip - to get the ip of the container
# or
# dockr stop last - to stop the last container you ran
# or
# dockr rmi none - to remove all <none> images
theodorosploumis /
Last active Mar 22, 2016 — forked from kyleskrinak/
Database dump for Drupal. Use "drupal-quick-dump <db_user> <db_host> <database_name> D8"
# usage: drupal-quick-dump user host database D8 ("D8" is optional)
# remember to chmod u+x
BOLD="$(tput bold)"
RED="$(tput setaf 1)"
GREEN="$(tput setaf 2)"
MAG="$(tput setaf 5)"
RESET="$(tput sgr0)"
View drush_commands_list.txt
// Get table of enabled modules with versions
drush pml --type=module --format=table --no-core --status=enabled --fields="name,version"
// Install Drupal site
drush site-install standard --db-url=mysql://<user>:<pass>@localhost:<port>/<database>
// Download project and add git commit messages on info.yml
drush dl <module_name> --package-handler=git_drupalorg --gitinfofile --destination=modules/contrib
theodorosploumis / Singularitygs + Breakpoint + Compass with Gulp
Created Jan 8, 2016
Singularitygs + Breakpoint + Compass with Gulp
View Singularitygs + Breakpoint + Compass with Gulp
This is how I managed to set up Singularitygs + Breakpoint + Compass with Gulp (for Drupal theming).
Install gulp globally
"sudo npm install -g gulp"
Copy the following package.json to the root folder of your project.
"name": "your_project",
"version": "1.0.0",
theodorosploumis / .gitignore
Created Oct 28, 2015
Drupal .gitignore file
View .gitignore
# Ignore configuration files that may contain sensitive information.
# Ignore paths that contain user-generated content.
# Ignore Drupal core files
You can’t perform that action at this time.