Skip to content

Instantly share code, notes, and snippets.

View blpabhishek's full-sized avatar
💭
Working

Abhishek Gupta blpabhishek

💭
Working
View GitHub Profile
@blpabhishek
blpabhishek / switch-safari.scpt
Created March 7, 2020 14:57
Switch Safari's 5 opened tabs on 2 second delay.
tell application "Safari"
activate
set counter to 0
repeat
set counter to (counter + 1)
tell front window of application "Safari" to set current tab to tab (counter)
delay 2
set counter to (counter mod 5)
end repeat
end tell

Keybase proof

I hereby claim:

  • I am blpabhishek on github.
  • I am blpabhishek (https://keybase.io/blpabhishek) on keybase.
  • I have a public key whose fingerprint is A4F9 C550 A2AE 3CED 2B73 51D4 0400 2DBA 6899 71C5

To claim this, I am signing this object:

@blpabhishek
blpabhishek / .vimrc
Created May 17, 2021 14:18
basic vimrc
syntax on
colo desert
set nocompatible
set ruler
set nu
set expandtab
set tabstop=2
set shiftwidth=2
filetype indent plugin on
@blpabhishek
blpabhishek / .zshrc
Created June 4, 2021 14:32
Updated .zshrc
export HOMEBREW_NO_GITHUB_API=1
export HOMEBREW_NO_ANALYTICS=1
export N_PREFIX=~/.n
#zmodload zsh/zprof
# Handle Zsh history
export HISTFILE=~/.zsh_history
export HISTSIZE=15000
export SAVEHIST=10000
setopt BANG_HIST # Treat the '' character specially during expansion.