Skip to content

Instantly share code, notes, and snippets.

View quedayone's full-sized avatar

Will Pierce quedayone

  • Minneapolis MN
View GitHub Profile
@talkingmoose
talkingmoose / pvt.talkingmoose.LaunchTextEdit.plist
Last active May 17, 2023 22:41
Example: How to launch a GUI application using launchd
<?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>
@acidprime
acidprime / firstrecon.sh
Created March 29, 2012 05:02
Try to guess the first Jamf Imaging of a machine - https://jamfnation.jamfsoftware.com/discussion.html?id=4120
#!/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"
@glenbot
glenbot / monitor_apps.py
Created August 22, 2012 14:08
OSX Application time tracking in Python
#!/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
@agnoster
agnoster / README.md
Last active April 6, 2024 22:35
My ZSH Theme

agnoster.zsh-theme

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

@davefp
davefp / LICENSE.md
Last active April 1, 2021 04:30
Weather Widget for Dashing

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:

@mjamieson
mjamieson / README.md
Last active July 30, 2020 23:17
forecast.io for Dashing

Description

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:

@mjamieson
mjamieson / README.md
Last active February 2, 2018 16:39
Instagram photos by location for Dashing

Description

Dashing widget to display location based photos from Instagram.

##Dependencies

instagram - Official Ruby Gem

Add the following to your Dashing Gemfile:

@pezholio
pezholio / Readme.md
Last active December 16, 2015 15:59
Dashing Job to show total Soundcloud listens
@meleyal
meleyal / osx.sh
Last active May 18, 2023 19:40
OSX defaults, based on http://mths.be/osx
##
# 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"
@camillebaldock
camillebaldock / README.md
Last active April 17, 2020 11:05
Dashing widget to display Outlook calendar events