Skip to content

Instantly share code, notes, and snippets.

View palladius's full-sized avatar
🎯
Focusing on GCP, RoR and SRE

Riccardo Carlesso palladius

🎯
Focusing on GCP, RoR and SRE
View GitHub Profile
@palladius
palladius / iCalAddEntry.sh
Created December 11, 2011 12:18 — forked from joet3ch/iCalAddEntry.sh
MacOSX osascript to tell you what time is it
#!/bin/bash
DEFAULT_ALARM='current date'
alarm=$DEFAULT_ALARM
foo=`osascript <<EOF
tell application "iCal"
set newtodo to (make new todo at end of todos of calendar "Home")
tell newtodo
set summary to "Bills"
set due date to ($alarm)
@palladius
palladius / itunes.sh
Created December 11, 2011 12:16 — forked from rkumar/itunes.sh
control iTunes from command line (fichissimo!)
#!/bin/bash
#
####################################
# iTunes Command Line Control v1.0
# originally written by David Schlosnagle
# created 2001.11.08
# edit 2010.06.01 rahul kumar
# edit 2011.12.11 Riccardo Carlesso
####################################