I hereby claim:
- I am hartez on github.
- I am hartez (https://keybase.io/hartez) on keybase.
- I have a public key ASDHDfsQ0rypUYqHl9WtalmOx-BzQgjxRscWRqnmdtVdpAo
To claim this, I am signing this object:
public class TranslatePage : ContentPage | |
{ | |
public TranslatePage() | |
{ | |
var layout = new RelativeLayout(); | |
double viewSize = 100; | |
var box = new Entry | |
{ |
public class TranslatePage : ContentPage | |
{ | |
public TranslatePage() | |
{ | |
var layout = new RelativeLayout(); | |
var tapGesture = new TapGestureRecognizer | |
{ | |
Command = new Command(() => DisplayAlert("Box Tapped", "The box was tapped", "Cool, thanks.")) | |
}; |
I hereby claim:
To claim this, I am signing this object:
$emails = @() | |
$gmvaultdb = "[path to your gmvault data]" | |
$total = (Get-ChildItem $gmvaultdb -Recurse -Filter *.eml | measure).Count | |
Add-Type -Path "MimeKit.1.2.10.0\lib\net45\MimeKit.dll" | |
$formats = @{ | |
[MimeKit.Text.TextFormat]::Text = 0; |
from bs4 import BeautifulSoup as bsoup | |
import pandas as pd | |
import numpy as np | |
import humanfriendly | |
# Read in email data file | |
df = pd.read_csv('../bodytext.csv', header = 0) | |
# Filter out sent mail | |
emails = df.query('FromEmail != "[my email address]"').copy() |
import pandas as pd | |
import numpy as np | |
import humanfriendly | |
import matplotlib.pyplot as plt | |
plt.style.use('ggplot') | |
import os.path | |
# Read in our email data file | |
df = pd.read_csv('../attachments2.csv', header = 0) |
<#@ template language="C#" hostspecific="True" #> | |
<#@ assembly name="System.Xml" #> | |
<#@ import namespace="System.IO" #> | |
<#@ import namespace="System.Xml" #> | |
<# | |
XmlDocument doc = new XmlDocument(); | |
doc.Load(Path.Combine(Path.GetDirectoryName(Host.TemplateFile), "Settings.settings")); | |
string xmlns = doc.DocumentElement.Attributes["xmlns"].Value; | |
XmlNamespaceManager nsmgr = new XmlNamespaceManager(doc.NameTable); |
/// <summary> | |
/// Endpoints for managing Addresses | |
/// </summary> | |
public class AddressController : ApiController | |
{ | |
/// <summary> | |
/// Gets a list of addresses in the system | |
/// </summary> | |
/// <returns>IEnumerable<AddressViewModel>.</returns> | |
public IEnumerable<AddressViewModel> Get() |
public class AddressController : ApiController | |
{ | |
public IEnumerable<AddressViewModel> Get() | |
{ | |
return Addresses.Get(); | |
} | |
[Route(Name = "GetAddress")] | |
public AddressViewModel Get(int id) | |
{ |
var temperature = new ConversionGraph(); | |
var fahrenheit = new Unit("degrees Fahrenheit") | |
.IsAlsoCalled("Fahrenheit") | |
.CanBeAbbreviated("°F") | |
.PluralizeAs("°F"); | |
temperature.AddConversion( | |
Conversions.From(fahrenheit).To(celcius).Subtract(32).MultiplyBy(5M / 9M)); |