Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
3866
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
1843
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
1872
posted 14 years ago by rowntreerob
Here is a common Regex I use to remove all blank lines in a file using VIM
0
4044
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
4164
posted 14 years ago by frances34
Replace TRUE with FALSE if you want to hide the hidden files again.
0
4302
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
2169
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
2996
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
2392
posted 14 years ago by kf0l
can be used to track Oracle Apps concurrent program performance
0
2089
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
2633
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
3470
posted 14 years ago by pumpkinthehead
WordPress top posts: custom post type / taxonomy
Ordered by comment count
0
3559
posted 14 years ago by lswilson
extends the default varien "tabs" class to allow other links on the page to open a tab
0
2975
posted 14 years ago by flintcreative
How to get extract method for zipfile module to work with Ti 1.8 sdk.
0
2170
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
2034
posted 14 years ago by lspellman
http://msdn.microsoft.com/en-us/library/system.globalization.juliancalendar.getdayofyear(v=vs.90).aspx
0
4335
posted 14 years ago by jsturtevant
Disables the design editor in the VE when using a child theme.
0
1663
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
3029
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
4399
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
2012
posted 14 years ago by klovera
Very simple to use Web Poll Class, simply create a new instance, set the question and set the answers. You still have to set up your database yourself
1
1841
posted 14 years ago by RobertHegeraad