Skip to content

Instantly share code, notes, and snippets.

Joe Nicosia joet3ch

Block or report user

Report or block joet3ch

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 readinglisturls.py
#!/usr/bin/env python
import plistlib
from shutil import copy
import subprocess
import os
from tempfile import gettempdir
import sys
import atexit
BOOKMARKS_PLIST = '~/Library/Safari/Bookmarks.plist'
@joet3ch
joet3ch / gist:6157bb9cac0b33bb9bc5
Last active Aug 29, 2015
Maintenance Update - Message Template Example
View gist:6157bb9cac0b33bb9bc5
Maintenance update from *|STATUSPAGENAME|*
Title: *|MAINTENANCETITLE|*
Affected Infrastructure:
Components: *|AFFECTEDCOMPONENTS|*
Locations: *|AFFECTEDCONTAINERS|*
Update: *|UPDATEMESSAGE|*
@joet3ch
joet3ch / gist:bf4d4523c8f22ad50161
Last active Aug 29, 2015
Maintenance Reminder - Message Template Example
View gist:bf4d4523c8f22ad50161
Scheduled maintenance reminder from *|STATUSPAGENAME|*
Title: *|MAINTENANCETITLE|*
Details: *|MAINTENANCEDETAILS|*
Affected Infrastructure:
Components: *|AFFECTEDCOMPONENTS|*
Locations: *|AFFECTEDCONTAINERS|*
@joet3ch
joet3ch / gist:5a1ac5b895eae5937147
Last active Aug 29, 2015
Incident Message - Message Template Example
View gist:5a1ac5b895eae5937147
Status update from *|STATUSPAGENAME|*
Current Status: *|CURRENTSTATUS|*
Started: *|TIMESTART|*
Resolved: *|TIMERESOLVE|*
Affected Infrastructure:
Components: *|AFFECTEDCOMPONENTS|*
Locations: *|AFFECTEDCONTAINERS|*
@joet3ch
joet3ch / keybase.md
Created Apr 13, 2014
keybase verify
View keybase.md

Keybase proof

I hereby claim:

  • I am joet3ch on github.
  • I am joet3ch (https://keybase.io/joet3ch) on keybase.
  • I have a public key whose fingerprint is F4C6 825F F0EA F9E0 B0F3 023F 88D0 A38F 12D3 6167

To claim this, I am signing this object:

@joet3ch
joet3ch / commands.sh
Last active Dec 16, 2015
mongod auto launch on boot
View commands.sh
sudo vi /Library/LaunchDaemons/org.mongo.mongod.plist
sudo chown root:wheel /Library/LaunchDaemons/org.mongo.mongod.plist
sudo launchctl load /Library/LaunchDaemons/org.mongo.mongod.plist
sudo launchctl start org.mongo.mongod
@joet3ch
joet3ch / ec2-pub-dns.sh
Created Mar 22, 2013
Display ec2 instance public dns fqdn.
View ec2-pub-dns.sh
#/bin/bash
public_name=$(curl -s http://169.254.169.254/latest/meta-data/public-hostname)
echo $public_name
@joet3ch
joet3ch / screensharing.applescript
Created Mar 12, 2013
launch new apple screen sharing connection
View screensharing.applescript
do shell script "open vnc://some-box"
@joet3ch
joet3ch / ard-control.applescript
Created Mar 11, 2013
Shortcut to control a box via ARD
View ard-control.applescript
tell application "Remote Desktop"
activate
set server to first computer of computer list "All Computers" whose Internet address is "10.10.10.10"
control server
end tell
@joet3ch
joet3ch / send_love.applescript
Created Mar 9, 2013
Send some iMessage love
View send_love.applescript
tell application "Messages"
set myid to get id of first service
set mygf to buddy "gf@example.com" of service id myid
send "<3" to mygf
end tell
You can’t perform that action at this time.