Skip to content

Instantly share code, notes, and snippets.

View beNjiox's full-sized avatar

Benjamin Guez beNjiox

View GitHub Profile
@beNjiox
beNjiox / file.io.sh
Last active June 7, 2019 21:41 — forked from gingerbeardman/file.io.sh
Scripts that work as is on a remote debug Heroku CI console (to extract screenshots, logs, etc.)
#!/bin/sh
# Install:
# curl https://gist.githubusercontent.com/gingerbeardman/a7737e4c89fccab8605f8538ddaeec0d/raw/a78f5253b0fcdbd7b893f91627a29498690356ea/file.io.sh | tee file.io && chmod +x file.io
URL="https://file.io"
DEFAULT_EXPIRE="14d" # Default to 14 days
if [ $# -eq 0 ]; then
echo "Usage: file.io FILE [DURATION]\n"
echo "Example: file.io path/to/my/file 1w\n"
sudo debconf-set-selections <<< "phpmyadmin phpmyadmin/dbconfig-install boolean true"
sudo debconf-set-selections <<< "phpmyadmin phpmyadmin/app-password-confirm password root"
sudo debconf-set-selections <<< "phpmyadmin phpmyadmin/mysql/admin-pass password root"
sudo debconf-set-selections <<< "phpmyadmin phpmyadmin/mysql/app-pass password root"
sudo debconf-set-selections <<< "phpmyadmin phpmyadmin/reconfigure-webserver multiselect apache2"
apt-get -y --force-yes install phpmyadmin > /dev/null 2>&1
@beNjiox
beNjiox / JustNewTech.md
Last active August 29, 2015 14:07
Group description

Welcome on JustNewTech ou "Juste la nouvelle technologie". (Maximilien)

FAQ

JustNewTech c'est quoi ?

Le groupe sert de depot pour toutes les news techniques / interessantes que nous lisons au quotidien. N'hesitez pas à poster articles techniques, etudes de cas, anecdotes ... tout ce qui touche de pres ou de loin a l'IT, aux Startups etc.!

Qui dans le groupe ?