Skip to content

Instantly share code, notes, and snippets.

View c50's full-sized avatar

Eric Lemonne c50

View GitHub Profile
@c50
c50 / gist:54b07dcdb2fd2376eb9a8caf79ac0672
Last active September 1, 2021 15:42
Git delete locally all remote branches that are gone remotely
git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done
@c50
c50 / keybase.md
Created September 21, 2017 01:25

Keybase proof

I hereby claim:

  • I am c50 on github.
  • I am c50 (https://keybase.io/c50) on keybase.
  • I have a public key ASDtg7WsN10na8z2EiKfYl0nDLxNzNm9SvQYIabFODBHQwo

To claim this, I am signing this object:

.btnd:focus, .btnd:active, .btnd.active, .btnd:focus:active {
background-image: none;
outline: none;
-webkit-box-shadow: none;
box-shadow: none;
}
@c50
c50 / aliases.drushrc.php
Created February 6, 2017 14:29
Drush aliases example on local setup
<?php
/**
* @file
* Site alias for example.com
*/
$aliases['c50'] = array(
'root' => './drupal-8.2.5',
'uri' => 'http://c50drupal.c50.be',
);
@c50
c50 / gist:cc5f0af5d6dabab73d64c0fe1cc4cf5d
Last active July 30, 2018 11:33
Stage file proxy settings with drush (Futurium example)
./bin/drush en stage_file_proxy -y -r ./platform && ./bin/drush vset stage_file_proxy_origin "http://ec.europa.eu/futurium" -r ./platform && ./bin/drush vset stage_file_proxy_origin_dir "sites/futurium/files" -r ./platfor