What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 23:26:01
sbt download for ubuntu
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add sudo apt-g... Add solution -
Shell/Bash 2021-08-26 22:55:02
list process using port
sudo lsof -n -i :80 | grep LISTEN Add solution -
Shell/Bash 2021-08-26 22:33:01
git list config
git config --list # or git config --global --list Add solution -
Javascript 2021-08-26 22:27:01
preventdefault on back in vuejs
<script>export default { // ... beforeMount() { window.addEventListener("beforeunload", event => { if (!this.isEditing) return event.preventDefault() // Chrome requires returnValue to be set. event.returnValue =... Add solution -
Shell/Bash 2021-08-26 21:17:02
wireless connection troubleshooting ubuntu 20.04
rfkill list #if hard blocked option is yes lspci -v #at the Network controller you will find your wifi adapter name #search on google and download the iwllwifi corresponding at the network controller #exemple for intel i go to https://www.intel.com/cont... Add solution -
Shell/Bash 2021-08-26 21:13:01
force to kill any process port ubuntu
sudo kill -9 $(sudo lsof -t -i:9001) lsof - list of files(Also used for to list related processes) -t - show only process ID -i - show only internet connections related process :9001 - show only processes in this port number kill - comm... Add solution -
Shell/Bash 2021-08-26 20:36:02
could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
cd /etc/postgresql/9.x/main/ ------- open file named postgresql.conf sudo nano postgresql.conf ------- add this line to that file listen_addresses = '*' ------- then open file named pg_hba.conf sudo nano pg_hba.conf ------- and add this line to that file ... Add solution