Skip to content

Instantly share code, notes, and snippets.

View ar2zee's full-sized avatar
🌀
What's happening?

Artur ar2zee

🌀
What's happening?
View GitHub Profile
@wesbos
wesbos / node-google-speech-to-text.js
Created September 30, 2020 14:47
Syntax Speech to Text
import speech from '@google-cloud/speech';
import fs from 'fs';
import dotenv from 'dotenv';
dotenv.config();
async function main() {
const client = new speech.SpeechClient();
const config = {
function hashStringToInt(s, tableSize) {
let hash = 17;
for (let i = 0; i < s.length; i++) {
hash = (13 * hash * s.charCodeAt(i)) % tableSize;
}
return hash;
}
@bradtraversy
bradtraversy / docker-help.md
Last active October 4, 2024 22:49
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info