Skip to content

Instantly share code, notes, and snippets.


Luuk Sommers luuksommers

View GitHub Profile
NickCraver / Win10NagRemover.ps1
Last active Aug 26, 2019
Windows 10 Upgrade Nag Remover. This script removes the Windows 7 & 8 updates that cause the Windows 10 upgrade nags to appear and hides them to prevent re-install. Must be run as administrator.
View Win10NagRemover.ps1
# Simple script to remove the Windows 10 "Nag" Updates and telemetry additions for Windows 7 & 8 users
# This will uninstall the updates and hide them, preventing installation in the future
# Note: MUST BE RUN AS ADMINISTRATOR, setting updates to hidden requires admin permissions
# Updates removed:
# KB3035583 - Update installs Get Windows 10 app in Windows 8.1 and Windows 7 SP1
# KB2952664 - Compatibility update for upgrading Windows 7
# KB2976978 - Compatibility update for Windows 8.1 and Windows 8
netsi1964 / Functions.cshtml
Created May 30, 2015
Umbraco usefull global translate function
View Functions.cshtml
@functions {
/// <summary>
/// Using Dictionary return a translation or default value
/// If defaultValue is empty and the key was not defined, a "*"+key will be returned
/// So that you know that you need to create a translation/dictionary for that key
/// </summary>
/// <param name="key">The dictonary key to search for</param>
/// <param name="defaultValue">A optional default value</param>
/// <returns>The found dictonary</returns>
public static String Translate(string key, string defaultValue = "")
davidfowl /
Last active Sep 24, 2020
.NET project structure
sayedihashimi / transform-xml.ps1
Last active Jul 28, 2020
Script which can be used to transform an XML file using XDT. All you need to do is download the script and call it. The script will download the files it needs to run.
View transform-xml.ps1
#!/usr/bin/env powershell
You can use this script to easly transform any XML file using XDT.
To use this script you can just save it locally and execute it. The script
will download its dependencies automatically.
Created by sayediHashimi
Modified by obscurerichard
Thanks Stack Overflow:
View gist:3429595
[AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)]
public class ಠ_ಠAttribute : Attribute
public ILog Log { get; set; }
public ಠ_ಠAttribute()
Log.Info("This code is bad and you should feel bad");
You can’t perform that action at this time.