heroku pg:backups:capture --app <APP_NAME>
Or capture a backup using database name:
heroku pg:backups:capture
First, you would want to know which process is using port 3000
sudo lsof -i :3000
this will list all PID listening on this port, once you have the PID you can terminate it with the following:
kill -9 {PID}
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
I started a project on a Hobby Dev plan (free, limit 10,000 rows), and then later needed to upgrade it to Hobby Basic ($9/month, limit 10,000,000 rows).
After assigning the new database, I had two databases attached to the application. They looked something like this:
mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.
Github will be the main account and bitbucket the secondary.
| import React, { useEffect } from 'react'; | |
| export const useOnElementOrOutsideClick = ( | |
| ref: React.RefObject<HTMLElement>, | |
| functionToExecute: () => void, | |
| condition = true, | |
| elementId?: string, | |
| ): void => { | |
| useEffect(() => { | |
| const handleClick = (event: any) => { |
| <html> | |
| <head> | |
| <title></title> | |
| <style> | |
| body { | |
| margin: 1.5rem; | |
| font-family: 'Maison Neue Light', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; | |
| } | |
| div.wrapper { |