Skip to content

Instantly share code, notes, and snippets.

View enricogallesio's full-sized avatar

Enrico Gallesio enricogallesio

View GitHub Profile
@tabrindle
tabrindle / webp-convert-directory.sh
Last active June 15, 2024 07:55
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)
@rextaylor
rextaylor / webhook.php
Created October 16, 2015 02:06 — forked from thatarchguy/webhook.php
Cpanel deploy.php script
<?php
/**
* GIT DEPLOYMENT SCRIPT
*
* Used for automatically deploying websites via github or bitbucket, more deets here:
*
* https://gist.github.com/1809044
*
* Edited for Cpanel use
*/