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/expect -f | |
# Runs bluetoothctl and attempts to connect with bluetooth device | |
# If connection fails, tries to unpair, pair and then connect again | |
# My specific device apparently can't be paired to multiple hosts, so it needs this | |
# Change this to whatever your device's bluetooth ID is | |
set ID "BC:FD:5B:00:14:28" | |
spawn "bluetoothctl" |
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 script retrieves the RTU course names corresponding to the RTU course codes | |
### Works as of 13.03.16. | |
### Coded by Linards Jukmanis - 0x4C4A.com | |
# Needs python, urllib2, cookielib and regular expressions | |
import urllib2 | |
import cookielib | |
import re | |
# Input your course codes |
NewerOlder