sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable
sudo nix-channel --update nixos-unstable
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.chrome.options import Options | |
from selenium.webdriver.support.ui import Select | |
import time | |
iter,random_start,ad_start,actual_ad,in_db,detected_ad,input_confidence,result | |
0,362419,362419,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,False,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,0.06,True | |
1,362419,372419,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,False,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,0.04,True | |
2,362419,382419,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,False,Ad for Cult fit fitness #advertising #ranveersingh #gym #fitness #motivation-enc,0.03,True | |
0,769514,769514,saajna,True,Gujarat Tourism Advertisement Ft. Amitabh Bachan Ahmedabad Tourism-enc,0.02,True | |
1,769514,779514,saajna,True,Great for the Good ft. Neeraj Chopra CRED-enc,0.01,True | |
2,769514,789514,saajna,True,OnePlus 11R 5G Solar Red Relive the Red Rush-enc,0.02,True | |
0,9424,9424,subway-enc,False,subway-enc,0.06,True | |
1,9424,19424,subway-enc,False |
Ctrl + X
kill active processCtrl + D
exit active shellCtrl + L
clear screenCtrl + Z
put current process in background (fg
to bring it back to foregorund)Ctrl + A
to go to front of a lineCtrl + E
to go the end of a lineCtrl + F
to go forward one character (right arrow)Ctrl + B
to go backward one character (left arrow)Alt + F
to go forward one word (vim w
motion)Alt + B
to go backward one word (vim b
motion)#!/bin/bash | |
tar --use-compress-program=pigz -xvf archlinux_kde_${TIMESTAMP}.tar.gz |
#!/bin/bash | |
echo "A simple script compress my dotfiles" | |
echo "------------------------------------" | |
# Check if 'pigz' is installed or not | |
command_exists() { | |
command -v "$1" >/dev/null 2>&1 | |
} |
{ | |
"background": "#181818", | |
"foreground": "p:white", | |
"style": "powerline", | |
"properties": { | |
"display_mode": "environment", | |
"fetch_virtual_env": true, | |
"home_enabled": true | |
}, | |
"type": "python", |
_
(underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
0
(zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)$
(dollar) to move the cursor at the end of line (doesn't switch to insert mode)d$
will delete from wherever your cursor is till the end of the linef<character>
to move cursor to the first occurrence of <character>
f(
to move cursor to first occurence of (
t<character>
to move cursor to upto but not on the first occurrence of <character>
t(
to move cursor to first occurence of (