Skip to content

Instantly share code, notes, and snippets.

@Veretax
Veretax / backup_themes.ps1
Created October 21, 2019 20:06
Copy Sitefinity Theme to Server from local Desktop
##############################################################################################################################
#
# Backup Themes on Server
# Author: Timothy Western
# Last Modified: 2019/10/21 15:30
#
# This script will backup the Theme designated as ThemeName, masterpages, and styles and javascript to a folder on C Drive
# This is part 1 of a 3 Script Process (recommend executing copy_themes_toserver which calls all three parts.)
# (This script requires no special permissions)
#
@Veretax
Veretax / TRMDesktopUI\ViewModels\LoginViewModel.cs
Created August 25, 2019 17:42
How to create debugger + app.config bypass for login credentials
// add the following usings
using System.Configuration;
using System.Diagnostics;
// Update the two methods below:
// Update Can Login so Login buttin is enabled by default if Debugger is attached
public bool CanLogIn
{
get
@Veretax
Veretax / ShellViewModel.cs
Created July 17, 2019 20:36
Runtime debugging that skips login validation
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using TRMDesktopUI.EventModels;
namespace TRMDesktopUI.ViewModels