Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
#
# Simplistic RDS logfile downloader because AWS CLI + Botocore is broken. :-(
#
from __future__ import print_function
import argparse
import os.path
import sys

tmux/tmuxinator cheatsheet

tmux

As configured in my dotfiles, here and here.

Command line

$ tmux                           -> start new
$ tmux new -s myname             -> start new w/session name
$ tmux a  #  (or at, or attach)  -> attach
$ tmux a -t myname               -> attach to named
@odayvhl
odayvhl / cant-install-rmagick-2-13-1-cant-find-magickwand-h.md
Created July 23, 2019 18:12 — forked from ntamvl/cant-install-rmagick-2-13-1-cant-find-magickwand-h.md
[Resolved In Mac OSX Sierra] Can't install RMagick 2.13.1. Can't find MagickWand.h.

[Resolved] Can't install RMagick 2.13.1. Can't find MagickWand.h

In Mac OSX Sierra, to solve the issue, I had to do the following:

Clean:

brew uninstall imagemagick
brew unlink imagemagick

Then install:

@odayvhl
odayvhl / clear-sidekiq-jobs.sh
Created July 23, 2019 20:02 — forked from wbotelhos/clear-sidekiq-jobs.sh
Clear Sidekiq Jobs
# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear
# 3. Clear 'Processed' and 'Failed' jobs