Skip to content

Instantly share code, notes, and snippets.

@MiqViq
MiqViq / remove_configdata_from_selected.sh
Created Feb 1, 2015
For Reposado: Removes config-data attribute from selected update types: XProtectPlistConfigData, Gatekeeper Configuration Data
View remove_configdata_from_selected.sh
#!/bin/bash
# remove_configdata_from_selected
#
# removes config-data attribute from selected update types: XProtectPlistConfigData, Gatekeeper Configuration Data
reposadoUser=reposado
reposadoGroup=admin
reposadoDir="/path/to/your/reposado"
@bryanzak
bryanzak / ScriptRunner.sh
Last active May 9, 2017
Script Runner. This is a Launch Agent and script launcher so we can have a folder of scripts that are run anytime a user logs in. This is very barebones and not even remotely fancy, please feel free to share any feedback or suggestions you might have. Updated 2014-03-04 to support logging
View ScriptRunner.sh
#!/bin/bash
# save this file at /Library/yourorg/ScriptRunner.sh
script_path="${0}"
source_path=$(dirname "${script_path}")
chmod 777 "/var/log/yourorg-scriptrunner.log"
if [ -d "${source_path}/User Login Scripts" ]; then
@richardcornish
richardcornish / Git notes
Last active Mar 4, 2020
Enough Git for your résumé in 100ish lines
View Git notes
Start
=====
1. Install Git
http://git-scm.com/download/mac
(But consider using Homebrew)
2. Make a GitHub account
https://github.com/
3. Open Terminal
You can’t perform that action at this time.