What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-17 01:29:02
nick j dotfiles
# I would consider these packages essential or very nice to have. The GTK # version of Vim is to get +clipboard support, you'd still run terminal Vim. sudo apt-get update && sudo apt-get install -y \ vim-gtk \ tmux \ git \ gpg \ curl \ ... Add solution -
Javascript 2021-09-16 16:10:02
mongodb Operation `events.find()` buffering timed out
The issue on model.find() error: Operation products.find() buffering timed out after 10000ms" was resolved by removing the node_module folder, *.json files and reinstalling the mongoose module. The issue on the warnings was resolved by following t... Add solution -
Javascript 2021-09-15 22:36:03
the angular cli requires a minimum node.js version of either v10.13 or v12.0
I would recommend you to remove your NodeJS installation completely and re-install NodeJS through NVM. This way you can easily switch between multiple NodeJS versions and the other benefit of that for each active NodeJS version you may able to install spe... Add solution -
Javascript 2021-09-15 19:43:03
jstree ajax search
<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>Simple jsTree</title> <link rel="stylesheet" href=&quo... Add solution -
Javascript 2021-09-15 04:12:02
serialization and deserialization in javascript
let simpleJSON ={ "name":"John", "age":30, "car":null }; //serialization is converting an object to a string //...its useful when data is to be transmitted across a network let simpleString = JSON.stringify(simpleJS... Add solution -
Javascript 2021-09-14 22:34:01
require method-override
'use strict'; // Application dependencies const express = require('express'); const cors = require('cors'); const superagent = require('superagent'); const pg = require('pg'); const methodOverride = require('method-override'); // Application setup requir... Add solution