This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (! class_exists('EG_Attachments_Public')) { | |
/** | |
* Class EG_Attachments_Public | |
* | |
* Implement a shortcode to display the list of attachments in a post. | |
* | |
* @package EG-Attachments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Simple script to dump the contents of a database into separate files in the directory "/backups/" | |
# Symlink into /etc/cron.daily/ or add to crontab | |
# Originally from: https://gist.github.com/brianredbeard | |
# /usr/local/scripts/db_dump | |
DESTDIR=/vagrant/backups/ | |
DATEFORMAT="+%Y%m%d-%H%M" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Formerly known as::: | |
:: GIFEncoder Version 2.0 by László Zsidi, http://gifs.hu | |
:: | |
:: This class is a rewritten 'GifMerge.class.php' version. | |
:: | |
:: Modification: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* See imports from: https://github.com/MrOtherGuy/firefox-csshacks */ | |
@import url(chrome/multi-row_tabs.css); | |
:root{ | |
--multirow-n-rows: 2; | |
--multirow-tab-min-width: 170px; | |
} | |
/** | |
* Style the Tab's closing icon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Install script extracted from: https://github.com/caddyserver/caddy/tree/master/dist/init/linux-systemd | |
set -x | |
URL="https://caddyserver.com/download/linux/arm6?license=personal&telemetry=off" | |
TEMP="/tmp/caddy" | |
DEST="/tmp/caddy-latest_linux_arm6_personal.tar.gz" | |
curl "${URL}" -o ${DEST} |