This is content converted from Markdown!
Here's a JSON sample:
{
"foo": "bar"
}| <html> | |
| <head> | |
| <style> | |
| h1 { | |
| font-family: Calibri; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <h1>Hello World!</h1> |
| ' So simple, so elegant, so elusive. Behold its glory: | |
| ' ------------------------------------------------------------------ | |
| Sub wait_function(secs) | |
| Dim enter_time, leave_time | |
| enter_time = Timer | |
| leave_time = Timer | |
| While (enter_time + secs > leave_time) | |
| leave_time = Timer |
| 'You can also use the archiver script if you don't want to delete them: [[VBS Script to Archive Files]] | |
| ' | |
| '==Recursive Sub-Folder Version (the good one)== | |
| 'No idea why this was not here to begin with... | |
| '========================================================================== | |
| ' Script to delete files that are older (based on modified date) than a particular date | |
| ' Kevin Guyer - 9/2010 | |
| ' |
| 'This takes 2 paths, one to monitor and one to create archives in. | |
| 'Running it creates folders by day and archives files it finds by the date.created. A few tweaks could make that date.modified. | |
| ' | |
| ' SCRIPT FUNCTION | |
| ' To process daily report files into organized daily folders based on date created | |
| ' CREATED ON/BY | |
| ' Kevin Guyer 2008 | |
| OPTION EXPLICIT |
| // Kevin Guyer - 2013 | |
| // Node.js script to handle server (SharePoint) name changes | |
| // This is designed to catch the use of old urls and present an infomational page with the new url to the resource | |
| // Test with this to see URL altering: http://localhost:8080/hr/foosite/barsite/somelibrary/somedoc.pdf | |
| // Intercept incoming port 80 or 443 (needs to operate on both) - set the port below for flavor you are running | |
| var http = require('http'); | |
| var url = require("url"); | |
| var server = http.createServer(); |