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
''' | |
This is an example of how to send data to Slack webhooks in Python with the | |
requests module. | |
Detailed documentation of Slack Incoming Webhooks: | |
https://api.slack.com/incoming-webhooks | |
''' | |
import json | |
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/env python | |
from __future__ import print_function | |
import json | |
import logging | |
from urllib2 import Request, urlopen, URLError, HTTPError | |
from base64 import b64decode |
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/sh | |
#created By Dan De Rusha modified 10-8-14 | |
### DELETE UTC CACHES | |
rm -r /Library/Extensis | |
mkdir /Library/Extensis | |
chmod 777 /Library/Extensis | |
### DELETE MICROSOFT CACHES | |
rm /Users/*/Library/Preferences/Microsoft/Office\ Font\ Cache* | |
rm /Users/*/Library/Preferences/Microsoft/Office\ 2008/Office\ Font\ Cache* |
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 | |
# It's your funeral | |
LINUX_TOMCAT_USER="tomcat7" | |
LINUX_TOMCAT_GROUP="tomcat7" | |
LINUX_SERVER_XML_PATH="/usr/local/jss/tomcat/conf/server.xml" | |
LINUX_SERVER_XML_BACKUP_PATH="/usr/local/jss/tomcat/conf/server.xml.bak" | |
MAC_TOMCAT_USER="_appserver" | |
MAC_TOMCAT_GROUP="_appserveradmin" | |
MAC_SERVER_XML_PATH="/Library/JSS/Tomcat/conf/server.xml" | |
MAC_SERVER_XML_BACKUP_PATH="/Library/JSS/Tomcat/conf/server.xml.bak" |
NewerOlder