start new:
tmux
start new with session name:
tmux new -s myname
#!/usr/bin/env bash | |
function cavemanget() { | |
local URL=$1 | |
if [ "$URL" = "" ]; then | |
echo "A caveman version of wget" | |
echo "Usage: $0 \"URL\"" | |
return 1 | |
fi |
#!/bin/bash | |
# | |
# if no parameters are supplied this results in: | |
# . ~/chia-blochain/activate | |
# chia start farmer | |
# | |
if [ -z "$1" ] | |
then |
function sync() { | |
var id="XXXXXXXX"; // CHANGE - id of the secondary calendar to pull events from | |
var secondaryCal=CalendarApp.getCalendarById(id); | |
var today=new Date(); | |
var enddate=new Date(); | |
enddate.setDate(today.getDate()+30); // how many days in advance to monitor and block off time | |
var secondaryEvents=secondaryCal.getEvents(today,enddate); |
#!/usr/bin/python | |
import json | |
import urllib2 | |
import os.path | |
import plistlib | |
url = 'http://omahaproxy.appspot.com/all.json' | |
resp = urllib2.urlopen(url) | |