Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 266 267 268 269 270 ... 552
1 3907 posted 16 years ago by darronz
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 2296 posted 16 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 2197 posted 16 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 1518 posted 16 years ago by Sverri
other links : http://tinman.cs.gsu.edu/~raj/880/su98/pldsql/node6.html
1 1806 posted 16 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 1945 posted 16 years ago by mprabhuram
Loads WordPress header for external functions like get_option();
0 1884 posted 16 years ago by vagrantradio
0 1607 posted 16 years ago by mjsiemer
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 1399 posted 16 years ago by Rembrand
0 1468 posted 16 years ago by fatihturan
0 1667 posted 16 years ago by moonbather
passing php variables to javascript with build-in function 'wp_localize_script'.
1 1939 posted 16 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 1766 posted 16 years ago by Fogh
Add this code to your Global.asax in your ASP.NET project, in the \"Application_BeginRequest\" event.
1 1826 posted 16 years ago by Fogh
0 1267 posted 16 years ago by joernroeder
Quick and easy way to determine if the HTTP request is an AJAX call or a standard call. Supports the notion of Unobtrusive JavaScript.
3 3438 posted 16 years ago by joshuascott94
0 1603 posted 16 years ago by ichnoweb
0 1531 posted 16 years ago by ichnoweb
0 1710 posted 16 years ago by ichnoweb
Wordpress - 404 problem on physical directories. From the Support Forum.
0 1412 posted 16 years ago by kyuumeitai
1 1372 posted 16 years ago by torybriggs
1 ... 266 267 268 269 270 ... 552