Below are the top ranked snippets.

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »
7
Date Submitted Sat. May. 12th, 2007 10:38 AM
Revision 1
Helper albud
Tags colour | JavaScript | palette | web-safe
Comments 1 comments
A websafe colour palette generator in JavaScript. Coded this after looking at http://www.bytemycode.com/snippets/snippet/585/ and wanting to do it differently.

It's been refactored so that:
* can pass generateColourPalette an arbitrary array of colour codes and it'll generate a palette.
* it hooks into the page through the external file
* uses an internal stylesheet instead of inline styles
7
Date Submitted Fri. Jun. 1st, 2007 7:30 PM
Revision 1
Helper albud
Tags aspects | design | PHP
Comments 3 comments
A proof of concept idea I had for implementing an aspect oriented framework in PHP (yes, I know about http://aophp.net, but it requires a module).

I thought it was neat, so I'm going to share it.

Hope someone likes it.
12
Date Submitted Sun. Oct. 8th, 2006 11:19 AM
Revision 1
Beginner alp0001
Tags debug | debugging | JavaScript
Comments 2 comments
Basically, you can dynamically ask the webpage to look at a current object's attributes/values or even change the object's attributes/values. As such, running this script on any browser of your choice should show what attributes your particular browser will allow for an object reference you typed in.
12
Date Submitted Thu. Oct. 12th, 2006 3:32 PM
Revision 1
Beginner ammonkc
Tags mysql | Pager | PHP
Comments 2 comments
This is a mysql php pager class that I found online somewhere and modified.
5
Date Submitted Thu. Oct. 12th, 2006 3:34 PM
Revision 1
Beginner ammonkc
Tags PHP
Comments 0 comments
function that builds select boxes for the month,day,and year. It will default to mmddyyyy, current date, or specified date depending on the parameters.
4
Date Submitted Tue. Oct. 10th, 2006 3:49 PM
Revision 1
Beginner Archatas
Tags ActiveX | HTA | IE | JScript
Comments 0 comments
This JScript code could be used in HTML applications (HTA) or other user-trusted web applications for saving data into files.
5
Date Submitted Tue. May. 29th, 2007 5:57 PM
Revision 1
Beginner ashraf_eme
Tags "ASP.NET 2.0" | "CSharp" | Fibonacci
Comments 0 comments
That is, after two starting values, each number is the sum of the two preceding numbers. The first Fibonacci numbers , also denoted as Fn, for n = 0, 1, … , are:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811…
this is One line function to get the sequance.
8
Date Submitted Sat. Aug. 5th, 2006 6:44 PM
Revision 1
Scripter ASmith
Tags "Yahoo Finance" | Finance | news | python | RSS
Comments 0 comments
This class allows you to retrieve a companies current stock quote from Yahoo Finance, as well as current news feed entries for that company.
9
Date Submitted Sun. Aug. 13th, 2006 10:38 PM
Revision 1
Scripter ASmith
Tags python | util
Comments 0 comments
Returns a safe copy if the value argument is mutable, otherwise returns the original argument. If the feedback keyword argument is True, then a tuple is returned containing the resulting argument, and whether or not is was mutable.
9
Date Submitted Sun. Aug. 13th, 2006 10:50 PM
Revision 1
Scripter ASmith
Tags google | python | Text | translation
Comments 1 comments
Translates text from using translate.google.com
« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »