- Python 3
- Pip 3
$ brew install python3
#!/usr/bin/env bash | |
(set -x; brew update;) | |
(set -x; brew upgrade;) | |
(set -x; brew cleanup;) | |
red=`tput setaf 1` | |
green=`tput setaf 2` | |
reset=`tput sgr0` |
#!perl | |
use strict; | |
use warnings; | |
use IO::All; | |
use IO::All::LWP; | |
use Web::Query; | |
local $| = 1; | |
wq('http://podbay.fm/show/536258179') |
# a useful addition to anyone's .bashrc | |
# | |
# Note, you don't want this function in effect on the remote host side of the scp transfer, | |
# so make sure to only define it for interactive shells, e.g.: wrap with: if [ ! -z "$PS1" ] | |
function scp() { | |
if echo "$@" | grep -q ':' | |
then | |
/usr/bin/scp "$@" | |
else |
#!/usr/bin/env perl | |
# Usage: /AVAILABILITY [here|lunch|meeting] | |
sub cmd_availability { | |
# data - contains the parameters for /HELLO | |
# server - the active server in window | |
# witem - the active window item (eg. channel, query) | |
# or undef if the window is empty | |
my ($data, $server, $witem) = @_; | |