Skip to content

Instantly share code, notes, and snippets.

[% extends "pyapp.nsi" %]
; UI pages
[% block ui_pages %]
!define MUI_FINISHPAGE_RUN "$INSTDIR\Mapscope.exe"
[[ super() ]]
[% endblock ui_pages %]
# This script helps you to make your PC demo ready by:
# - Cleaning out the desktop
# - Hiding recent items in PowerPoint
# TODO: Make it a toggle script ...
# ... stored state somewhere
# ... make it a parameter
# ... have two scripts for enable/disable
@janmechtel
janmechtel / consulting-trump-cards-by-slideproof.markdown
Created January 15, 2021 19:00
Consulting Trump Cards by SlideProof
static void Run(Expression<Action> action) {
System.Console.WriteLine("================================================");
var method = action.Body as MethodCallExpression;
if(method != null)
Console.WriteLine(method.Method.Name);
System.Console.WriteLine("================================================");
System.Console.WriteLine("");
action.Compile().Invoke();