Skip to content

Instantly share code, notes, and snippets.

View kant312's full-sized avatar

Quentin Delcourt kant312

View GitHub Profile
@kant312
kant312 / .gitlab-ci.yml
Created February 11, 2020 12:31
My ready to go GitLab config to deploy an Eleventy website on a VPS using rsync and ssh
stages:
- build
- deploy
eleventy:
stage: build
image: node:lts-buster
cache:
key: "$CI_JOB_NAME"
paths:
@kant312
kant312 / keybase.md
Created July 28, 2019 10:23
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@kant312
kant312 / extract-translations.php
Last active November 7, 2017 11:21
Script (PHP) to extract all translatable strings from Craft CMS templates located in a specific folder
<?php
/**
* @author Quentin Delcourt <[email protected]>
* @date 2017-06-21
*
* This script will take a folder path in argument and will extract
* all translatable strings from the Craft templates encountered
* in the given folder. Each one of these will be
* outputted to stdOut in CSV format.