Skip to content

Instantly share code, notes, and snippets.

@Roemer
Roemer / DeleteExcludedFiles.ps1
Last active August 9, 2021 15:26 — forked from mikesigs/DeleteExcludedFiles.ps1
Allow also project files instead of only solutions, fix many bugs
<#
.SYNOPSIS
Find all files excluded from a Visual Studio solution or project with the option to delete the files.
.DESCRIPTION
Finds all excluded files in all projects in the provided Visual Studio solution or a specific project with the option to delete the files.
.PARAMETER File
The path to the .sln or .csproj file
#r "System.Data"
using System.Data;
public void Test()
{
int id = 1;
var car = EntityHandler.Get<Car>(new Query().Eq(CarMapping.Fields.Id, Id));
car.Extended = EntityHandler.Get<ExtendedCar>(new Query().Eq(ExtendedCarMapping.Fields.CarId, Id));
2017-11-07 10:48:41 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=13 from 2017-11-07 07:41:54.114401)
2017-11-07 10:48:42 ERROR (MainThread) [homeassistant.setup] Error during setup of component knx
Traceback (most recent call last):
File "c:\users\rbaer\envs\home-assistant\lib\site-packages\homeassistant\setup.py", line 191, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File "c:\users\rbaer\envs\home-assistant\lib\site-packages\homeassistant\components\knx.py", line 80, in async_setup
yield from hass.data[DATA_KNX].start()
File "c:\users\rbaer\envs\home-assistant\lib\site-packages\homeassistant\components\knx.py", line 140, in start
connection_config=connection_config)
File "c:\users\rbaer\envs\home-assistant\lib\site-packages\xknx\xknx.py", line 66, in start
@Roemer
Roemer / Concept.cs
Last active January 15, 2016 08:28
Concept of UIAComWrapper control lookup
using System.Drawing;
using System.Windows;
using System.Windows.Automation;
using TestStack.White.UIItems.Finders;
namespace TestStack.White.UIItems.VNext
{
public static class UIItemFluentExtensions
{
public static T DrawHighlight<T>(this T uiItem) where T : IUIItem