(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| //function pointer | |
| fn foo(x: i32) -> i32 { | |
| return x+1; | |
| } | |
| fn main() { | |
| let mut x: fn(i32) -> i32 = foo; | |
| // or x = foo; | |
| println!("{}", x(10)); |
| a = {} | |
| # add a key-value pair | |
| a['name'] = 'ishan' | |
| # lets see whats in there | |
| print(a) | |
| # {'name': 'ishan'} | |
| # add more key-value pairs |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"