Skip to content

Instantly share code, notes, and snippets.

View MinSomai's full-sized avatar
🇳🇵
from the land of Mountains, Nepal. Namaste!

Min Somai MinSomai

🇳🇵
from the land of Mountains, Nepal. Namaste!
View GitHub Profile
@MinSomai
MinSomai / Day 8 : Golang | Dictionaries and Maps - Hackerrank.go
Created March 2, 2021 10:08
Day 8 : Golang | Dictionaries and Maps - Hackerrank.go
package main
import (
"fmt"
"bufio"
"os"
"strings"
"strconv"
"io"
)
@MinSomai
MinSomai / Day 6 : Golang | Let's Review - Hackerrank.go
Created February 28, 2021 14:40
Day 6 : Golang | Let's Review - Hackerrank.go
package main
import (
"fmt"
"bufio"
"os"
"strings"
)
func main() {
//Enter your code here. Read input from STDIN. Print output to STDOUT
@MinSomai
MinSomai / Sales by Match : Golang | Problem Solving - Hackerrank.go
Last active February 27, 2021 14:47
Sales by Match : Golang | Problem Solving - Hackerrank.go
package main
import (
"bufio"
"fmt"
"io"
"os"
"strconv"
"strings"
"sort"
@MinSomai
MinSomai / Grading Students : Golang | Problem Solving - Hackerrank.go
Last active February 27, 2021 14:48
Grading Students : Golang | Problem Solving - Hackerrank.go
package main
import (
"bufio"
"fmt"
"io"
"os"
"strconv"
"strings"
)
{
"content": {
"domains": {
"trello.com": {
"name": "trello.com",
"alltime": {
"seconds": 2359
},
"days": {
"2019-03-05": {
@MinSomai
MinSomai / Vim Vista Icon - Cascadia Code PL.vim
Last active December 10, 2020 04:09
liuchengxu/Vista.vim Tagbar | Sidebar - Icons setting with Cascadia Code PL
" github.com/liuchengxu/vista.vim
" Icons based on Cascadpa Code PL font
" Vista LSP symbol viewer icons
let g:vista#renderer#enable_icon = 1
let g:vista#renderer#icons = {
\ "compound": "┬",
\ "method": "∫",
\ "function": "ƒ",
\ "variable": "x",
@MinSomai
MinSomai / init.vim
Last active March 17, 2024 00:17
neovim config for wsl (with copy/paste using win32yank.exe) | nvim | vim
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
"
call plug#begin('C:/Users/Pravi/AppData/Local/nvim/plugged')
" Make sure you use single quotes
"
" On-demand loading "Nerdtree has config
Plug 'preservim/nerdtree' |
@MinSomai
MinSomai / april_fools.vim
Last active November 28, 2021 09:36
vim april fools
" kep it somewhere in .vimrc
highlight ColorColumn ctermbg=red ctermfg=blue
exec 'set colorcolumn=' . join(range(2, 80, 3), ',')
@MinSomai
MinSomai / .tmux.conf
Created June 15, 2020 14:01
my tmux conf
set -g prefix C-b
#Vim like navigation between panes
bind -r k select-pane -U
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R
#set-option -g status-right "#{network_bandwidth}"
#set -g status-right 'Continuum status: #{continuum_status}'
@MinSomai
MinSomai / .bashrc
Created June 15, 2020 14:01
my bashrc
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc