View index.html
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="[deprecated enber 1.12.2 bind-action example]"> | |
<meta charset="utf-8"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/2.1.0/normalize.css"> | |
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/ember.js/1.12.2/ember.debug.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/ember.js/1.12.2/ember-template-compiler.js"></script> |
View hikvision-password-recovery.js
This file contains 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 padLeft(str, l, c) { str = str + ""; return Array(l - str.length + 1).join(c || " ") + str } | |
function initialize() | |
{ | |
document.getElementById("year").value = new Date().getYear() + 1900; | |
document.getElementById("month").value = padLeft(new Date().getMonth() + 1, 2, '0'); | |
document.getElementById("day").value = padLeft(new Date().getDate(), 2, '0'); | |
document.getElementById("serialNumber").onchange = GenerateSerialCode; | |
document.getElementById("year").onchange = GenerateSerialCode; |
View knockout-react.js
This file contains 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 KnockoutMixin = { | |
updateKnockout() { | |
// This has been bound to the dependancy chain in __koModel, | |
// found in the componentDidMount lifecycle stage. Changing this | |
// observable will cause __koModel to revaluate it's values. | |
this.__koTrigger(!this.__koTrigger()); | |
}, | |
componentDidMount() { | |
this.__koTrigger = ko.observable(true); | |
this.__koModel = ko.computed(function () { |
View Unregister-MissingMSIs.ps1
This file contains 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
#Requires -Version 3 | |
# The MIT License (MIT) | |
# Copyright (C) Microsoft Corporation. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT |
View S7272XXUAND2_v2.3.zip
This file contains 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
https://drive.google.com/file/d/0B6RDfwXFqsr8OEh5OEMtMHZzOGM/view?usp=sharing |
View scanindirectdependencies.target
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- All the stuff normally found in the project, then in the AfterBuild event... --> | |
<Target Name="AfterBuild"> | |
<!-- Here's the call to the custom task to get the list of dependencies --> | |
<ScanIndirectDependencies StartFolder="$(MSBuildProjectDirectory)" | |
StartProjectReferences="@(ProjectReference)" | |
Configuration="$(Configuration)"> | |
<Output TaskParameter="IndirectDependencies" ItemName="IndirectDependenciesToCopy" /> | |
</ScanIndirectDependencies> |
View ObjectActivatorEx.cs
This file contains 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
// Microsoft (R) .NET Framework IL Disassembler. Version 4.0.30319.33440 | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// | |
// Metadata version: v4.0.30319 |
View DCGAN.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View get-docker.sh
This file contains 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
#!/bin/sh | |
set -e | |
# This script is meant for quick & easy install via: | |
# $ curl -fsSL get.docker.com -o get-docker.sh | |
# $ sh get-docker.sh | |
# | |
# For test builds (ie. release candidates): | |
# $ curl -fsSL test.docker.com -o test-docker.sh | |
# $ sh test-docker.sh |
View Measure-TargetFramework.ps1
This file contains 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
Get-ChildItem -Path C:\path\to\project\root -Filter *.csproj -Recurse | | |
Select-Xml -Namespace @{msb="http://schemas.microsoft.com/developer/msbuild/2003"} -XPath "//msb:TargetFrameworkVersion" | | |
Select-Object -Property @{Name="TargetFrameworkVersion"; Expression={$_.Node.InnerXml}} | | |
Select-Object -ExpandProperty TargetFrameworkVersion | | |
Group-Object |
NewerOlder