Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 505 506 507 508 509 ... 552
This is a handy little function that takes the htmlText value of a TextField and ads a specified tag at the beginning and end of the string. Handy for quick formatting tags such as bold, italic, underline, but could be used to add complex style data...
0 1879 posted 18 years ago by discorax
0 1511 posted 18 years ago by kristin
0 1645 posted 18 years ago by kristin
1 1946 posted 18 years ago by vanne
Run this command when you are in the directory where you want to changes the files that get ignored.
1 2083 posted 18 years ago by jachin
test with echo instead of mv example removes spaces after dots, replaces spaces with _, removes ' , and -, and finally lowercases filenames
1 2361 posted 18 years ago by iblis
3 1965 posted 18 years ago by iblis
Execute multiple commands in background, wait for each to be finished and evaluate their return codes.
0 1954 posted 18 years ago by nohn
1 1636 posted 18 years ago by vanne
Sets a module's weight to the lowest number. This assures that your module is ran before all other modules. Userfull if you want your implementation of a hook to be ran first. Add this to your .install file. Replace your_modulename with the name of...
2 1912 posted 18 years ago by berkes
add "void Init_client(){}" to the bottom of Client.m
0 1938 posted 18 years ago by sou
1 21809 posted 18 years ago by johnself
Adobe Air has a few security settings that stops you executing certain AIR methods when inside the sandbox. The code below bridges between the root document and the security sandbox, allowing you to open a URL in AIR in a default browser.
1 2181 posted 18 years ago by 1man
Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.
1 2312 posted 18 years ago by berkes
0 2014 posted 18 years ago by realgeeky
Just a test
0 1690 posted 18 years ago by realgeeky
The -P handles partial transfers, I'm using this for big audio/video files.
2 2143 posted 18 years ago by mandric
Searches an array $haystack for $needle. Returns the value of the element which contains the first result. Use strstr_array() for case-sensitive searches and stristr_array() for case-insensitive searches.
1 3420 posted 18 years ago by engel
Everything is either true or untrue, or both true and untrue, or neither true nor untrue - nagarguna
2 2749 posted 18 years ago by zvasanth
drunkenprogrammer
0 3854 posted 18 years ago by zvasanth
drunkenprogrammer
0 2028 posted 18 years ago by zvasanth
drunkenprogrammer
0 4058 posted 18 years ago by zvasanth
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0 4268 posted 18 years ago by zvasanth
0 1413 posted 18 years ago by cczona
1 ... 505 506 507 508 509 ... 552