Skip to content

Instantly share code, notes, and snippets.

View francipvb's full-sized avatar
🏠
Working from home

Francisco R. Del Roio francipvb

🏠
Working from home
View GitHub Profile
@francipvb
francipvb / App.es.resx
Created October 7, 2019 16:04
Localize xaml markup extension
<?xml version="1.0" encoding="utf-8"?>
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
@francipvb
francipvb / MockGist.cs
Last active September 28, 2019 16:53
Just a little Moq demonstration
using Moq;
using Xunit;
namespace GithubGists
{
public class MockGist
{
[Fact]
public void TestMock()
{
@francipvb
francipvb / Prime.cs
Created March 29, 2019 01:19
Calculating prime numbers with enumerable functions and tasks
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Prime
{
class Program
{