This file contains hidden or 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 | |
# Copy the com.avid.bsd.DigiShoeTool Helper Tool | |
PHT_DIGISHOETOOL="/Library/PrivilegedHelperTools/com.avid.bsd.DigiShoeTool" | |
/bin/cp "/Applications/Pro Tools.app/Contents/Library/LaunchServices/com.avid.bsd.DigiShoeTool" $PHT_DIGISHOETOOL | |
/usr/sbin/chown root:wheel $PHT_DIGISHOETOOL | |
/bin/chmod 544 $PHT_DIGISHOETOOL | |
# Create the Launch Deamon Plist for com.avid.bsd.DigiShoeTool |
This file contains hidden or 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
rake db:create | |
(in /Users/rickychilcott/github/cclr) | |
DEPRECATION WARNING: Rake tasks in vendor/plugins/annotate_models/tasks are deprecated. Use lib/tasks instead. (called from /Users/rickychilcott/.rbenv/versions/1.8.7-p371/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/tasks/rails.rb:10) |
This file contains hidden or 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 | |
# List of users to keep | |
KEEP=$( cat <<EOL | |
/Users/admin | |
/Users/administrator | |
/Users/sccadmin | |
/Users/scclab | |
/Users/Shared | |
/Users/Search |
This file contains hidden or 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
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
exec $SHELL -l |
This file contains hidden or 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
{"config":{"async":true,"later":true,"processData":false,"dataType":"text","crossDomain":true,"cache":false,"action":"account/social/login/status/997830b0e52be74a294a82379b698368","options":{"appname":"Ticket Diary","appversion":"0.1","appid":"5644b378a6284a1da325cdb5dde04a26","apikey":"9c677ff434f6467989a0d3591a191ade","applevel":true,"savelogin":false,"user_token":"4aafdd67a611144b33c908999deace18"},"headers":{"X-CloudMine-ApiKey":"9c677ff434f6467989a0d3591a191ade","X-CloudMine-Agent":"JS/0.9.6 Ticket_Diary/0.1","X-CloudMine-UT":"4aafdd67a611144b33c908999deace18","content-type":"application/json"},"contentType":"application/json"},"_events":{},"data":null,"hasErrors":false,"requestHeaders":{"X-CloudMine-ApiKey":"9c677ff434f6467989a0d3591a191ade","X-CloudMine-Agent":"JS/0.9.6 Ticket_Diary/0.1","X-CloudMine-UT":"4aafdd67a611144b33c908999deace18","content-type":"application/json"},"responseHeaders":{},"responseText":null,"status":null,"type":"GET","url":"https://api.cloudmine.me/v1/app/5644b378a6284a1da325cdb5 |
This file contains hidden or 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
var ws = new cloudmine.WebService({ | |
appid: 'appid', | |
apikey: 'apikey' | |
}); | |
//Authenticate user via twitter | |
ws.loginSocial('twitter').on('success', function(data, response) { | |
// Now you can save the session token using localStorage | |
localStorage.setItem('cm_session', response.session_token); | |
console.log(data.profile.__id__); // correctly returns userid |
This file contains hidden or 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
username=YYYYYYYY | |
password=XXXXXXXX | |
#Sanity checks | |
if [ $username = YYYYYYYY ]; then | |
echo "You need to set the username" | |
exit 1 | |
fi | |
if [ $password = XXXXXXXX ]; then |
This file contains hidden or 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
# Verbose check of Munki to see what needs to be installed. This will not actually install, but will ask what needs to be installed. | |
sudo /usr/local/munki/managedsoftwareupdate auto -vvv | |
# Install the updates that have been pulled down and cached locally managedsoftwareupdate auto must be run first | |
sudo /usr/local/munki/managedsoftwareupdate --install_only | |
# List all package receipts installed. This will provide a list of receipt package ids | |
pkgutil --pkgs | |
# List all package receipts installed. This will provide a list of receipt package ids matching the word something (case sensitive) |
This file contains hidden or 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
dhcp-056-109:~ $ ping sea.edu | |
PING sea.edu (74.54.29.37): 56 data bytes | |
64 bytes from 74.54.29.37: icmp_seq=0 ttl=49 time=66.811 ms | |
64 bytes from 74.54.29.37: icmp_seq=1 ttl=49 time=58.854 ms | |
64 bytes from 74.54.29.37: icmp_seq=2 ttl=49 time=48.258 ms | |
64 bytes from 74.54.29.37: icmp_seq=3 ttl=49 time=58.843 ms | |
64 bytes from 74.54.29.37: icmp_seq=4 ttl=49 time=58.839 ms | |
^C | |
--- sea.edu ping statistics --- | |
5 packets transmitted, 5 packets received, 0.0% packet loss |
This file contains hidden or 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
dhcp-056-050:~ $ ping sea.edu | |
PING sea.edu (74.54.29.37): 56 data bytes | |
64 bytes from 74.54.29.37: icmp_seq=0 ttl=50 time=45.667 ms | |
64 bytes from 74.54.29.37: icmp_seq=1 ttl=50 time=45.509 ms | |
64 bytes from 74.54.29.37: icmp_seq=2 ttl=50 time=45.656 ms | |
64 bytes from 74.54.29.37: icmp_seq=3 ttl=50 time=45.643 ms | |
64 bytes from 74.54.29.37: icmp_seq=4 ttl=50 time=46.039 ms | |
^C | |
--- sea.edu ping statistics --- | |
5 packets transmitted, 5 packets received, 0.0% packet loss |