Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Hi;
Sometimes you need to "trim" textifield for specific height... This solves just this, perfect for news, news-readers, rss etc
1
3833
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
3418
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
1444
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
1457
posted 14 years ago by rowntreerob
Here is a common Regex I use to remove all blank lines in a file using VIM
0
3543
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
3666
posted 14 years ago by frances34
Replace TRUE with FALSE if you want to hide the hidden files again.
0
3797
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
1694
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
2486
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
1848
posted 14 years ago by kf0l
can be used to track Oracle Apps concurrent program performance
0
1708
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
2113
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
2877
posted 14 years ago by pumpkinthehead
WordPress top posts: custom post type / taxonomy
Ordered by comment count
0
3061
posted 14 years ago by lswilson
extends the default varien "tabs" class to allow other links on the page to open a tab
0
2470
posted 14 years ago by flintcreative
How to get extract method for zipfile module to work with Ti 1.8 sdk.
0
1690
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
1563
posted 14 years ago by lspellman
http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx
0
3798
posted 14 years ago by jsturtevant
Disables the design editor in the VE when using a child theme.
0
1239
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
2535
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
3812
posted 14 years ago by yannxou
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.
1
1570
posted 14 years ago by klovera