Skip to content

Instantly share code, notes, and snippets.

View salmander's full-sized avatar

Salman Ahmed salmander

  • United Kingdom
View GitHub Profile
@salmander
salmander / remove-gpg-user.sh
Created January 18, 2018 15:13 — forked from glogiotatidis/remove-gpg-user.sh
Git-crypt remove user.
#!/bin/bash
#
# Script to remove GPG key from git-crypt
#
# It will re-initialize git-crypt for the repository and re-add all keys except
# the one requested for removal.
#
# Note: You still need to change all your secrets to fully protect yourself.
# Removing a user will prevent them from reading future changes but they will
# still have a copy of the data up to the point of their removal.
@salmander
salmander / Dockerfile
Created January 3, 2017 10:41
AWS `DB_PASSWORD` environment variable
FROM php:7.0-fpm
# Install the PHP extensions we need for Drupal
RUN apt-get update && apt-get install -y \
libpng12-dev \
libjpeg-dev \
libpq-dev \
postgresql-client \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \

Keybase proof

I hereby claim:

  • I am salmander on github.
  • I am salmander (https://keybase.io/salmander) on keybase.
  • I have a public key whose fingerprint is 8CC4 954D 64D4 07C3 ABFA A3A0 696A A873 AD56 81D4

To claim this, I am signing this object: