Skip to content

Instantly share code, notes, and snippets.

View froulet's full-sized avatar

Frantz Roulet froulet

View GitHub Profile
@froulet
froulet / gist:417b87ed61c0a28df5f247a8849f087c
Last active July 2, 2018 07:43
Bulma.io v0.6.2 Twig template for Symfony 3.4 pagination
{# bulma Sliding pagination control implementation #}
{% if pageCount > 1 %}
<div class="columns">
<div class="column">
</div>
<div class="column">
<ul>
<span>
@froulet
froulet / save_docker-compose_images.bash
Last active June 21, 2018 19:31
Bash script to save all images used in a docker-compose.yml file
#!/usr/bin/env bash
for img in $(docker-compose images | tail -n +3 | awk '{print $2 ":" $3}'); do
echo "Saving $img ...";
images="$images $img"
done
docker save -o services.img $images
@froulet
froulet / LetsEncrypt.md
Created February 1, 2017 17:16 — forked from davestevens/LetsEncrypt.md
Let’s Encrypt setup for Apache, NGINX & Node.js

Let's Encrypt

Examples of getting certificates from Let's Encrypt working on Apache, NGINX and Node.js servers.

Obtain certificates

I chose to use the manual method, you have to make a file available to verify you own the domain. Follow the commands from running

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt