attrib +s +h "D:\ws\ADMS"
attrib -s -h "D:\ws\ADMS"
npm install -g --upgrade [email protected] |
// http://cdnjs.cloudflare.com/ajax/libs/q.js/0.9.6/q.js | |
function doSomethingAsync(item) { | |
return Q.promise(function(resolve) { | |
$("#results").append("<div>" + item + "</div>"); | |
setTimeout(resolve.bind(null, item), 3000); | |
}); | |
} | |
function doAsyncSeries(arr) { | |
return arr.reduce(function (promise, item) { |
ping -n 7200 127.0.0.1 > NUL 2>&1 && shutdown /h /f |
vm.recursiveSearch = function find(source, id, currentLevel) { | |
for (var key in source) { | |
if (source.hasOwnProperty(key)) { | |
source[key].level = currentLevel; | |
var item = source[key]; | |
vm.kk.push(item); | |
if (item.nodeId === id) { | |
return item; | |
} | |
if (item.childNode) { |
using DocumentFormat.OpenXml.Packaging; | |
using OpenXmlPowerTools; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Xml.Linq; | |
using System.Drawing.Imaging; |
<!DOCTYPE html> | |
<html ng-app="gemStore"> | |
<head> | |
<link rel="stylesheet" type="text/css" href="bootstrap.min.css" /> | |
<script type="text/javascript" src="angular.min.js"></script> | |
<script type="text/javascript" src="app.js"></script> | |
</head> | |
<body ng-controller="StoreController as store"> | |
<!-- Store Header --> |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Owin; | |
using Microsoft.Owin.Hosting; | |
using Microsoft.Owin; | |
using System.IO; | |
namespace KatanaConsole |
import { bootstrap } from '@angular/platform-browser-dynamic'; | |
import { enableProdMode, provide } from '@angular/core'; | |
import { T3AppComponent, environment } from './app/'; | |
import { ROUTER_PROVIDERS } from '@angular/router'; | |
if (environment.production) { | |
enableProdMode(); | |
} | |
bootstrap(T3AppComponent,[ |