Remove .svn folders
In order to clean up the SVN checkout, you can do #deletes all .svn files/folders find . -name “.svn” -exec rm -rf {} \; OR #deletes all .svn folders find . -name “.svn” -type d -exec rm -rf {} \;
Tech Tips and Tricks
In order to clean up the SVN checkout, you can do #deletes all .svn files/folders find . -name “.svn” -exec rm -rf {} \; OR #deletes all .svn folders find . -name “.svn” -type d -exec rm -rf {} \;
CWE-20:Improper Input Validation CWE-116:Improper Encoding or Escaping of Output CWE-89:Failure to Preserve SQL Query Structure CWE-79:Failure to Preserve Web Page Structure CWE-78:Failure to Preserve OS Command Structure CWE-319:Cleartext Transmission of Sensitive Information CWE-352:Cross-Site Request Forgery CWE-362:Race Condition CWE-209:Error Message Information Continue reading TOP 25 Most Dangerous Programming Errors
I had installed oracle XE on CentOS and was not able to connect to web admin for past two days. Finally after a long two days of search, found this. Thanks!
Enter the following to delete iptables completely # iptables -F # iptables -t nat -F # iptables -t mangle -F # iptables -X
It is not recommended to make tomcat listen in 80 port, since Tomcat would need to run as a privileged user. It is suggested either you redirect the port traffic using iptables . # /sbin/iptables -A FORWARD -p tcp –destination-port Continue reading Tomcat does not run on port 80 as non-root
For System Wide settings To see the settings for maximum open files for the OS level, use following command. cat /proc/sys/fs/file-max This should be a value from 36000 to 50000 or more. To increase the system wide maximum open files, Continue reading java.net.SocketException: Too many open files
Header files are provided with *-devel packages.
Fedora can be installed using a local network (or even over the Internet if you have broadband access). You will need access to a Web, FTP, or NFS server hosting the installation packages. To boot to a network install, use Continue reading Installing Fedora Using a Network
If Tomcat was not bundled as part of an operating system distribution, it won’t have the necessary file(s) to start automatically at system boot time. This describes the steps that should be taken to start Tomcat automatically after Linux boots. Continue reading Starting Tomcat automatically after Linux boots.
Use sed -e ‘s/^M//g’ file where ^M is the crtl-m character normally inserted by typing Ctrl-V Ctrl-M Alternatively, grab dos2unix from somewhere.