This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $webClient = new-object System.Net.WebClient | |
| $webClient.Headers.Add("user-agent", "Is Govt Down Checker") | |
| $output = "" | |
| $output = $webClient.DownloadString("http://usa.gov") | |
| if ($output -like "*Due to a lapse in funding, the U.S. federal government has shut down*") { | |
| "Government is still down" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**********************************************/ | |
| /* | |
| /* mnml Theme for Chrome DevTools by Michael P. Pfeiffer | |
| /* | |
| /* Based on a Gist by Ben Truyman. Further attr: | |
| /* https://gist.github.com/3040634 | |
| /* | |
| /**********************************************/ | |
| #-webkit-web-inspector ::selection { | |
| background: #888; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| }); | |
| // Load the plugin that provides the "uglify" task. | |
| //grunt.loadNpmTasks('grunt-contrib-uglify'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| window.App = { | |
| Models: {}, | |
| Collections: {}, | |
| Views: {}, | |
| Router: {} | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var dateparsed = function(){ | |
| this.date = new Date(); | |
| }; | |
| dateparsed.prototype = function(){ | |
| var getFullDateTime = function(){ | |
| return this.date; | |
| }, | |
| getFullMonth = function(){ | |
| var month=new Array(); |