Download the windows image you want.
AWS vmimport supported versions: Microsoft Windows 10 (Professional, Enterprise, Education) (US English) (64-bit only)
So Home wont work.
#!/usr/bin/env php | |
<?php | |
function getContents($params) | |
{ | |
[$self, $file, $startLine, $startColumn, $endLine, $endColumn] = $params; | |
--$startLine; | |
--$startColumn; | |
--$endLine; | |
--$endColumn; |
@echo off | |
net file 1>nul 2>nul | |
if "%errorlevel%" == "0" (goto admin) | |
:elevate | |
echo Set UAC = CreateObject^("Shell.Application"^) > "%Temp%\elevate.vbs" | |
set params = %*:"=" | |
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%Temp%\elevate.vbs" | |
"%Temp%\elevate.vbs" | |
del "%Temp%\elevate.vbs" |
################## | |
# Privacy Settings | |
################## | |
# Privacy: Let apps use my advertising ID: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# To Restore: | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
# Privacy: SmartScreen Filter for Store Apps: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
<?php | |
use ArrayAccess; | |
class Parameter implements ArrayAccess | |
{ | |
const STUDLY = 1; | |
const CAMEL = 2; | |
const SNAKE = 3; | |
const KEBAB = 4; |
import { | |
HTTP_INTERCEPTORS, | |
HttpClient, | |
HttpParams, | |
} from '@angular/common/http'; | |
import { | |
HttpClientTestingModule, | |
HttpTestingController, | |
} from '@angular/common/http/testing'; |
import { ProblemNode } from './ProblemMatcher'; | |
import { TestNode, TestSuiteNode } from './Parser'; | |
import { TestEvent, TestSuiteEvent } from './TestExplorer'; | |
export declare type Node = TestSuiteNode | TestNode | ProblemNode; | |
export declare type TestInfo = Node | TestSuiteEvent | TestEvent; | |
export class TestEventCollection { | |
private events: Map<string, TestSuiteEvent | TestEvent> = new Map(); |
import files from './Filesystem'; | |
import { TestRunner } from './TestRunner'; | |
import { Problem } from './ProblemMatcher'; | |
import { SpawnOptions } from 'child_process'; | |
import { Test, TestSuite } from './Parser'; | |
import { TestEventCollection } from './TestEventCollection'; | |
import { TestResponse } from './TestResponse'; | |
import { TestSuiteCollection } from './TestSuiteCollection'; | |
import { | |
Connection, |
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_syntax' => [ | |
'syntax' => 'short', | |
], | |
'binary_operator_spaces' => [ |
set nocompatible " Disable vi-compatibility | |
set t_Co=256 | |
colorscheme xoria256 | |
set guifont=menlo\ for\ powerline:h16 | |
set guioptions-=T " Removes top toolbar | |
set guioptions-=r " Removes right hand scroll bar | |
set go-=L " Removes left hand scroll bar | |
set linespace=15 |