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
import serial | |
import csv | |
com = serial.Serial('COM15') | |
f = open('data1500.csv', 'wb') | |
csvWriter = csv.writer(f) | |
while True: | |
listData = [] | |
line = com.readline() |
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
2013-01-18 17:50:10.634 155-155/? I/vold: Vold 3.0 (the awakening) firing up | |
2013-01-18 17:50:10.635 155-155/? D/vold: Detected support for: ext4 f2fs vfat | |
2013-01-18 17:50:10.638 155-155/? D/vold: Found unmanaged dm device named product | |
2013-01-18 17:50:10.638 155-155/? D/vold: Found unmanaged dm device named vendor | |
2013-01-18 17:50:10.638 155-155/? D/vold: Found unmanaged dm device named system | |
2013-01-18 17:50:10.638 155-155/? D/vold: Found unmanaged dm device named odm | |
2013-01-18 17:50:10.638 155-155/? W/vold: Failed to LOOP_GET_STATUS64 /dev/block/loop10: No such device or address | |
2013-01-18 17:50:10.638 155-155/? W/vold: Failed to LOOP_GET_STATUS64 /dev/block/loop2: No such device or address | |
2013-01-18 17:50:10.638 155-155/? W/vold: Failed to LOOP_GET_STATUS64 /dev/block/loop15: No such device or address | |
2013-01-18 17:50:10.638 155-155/? W/vold: Failed to LOOP_GET_STATUS64 /dev/block/loop3: No such device or address |
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
name: Android CI | |
on: | |
pull_request: | |
types: [opened] | |
push: | |
branches: [ master ] | |
jobs: | |
build: |
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
#define LED 13 | |
void setup() { | |
Serial.begin(9600); | |
pinMode(LED, OUTPUT); | |
} | |
void loop() { | |
if (Serial.available() > 0) { | |
uint8_t i = (uint8_t)Serial.read(); |
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
[ | |
{ | |
"id": "1bd3a53a.f18a4b", | |
"type": "start-activity", | |
"z": "1fc065a.0143b9a", | |
"name": "", | |
"x": 650, | |
"y": 300, | |
"wires": [ | |
[ |
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
[ | |
{ | |
"id": "b5d0dcd8.7e15e", | |
"type": "inject", | |
"z": "a731f8c4.b67b38", | |
"name": "", | |
"topic": "", | |
"payload": "", | |
"payloadType": "date", | |
"repeat": "", |
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
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="inout_digital_write" id="7" x="38" y="63"><field name="PIN">11</field><field name="STAT">HIGH</field><next><block type="delay" id="8"><field name="DELAY_TIME">1000</field><next><block type="inout_digital_write" id="9"><field name="PIN">11</field><field name="STAT">LOW</field><next><block type="delay" id="10"><field name="DELAY_TIME">1000</field></block></next></block></next></block></next></block></xml> |
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
#include <Process.h> | |
void setup(){ | |
Bridge.begin(); | |
Serial.begin(9600); | |
while(!Serial); | |
} | |
void loop() { | |
Process process; |
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
# This code is taken from Santiago'blog below | |
# https://www.shiftedup.com/2014/11/13/how-to-bulk-remove-files-from-slack | |
import requests | |
import json | |
import calendar | |
from datetime import datetime, timedelta | |
_token = "YOUR TOKEN GOES HERE" | |
_domain = "YOUR SUB DOMAIN HERE" |
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
{ | |
"name": "Chrome Keyconfig", | |
"version": "1.11.0", | |
"normal_actions": { | |
"j": { | |
"name": "scroll down", | |
"args": [] | |
}, | |
"k": { | |
"name": "scroll up", |
NewerOlder