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
# in ~/Library/LaunchAgents/com.user.addkeyonlogin.plist (replace <path to home>) | |
<?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>Label</key> | |
<string>com.user.addkeyonlogin</string> | |
<key>Program</key> | |
<string><path to home>/.ssh/addkeyonlogin</string> |
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
#!/usr/bin/env python | |
import re | |
native_gecko_file = open("/Applications/Simplicity Studio.app/Contents/Eclipse/developer/sdks/gecko_sdk_suite/v2.2/protocol/bluetooth/ble_stack/inc/soc/native_gecko.h", "r") | |
contents = native_gecko_file.read() | |
native_gecko_file.close() | |
pattern = re.compile(r'gecko_evt_(.*?)_id\s') |