Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
If a flat file contains embedded carriage return (CR) and linefeed characters (LF) inside double quotes, SAS will interpret them as end of line markers. This may cause your file to be read incorrectly.
This example replaces CR/LF characters within...
0
2078
posted 11 years ago by webonomic
Simple C# library that can be used to test xml. Test rules are defined in the form of xml file.
0
777
posted 11 years ago by ashvin8085hotmail
Instructions:
WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them.
If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste t...
2
901
posted 11 years ago by lromak
Extremely helpful to anyone who is looking to improve performance and follow best practices in HTML/CSS
2
1322
posted 11 years ago by Rar
This script finds out ALSA devices in Linux programatically, which can be a bit tricky.
0
885
posted 11 years ago by Makistos
This script goes through .change files in the current directory and copies all the files listed to a different directory. It skips the _sources.change files as well.
This is really written in plain bourne shell, but Smipple doesn't seem to suppor...
0
698
posted 11 years ago by Makistos
This code will print out all sysfs devices under a certain device class (which is supplied as a parameter).
0
1388
posted 11 years ago by Makistos
Simple PHP functions to validate username, password and date, functions check the input format and allowed characters and then return TRUE for valid data and FALSE for invalid data.
0
3249
posted 11 years ago by codingforever99
<a href="http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/">http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/</a>
1
1565
posted 11 years ago by pantuts
If you want to add horizontal spacing between rows, use a border for the <tr> tag:
1
691
posted 11 years ago by fhenderson
Crea oraciones aleatoriamente a partir de lo que se ponga en las listas part1, part2 y part3
1
1039
posted 11 years ago by a7xrturo
How to build a login form using php with mysql database.
0
1022
posted 11 years ago by codingforever99
The Bankers Algorithm Implementation using the process scheduling and UNIX pipes usage
0
895
posted 11 years ago by naveenrn
Loads an XML file and iterates through its nodes.
Uses Sample XML file from [http://msdn.microsoft.com/en-us/library/ms762271(v=vs.85).aspx](http://msdn.microsoft.com/en-us/library/ms762271(v=vs.85).aspx)
`
<?xml>
<catalog>
<book>...
0
1010
posted 11 years ago by telltec
For git-flow style workflow where you prefix branch names with initials "sc/branchname"
0
846
posted 11 years ago by eighteyes
simple php file uploader with check for file extension and size.
0
1004
posted 11 years ago by codingforever99
XmlDocument will not behave when you try to CreateCDataSection passing it a string that contains "]]>"
This extension method returns an array of XmlCDataSection, each of which will contain the parts separated by "]]" and ">". Example:
For the s...
0
1063
posted 11 years ago by thedark