klovera


Member since 01/19/2011

Name: Dustin Czysz

Website: http://www.dustinczysz.com

16 snippets

5692 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

klovera's Recent Snippets



« Prev 1 Next »
If you have a Table which has a Column of type char or varchar or even text, and you want to change a portion of text in it for example a path. In this case you need to change the same text with new one in every records.
0 1894 posted 13 years ago by klovera
Check the version of CentOS
0 1569 posted 13 years ago by klovera
Domain ambiguous way of forcing www with htaccess
0 3596 posted 13 years ago by klovera
Shows the load of the cpu graphically in ssh (note you must install htop first)
0 1442 posted 13 years ago by klovera
List files in varying detail
0 1241 posted 13 years ago by klovera
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.
1 1459 posted 13 years ago by klovera
0 1253 posted 14 years ago by klovera
Kudos to http://snipplr.com/view/26670/
0 1531 posted 14 years ago by klovera
A simple but useful command. List processes running on the system.
0 1089 posted 14 years ago by klovera
Displays the # of emails in Exim queue.
0 1129 posted 14 years ago by klovera
When modifying file permissions it is sometimes necessary to go back to the drawing board and set back to the default permissions. The following command can be used via ssh and takes a couple seconds vs trying to do this via ftp file by file (which c...
0 1209 posted 14 years ago by klovera
0 1291 posted 14 years ago by klovera
-R = recursive
0 1078 posted 14 years ago by klovera
-l switch output only the names of files in which the text occurs as opposed to each line containing the text<br> -i switch ignores the case<br> -r descends into subdirectories<br> Example: grep -lir "my search string" /home/account_name/public...
0 1262 posted 14 years ago by klovera
Returns a list of the number of connections by IP.
0 2378 posted 14 years ago by klovera
// example <br> $from = '2011-1-6'; <br> $to = '2011-1-8'; <br> dateDiff($from,$to); // returns 2
1 1605 posted 14 years ago by klovera
« Prev 1 Next »