Skip to content

Instantly share code, notes, and snippets.

ximon / AboutPage.h
Created Aug 9, 2019 — forked from igrr/AboutPage.h
Custom ESP8266WebServer RequestHandler sample
View AboutPage.h
#ifndef ABOUT_PAGE_H
#define ABOUT_PAGE_H
#include <ESP8266WebServer.h>
class AboutPage : public RequestHandler {
AboutPage(const char* uri = "about")
: _uri(uri)
ximon / Test.csproj
Created May 30, 2019 — forked from fearthecowboy/Test.csproj
The definitive way to use PowerShell from an msbuild script
View Test.csproj
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="">
<!-- #1 Place this line at the top of any msbuild script (ie, csproj, etc) -->
<PropertyGroup><PowerShell># 2>nul || type %~df0|find /v "setlocal"|find /v "errorlevel"|powershell.exe -noninteractive -&amp; exit %errorlevel% || #</PowerShell></PropertyGroup>
<!-- #2 in any target you want to run a script -->
<Target Name="default" >
<PropertyGroup> <!-- #3 prefix your powershell script with the $(PowerShell) variable, then code as normal! -->
You can’t perform that action at this time.