A Pen by Jan Mechtel on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[% extends "pyapp.nsi" %] | |
; UI pages | |
[% block ui_pages %] | |
!define MUI_FINISHPAGE_RUN "$INSTDIR\Mapscope.exe" | |
[[ super() ]] | |
[% endblock ui_pages %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |