Skip to content

Instantly share code, notes, and snippets.

View TranceCat's full-sized avatar
🎯
Focusing

TranceCat TranceCat

🎯
Focusing
View GitHub Profile
@TranceCat
TranceCat / NSmessage_alert.py
Created January 19, 2015 12:39
Example of pyobjc implementation for Notification Center on OS X with reply option
#!/usr/bin/env python
from Foundation import NSUserNotification, NSUserNotificationCenter, NSObject
from PyObjCTools import AppHelper
'''
This class is used for NSUserNotificationCenter alert. User needs to select Alerts style
in System Preferences -> Notifications for the python script.
'''
class Notification(NSObject):
rpi_detector
- dicovery module, use any way to detect ip by partial mac address
- use the ip to create ansible inventory
optional
- test for standard login methods # integrated in rpi_ssh
- ssh with password
- ssh with key
-----------------------------------------------------------------------------------------------------------
rpi_inventory