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
diff --git a/.gitignore b/.gitignore | |
index 5d64756..0f62530 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -54,3 +54,6 @@ buck-out/ | |
# Bundle artifact | |
*.jsbundle | |
+ | |
+# Ignore google-services.json because this is a demo app |
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
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDebug'. | |
> Internal error when trying to read zip file '/home/peat/.gradle/caches/transforms-1/files-1.1/appcompat-v7-28.0.0.aar/46507a4048c6dea1904def8fac41d1bf/jars/classes.jar'. | |
* Try: | |
Run with --info or --debug option to get more log output. Run with --scan to get full insights. | |
* Exception is: |
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
/* | |
* PCINT7Seg.c | |
* | |
* Created: 30/4/2561 21:44:33 | |
* Author : peath | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> |
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
/* | |
* UartTest.c | |
* | |
* Created: 30/4/2561 20:04:00 | |
* Author : peath | |
*/ | |
#include <avr/io.h> | |
void UART_init() { |
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
http://www.voovlive.com/voov-web/user/checkStatus?uins=[VOOV ID] | |
http://www.voovlive.com/voov-web/user/getUserInfo?uin=[VOOV ID] | |
http://www.voovlive.com/voov-web/live/getLiveVideoUrl?room_id=[ROOM ID]&uin=[VOOV ID] | |
http://www.voovlive.com/voov-web/live/getRoomInfo?room_id=[ROOM ID]&uin=[VOOV ID] | |
// แถม | |
http://www.voovlive.com/voov-web/live/getList?room_id=[ROOM ID]&uin=[VOOV ID] |
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
/* @flow */ | |
type A = { | |
x: number | |
}; | |
type B = A & { | |
y: string | |
}; |
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
furious([], L2, L2). | |
furious([X|L1], L2, [X|L3]) :- | |
furious(L1, L2, L3). | |
isTwice(Full) :- | |
furious(Half, Half, Full). |
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
checkWays(0). | |
checkWays(N) :- | |
N >= 5, | |
M is N - 5, | |
checkWays(M). | |
checkWays(N) :- | |
N >= 3, | |
M is N - 3, |
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
import java.util.*; | |
public class ParseString { | |
public static ArrayList<String> parse(String input) { | |
ArrayList<String> result = new ArrayList<>(); | |
String[] splitInput = input.split(","); | |
for (int i = 0; i < splitInput.length; i++) { | |
String s = splitInput[i].trim(); |
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
/* | |
* Author: Ratchanan Srirattanamet | |
*/ | |
int Menable = 6; //PWM capable | |
int MdriveA = 5; | |
int MdriveB = 4; | |
int delaytime = 300; | |
void setup() { |