Skip to content

Instantly share code, notes, and snippets.

View gep13's full-sized avatar

Gary Ewan Park gep13

View GitHub Profile
choco install 7zip -y
choco install dotnetfx -y
choco install git -y
choco install GoogleChrome -y
choco install notepadplusplus -y
choco install notepadreplacer --params='"/NOTEPAD:C:\Program Files\Notepad++\notepad++.exe"' -y
choco install sql-server-management-studio -y
choco install visualstudiocode -y
choco install ulsviewer -y
choco install visualstudio2022community -y
@gep13
gep13 / todo.md
Last active December 4, 2020 10:50
Things to do when updating to Cake.Recipe 2.0.0

This is a list of things that should be checked when adding Cake.Recipe 2.0.0 to a project (for example, a Cake addin in the Cake-Contrib Orgransation).

  1. Project is using an embedded icon
  2. Project is using a deterministic build
  3. Rename AppVeyor default target - AppVeyor -> CI
@gep13
gep13 / build.cake
Created February 18, 2020 13:20
Shows an example of referring to a target as a symbol, not as a string
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
///////////////////////////////////////////////////////////////////////////////
// TASKS
///////////////////////////////////////////////////////////////////////////////
var dependentTask = Task("dependentTask")
@gep13
gep13 / Install-vcredist140.md
Last active May 30, 2019 19:56
Installing vcredist140

Before installing the vcredist140 package, I had the following in Add/Remove Programs:

image

After installing it, I had the following:

image

The installation script resulted in the following:

@gep13
gep13 / chocolatey.log
Created March 14, 2019 13:22
Chocolatey Installation Log for msys2 and ruby dependencies
This file has been truncated, but you can view the full file.
2019-03-14 13:13:59,775 2660 [DEBUG] - XmlConfiguration is now operational
2019-03-14 13:13:59,822 2660 [INFO ] - ============================================================
2019-03-14 13:13:59,993 2660 [INFO ] - Chocolatey v0.10.12-beta-3-gb65f586
2019-03-14 13:14:00,009 2660 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2019-03-14 13:14:00,025 2660 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2019-03-14 13:14:00,025 2660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2019-03-14 13:14:00,025 2660 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install bob -dvy --source '.;https://chocolatey.org/api/v2'
2019-03-14 13:14:00,025 2660 [DEBUG] - Received arguments: install bob -dvy --source '.;https://chocolatey.org/api/v2'
2019-03-14 13:14:00,088 2660 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2019-03-14 13:14:00,088 2660 [DEBUG] - Sending message 'PreRunMessage' out if there are subscr
@gep13
gep13 / myinstalls.txt
Created October 20, 2018 08:57
Test Boxstarter Script
choco install gitreleasemanager.portable -y
@gep13
gep13 / FilesSnapshot.xml
Created March 28, 2018 11:53
apacheds v2.0.0.20 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\apacheds\apacheds.nupkg" checksum="1BF031FD42D1775779C5B77D8B7C409D" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\apachedsInstall.zip.txt" checksum="BDB0F697DEF18F6C51140129DEDDCC5F" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\tools\chocolateyInstall.ps1" checksum="F2EF7AFE1726ECAC2E004C75CDA37569" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\tools\chocolateyUninstall.ps1" checksum="48A3172DA545DF2F59647777DF0B61E1" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\tools\Install-Service.ps1" checksum="DAFAD4F2556FDD2E11ED6193ED5AAD99" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\tools\OverwriteParameters.ps1" checksum="3314CFC7A1CFDF0EFABCB96E201C51D5" />
<file path="C:\ProgramData\chocolatey\lib\apacheds\tools\Uninstall-ZipPackage.ps1" che
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install notepadplusplus -y
'use strict';
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
let taskProvider: vscode.Disposable | undefined;
// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {