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
var net = require("net"); | |
process.on("uncaughtException", function(error) { | |
console.error(error); | |
}); | |
if (process.argv.length != 5) { | |
console.log("usage: %s <localport> <remotehost> <remoteport>", process.argv[1]); | |
process.exit(); | |
} |
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
[ | |
{ | |
"action": "talk", | |
"voiceName": "Russell", | |
"text": "This is see wah, Patient in room 227 needs immediate attention." | |
} | |
] |
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
const readline = require('readline'); | |
const roundTo = require('round-to'); | |
const rl = readline.createInterface({ | |
input: process.stdin, | |
output: process.stdout | |
}); | |
function printHelpMessage(){ | |
console.log("<<--COMMANDS-->>"); |
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
Setup 1: | |
Server attached with Camera | |
Client with Web Browser | |
Setup 2: | |
Streamer (Computer attached with camera) | |
Web Server | |
Client with Browser | |
Setup1 vs Setup2: | |
Setup2 will have higher latency (compared to setup 1) on real-time video streaming |
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 java.util.Arrays; | |
public class LongestIncreasingSubsequenceDetector { | |
private int[] extractedLongestIncreasingSubsequence; | |
private int extractedLongestIncreasingSubsequenceLength; | |
private int extractedLongestIncreasingSubsequenceEndingIndex; | |
private int extractedLongestIncreasingSubsequenceStartingIndex; | |
private int[] optResults; | |
private int[] initialNumberSequence; |
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
public class LongestIncreasingSubsequenceDetector { | |
private int[] extractedLongestIncreasingSubsequence; | |
private int extractedLongestIncreasingSubsequenceLength; | |
private int extractedLongestIncreasingSubsequenceEndingIndex; | |
private int extractedLongestIncreasingSubsequenceStartingIndex; | |
private int[] optResults; | |
private int[] initialNumberSequence; | |
LongestIncreasingSubsequenceDetector() { |
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
/* notificationList Component | |
Author: Birkan Kolcu | |
License: MIT | |
Description: Simple HTML table component which can be manipulated from javascript. Written without any framework., | |
Example Usage: | |
notificationListComponent.initialize("yes"); | |
// Alternatively you can initialize it with styleOptions: notificationListComponent.initialize("yes", {"padding": "30px"}); | |
notificationListComponent.appendToList("maId", "red", "title", "content"); | |
notificationListComponent.removeFromList("maId"); |
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
console.log("Hello gist!"); |