This file has been truncated, but you can view the full file.
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
{'timestamp': '2019-02-06 11:03:15.650098', 'axisSpeedRpm': 1.7090365886688232, 'axisSLoad': -0.05493331700563431, 'analogInputValueX': 3.8829524517059326, 'analogInputValueY': -7.659313678741455, 'analogInputValueZ': 0.0} | |
{'timestamp': '2019-02-06 11:03:16.324970', 'axisSpeedRpm': 1.7090365886688232, 'axisSLoad': 0.0, 'analogInputValueX': 7.765904903411865, 'analogInputValueY': -7.659313678741455, 'analogInputValueZ': -3.8296568393707275} | |
{'timestamp': '2019-02-06 11:03:18.964207', 'axisSpeedRpm': 1.7090365886688232, 'axisSLoad': -0.05493331700563431, 'analogInputValueX': 0.0, 'analogInputValueY': -7.659313678741455, 'analogInputValueZ': -3.8296568393707275} | |
{'timestamp': '2019-02-06 11:03:20.320778', 'axisSpeedRpm': 1.7090365886688232, 'axisSLoad': 0.048829615116119385, 'analogInputValueX': -19.414762496948242, 'analogInputValueY': -7.659313678741455, 'analogInputValueZ': -3.8296568393707275} | |
{'timestamp': '2019-02-06 11:03:23.135435', 'axisSpeedRpm': 1.7090365886688232, 'axisSLoad': 0.0, 'analogInputValueX |
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
// defines pins numbers | |
const int stepX = 2; | |
const int dirX = 5; | |
const int stepY = 3; | |
const int dirY = 6; | |
const int stepZ = 4; | |
const int dirZ = 7; |
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/sh | |
# Self signed certificate for Nginx HTTPS | |
# | |
openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout /etc/nginx/ssl/my-domain.key -out /etc/nginx/ssl/my-domain.crt |
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
// working only when gridview is in ScrollView | |
private void setFixedHeightOnGridView() { | |
int fixedHeight = 0; | |
int columnCount = 2; | |
int rows = 0; | |
for (int i = 0; i < mNavigationView.getAdapter().getCount(); i = i + columnCount) { | |
int highestItemInRow = 0; | |
for (int j = i; j < i + columnCount; j++) { |