A cheat sheet for my favourite sed commands. [gist id = “9b185deb12d0e729689b”]
This is a quick cheat sheet of my favourite find commands.
First follow this reference: http://wiki.centos.org/HowTos/Network/SecuringSSH However, if it doesn’t work you might also need to update iptables: iptables -I INPUT -m state –state NEW -p tcp –dport NEW_PORT -j ACCEPT iptables -I INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT /etc/init.d/iptables save service sshd stop service sshd start
Why can’t I type ctrl-c to kill a Maven or Ant process I started in Cygwin? Bottom line: who cares? Find it with ps – ef | grep java in a new window and kill it with FIRE.
Use this formula: =(A1/86400)+25569+(-5/24) (replace the 5 with the timezone offset) See here for more info.
Grep Quick Reference A quick reference for some handy grep statements. The idea here is to be able to highlight a line in your IDE and execute it directly in a shell session. This saves some time trying to remember how to construct a particular command, and can be useful if you keep your development […]