What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-03-01 06:15:28
Streaming Speech-to-Text API Recognition Requests nodejs
const recorder = require('node-record-lpcm16'); // Imports the Google Cloud client library const speech = require('@google-cloud/speech'); // Creates a client const client = new speech.SpeechClient(); /** * TODO(developer): Uncomment the following lin... Add solution -
Javascript 2022-02-28 11:25:05
npm err! 503 service unavailable proxy
first add this: - npm config set registry http://registry.npmjs.org/ If your organization use proxy , add proxy : - npm config set proxy "http://username:password@proxy-url:proxy-port" - npm config set https-proxy "http://username:passwo... Add solution -
Javascript 2022-02-25 18:15:09
npm ERR! 503 Service Unavailable: npm@latest
first add this: - npm config set registry http://registry.npmjs.org/ If your organization use proxy , add proxy : - npm config set proxy "http://username:password@proxy-url:proxy-port" - npm config set https-proxy "http://username:passwo... Add solution -
Javascript 2022-02-25 03:25:02
npm ERR! errno ECONNRESET
first add this: - npm config set registry http://registry.npmjs.org/ If your organization use proxy , add proxy : - npm config set proxy "http://username:password@proxy-url:proxy-port" - npm config set https-proxy "http://username:passwo... Add solution -
Other 2022-02-25 01:30:06
include path of angular js and bootstrap
<!DOCTYPE html><html> <head> <!-- JS --> <!-- JQuery --> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <!-- Bo... Add solution -
Html 2022-02-21 18:45:15
font awesome 5
https://fontawesome.com/icons?d=gallery&p=2 <!DOCTYPE html> <html> <head> // Font Awesome cdn link <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"... Add solution -
Javascript 2022-02-19 21:00:01
angular this web site use cookie example
<!-- put this code in youre index page --> <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" /> <script src="//cdnjs.cloudflare.com/a... Add solution -
Javascript 2022-02-19 16:35:45
connecting mongoose with express js
//connect with mongodb mongoose.connect('mongodb://localhost:27017/your_db_name', {useNewUrlParser: true}); //you can also specify with user and pass mongoose.connect('mongodb://username:password@host:port/database?options...', {useNewUrlParser: true}); ... Add solution -
Javascript 2022-02-17 15:50:02
wordpress use jquery in functions.php
I know what you mean about the tutorials. Here's how I do it: First you need to write your script. In your theme folder create a folder called something like 'js'. Create a file in that folder for your javascript. E.g. your-script.js. Add your jQuery scr... Add solution