Welcome To Snipplr


Everyone's Recent Snippets



1 ... 506 507 508 509 510 ... 553
Execute multiple commands in background, wait for each to be finished and evaluate their return codes.
0 1379 posted 17 years ago by nohn
1 1085 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 1307 posted 17 years ago by berkes
add "void Init_client(){}" to the bottom of Client.m
0 1379 posted 17 years ago by sou
1 18293 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 1499 posted 17 years ago by 1man
Add these lines to Drupals settings.php. Probably works on other systems, then Drupal too.
1 1721 posted 17 years ago by berkes
0 1387 posted 17 years ago by realgeeky
Just a test
0 1190 posted 17 years ago by realgeeky
The -P handles partial transfers, I'm using this for big audio/video files.
2 1529 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 2727 posted 17 years ago by engel
Everything is either true or untrue, or both true and untrue, or neither true nor untrue - nagarguna
2 1974 posted 17 years ago by zvasanth
drunkenprogrammer
0 1512 posted 17 years ago by zvasanth
drunkenprogrammer
0 1405 posted 17 years ago by zvasanth
drunkenprogrammer
0 3279 posted 17 years ago by zvasanth
Everything is either true or untrue, or both true and untrue, or neither true nor untrue
0 3543 posted 17 years ago by zvasanth
0 919 posted 17 years ago by cczona
Preferences > Advances > Folder References
0 5122 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 1126 posted 17 years ago by cczona
1 3309 posted 17 years ago by jpdamen
0 1128 posted 17 years ago by jpdamen
1 ... 506 507 508 509 510 ... 553