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
#!/bin/bash | |
# IP address to cycle through (in order of priority) | |
ip=( "192.168.20.102" "192.168.20.103" ) | |
# Check if synergy is already connected | |
if pgrep "synergyc"; then | |
# Synergy already connected | |
echo "Synergy is already running." | |
else |
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/env python | |
'Generate Time Table' | |
from __future__ import print_function | |
import sys | |
import argparse | |
from collections import defaultdict | |
START_TIME = 8 | |
# Time when classes start |
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/env python2 | |
import usbtmc | |
import time | |
from math import sin | |
listOfDevices = usbtmc.getDeviceList() | |
dn = listOfDevices[0] | |
d = usbtmc.UsbTmcDriver(dn) | |
print d.getName() |
NewerOlder