This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>gov.nih.NIHApp/key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 EndNote.</string> | |
<key>Identifier</key> | |
<string>com.github.jbaker10.download.EndNote</string> | |
<key>Input</key> | |
<dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" This script will check the health of the LANrev | |
agent and run the planb binary if deemed necessary """ | |
Copyright 2016 Jeremiah Baker. | |
# Licensed under the Apache License, | |
# Version 2.0 (the "License"); you may not | |
# use this file except in compliance with | |
# the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Force Absolute Manage to install software at the login window. | |
declare -r AMSERVER="AM.nowhere.com" | |
declare -r AMDIR="/Library/Application Support/LANrev Agent" | |
declare -r AMAGENT="$AMDIR/LANrev Agent.app/Contents/MacOS/LANrev Agent" | |
declare -r LOGFILE="/var/log/gov.nih.nimh.onset.log" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import logging | |
import time | |
import os | |
import sys | |
import syslog | |
import subprocess | |
from subprocess import Popen | |
import plistlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os, subprocess, plistlib, re, sys | |
from os import listdir | |
from subprocess import PIPE | |
def isRoot(): | |
if not os.geteuid() == 0: | |
print "\nRunning as standard account." | |
print "Re-launching script with sudo rights..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## To install Kibana | |
sudo docker pull sebp/elk:latest | |
## To run the link on your localhost just to test | |
docker run --link zentral_elastic_1:elasticsearch -p 127.0.0.1:5601:5601 --net zentral_default kibana | |
## After this, you should be able to access the Kibana dashboard from 127.0.0.1:5601 | |
## Edit the base.json under conf/start/zentral/base.json | |
vi ./conf/start/zentral/base.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################# | |
# # | |
# Script performs the following: # | |
# 1) Create Power User Group & add AD Standard Users # | |
# 2) Modify /etc/auth to give powerusers group specified rights # | |
# 3) Enforce Compliance # # | |
# AA Accounts are exempted # # | |
# Version 1.1, 2013-08-12 # | |
# Version 1.2, 2013-11-19 # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import json | |
import subprocess | |
import sys | |
import os | |
import plistlib | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
A script to automate changing the Due Date of a ticket in FreshService | |
based on the "Start Date" entered into a Service Request. It will currently | |
only make the change to tickets that are assigned to the "Onboarding" | |
group, and those that have been recently updated (within the last hour). | |
It requires the "requests" library to be installed, which can be installed | |
by running "sudo easy_install requests". | |
''' |
OlderNewer