Skip to content

Instantly share code, notes, and snippets.

Elliot Jordan homebysix

Block or report user

Report or block homebysix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:07b50daa24a8aae11e0c
#!/bin/bash
###
#
# Name: bash_version.sh
# Description: Casper extension attribute that returns the installed
# version of /bin/bash.
# Author: Elliot Jordan <elliot@lindegroup.com>
# Created: 2014-09-25
# Last Modified: 2014-09-25
View iworm_check.sh
#!/bin/bash
###
#
# Name: iworm_check.sh
# Description: Casper extension attribute that checks whether iWorm is
# detected.
# Author: Elliot Jordan <elliot@lindegroup.com>
# Created: 2014-10-03
# Last Modified: 2014-10-03
View gist:301a7a2e31b02ab7c45c
#!/bin/bash
# This function will echo text centered horizontally within the shell window.
echo_centered () {
# The character to be used as left/right filler.
if [[ -n "$2" ]]; then
FILLER="$2"
else
FILLER="="
@homebysix
homebysix / autopkg-test.sh
Last active Aug 29, 2015
autopkg-test.sh
View autopkg-test.sh
/usr/bin/python /usr/local/bin/autopkg run --recipe-list ~/Library/Application\ Support/AutoPkgr/recipe_list.txt --report-plist /tmp/autopkg-test.xml
@homebysix
homebysix / autopkg_run_recipe_list.sh
Created Jun 15, 2015
autopkg_run_recipe_list.sh
View autopkg_run_recipe_list.sh
/usr/bin/python /usr/local/bin/autopkg run --recipe-list ~/Library/Application\ Support/AutoPkgr/recipe_list.txt --report-plist /tmp/autopkg-output.xml
View macit_twitter_search_terms.txt
(#MacIT2015) OR (#MacITconf) OR (@MacITconf) OR (#MacIT -NERMAC -NERİMAN -FATIHHARBIYE lang:en)
@homebysix
homebysix / show_unused_munki_packages.py
Last active Aug 29, 2015
show_unused_munki_packages.py
View show_unused_munki_packages.py
#!/usr/bin/env python
"""
Name: show_unused_munki_packages.py
Description: Given a path to a Munki repo, this script will tell you
which package names are unused in any manifests. Useful for
detecting things that were imported into Munki but never
added to a manifest.
Author: Elliot Jordan <elliot@lindegroup.com>
@homebysix
homebysix / EclipseIDE.download.recipe
Last active Nov 13, 2015
EclipseIDE.download.recipe
View EclipseIDE.download.recipe
<?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>Description</key>
<string>Downloads the current release version of Eclipse.</string>
<key>Identifier</key>
<string>com.github.sheagcraig.download.EclipseIDE</string>
<key>Input</key>
<dict>
View email_report.html
<html>
<head>
<style>
* {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 9pt;
line-height: 1.2em;
}
a {
@homebysix
homebysix / send_imessage.sh
Last active Jul 31, 2016
send_imessage.sh
View send_imessage.sh
#!/bin/bash
RECIPIENT="+14155551212"
MESSAGE="Hello world"
cat << EOF > /tmp/send_imessage.scpt
tell application "Messages"
set serviceID to get id of first service
set theRecipient to buddy "${RECIPIENT}" of service id serviceID
send "${MESSAGE}" to theRecipient
You can’t perform that action at this time.