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 / gist:32c1592659b23812837af2c9344e72c0
Created Aug 19, 2016 — forked from prairiehippo/gist:3238902
Drupal API settings for Chrome Search Engine
View gist:32c1592659b23812837af2c9344e72c0

Want to search the Drupal API directly using the Chrome Omnibox?

Right click on the omnibox in chrome (URL box) and select "Edit Search Engines".

You very likely already have a Drupal API search engine entry in the table, but if not, scroll to the bottom and add a new entry with the following items.

theodorosploumis /
Created Jun 8, 2016 — forked from mohamed-el-habib/
drupal fpm with nginx and mysql


git clone git:// docker-drupal-fpm
cd docker-drupal-fpm
mkdir -p /usr/local/share/dockervolumes/drupal # if you change this folder please update the
chmod +x && ./ up
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)"
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",
View greeklish.php
function greeklish($string)
$replace_pairs = [
'Α' => 'A',
'Ά' => 'A',
'Β' => 'V',
'Γ' => 'G',
'Δ' => 'D',
'Ε' => 'E',
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" => "",
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl | sh
theodorosploumis / Drupal Undefined index Issue
Last active Aug 29, 2015
How to fix the error: "Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name()..."
View Drupal Undefined index Issue
// Standard profile
UPDATE `mydatabese`.`system` SET `status` = '1' WHERE `system`.`filename` = 'profiles/standard/standard.profile';
// Minimal profile
UPDATE `mydatabese`.`system` SET `status` = '1' WHERE `system`.`filename` = 'profiles/minimal/minimal.profile';
You can’t perform that action at this time.