Skip to content

Instantly share code, notes, and snippets.

View gp-slick-coder's full-sized avatar

Georg Perhofer gp-slick-coder

View GitHub Profile
@gp-slick-coder
gp-slick-coder / Service KMS
Created July 3, 2024 10:43 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@gp-slick-coder
gp-slick-coder / Service KMS
Created July 3, 2024 10:43 — forked from judero01col/Service KMS
Volume License Activation Key Service - KMS
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions
## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
@gp-slick-coder
gp-slick-coder / carousel.svelte
Created January 19, 2024 22:03
astro svelte carousel
// source: https://stackoverflow.com/a/42766146/451043
export class ScriptService
{
private scripts: any = {}
constructor()
{
}
@gp-slick-coder
gp-slick-coder / multi-observer.ts
Last active October 18, 2017 14:51
Aurelia MultiObserver in TypeScript
// source: https://www.danyow.net/aurelia-property-observation/
import { BindingEngine, Disposable, inject } from 'aurelia-framework'
@inject(BindingEngine)
export class MultiObserver
{
constructor(private bindingEngine: BindingEngine)
{
@gp-slick-coder
gp-slick-coder / app.html
Created May 2, 2017 10:10 — forked from jdanyow/app.html
Aurelia Validation Demo
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@gp-slick-coder
gp-slick-coder / ListService.js
Last active February 20, 2017 14:52 — forked from lstarky/app.html
Aurelia - Repeater binding error
export class ListService {
constructor() {
this.list = new Array(
{ id: 4, name: 'dd' },
{ id: 1, name: 'aa' },
{ id: 2, name: 'bb' },
{ id: 3, name: 'cc' }
)
}
@gp-slick-coder
gp-slick-coder / app.html
Last active February 18, 2017 20:07 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>${message}</h1>
<ul if.bind="show">
<li repeat.for="item of list">${item}</li>
</ul>
<hr>