reusablecode.blogspot.com
Reusable Code: March 2009
http://reusablecode.blogspot.com/2009_03_01_archive.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Saturday, March 28, 2009. Set fs = Server.CreateObject("Scripting.FileSystemObject"). GetFileType = fs.GetExtensionName(Server.MapPath(someFile). Set fs = nothing. See you next week! View ASP implementation on Snipplr. Saturday, March 21, 2009. Set fs = Server.CreateObject("Scripting.FileSystemObject"). Set file = fs.GetFile(Server.MapPath(someFile). Set file = nothing. We'll als...
reusablecode.blogspot.com
Reusable Code: April 2009
http://reusablecode.blogspot.com/2009_04_01_archive.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Saturday, April 25, 2009. Here in Canada, our equivalent of the Social Security Number is called Social Insurance Number. It serves the same purpose and has the same demands for privacy surrounding it. I also do a quick regular expression validation to check for numbers which invalidly begin with an eight:. View ASP implementation on Snipplr. View PHP implementation on Snipplr.
reusablecode.blogspot.com
Reusable Code: January 2009
http://reusablecode.blogspot.com/2009_01_01_archive.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Saturday, January 31, 2009. As promised, today was to be a celebration of one year of Reusable Code. That celebration was overshadowed by a catastrophic hard drive failure early this morning, but luckily I managed to perform a successful recovery with Windows Home Server (after much trial and error). Season = cStr(Year(someDateTime) - 1947). Season = date("Y", $timestamp) - 1947;.
reusablecode.blogspot.com
Reusable Code: Roman Numerals, Part 4
http://reusablecode.blogspot.com/2010/09/roman-numerals-part-4.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Sunday, September 5, 2010. Roman Numerals, Part 4. Of Albuquerque, New Mexico writes:. Ldquo;I like your Roman Numeral library. I needed a function to test for Roman numerals, so I wrote this one. Check to see if the string is a Roman Numeral. NOTE: this doesn't check for fractions, overbars, the Bede "N" (zero) etc. NOTE: It also doesn't check for a well-formed Roman Numeral.
reusablecode.blogspot.com
Reusable Code: May 2011
http://reusablecode.blogspot.com/2011_05_01_archive.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Tuesday, May 10, 2011. I recently completed another ASP.NET project and learned about the app code folder, which lets you share code between pages. It's slightly similar to the #include directive in Classic ASP, but a lot more structured. I couldn't find much good documentation on it, so most of what I've learned has been through experimentation. In the top of your page and call.
reusablecode.blogspot.com
Reusable Code: Temperature Conversion Revisited
http://reusablecode.blogspot.com/2011/05/temperature-conversion-revisited.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Tuesday, May 10, 2011. I recently completed another ASP.NET project and learned about the app code folder, which lets you share code between pages. It's slightly similar to the #include directive in Classic ASP, but a lot more structured. I couldn't find much good documentation on it, so most of what I've learned has been through experimentation. In the top of your page and call.
reusablecode.blogspot.com
Reusable Code: November 2008
http://reusablecode.blogspot.com/2008_11_01_archive.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Saturday, November 29, 2008. Back in 1998, a company called Swatch. The following code builds upon two other functions previously published here:. IMPORTANT: To return an accurate result, the time value passed in needs to be UTC/GMT (in other words, without offset). There are two ways to achieve this: set your server's time zone to GMT, or use my UTC time function. Our PHP progra...
reusablecode.blogspot.com
Reusable Code: Publishing schedule change
http://reusablecode.blogspot.com/2009/06/publishing-schedule-change.html
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license. Saturday, June 6, 2009. Subscribe to: Post Comments (Atom). Former web developer with a passion for web standards. View my complete profile. All the code examples on this blog are licensed under a Creative Commons Attribution 3.0 License. All the code examples on this blog are cross-posted to Snipplr. More convenient for you; more convenient for me. Style vs. Substance.
SOCIAL ENGAGEMENT