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
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
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
Set unNamedArguments = WScript.Arguments.UnNamed | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
strFolder="X:/Path" 'your dest path | |
for count=0 to wscript.arguments.count-1 Step 1 | |
filename = unNamedArguments.Item(count) | |
Set objFile = objFSO.GetFile(filename) | |
Set oShellLink = WshShell.CreateShortcut(strFolder&objFSO.GetBaseName(filename)&".lnk") | |
oShellLink.TargetPath=filename | |
oShellLink.WindowStyle=1 |
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
List<string> listA = new List<string>(){"1","2","3","4"}; | |
List<string> listB = new List<string>(){"1","3","5"}; | |
List<string> listAWithoutRepeatedItemsInListB = listA.RemoveAll(objA=>(listB.Exist(objB=>objB==objA))); | |
//result: "2","4" | |
List<string> listAllDiffItems = new List<string>(); | |
listAllDiffItems.AddRange(ListA.FindAll(objA=>(!listB.Exist(objB=>objB==objA)))); | |
listAllDiffItems.AddRange(ListB.FindAll(objB=>(!listA.Exist(objA=>objA==objB)))); | |
//result: "2","4","5" |