Skip to content

Instantly share code, notes, and snippets.

View syaro's full-sized avatar
🍣
< Yo

Yuji Kurihara syaro

🍣
< Yo
  • Fleur du lapin.
  • Tokyo Japan
View GitHub Profile
### Keybase proof
I hereby claim:
* I am syaro on github.
* I am syaro (https://keybase.io/syaro) on keybase.
* I have a public key ASBsfxQ5TFtZ0jbgaF2BHYql3nv4Ntpx2oIqnlXnBbEc0wo
To claim this, I am signing this object:
import nfc
import time
servcode = 0x110B
def connected(tag):
service_code = [nfc.tag.tt3.ServiceCode(servcode >> 6, servcode & 0x3f)]
students_id = [nfc.tag.tt3.BlockCode(i) for i in range(1, 2)]
print tag.read_without_encryption(service_code, students_id)
time.sleep(3)
clf.connect(rdwr={'on-connect': connected})