Skip to content

Instantly share code, notes, and snippets.

@eegeeZA
eegeeZA / azure-pipelines.yml
Created March 19, 2020 06:22
Azure Pipeline example for .NET Core + NPM
trigger:
batch: true
branches:
include:
- develop
- release/v*
- hotfix/v*
- master
pool:
@eegeeZA
eegeeZA / new-table-template.sql
Created March 25, 2020 06:48
MS SQL template for creating new tables
-- GUID as ID
CREATE TABLE [dbo].[TableName1]
(
[PrimaryKeyName] UNIQUEIDENTIFIER NOT NULL
CONSTRAINT [PK_dbo.TableName1] PRIMARY KEY CLUSTERED
CONSTRAINT [DF_dbo.TableName1_PrimaryKeyName] DEFAULT NEWSEQUENTIALID(),
[ForeignKeyName] UNIQUEIDENTIFIER NOT NULL
CONSTRAINT [FK_dbo.TableName1_dbo.TableName2_ForeignKeyName] FOREIGN KEY ([ForeignKeyName])
REFERENCES [dbo].[TableName2] ([TableName2ColumnName]),
-- IsActive BIT NOT NULL,
@eegeeZA
eegeeZA / pseudoloc-xliff.js
Created June 19, 2020 11:20
Pseudo-Locales for XLIFF (*.xlf) files using pure JavaScript on Node/NPM
/**
* Pseudo-Locales for XLIFF (*.xlf) files using pure JavaScript on Node/NPM
*
* Inspired by https://docs.microsoft.com/en-us/windows/win32/intl/pseudo-locales for use in Angular i18n.
* The output file will be $SOURCE_FILE_NAME.qps-Ploc.$SOURCE_FILE_EXT compatible with Angular's format.
*
* Usage:
* npm i -D pseudoloc
* node $LOCATION/pseudoloc-xliff.js $SOURCE_FILE
*
@eegeeZA
eegeeZA / MediaHelper.ahk
Last active January 2, 2024 12:20
Remap original hotkeys from Winamp to media keys, disable the annoying CaPS LoCK button, allow the volume to be adjusted with the mouse wheel, and quick launch a calculator using Num Lock.
#Requires AutoHotkey v2.0
SetCapsLockState "AlwaysOff"
Media_Play_Pause::Media_Play_Pause
Media_Stop::Media_Stop
Media_Next::Media_Next
Media_Prev::Media_Prev
^!Home::Send "!{Media_Play_Pause}"
@eegeeZA
eegeeZA / alienware-arena_daily-quests.user.js
Last active June 30, 2021 15:56
Alienware Arena - Daily Quests
// ==UserScript==
// @name Alienware Arena - Daily Quests
// @match https://*.alienwarearena.com/*
// @icon https://eu.alienwarearena.com/favicon.ico
// @version 1.1
// @author eegee
// @download https://gist.github.com/eegeeZA/823491a8883f2eb0296f4122fe632122/raw/alienware-arena_daily-quests.user.js
// @namespace https://gist.github.com/eegeeZA/823491a8883f2eb0296f4122fe632122
// @description Quick link to thread or solution of the Daily Quest.
// ==/UserScript==