A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>pvt.talkingmoose.LaunchTextEdit</string> | |
<key>ProgramArguments</key> | |
<array> |
#!/bin/bash | |
declare -x awk="/usr/bin/awk" | |
declare -x date="/bin/date" | |
declare -x pkgutil="/usr/sbin/pkgutil" | |
declare -xi MANAGE_EPOCH="$($pkgutil --file-info /usr/sbin/jamf | | |
$awk '/install-time/{print $NF;exit}')" | |
declare -x FIRST_BOOT_GUESS="$($date -r $MANAGE_EPOCH "+%Y-%m-%d %H:%M:%S")" | |
printf "<result>%s</result>\n" "$FIRST_BOOT_GUESS" |
#!/usr/bin/env python | |
""" | |
OSX ONLY! | |
Monitor OSX application usage from your shell | |
and at the end of the day see how much you don't | |
work ;) | |
Author: Glen Zangirolami | |
http://theglenbot.com |
The MIT License (MIT)
Copyright (c) 2014 David Underwood
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Dashing widget to display weather from forecast.io.
##Usage
To use this widget, copy forecast.coffee
, forecast.html
, and forecast.scss
into the /widgets/forecast
directory. Put the forecast.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following to your dashboard layout file:
A Dashing widget to show the total number of plays on your Soundcloud account.
https://github.com/soundcloud/soundcloud-ruby
Add it to your gemfile:
## | |
# OSX defaults, based on http://mths.be/osx | |
# | |
# Ask for the administrator password upfront | |
sudo -v | |
# Set computer name (as done via System Preferences → Sharing) | |
sudo scutil --set ComputerName "air" | |
sudo scutil --set HostName "air" |
Dashing widget to display Outlook calendar events Gets all the events over the next two days, and display the two next ones
Live demo: