Skip to content

Instantly share code, notes, and snippets.

View chizmw's full-sized avatar

Chisel Malik-Wright chizmw

View GitHub Profile
@jwadolowski
jwadolowski / brew-upgrade.sh
Last active March 16, 2020 11:02
brew-upgrade.sh
#!/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`
@pandafulmanda
pandafulmanda / Python3 Virtualenv Setup.md
Last active October 5, 2024 17:12 — forked from akszydelko/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
#!perl
use strict;
use warnings;
use IO::All;
use IO::All::LWP;
use Web::Query;
local $| = 1;
wq('http://podbay.fm/show/536258179')
@grantm
grantm / gist:4367372
Last active December 10, 2015 02:28
Ever forgotten the ':' after the hostname of an scp command?
# 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
@chizmw
chizmw / cmd_availability.pl
Created July 24, 2012 11:06
irssi 'availability' plugin script
#!/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) = @_;