Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Dumps the contents of a mysql database to a .sql file named by the current date.
0
760
posted 14 years ago by gdvickery
Demo + FLA Download:http://www.adamcoulombe.info/lab/as3/PolkaDot-Hover-Repulsion-Effect.html .................. This demo uses Arnaud Icard's Traer AS3 port for physics to simulate repulsion. Each polka-dot will be repelled from the polka dot that y...
2
895
posted 14 years ago by adamcoulombe
If you need to add some content to your pages without having that content in your database you can use Wikipedia API. You can, for example, need to add automatically a simple description to a city name, or to a band name. Or you could need to add the...
1
927
posted 14 years ago by ginoplusio
Use this variation of **setPlayerPosition** in your HelloWorldScene.m file to negate the need to use **setViewpointCenter** to manually calculate the viewport to track your player. This uses the **CCFollow** function as demonstrated in ActionsTest, o...
1
950
posted 14 years ago by cell-gfx
The player selects a range from 0 to n, remembers a number in this range and then the script asks the player a question trying to guess the number. The PC will always guess the correct number.\r\n\r\nI could have added more varied questions, but the...
0
646
posted 14 years ago by Sverri
other links :
http://tinman.cs.gsu.edu/~raj/880/su98/pldsql/node6.html
1
790
posted 14 years ago by mprabhuram
In the examples so far we have declared variables as a separate object using one of PL/SQL’s standard datatypes. Normally a PL/SQL variable is closely tied to a database object and uses the same datatype. For example, if the variable will hold the...
1
805
posted 14 years ago by mprabhuram
Loads WordPress header for external functions like get_option();
0
848
posted 14 years ago by vagrantradio
For example, when you can't get the post author to shop up using the_author(); it usually means your working outside the loop while that function is meant to work inside the loop.
This is a way around it. (got it from the forums)
0
546
posted 14 years ago by Rembrand
passing php variables to javascript with build-in function 'wp_localize_script'.
1
862
posted 14 years ago by screamwork
Class to shorten text. For example for an article where people can click read more to read the whole article.
1
739
posted 14 years ago by Fogh
Add this code to your Global.asax in your ASP.NET project, in the \"Application_BeginRequest\" event.
1
894
posted 14 years ago by Fogh