Skip to content

Instantly share code, notes, and snippets.

@nocturnalgeek
nocturnalgeek / MailinatorAliases
Last active April 8, 2024 20:45
A list of alternate domains that point to @mailinator.com
@binkmail.com
@bobmail.info
@chammy.info
@devnullmail.com
@letthemeatspam.com
@mailinater.com
@mailinator.net
@mailinator2.com
@notmailinator.com
@reallymymail.com
@cfxd
cfxd / no-thanks-godaddy.txt
Last active June 28, 2017 05:19
GoDaddy® Clause I use in all of my client agreements
<MY BIZ NAME> chooses not to do business with and will not perform site deployments to, site maintenance on, or site migrations to GoDaddy® or its affiliates (including MediaTemple®) due to its unwieldy hosting platform, its past CEO's inhumane treatment of animals, its deceptive and sexist advertising practices, and its past support for SOPA (the proposed invasive intellectual property rights bill which prompted Reddit, Wikipedia, and others to shut down their sites in protest).
For more details, please see http://karveldigital.com/why-i-dont-use-godaddy-you-shouldnt-either/ and http://godaddyhostingsucks.com/.
Clients already hosted with GoDaddy may secure more reliable, user-friendly, and ethical hosting through <YOUR PREFERRED REFERRAL HOSTS>.
@savvot
savvot / ffmpeg-extract-keyframes.sh
Last active February 3, 2022 06:40
Extract only keyframes (I-frames) from video to images with console ffmpeg
ffmpeg -ss <start_time> -i video.mp4 -t <duration> -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 frame%03d.jpg
@ekristen
ekristen / check_docker_container.sh
Last active January 16, 2024 16:15
Bash Script for Nagios to Check Status of Docker Container
#!/bin/bash
# Author: Erik Kristensen
# Email: erik@erikkristensen.com
# License: MIT
# Nagios Usage: check_nrpe!check_docker_container!_container_id_
# Usage: ./check_docker_container.sh _container_id_
#
# Depending on your docker configuration, root might be required. If your nrpe user has rights
# to talk to the docker daemon, then root is not required. This is why root privileges are not
@dbu
dbu / git-status-recursive
Created May 31, 2012 14:14
recursive git status
#!/usr/bin/php
<?php
$repos = array();
exec('find -type d -name .git | sed -e "s/\.git//"', $repos);
foreach ($repos as $repo) {
$status = shell_exec("cd $repo && git status");
if (false == strpos($status, 'nothing to commit (working directory clean)')) {
echo "$repo\n" . str_repeat('-', strlen($repo)) . "\n$status\n\n";
}
}