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
/* based on the docs at: https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide */ | |
/* | |
* LICENSE: MIT | |
* AUTOHR: [email protected] | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; |
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 Publish-AzureCloud | |
{ | |
param( | |
[Parameter(Mandatory=$true)] | |
[string] | |
$ServiceName, | |
[Parameter(Mandatory=$true)] | |
[string] | |
$SubscriptionId, |
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
@setlocal | |
@echo off | |
REM *************** 設定 *************** | |
set PACKAGE_DIR=packages | |
REM *************** Resolve the path of NuGet.exe *************** | |
set NUGET_PATH1="C:\Program Files (x86)\NuGet\NuGet.exe" | |
set NUGET_PATH2="C:\Program Files\NuGet\NuGet.exe" |
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
/* ============================================================= | |
* bootstrap-scrollspy.js v2.0.2 | |
* http://twitter.github.com/bootstrap/javascript.html#scrollspy | |
* ============================================================= | |
* Copyright 2012 Twitter, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
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
Public Sub Test() | |
Debug.Print "***********************" | |
Debug.Print "Excel品質チェックツール" | |
Debug.Print "***********************" | |
Dim wb As Workbook | |
For Each wb In Workbooks | |
If Not wb Is ActiveWorkbook Then |
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
'wget.vbs - similar to wget but written in vbscript | |
'based on a script by Chrissy LeMaire | |
' Usage | |
if WScript.Arguments.Count < 1 then | |
MsgBox "Usage: wget.vbs <url> (file)" | |
WScript.Quit | |
end if | |
' Arguments |
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
// Unit Testing Imports | |
#if !NUNIT | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
#else | |
using NUnit.Framework; | |
using ClassInitialize = NUnit.Framework.TestFixtureSetUpAttribute; | |
using ClassCleanup = NUnit.Framework.TestFixtureTearDownAttribute; | |
using TestClass = NUnit.Framework.TestFixtureAttribute; | |
using TestMethod = NUnit.Framework.TestAttribute; | |
using TestInitialize = NUnit.Framework.SetUpAttribute; |
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
#OS junk files | |
[Th]humbs.db | |
*.DS_Store | |
#Visual Studio files | |
*.[Oo]bj | |
*.user | |
*.aps | |
*.pch | |
*.vspscc |
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
public Person Deserialize(string file) | |
{ | |
XmlSerializer serializer = new XmlSerializer(typeof(Person)); | |
Stream reader = new FileStream("C:\\myXmFile.xml", FileMode.Open); | |
Person temp=(Person)serializer.Deserialize(reader); | |
reader.Close(); | |
return temp; | |
} |