Do you do cross-platform development on .NET? Are you sick of #ifdef hell or maintaining duplicate codebases which do essentially the same thing? Let me show you Portable Class Libraries. They're neat.
Things to cover:
- why on earth should i care?
Do you do cross-platform development on .NET? Are you sick of #ifdef hell or maintaining duplicate codebases which do essentially the same thing? Let me show you Portable Class Libraries. They're neat.
Things to cover:
from xml.dom.minidom import parse | |
def get_label(node): | |
name = node.getElementsByTagName('name')[0] | |
label = name.firstChild.nodeValue | |
return label | |
def get_coords(node): | |
coordinates = node.getElementsByTagName('coordinates')[0] | |
coords = coordinates.firstChild.nodeValue |
using ReactiveUI; | |
namespace WpfApplication1 | |
{ | |
public class DesignMainViewModel : MainViewModel | |
{ | |
public DesignMainViewModel() | |
{ | |
UserName = "shiftkey"; | |
} |
using System.Windows; | |
using System.Windows.Data; | |
using Xunit; | |
namespace ConsoleApplication2 | |
{ | |
public class Test | |
{ | |
DependencyObject dObj = new DependencyObject(); |
using System; | |
using NUnit.Framework; | |
using ServiceStack.OrmLite.SqlServer; | |
namespace ServiceStack.OrmLite.SqlServerTests | |
{ | |
[TestFixture] | |
public class DateTimeOffsetTests | |
{ | |
// NOTE: ISO 8601 says no whitespace between time value and timezone parameter |
EXAMPLE 1 | |
IF the Collection Day (in WASTE_COLLECTION_DAYS dataset) is “WEDNESDAY EVEN” | |
THEN | |
The Household’s General Waste will be picked up every WEDNESDAY and | |
IF the current week is designated as an EVEN week (in WASTE_COLLECTION_WEEKS_REFERENCE_TABLE dataset) |
using System; | |
using System.Diagnostics; | |
using System.Threading.Tasks; | |
namespace PortableClassLibrary1 | |
{ | |
public class Class1 | |
{ | |
public Class1() | |
{ |
Get-AppxPackage -user zeus\brendan | Where-Object {$_.Name -match "[a-fA-F0-9]{8}-([a-fA-F0-9]{4}-) | |
{3}[a-fA-F0-9]{12}" } | Foreach-Object {Remove-AppxPackage $_.PackageFullName} |
Chocolatey - $51k raised of $40k goal = 1,044 donors, $48.99 average
Read the Docs - $26k raised of $24k goal = 174 donors, $149 average
Ghost - £196k of £25k goal = 5236 donors, £37.50 average (USD $56.43 as at 2013-05-28)
Tokaido - $51k of $25k goal = 739 donors, $69.30 average
Mailpile - $163k of 100k goal = 3639 donors, $44.84 average
The Git for Windows team is currently testing their newest release candidates, which is a port of Git 2.3 to Windows. As this is a significant change, I've written up a guide for people who are interested in helping to test out things.
You can find the latest releases for Git for Windows over on the Releases page: