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 | |
import serial | |
#variables | |
port='COM2'; | |
baudrate='9600'; | |
bytesize=serial.EIGHTBITS; #EIGHT BITS | |
parity=serial.PARITY_NONE; # ODD | |
stopbits=serial.STOPBITS_ONE; # 2 STOP BITS |
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
[Dialer Defaults] | |
Phone = *99# | |
Username = saf | |
Password = data | |
Stupid Mode = 1 | |
Dial Command = ATDT | |
Modem = /dev/ttyUSB0 | |
Baud = 3600000 | |
Init2 = ATZ | |
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 |
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
# -*- coding: utf-8 -*- | |
""" | |
This script will delete all of the tweets in the specified account. | |
You may need to hit the "more" button on the bottom of your twitter profile | |
page every now and then as the script runs, this is due to a bug in twitter. | |
You will need to get a consumer key and consumer secret token to use this | |
script, you can do so by registering a twitter application at https://dev.twitter.com/apps | |
@requirements: Python 2.5+, Tweepy (http://pypi.python.org/pypi/tweepy/1.7.1) |
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
delete from iblis.testtype_measures where test_type_id = 192; | |
delete from iblis.testtype_specimentypes where test_type_id = 192; | |
delete from iblis.test_types where id = 192; | |
delete from iblis.testtype_measures where test_type_id = 181; | |
delete from iblis.testtype_specimentypes where test_type_id = 181; | |
delete from iblis.test_types where id = 181; | |
delete from iblis.testtype_measures where test_type_id = 184; | |
delete from iblis.testtype_specimentypes where test_type_id = 184; | |
delete from iblis.test_types where id = 184; | |
delete from iblis.testtype_measures where test_type_id = 185; |
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
BS for mps | |
GXM | |
Direct COOMBS test | |
Full Haemogram | |
Creatinine | |
Electrolytes | |
Urea | |
HB | |
RFTS | |
Pregnancy test |
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 | |
stty -F /dev/ttyS0 19200 parenb | |
cat /dev/ttyS0 >| /var/www/celtac/celtac-results.txt | |
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
######################################################################## | |
# Minicom configuration file - use "minicom -s" to change parameters. | |
pu port /dev/ttyS0 | |
pu baudrate 9600 | |
pu bits 8 | |
pu parity N | |
pu stopbits 1 | |
pu rtscts No | |
######################################################################## |
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 | |
import sys | |
import time | |
import serial | |
from threading import Thread | |
class RawInput: | |
"""Gets a single character from standard input. Does not echo to the screen.""" | |
def __init__(self): |
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 | |
nohup cat /dev/ttyS0 > /var/www/sysmex/sysmex.dump |
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
14/ 7/1617:34 000000000007Zÿÿÿÿÿÿ 3Ý7°ù9XWY8Ý-¨g2q 5.1 2.21 5.5 17.6 79.6 24.9 31.3 88 34.3 8.9 56.8 1.7 0.5 2.9 22.1 55.7 16.8 10.3 30.6 62.5154.9 ----- ++ EdbA"#3DRSNG9)!8Q_d^P?4) 3N^ddYLE</& &+8EYddddd11 C10 U£ |