Skip to content

Instantly share code, notes, and snippets.

View cj-praveen's full-sized avatar

PRAVEEN cj-praveen

View GitHub Profile
window.navigator.browserName = window.navigator.userAgent.includes("Firefox/") ? "Firefox" :
window.navigator.userAgent.includes("Edg/") ? "Edge" :
window.navigator.userAgent.includes("Brave") ? "Brave" :
window.navigator.userAgent.includes("OPR/") || window.navigator.userAgent.includes("Opera/") ? "Opera" :
window.navigator.userAgent.includes("Vivaldi/") ? "Vivaldi" :
window.navigator.userAgent.includes("Chrome/") ? "Chrome" :
window.navigator.userAgent.includes("Safari/") ? "Safari" :
window.navigator.userAgent.includes("MSIE ") || window.navigator.userAgent.includes("Trident/") ? "Internet Explorer" :
window.navigator.userAgent.includes("SamsungBrowser/") ? "Samsung Internet" :
"Unknown";
@cj-praveen
cj-praveen / .vimrc
Last active July 11, 2024 05:29
My Configuration for VIM
set number
syntax on
set showmode
set nobackup
set noswapfile
set noundofile
set nowrap
set encoding=utf-8
set tabstop=4 softtabstop=4
set shiftwidth=4
@cj-praveen
cj-praveen / zed-config.json
Created July 11, 2024 05:28
My Configuration for Zed Code Editor
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
"features": {