Skip to content

Instantly share code, notes, and snippets.

View AdmiringWorm's full-sized avatar

Kim J. Nordmo AdmiringWorm

View GitHub Profile
@AdmiringWorm
AdmiringWorm / pre-commit
Created November 15, 2016 08:15
git hooks I'm using when creating packages for the chocolatey/coreteampackages repository
#!/bin/sh
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
@AdmiringWorm
AdmiringWorm / dotnet-add.txt
Created March 19, 2017 20:51
dotnet 1.1.0.1179 help pages
Usage: dotnet add [arguments] [options] [command]
Arguments:
<PROJECT> The project file to operate on. If a file is not specified, the command will search the current directory for one.
Options:
-h|--help Show help information
Commands:
package Command to add package reference
@AdmiringWorm
AdmiringWorm / POSHv2 Read-Only aliases.md
Created November 17, 2017 16:21
List of aliases that are Read-Only in Powershell V2

List of aliases that are Read-Only in Powershell V2

PS C:\Users\Administrator> gal | ? { $_.options -match 'readonly' } | ft Name,Definition -a

Name    Definition
----    ----------
%       ForEach-Object
?       Where-Object
ac      Add-Content
@AdmiringWorm
AdmiringWorm / codecov.cake
Last active May 16, 2019 00:47
Collection of cake scripts used to override Cake.Recipe tasks
#load "./modules.cake"
#if !CUSTOM_CODECOV
Setup<CodecovSettings>((context) => {
var settings = new CodecovSettings {
Required = true
};
if (BuildParameters.Version != null && !string.IsNullOrEmpty(BuildParameters.Version.FullSemVersion) && BuildParameters.IsRunningOnAppVeyor) {
// Required to work correctly with appveyor because environment changes isn't detected until cake is done running.
@AdmiringWorm
AdmiringWorm / choco color
Created January 20, 2020 20:50
Chocolatey colors for vscode
{
"workbench.colorCustomizations": {
"activityBar.background": "#aacdec",
"activityBar.activeBorder": "#6F3215",
"activityBar.foreground": "#242c5c",
"activityBar.inactiveForeground": "#242c5c99",
"activityBarBadge.background": "#6F3215",
"activityBarBadge.foreground": "#e7e7e7",
"titleBar.activeBackground": "#80b5e3",
"titleBar.inactiveBackground": "#80b5e399",
@AdmiringWorm
AdmiringWorm / Update-AUPackages.md
Created April 24, 2020 08:56
Update-AUPackages Report #powershell #chocolatey
@AdmiringWorm
AdmiringWorm / Update-AUPackages.md
Created April 24, 2020 08:57
Update-AUPackages Report #powershell #chocolatey
@AdmiringWorm
AdmiringWorm / Roadmap.md
Created June 30, 2020 15:00
Chocolatey Package Request Repository Validator

This document contains the current features that are planned/wanted to be implemented for the package validator (and upcoming status checker) on the chocolatey package request repository. There is guarantee that any/all of these features will be implemented, nor when this may happen.

0.2.0 (In Progress)

Planned

  • Implement versioning of module (not important, but can be useful in certain scenarios)
@AdmiringWorm
AdmiringWorm / maintainers.md
Last active September 17, 2020 12:44
@pauby's cheat sheet for what a maintainer can do 👅

What can you do as a maintainer?

The goal of this gist is to provide some details on what you can do and can't do on chocolatey.org when you are a maintainer.

  • You can not remove yourself as a maintainer for packages available on chocolatey.org. You will need to contact the site admins to be removed from a package. You will not be removed as a maintainer if you are the only maintainer listed.
  • When a new package have been pushed to chocolatey.org, a new version of the same package can not be pushed until the existing version is either approved or rejected. If the package is failing, the recommended solution is to update the existing version which fixes the failure reason. When this isn't possible, you can rejected a failing version yourself, or ask a Moderator to rejected it.

Keybase proof

I hereby claim:

  • I am admiringworm on github.
  • I am admiringworm (https://keybase.io/admiringworm) on keybase.
  • I have a public key ASAH0Z3vgl7IWAqRG-zmoqyRK7RXpg3T02jDwzEAHQnLEwo

To claim this, I am signing this object: