git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[0;34m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" | |
WHITE="\[\033[1;37m\]" | |
LIGHT_GRAY="\[\033[0;37m\]" | |
COLOR_NONE="\[\e[0m\]" | |
select lea, SUM(CASE WHEN school_type like '%primary%' THEN 1 ELSE 0 END) as `primary`, SUM(CASE WHEN school_type like '%secondary%' THEN 1 ELSE 0 END) as `secondary` from schools group by lea |
#!/usr/bin/env bash | |
# Install using: | |
# bash < <(curl -s https://gist.githubusercontent.com/jaygooby/1248106/raw/6d8ef1c0c84a47a34a6890973c8d32d22466a736/os-x-ghostscript-imagemagick) | |
IM_TGZ=ImageMagick-x86_64-apple-darwin17.3.0.tar.gz | |
IM_URL=https://www.imagemagick.org/download/binaries/$IM_TGZ | |
IM_TMP_FILE=/tmp/$(basename $IM_URL) | |
IM_SUM="33849 17409" |
# None of my own work. Munged from various other .screenrc recipes | |
# | |
# Don't use CTRL-A as the trigger because its stops the bash | |
# cli navigation like CTRL-A for start of line to stop working | |
escape ^Gg | |
# We'd like to scroll in an xterm please | |
defscrollback 1024 | |
# http://superuser.com/questions/126606/how-to-get-mac-os-x-terminal-app-and-screen-vim-scrolling-to-play-nice/316900#316900 |
function htmlreplace(a, b, element) { | |
if (!element) element = document.body; | |
var nodes = element.childNodes; | |
for (var n=0; n<nodes.length; n++) { | |
// MSIE doesn't have Node | |
if (nodes[n].nodeType == 3) { | |
var r = new RegExp(a, 'gi'); | |
// MSIE8 and less doesn't have textContent | |
if (nodes[n].textContent) { |
From: <Sebastian Coe> [email protected] | |
Dear Sir/Madam | |
I am an Agent to London 2012 Olympics organising commitee (LOCOG). I play an intermediary role between local organizing committee (LOC) and any interested foreign company in any international competitive tender and my commission is usually 2% | |
of the total contract value. | |
I wish to know if your company or you as an individual will be interested to participate in an international Tender for the supply of the following items: | |
1) T-shirt | |
2) Umbrellas/Tents, |
gem 'apn_sender', :require => 'apn' | |
gem 'daemons' |
We've received a report that your instance(s): | |
Instance Id: i-9ab75ffa | |
IP Address: 174.129.162.143 | |
has been port scanning remote hosts on the Internet; check the information provided below by the abuse reporter. | |
This is specifically forbidden in our User Agreement: http://aws.amazon.com/agreement/ |
git lb
31 minutes ago: fun-branch
2 days ago: remove-things
3 days ago: staging
6 days ago: remove-bugs
Courtesy of https://ses4j.github.io/2020/04/01/git-alias-recent-branches/