Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Do you need you app to do something when it is first run on a certain computer? Do you need to know if it has been run before? Enter the following code into your Application Delegate.
This code creates a BOOL that is created when the app is run. T...
0
2441
posted 15 years ago by zingo
Use a shortcode [sitemap] to render a sitemap ordered by custom menu order (Wordpress 3+).
0
3116
posted 15 years ago by ablears
.closest and .find are very useful - surprised I haven't heard of them before.
0
1897
posted 15 years ago by inreflection7
also requires an .htpasswd file to be created in a secure directory
0
2896
posted 15 years ago by ropehead
This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function wil...
0
1381
posted 15 years ago by gellpak
This goes in any phtml file to get the image from the skin folder
0
1545
posted 15 years ago by uteman23
PL/SQL
Oracle Application - List Responsibilities and Responsibility Keys that are assigned to a user
I found this today and it's very useful for finding the responsibility key when trying ot run OAF from JDev.
0
2682
posted 15 years ago by theonlyalterego
You can use fluid for example in oldschool plugins without using extbase.
0
1748
posted 15 years ago by pogosheep
css starting point for library websites - adds a uniform size, font weights and colors, etc for our websites
0
1545
posted 15 years ago by jeremytarpley
It’s pretty straightforward, we loop the existing Views of the ScrollableView and copy each View, replacing the one to be change, to a new array. Then we tell the ScrollableView to use our new Views-array for it’s Views.
I hope this helps someon...
0
1822
posted 15 years ago by chlab
We create a View with a background color, put a semi-transparent TabbedBar with empty button names on top of it, then add another layer of fully visible labels spaced to fit the TabbedBar beneath it. Everything is then wrapped in one View, which you...
0
1773
posted 15 years ago by chlab