Skip to content

Instantly share code, notes, and snippets.

let lastclosedtablimit = 100
map "d" quit
map "u" lastClosedTab
map "ctrl+d" scrollPageDown
map "ctrl+u" scrollPageUp
map "backspace" goBack
map "shift+backspace" goForward
"let hintcharacters="1234567890"
let blacklists = ["*://www.netflix.com/*"]
@dhruvkp
dhruvkp / cvim
Last active April 4, 2018 05:02
let barposition = "bottom"
map <C-d> scrollPageDown
map <C-u> scrollPageUp
map d closeTab
map u lastClosedTab
set smoothscroll
let searchengine image="https://www.google.com/search?safe=off&source=lnms&tbm=isch&q=%s"
let searchlimit=15
let searchengine youtube="https://www.youtube.com/results?search_query=%s"
@dhruvkp
dhruvkp / server_ip
Last active September 29, 2016 20:00
76.184.100.8
@dhruvkp
dhruvkp / safari_passwords.scpt
Last active August 17, 2020 16:18
Exports safari passwords (iCloud keychain) into csv (importable into chrome). Steps in a comment below.
tell application "Safari" to activate
tell application "System Events" to tell process "Safari"
click menu item "Preferences…" of menu "Safari" of menu bar item "Safari" of menu bar 1 of application process "Safari" of application "System Events"
click button "Passwords" of toolbar 1 of window 1
end tell
tell me
activate
display dialog "You must unlock Safari Passwords window first and then confirm by pressing this button..." buttons {"Quit script", "I have unlocked Safari Passwords window!"}
end tell
tell window "Passwords" of application "Safari" to activate