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
package com.synthetos; | |
import android.telephony.SmsManager; | |
import android.telephony.TelephonyManager; | |
import android.util.Log; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.provider.Settings.Secure; | |
import android.view.View; |
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
if (line.contains("sr\":")) { | |
//Parse Status Report | |
this.X_AXIS.setWork_position(Float.parseFloat((json.getNode("sr").getNode("xwp").getText()))); | |
this.Y_AXIS.setWork_position(Float.parseFloat((json.getNode("sr").getNode("ywp").getText()))); | |
this.Z_AXIS.setWork_position(Float.parseFloat((json.getNode("sr").getNode("zwp").getText()))); | |
this.A_AXIS.setWork_position(Float.parseFloat((json.getNode("sr").getNode("awp").getText()))); | |
} |
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/python | |
import os | |
import commands | |
import random | |
basedir = "analysis" | |
if __name__ == "__main__": |
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/python | |
from OpenSSL import crypto, SSL | |
from socket import gethostname | |
from pprint import pprint | |
from time import gmtime, mktime | |
from os.path import exists, join | |
CERT_FILE = "myapp.crt" | |
KEY_FILE = "myapp.key" |
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
{ | |
"config": { | |
"XON": true, | |
"AUTOHOME": false, | |
"DEBUG": true, | |
"Motor1": { | |
"axis": "X", | |
"deg_per_step": "1.8", | |
"step_per_min": "500", | |
"polarity": 1, |
NewerOlder