Computing related information
Connect to university network through a vpn
Connect to https://14.139.69.5:8443 (opens in a new tab) and download the SSL VPN configuration file for your device. To know how, check this pdf.
Contact Dr. Bhawna Gomber for login credentials.
You also have to download a vpn client on your device which accepts openvpn config files. Links to the vpn client downloads are given in https://14.139.169.5:8443 (opens in a new tab) for Windows and MacOS . For linux, you have to download the openvpn service. If you have an debian distribution like Ubuntu, Linux mint etc. follow these steps to download openvpn:
- Go on to the terminal and run :
sudo apt-get install openvpn
- To start the vpn connection run:
sudo openvpn /path/to/bhawnagsp__ssl_vpn_config.ovpn
Doing this will connect to the UoH internal network. So any site or server that stays inside the UoH network could be accessed now.
You can check that by connecting to https://10.4.48.61 (opens in a new tab) on your browser(accept the security warning and proceed to 10.4.48.61)
You could ssh to your account as usual with ssh <username>@10.4.48.61
When you are already in the University network connected via wifi or LAN , it is wiser to connect directly ssh <username>@10.4.48.61
without vpn
vim/neovim cheat sheet
Command Mode
Press ESC. Command mode commands start with a colon ':'
Command | Function |
---|---|
:q | exit |
:q! | forcefully exit without saving |
:w | write/save |
:wq | write(save) and exit |
insert
Command | Function |
---|---|
i | get into insert mode |
ESC | get out of insert mode |
Jump to Line
Command | Function |
---|---|
446+Enter | Jump to line number 446 |
CTRL+HOME | Jump to the beginning of the document |
CTRL+END | Jump to the end of the document |
PgUp | Move a page up |
PgDn | Move a page down |
Copy and Paste
Copying is called yanking in terminal text editors.
Command | Function |
---|---|
y | yank a single word which touches the cursor position |
yy | yank the whole line |
5yy | yank this lines plus 5 following lines |
p | paste after cursor position |
P | paste before cursor position |
Search
Command | Function |
---|---|
/<keyword> | search, type the keyword and then press enter, to go to the next result press n |
Search and replace
Do a search as usual, press enter and 'cgn' . This will get you in Insert mode. Write a replacement text and ESC . To replace the next search result, jump to the next search result with 'n' and press dot '.'
--- prayag 2024/02/23 14:02
Desktops at CMSLAB
There are two desktops at CMSLAB. They are dual booted with windows and Ubuntu.