Skip to content

Instantly share code, notes, and snippets.

@miyabis
miyabis / MicrosoftEdgePolicies.reg
Created November 13, 2019 12:42
policy registry setting to run IE mode and ClickOnce on Microsoft Edge.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode]
"SiteList"="https://hostname/ie11list.xml"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"InternetExplorerIntegrationLevel"=dword:00000001
"ClickOnceEnabled"=dword:00000001
"DirectInvokeEnabled"=dword:00000001
@miyabis
miyabis / AdminDeployment.xml
Created November 3, 2019 04:53
vs2015 Install AdminDeployment.xml
<?xml version="1.0" encoding="utf-8"?>
<AdminDeploymentCustomizations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/wix/2011/AdminDeployment">
<BundleCustomizations TargetDir="C:\Program Files (x86)\Microsoft Visual Studio 14.0" NoCacheOnlyMode="default" NoWeb="yes" NoRefresh="default" SuppressRefreshPrompt="default" Feed="default" />
<SelectableItemCustomizations>
<SelectableItemCustomization Id="MicroUpdateV3.5" Selected="yes" FriendlyName="Microsoft Visual Studio 2015 の更新プログラム (KB3165756)" />
<SelectableItemCustomization Id="WebToolsV1" Hidden="no" Selected="yes" FriendlyName="Microsoft Web Developer Tools" />
<SelectableItemCustomization Id="JavaScript_HiddenV12" Selected="yes" FriendlyName="JavaScript Project System for Visual Studio" />
<SelectableItemCustomization Id="MDDJSDependencyHiddenV1" Selected="yes" FriendlyName="MDDJSDependencyHidden" />
<SelectableItemCustomization Id="AppInsightsT
@miyabis
miyabis / vs2017.vsconfig
Created November 3, 2019 03:47
vs2017 Installer export vsconfig
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Workload.Universal",
"Microsoft.VisualStudio.Workload.NetWeb",
"Microsoft.VisualStudio.Workload.Python",
"Microsoft.VisualStudio.Workload.Data",
"Microsoft.VisualStudio.Workload.Office",
"Microsoft.VisualStudio.Workload.VisualStudioExtension",
@miyabis
miyabis / ChatPCInfo.ps1
Last active September 30, 2018 04:03
Mattermost にPC情報を送信する PowerShell
$chatUrl = "https://chat-server/hooks/aaaabbbbccccddddeeeeffffgggg"
$chatChannel = "town-square"
$userName = ""
$iconUrl = "https://www.shareicon.net/data/128x128/2015/09/16/101922_windows_512x512.png"
$authorIcon = "https://www.shareicon.net/data/16x16/2016/03/28/467235_drive_64x64.png"
function ConvertTo-Json20([object]$item) {
add-type -assembly system.web.extensions
$ps_js = new-object system.web.script.serialization.javascriptSerializer
return $ps_js.Serialize($item)