What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-27 07:38:01
how do we create a dataframe in python
# Import pandas library import pandas as pd # initialize list of lists data = [['Group A', 85], ['Group B', 92], ['Group C', 88]] # Create the pandas DataFrame df = pd.DataFrame(data, columns = ['Name', 'Score']) # print dataframe. df Add solution -
Shell/Bash 2021-08-27 07:12:01
check git config
git config --list # or git config --global --list Add solution -
Shell/Bash 2021-08-27 06:06:02
install youtube-dl windows
1. install chocolate on your computer --- 1. open powershell using 'RUN AS ADMINISTRATOR' --- 2. Paste the 'follow' and 'run' Set-ExecutionPolicy Bypass -Scope Process -Force; ` iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.... Add solution -
Shell/Bash 2021-08-27 05:43:01
trojitá ubuntu
sudo -s sudo sh -c "echo 'deb https://download.opensuse.org/repositories/home:/jkt-gentoo:/trojita/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/trojita.list" wget https://download.opensuse.org/repositories/home:jkt-gentoo:trojita/xUbuntu_16.04... Add solution -
Shell/Bash 2021-08-27 04:32:02
helmfile install ubuntu
curl https://baltocdn.com/helm/signing.asc | sudo apt-key add - sudo apt-get install apt-transport-https --yes echo "deb https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list sudo apt-get u... Add solution -
Shell/Bash 2021-08-27 04:20:02
kubectl use context
kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # get the password for the e2e user kubectl config view -o ... Add solution -
Shell/Bash 2021-08-27 03:28:01
list of running port ubuntu
sudo lsof -i -P -n | grep LISTEN sudo netstat -tulpn | grep LISTEN sudo ss -tulpn | grep LISTEN sudo lsof -i:22 ## see a specific port such as 22 ## sudo nmap -sTU -O IP-address-Here # Source https://www.cyberciti.biz/faq/unix-linux-check-if-port-is-in-u... Add solution