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
let recorder = null; | |
const onsuccess = (stream) => { | |
recorder = new MediaRecorder(stream, { | |
type: 'audio/ogg; codecs=opus' | |
}); | |
recorder.start(); // Starting the record | |
recorder.ondataavailable = (e) => { |
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
history | |
echo "I'm inside" | |
echo "Creating a dummy file" | |
touch dummy-file | |
echo "Adding to git" | |
git add . | |
git commit -m 'This is a test' |
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 { NgModule, ErrorHandler } from '@angular/core'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { IonicApp, IonicErrorHandler, IonicModule, AlertController, LoadingController } from 'ionic-angular'; | |
import { MyApp } from './app.component'; | |
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
import { HttpModule, RequestOptions, XHRBackend } from '@angular/http'; | |
import { LocalStorageProvider } from '../providers/local-storage/local-storage'; | |
import { httpService } from '../providers/http/http'; |
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
{ | |
"timestamp": "2019-05-18T10:20:54+0000", | |
"user_id": ObjectId("5cdfce277b0c5ee88b24069c"), | |
"orders": [ObjectId("5cdfd3887b0c5ee88b2406a0"), ObjectId("5cdfd46c7b0c5ee88b2406a2")], | |
"price": { | |
"delivery_charges": 30, | |
"taxes": 10, | |
"total": 110 | |
} | |
} |
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
<div appDisableClipboard> | |
<!-- | |
Your HTML Content here | |
--> | |
</div> |
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
function onEdit(e) { | |
var sheet = e.source.getActiveSheet(); | |
var activeCell = sheet.getActiveCell(); | |
var col = activeCell.getColumn(); | |
var row = activeCell.getRow(); | |
if (col == 2 ) { // assuming status is in column 2, adapt if needed | |
sheet.getRange(row, col+1).setValue(new Date()).setNumberFormat('MMM dd yyyy - HH:mm');// change the display format to your preference here | |
} | |
} |