I hereby claim:
- I am pedrolamas on github.
- I am pedrolamas (https://keybase.io/pedrolamas) on keybase.
- I have a public key ASC1NVaCf8XHix-iLfc6BG864vBxGvmzdRB6cBG36TdCowo
To claim this, I am signing this object:
<phone:PhoneApplicationPage | |
x:Class="PhoneApp.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" | |
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" | |
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
using System.Linq; | |
using HtmlAgilityPack; | |
namespace PhoneApp1 | |
{ | |
public class HtmlAgilityPackSample | |
{ | |
public static string[] GetLinks(string html) | |
{ | |
// The next line allows for form overlaps (forms inside forms) |
using System; | |
using System.IO; | |
using System.Windows.Media.Imaging; | |
namespace Helpers | |
{ | |
public class ImageHelper | |
{ | |
public static MemoryStream ResizeImage(Stream inputStream, double maxWidth, double maxHeight) | |
{ |
using System.Collections.Generic; | |
using Newtonsoft.Json; | |
using System; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
public static T DeserializeFromJson<T>(string json) | |
{ |
using System; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
DoIt1(); | |
DoIt2(); |
/* | |
In the "old" Windows Phone grid layout you would have a two columns layout like so: | |
MMCMCMM | |
where M is a 12px margin and C is the column width (so 5 * M + 2 * C = Width) | |
For a 3 columns layout it would be: | |
MMCMCMCMM |
// **************************************************************************** | |
// <copyright file="UriExtensions.cs" company="Pedro Lamas"> | |
// Copyright © Pedro Lamas 2014 | |
// </copyright> | |
// **************************************************************************** | |
// <author>Pedro Lamas</author> | |
// <email>[email protected]</email> | |
// <project>Cimbalino.Toolkit.Core</project> | |
// <web>http://www.pedrolamas.com</web> | |
// <license> |
Enable-MicrosoftUpdate | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions | |
cinst DotNet4.5.1 | |
cinst silverlight5developerruntime | |
cinst 7zip | |
cinst adobereader | |
cinst skype | |
cinst dropbox | |
cinst fiddler4 |
I hereby claim:
To claim this, I am signing this object: