Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
" Insert debugger statement according to the filetype, mapped to <F2> key. | |
function! InsertDebugger() | |
if &ft == "python" | |
execute "normal oimport ipdb;ipdb.set_trace()\<Esc>" | |
elseif &ft == "javascript" | |
execute "normal odebugger;\<Esc>" | |
else | |
" it is something else | |
endif | |
endfunction |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#Get info about cpu | |
$ lscpu | |
#Get info about memory | |
$ free -b/k/m/g | |
#Get info about partitions | |
$ sudo fdisk -l | |
hardinfo |
nmcli - is a command tool for controlling Network Manager. | |
1. Create a file called Internet-up. | |
2. Copy the following line in it | |
lsusb | (grep -i <string identifying your mobile> &) && (nmcli con up id "<your connection name>" ) && ((ps -el | grep -i firefox ) || firefox &) | |
[eg. lsusb | (grep -i nokia &) && (nmcli con up id "Idea Mobile" ) && ((ps -el | grep -i firefox ) || firefox &)] |