Skip to content

Instantly share code, notes, and snippets.

View anthonyadamski's full-sized avatar

Anthony Adamski anthonyadamski

  • Boston, MA
View GitHub Profile
textView.SetFontStyle (Typography.Heading);
@anthonyadamski
anthonyadamski / ExtensionMethods.cs
Created February 8, 2016 21:27
Maintaining font styles with shared typography in Xamarin
using System;
using System.Drawing;
using System.Runtime.Serialization;
using System.Reflection;
#if __IOS__
using Foundation;
using UIKit;
using CoreGraphics;
foreach($arr['accounts'] as $val)
{
$account_id = $val['account_id'];
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, 'https://api.appannie.com/v1.2/accounts/'.$account_id.'/sales?break_down=product&start_date=2015-01-01&end_date=2015-01-31');
curl_setopt($ch,