Work

Enable syslog debug mode

[root@stroj ~]# cp .120904 [root@stroj ~]# vi [root@stroj ~]# more # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or…

Enable debug in syslog

[root@stroj etc]# cp .120904 [root@stroj etc]# vi # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don’t log…

Hate Networking? 3 Ways to Get Over It

Here’s how to make networking work for you–and your business. Networking is at the top of the list of things that make me the most uncomfortable. Most people who know me are surprised to learn this, because I am a…

DWR: Easy AJAX for JAVA

DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. DWR is a RPC library which makes it easy to call Java functions…

5 steps to prepare your project budget

How much will this project cost? Are we on budget? How much have we spent on material resources versus labor resources? You can accurately answer such questions by learning more about how Project handles cost data. Then you are…

Track changes while you edit Word

Track changes while you edit Open the document that you want to revise. On the Review tab, in the Tracking group, click the Track Changes image. To add a track changes indicator to the status bar, right-click the status bar and click Track…

Routing .bat specific routing for Win

@echo off route delete 10.17.104.0 mask 255.255.255.0 route delete 10.17.105.0 mask 255.255.255.0 route print echo „=========================================“ echo „= Delete route successfully! =“ echo „=========================================“ @echo off route -p add 10.17.104.0 mask 255.255.255.0 192.168.77.1 route -p add 10.17.105.0 mask 255.255.255.0 192.168.77.1…

Tomcat directory and restart

Easy way to find where tomcat directory # find / -name apache-tomcat-6.0.16find: /proc/666/task: No such file or directoryfind: /proc/666/fd: No such file or directoryfind: /var/lib/ntp/proc/666/task: No such file or directoryfind: /var/lib/ntp/proc/666/fd: No such file or directory pg_sc01s_ad: # ps…

Vi cheat sheet

vi / vim show line number command To display line numbers along the left side of a window, type any one of the following: :set number