Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Very helpful function for sorting multi-dimensional arrays
0
1624
posted 14 years ago by chasecrawford
Hi;
Sometimes you need to "trim" textifield for specific height... This solves just this, perfect for news, news-readers, rss etc
1
3806
posted 14 years ago by burnandbass
This regex captures non-printing characters (specifically those found when copying text from Photoshop). It's not fully tested, but it worked for me when I needed it. I will add to it as necessary.
0
3393
posted 14 years ago by oobleck
Como parametro se tiene que tener la cantidad de meses que se desea sumar a la fehc a de inicio
0
1419
posted 14 years ago by serialk89
For impl of 'simpleLog', in eclipse, the default instructions did not work for me , providing LEVEL_ALL logs until i added one additional prop not mentioned in the link
0
1436
posted 14 years ago by rowntreerob
Here is a common Regex I use to remove all blank lines in a file using VIM
0
3522
posted 14 years ago by jasonpottergmailcom
Our own free of cost PSN Trading card Style will need are suitable for the whole lands, not limited by Nation, Nova scotia,Asia and europe. When you finally get those unique codes definitely receive those and you need to purchase free performing work...
1
3638
posted 14 years ago by frances34
Replace TRUE with FALSE if you want to hide the hidden files again.
0
3771
posted 14 years ago by shuchii
The php if statement below checks to see if the content is an archive page. If it is, then it echoes the html structure for meta description tags and also includes the month and year to avoid content duplication.
0
1657
posted 14 years ago by goatboy91587
Do not allow public to see your dir structure just pleae this code in .htacces
Futther reading
There are two ways to approach this. The best way to do this is via your .htaccess or httpd.conf file (if you have your own Apache server). If your h...
0
2457
posted 14 years ago by webtechdev
This 'Check if HTTPS is on in PHP' script accounts for servers which set HTTPS differently. Some servers do not set HTTPS, others set it to 'off', etc. Only checking if HTTPS is on will cause an 'undefined index error' in these cases.
0
1826
posted 14 years ago by kf0l
can be used to track Oracle Apps concurrent program performance
0
1688
posted 14 years ago by theonlyalterego
This query will retrieve a list of the parameters and value sets based on a provided concurrent program user name
0
2086
posted 14 years ago by theonlyalterego
Find the date with or without a year and with double or single digit month or day. Easily extendable to other date delimiters and formats.
0
2844
posted 14 years ago by pumpkinthehead
WordPress top posts: custom post type / taxonomy
Ordered by comment count
0
3034
posted 14 years ago by lswilson
extends the default varien "tabs" class to allow other links on the page to open a tab
0
2446
posted 14 years ago by flintcreative
How to get extract method for zipfile module to work with Ti 1.8 sdk.
0
1667
posted 14 years ago by lspellman
<p>This is how the extract method is documented for use. In the next example, we show how it actually should be used for Ti 1.8</p>
0
1543
posted 14 years ago by lspellman
http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx
0
3781
posted 14 years ago by jsturtevant
Disables the design editor in the VE when using a child theme.
0
1224
posted 14 years ago by codepunk
A class i started to implement, which ended up in a working concept
However I'm not sure if it's a legal way of programming since I unnessesery
changes the structure of php without some real value except nicer structure
For now it remain a conce...
0
2506
posted 14 years ago by Knarf
If you want to tween an object relatively, but the new value changes and needs to be a variable, just cast it as a string.
0
3784
posted 14 years ago by yannxou