What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-01 02:17:02
readline node js
//Node.js readline const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); rl.question('What do you think of Node.js? ', (answer) => { console.log(`Thank you for your valuable... Add solution -
Javascript 2021-09-29 23:47:03
GTM
// REPLACE GTM-1234567 with your GTM ID // REPLACE GTM-1234567 with your GTM ID // REPLACE GTM-1234567 with your GTM ID // Paste this code as high in the <head> of the page as possible: <!-- Google Tag Manager --> <script>(function(w,d,... Add solution -
Other 2021-09-29 11:41:02
environment texture in three.js
// Load envMap. var textureLoader = new THREE.TextureLoader(); var texture = textureLoader.load('/path/to/env.jpg'); // Load model. modelLoader.load('/path/to/model.foo', (object) => { // Apply envMap to model. object.traverse((node) => { i... Add solution -
Javascript 2021-09-29 08:39:03
express js server
/* ====== create node.js server with express.js framework ====== */ // dependencies const express = require("express"); const app = express(); app.get("/", (req, res) => { res.send("This is home page."); }); app.post... Add solution -
C# 2021-09-29 01:30:02
C# search a nonbinary tree for common ancestor +nonbinary
public class Node<T> where T:IComparable { public T Value { get; set; } public IList<Node<T>> Children { get; set; } public override string ToString() { return Value.ToString(); } public static Func<... Add solution