Skip to content

Instantly share code, notes, and snippets.

View README.md

Deploy your site with git (improved with secret tokens, branches, and error output)

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/
View FindOldLargeFolders.vbs
# TODO: http://gallery.technet.microsoft.com/scriptcenter/Outputs-directory-size-964d07ff
http://gallery.technet.microsoft.com/scriptcenter/Delete-files-older-than-x-13b29c09
http://gallery.technet.microsoft.com/scriptcenter/d81d620c-0d1b-4b7a-9c85-13660e929750
http://www.tek-tips.com/viewthread.cfm?qid=1687849
http://www.tek-tips.com/viewthread.cfm?qid=954944
## VBS:
On Error Resume Next
folderPath = "C:\windows"