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
// somewhere in your frontend | |
// <button id="start">Start</button> | |
// <button id="stop">Stop</button> | |
if (navigator.mediaDevices) { | |
let accessLevel = { audio: true }; | |
let voiceInputData = []; | |
// use a button or use an even to trigger listening | |
let record = document.getElementById('start'); | |
let stopRecord = document.getElementById('stop'); |
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
const fs = require('fs'); | |
var dataFile = JSON.parse(fs.readFileSync('file.json')); | |
/** | |
* Sort JSON file by particular key | |
* NOTE: Key should be a value that can be converted to interger with parseInt() | |
* @param {String} key JSON key to use | |
* @param {Object} data JSON object | |
*/ | |
function sortBy(key, data) { |
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
/tmp/ccYO5QZM.o: In function `Encoder::encodeAndRenderImage(std::__cxx11::basic_string<char, std::char_traits<char>, std: | |
:allocator<char> >&, RenderingInfo)': | |
encoder.cpp:(.text+0xa2e): undefined reference to `cv::rectangle(cv::Mat&, cv::Rect_<int>, cv::Scalar_<double> const&, in | |
t, int, int)' | |
/tmp/ccYO5QZM.o: In function `cv::Mat::Mat(int, int, int, cv::Scalar_<double> const&)': | |
encoder.cpp:(.text._ZN2cv3MatC2EiiiRKNS_7Scalar_IdEE[_ZN2cv3MatC5EiiiRKNS_7Scalar_IdEE]+0xdb): undefined reference to `cv | |
::Mat::operator=(cv::Scalar_<double> const&)' | |
/tmp/ccYO5QZM.o: In function `cv::Mat::~Mat()': | |
encoder.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x39): undefined reference to `cv::fastFree(void*)' | |
/tmp/ccYO5QZM.o: In function `cv::Mat::create(int, int, int)': |
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
hacker110@zoraya:/media/hacker110/backup/gci/omrs-master/openmrs-module-radiology$ mvn clean package docker:build | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] Radiology | |
[INFO] Radiology API | |
[INFO] Radiology OMOD | |
[INFO] Updating license headers... |
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/api/src/main/java/org/openmrs/Encounter.java b/api/src/main/java/org/openmrs/Encounter.java | |
index 913724a..692d96c 100644 | |
--- a/api/src/main/java/org/openmrs/Encounter.java | |
+++ b/api/src/main/java/org/openmrs/Encounter.java | |
@@ -19,7 +19,6 @@ import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.Deque; | |
import java.util.HashMap; | |
-import java.util.HashSet; | |
import java.util.Iterator; |
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
collin@grimm:/media/collin/backup/gci/openmrs-core$ mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] OpenMRS | |
[INFO] openmrs-tools | |
[INFO] openmrs-test | |
[INFO] openmrs-api | |
[INFO] openmrs-web |