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
from datetime import datetime | |
from os import system | |
import requests | |
import json | |
## Please install ffmpeg before running this script and make sure it's in your PATH | |
## brew install ffmpeg | |
## Please install requests before running this script | |
## pip3 install requests |
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
#!/bin/bash | |
# Script: backup-restore.sh | |
# Description: A script to perform backup and restore operations for a MongoDB database. | |
# Author: Aakash Gajjar | |
# Last modified: 2023-06-03 | |
# S3 bucket to upload database backup file | |
bucketName="" |
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
[ | |
{ | |
'$match': { | |
'driver_id': new ObjectId('657953b26a91175eb8b6bc93'), | |
'load_id': { | |
'$exists': true, | |
'$nin': [ | |
'', null | |
] | |
} |
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
[ | |
{ | |
$match: { | |
driver_id: ObjectId( | |
"656d9b8c6a91175eb8c3ea3a" | |
), | |
vehicle_name: { $nin: ["", "0", null] }, | |
// vehicle_name: "5405" | |
}, | |
}, |
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
{ | |
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/schema-catalog.json", | |
"version": 1, | |
"schemas": [ | |
{ | |
"name": "1Password SSH Agent Config", | |
"description": "Configuration file for the 1Password SSH agent", | |
"fileMatch": ["**/1password/ssh/agent.toml"], | |
"url": "https://developer.1password.com/schema/ssh-agent-config.json" | |
}, |
This file has been truncated, but you can view the full file.
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
{ | |
"success": true, | |
"data": { | |
"transcript": { | |
"id": "0b45ec57-83af-4947-87e3-567803c308f6", | |
"language_model": "assemblyai_default", | |
"acoustic_model": "assemblyai_default", | |
"language_code": "en_us", | |
"status": "completed", | |
"audio_url": "https://cdn.assemblyai.com/upload/4e3e11d1-7537-4909-b6fa-17268f0df170", |
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
{ | |
"success": true, | |
"data": { | |
"utterances": [ | |
{ | |
"speaker": "A", | |
"sentences": [ | |
{ | |
"confidence": 0.87960375, | |
"end": 3150, |
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
module.exports = { | |
parser: '@typescript-eslint/parser', | |
parserOptions: { | |
project: 'tsconfig.json', | |
tsconfigRootDir: __dirname, | |
sourceType: 'module', | |
}, | |
plugins: ['@typescript-eslint', 'prettier', 'import'], | |
extends: [ | |
'eslint:recommended', |
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
List of images |
OlderNewer