Skip to content

Instantly share code, notes, and snippets.

View codereflection's full-sized avatar

Jeff Schumacher codereflection

View GitHub Profile
@codereflection
codereflection / Package Control.sublime-settings
Created May 24, 2014 16:05
Package Control.sublime-settings
{
"installed_packages":
[
"AngularJS",
"Enhanced Clojure",
"FileBrowser",
"Git",
"Highlight Whitespaces",
"HTML5",
"Jasmine BDD",
$ServerName = $args[0]
if ($serverName -eq $Null) {
$serverName= $env:COMPUTERNAME
}
$timeVal = (Get-WmiObject -ComputerName $ServerName -Query "SELECT LastBootUpTime FROM Win32_OperatingSystem").LastBootUpTime
#$timeVal
$DbPoint = [char]58
$Years = $timeVal.substring(0,4)
$Months = $timeVal.substring(4,2)
$Days = $timeVal.substring(6,2)