Welcome To Snipplr


Everyone's Recent Snippets



1 ... 491 492 493 494 495 ... 553
This is the basic edit action suggested by the CakePHP Manual
1 1025 posted 17 years ago by jesse
i found this snippet here on snipplr (see the link up above), and really liked it. it came up with a validation error under XHTML 1.0 Strict so i changed it to what you see in the bottom.....
1 1147 posted 17 years ago by pufftenticle
2 1272 posted 17 years ago by iTony
To grant all privileges to a user from any location login to the mysql shell and run the following queries.
3 1490 posted 17 years ago by cbrant
To reset the MySQL root password, login to the mysql shell and run the following commands.
1 1237 posted 17 years ago by cbrant
(EDITED: Originally I had this snip using 'cat /proc/version'. But have since replaced it with a more reliable -- and specific -- method) If you need still more info (or are on a BSD), see 'uname', 'dpkg-architecture'
1 1175 posted 17 years ago by cczona
If Ubuntu Server fails to resolve hostnames or find a network connection via Parallels 3 bridged networking, it may be attempting to use the wrong network interface.
0 1132 posted 17 years ago by cczona
This snipped is split in two sections: Actionescript 3 and PHP
2 1407 posted 17 years ago by gfazioli
29 9567 posted 17 years ago by rouxmout
Quick command I use to remove .SVN folders from a tree structure copied from SVN working copy. Sometimes a bit easier than running an export.
6 2246 posted 17 years ago by wfdev
Small function that returns a random rounded value between two given numbers.
0 1356 posted 17 years ago by Wiederkehr
Use this command to delete all the thumbs.db files on your drive.
2 3540 posted 17 years ago by sachinbhavsar
0 1253 posted 17 years ago by webonomic
0 1556 posted 17 years ago by webonomic
0 1224 posted 17 years ago by webonomic
0 1195 posted 17 years ago by webonomic
Colour code table cells to help visually reveal results.
0 1133 posted 17 years ago by webonomic
1 1013 posted 17 years ago by iTony
2 1372 posted 17 years ago by iTony
Wenn ein INSERT einen doppelten Wert erzeugen würde, wird das UPDATE ausgeführt.
1 1071 posted 17 years ago by drk
7 1627 posted 17 years ago by iTony
Many examples that show how to use the header() function of PHP
3 1622 posted 17 years ago by localhorst
2 1400 posted 17 years ago by Tank
find command just returns a list of HTML files that have 'search_str' in it, vim takes a list of files.
0 1181 posted 17 years ago by mandric
0 974 posted 17 years ago by mandric
1 ... 491 492 493 494 495 ... 553