Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 506 507 508 509 510 ... 553
Execute multiple commands in background, wait for each to be finished and evaluate their return codes.
0 1348 posted 17 years ago by nohn
1 1051 posted 17 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 1272 posted 17 years ago by berkes
add "void Init_client(){}" to the bottom of Client.m
0 1337 posted 17 years ago by sou
1 18185 posted 17 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 1468 posted 17 years ago by 1man
Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.
1 1687 posted 17 years ago by berkes
0 1352 posted 17 years ago by realgeeky
Just a test
0 1162 posted 17 years ago by realgeeky
The -P handles partial transfers, I'm using this for big audio/video files.
2 1496 posted 17 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 2691 posted 17 years ago by engel
Everything is either true or untrue, or both true and untrue, or neither true nor untrue - nagarguna
2 1940 posted 17 years ago by zvasanth
drunkenprogrammer
0 1470 posted 17 years ago by zvasanth
drunkenprogrammer
0 1369 posted 17 years ago by zvasanth
drunkenprogrammer
0 3233 posted 17 years ago by zvasanth
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0 3490 posted 17 years ago by zvasanth
0 892 posted 17 years ago by cczona
Preferences > Advances > Folder References
0 5069 posted 17 years ago by cczona
To find out how much swap you are using at any given time. If there's more than 1 swapfile you could benefit from more RAM.
0 1101 posted 17 years ago by cczona
1 3276 posted 17 years ago by jpdamen
0 1090 posted 17 years ago by jpdamen
1 ... 506 507 508 509 510 ... 553