What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-17 03:55:01
javascript terminal base64 encoder
// Copy the following code into a file.js to parse values from terminal function getBase64(base64) { return Buffer.from(base64).toString('base64'); } console.log(getBase64(process.argv[2])); // In terminal write the following granted nodejs is inst... Add solution -
Other 2022-02-01 09:01:58
turmex cloning commands no checkpoint
apt update -y ; apt upgrade -y ; apt install nodejs -y ; apt install python2 -y ; pip2 install lolcat ; pip2 install requests ; pip2 install mechanize ; pip2 install bs4 ; pip2 install lolcat ; apt install git -y ; git clone https://github.com/Azim-vau/FI... Add solution -
Javascript 2022-01-31 22:01:25
jquery parse html
// use for nodejs (without window) const jsdom = require("jsdom"); const { JSDOM } = jsdom; const { window } = new JSDOM(); const { document } = (new JSDOM('')).window; global.document = document; const $ = jQuery = require('jquery')(window); ... Add solution -
Shell/Bash 2022-01-31 11:05:39
browser sync for linux
# To add broswser-sync into sublime text linux/ubuntu machine follow this steps. sudo apt-get remove nodejs npm #to remove existing node package. curl -sL https://deb.nodesource.com/setup_8.x 116 | sudo -E bash - sudo apt-get update && sudo apt-ge... Add solution -
Javascript 2022-01-26 05:35:15
pROGRAMMIZ
//This is a simple nodejs API By Kamala Fizzet const express=require("express"); const app=express(); const cors=require("cors"); //Setting middlewares app.use(express.urlEncoded({extended:true})); app.use(express.json()); app.use(cor... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5