Uninstall RabbitVCS
Solution 1
Using:
sudo dpkg --purge rabbitvcs
Or:
sudo apt-get purge rabbitvcs
Solution 2
Well sudo dpkg --purge rabbitvcs
doesn't work for me, i only wanted to remove rabbitvcs from nautilus. It was scanning again and again each time when i open initialized repository's folder.
I ran this command first to list all the rabbitvcs packages installed.
dpkg -l | grep rabbit
then ran the following to remove rabbitvcs nautilus package:
sudo dpkg --purge rabbitvcs-nautilus3
You can uninstall other packages as well:
rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus3 rabbitvcs-thunar
Solution 3
On ubuntu 16.04
sudo apt-get purge rabbitvcs*
This will remove all the packages that were installed when installation was done using:
sudo apt-get install rabbitvcs*
Related videos on Youtube
Blondish
Updated on September 18, 2022Comments
-
Blondish almost 2 years
I am fetching data inside of useEffect, with intention to update useState with data obtained. I kept getting null inside of oneCrypto state value even though console log showed that data was received. Realized it has to do with second argument missing in useState. When add [] empty array, my oneCrypto shows null. When I set [oneCrypto] inside the array, as a dependency, my app crashes - too many requests, console log prints data received over and over and I don't understand why... help please.
import React, { useState, useEffect } from "react" import { useParams } from "react-router-dom" export default function SingleCrypto() { const [loading, setLoading] = useState(false) const [oneCrypto, setOneCrypto] = useState(null) const { id } = useParams() useEffect(() => { async function getOneCrypto() { try { const proxyurl = "https://cors-anywhere.herokuapp.com/"; const response = await fetch(proxyurl + "https://pro-api.coinmarketcap.com/v1/cryptocurrency/info?id=" + id, { headers: { } } ) const data = await response.json() const mydata = data.data; setOneCrypto(mydata) console.log(oneCrypto) } catch (error) { console.log(error) } } getOneCrypto() }, [oneCrypto]) return <> <h1>I am Single Crypto page</h1> </> }
-
Shivam Jha over 3 yearsWhy are you returning a function inside
useEffect()
?
-