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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>JavaScript Example</title> | |
</head> | |
<body> | |
<h1>This is a JS Example.</h1> | |
<span class="time">What's the time?!</span> | |
<hr/> |
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 [ -z "$1" ]; then | |
IP_ADDRESS=10.164.208.102 | |
else | |
IP_ADDRESS=$1 | |
fi | |
# FFMPEG command for creating segments from RTSP stream | |
ffmpeg -i rtsp://@${IP_ADDRESS}:5554/playlist.m3u -c copy -map 0 -f segment -strftime 1 -segment_time 60 -segment_format mp4 "%Y%m%d-%H%M.mp4" |
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
// Make variables for the led pin number and delay | |
// These can be used throughout your code | |
int ledPin = 13; | |
int delayMs = 1000; | |
void setup() { | |
// Tell pin 13 to work as an output | |
pinMode( ledPin, OUTPUT ); | |
} |
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
// Make variables to be used throughout code | |
int sensorPin = A0; | |
int ledPin = 13; | |
void setup() { | |
// Tell pin 13 to work as an output: | |
pinMode(ledPin, OUTPUT); | |
} | |
void loop() { |
OlderNewer