- https://github.com/Xfennec/progress
- https://github.com/laurent22/massren
- https://github.com/isacikgoz/tldr
- https://github.com/manolomartinez/greg
- https://github.com/posva/catimg
- https://github.com/joh/when-changed
- https://github.com/wavexx/screenkey
- https://github.com/philipl/evdevremapkeys
- https://github.com/adulau/dcfldd
- https://github.com/cjbassi/gotop
Description | Command | Reference |
---|---|---|
Store credentials | git config credential.helper store |
|
Allow no comment on commit | git config --global alias.nccommit 'commit -a --allow-empty-message -m ""' |
Source |
Undo a commit | git reset HEAD~ |
|
List remotes | git remote -v |
|
Change remote | git remote set-url origin <URL> |
Reference |
Append to last commit | git commit --amend |
-
sudo apt-get remove openssh-server && sudo apt-get install openssh-server
-
/etc/ssh/sshd_config
:Change - PermitRootLogin no Add - AllowUsers yourusername Change - PasswordAuthentication yes Add - UsePrivilegeSeparation no Change - ListenAddress 0.0.0.0
Change - Port 2200
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var check = OBJECT.find(function(obj) { | |
return obj.id == id; | |
}); |
Command | Description |
---|---|
dd if=/dev/<sdx> bs=<bs> count=1 | hexdump -C hexdump -C -n <bytes> <dev> |
Print hexdump of a drive |
- Set hashed b-trees to speed up lookup for large dirs:
tune2fs -O dir_index /dev/<SDX>
- Optimize directories (reindexing/sorting and compressing):
e2fsck -D /dev/<SDX>