What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-27 18:25:18
react get lat long of address
// install dependency with npm as seen below // npm install react-geocode // IMPORTANT - You will need to insert your Google Maps API on line 15 or this // will not work, click on the link below to get started with Google Maps Platform // https://develop... Add solution -
-
Javascript 2022-03-27 12:05:28
react-dom-router
npm install react-router-dom //This will Install the react-router to the required folder //Here is a Sample Code for React Router DOM import React from "react"; import { BrowserRouter as Router, Switch, Route, Link } from "react-r... Add solution -
-
Shell/Bash 2022-03-23 22:55:48
locate redis.conf on ununtu / linux
sudo apt update sudo apt install redis-server sudo nano /etc/redis/redis.conf # change "supervised no" to "supervised systemd" supervised systemd sudo systemctl restart redis.service sudo systemctl status redis redis-cli Add solution -
Other 2022-03-20 06:35:02
Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)
On Mac OXS: Step 1 - brew install redis # Install redis (if not installed) Step 2 - redis-server # Start the redis server or Step 2 redis-server --daemonize yes # to start redis in the background # By default R... Add solution -