I hereby claim:
- I am gshackles on github.
- I am gshackles (https://keybase.io/gshackles) on keybase.
- I have a public key ASDl3C0qD3vgysJeXJu2bnPaId9CJt6VUYcABeN9nntibgo
To claim this, I am signing this object:
const schedule = [...document.querySelectorAll("#tablepress-6 tbody tr")] | |
.map(row => ({ | |
room: row.children[0].innerHTML, | |
time: row.children[1].innerHTML, | |
speaker: row.children[2].innerHTML, | |
title: row.children[3].innerHTML, | |
level: row.children[4].innerHTML, | |
abstract: row.children[5].innerHTML | |
})) | |
.reduce((slots, session) => Object.assign({}, slots, { |
=== Visual Studio Enterprise 2017 for Mac (Preview) === | |
Version 7.1 Preview (7.1 build 1267) | |
Installation UUID: 1a760703-fc1a-4e89-af74-74f7b2a746c4 | |
Runtime: | |
Mono 5.2.0.196 (2017-04/478c04a) (64-bit) | |
GTK+ 2.24.23 (Raleigh theme) | |
Package version: 502000196 |
public abstract class ViewModelBase : MvxViewModel | |
{ | |
protected void ClearStackAndShowViewModel<TViewModel>() | |
where TViewModel : ViewModelBase | |
{ | |
var presentationBundle = new MvxBundle(new Dictionary<string, string> { { PresentationBundleFlagKeys.ClearStack, "" } }); | |
ShowViewModel<TViewModel>(presentationBundle: presentationBundle); | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
/* | |
* surely there must be a better way? | |
* | |
* PresentedViewController.ToString() == "UIViewController" | |
* PresentedViewController.GetType() == typeof(UIViewController) | |
* new MonoTouch.ObjCRuntime.Class(PresentedViewController.GetType()).Name == "UIViewController" | |
*/ | |
public override UIInterfaceOrientationMask GetSupportedInterfaceOrientations(UIApplication application, UIWindow forWindow) | |
{ | |
bool isFullScreenVideoPlaying = forWindow != null && forWindow.RootViewController != null |
Package Manager Console Host Version 2.7.41101.299 | |
Type 'get-help NuGet' to see all available NuGet commands. | |
PM> install-package Microsoft.AspNet.SignalR.Client | |
Attempting to resolve dependency 'Newtonsoft.Json (≥ 5.0.0)'. | |
Attempting to resolve dependency 'Microsoft.Net.Http (≥ 2.1.10)'. | |
Attempting to resolve dependency 'Microsoft.Bcl (≥ 1.0.19)'. | |
Attempting to resolve dependency 'Microsoft.Bcl.Build (≥ 1.0.4)'. | |
Installing 'Newtonsoft.Json 5.0.8'. |
public class CreditCardNumberValueConverter : MvxValueConverter | |
{ | |
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture) | |
{ | |
var builder = new StringBuilder(Regex.Replace(value.ToString(), @"\D", "")); | |
foreach (var i in Enumerable.Range(0, builder.Length / 4).Reverse()) | |
builder.Insert(4*i + 4, " "); | |
return builder.ToString().Trim(); |
public class PhonePresenter : MvxTouchViewPresenter | |
{ | |
private void navigateInPlace(MvxViewModelRequest request) | |
{ | |
var nextViewController = (UIViewController)ViewCreator.CreateView(request); | |
var menuViewController = MasterNavigationController.ViewControllers.FirstOrDefault(vc => vc.GetType() == nextViewController.GetType()); | |
if (menuViewController != null) | |
{ | |
MasterNavigationController.PopToViewController(menuViewController, true); |
var titleField = new JVFloatLabeledTextField(new RectangleF()) | |
{ | |
Placeholder = "Title", | |
FloatingLabelFont = UIFont.BoldSystemFontOfSize(12), | |
FloatingLabelTextColor = UIColor.Gray, | |
FloatingLabelActiveTextColor = UIColor.Blue | |
}; |
using Cirrious.CrossCore; | |
using Cirrious.CrossCore.Core; | |
using Cirrious.CrossCore.IoC; | |
using Cirrious.MvvmCross.Platform; | |
using Cirrious.MvvmCross.Plugins.Messenger; | |
using Cirrious.MvvmCross.Test.Core; | |
using Cirrious.MvvmCross.Views; | |
using NUnit.Framework; | |
/* using blah.blah.blah */ |