This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public virtual async Task<AccountsResponse> RegisterAsync(string username, string emailAddress, string password, string twitterId = "", string facebookId = "") | |
{ | |
// TODO : Validate the arguments | |
AccountsResponse accountResponse = null; | |
List<KeyValuePair<string, string>> values = new List<KeyValuePair<string, string>> (); | |
values.Add(new KeyValuePair<string, string>("emailaddress", emailAddress)); | |
values.Add(new KeyValuePair<string, string>("username", username)); | |
values.Add(new KeyValuePair<string, string>("password", password)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ErrorMessage":null, | |
"Reports":[ | |
{ | |
"Id":1, | |
"Username":"Richard Adams", | |
"ThumbnailUri":"http://tellat.blob.core.windows.net/videos/thumbnail01.jpg", | |
"VideoUri":"http://tellat.blob.core.windows.net/videos/video03.mp4", | |
"Text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vel tincidunt elit. Ut id elit sit amet purus interdum blandit. Aenean facilisis feugiat urna, id pretium purus feugiat ut. Vivamus augue lacus, mattis et dolor at, posuere molestie magna. Aenean ut aliquet dolor. Sed aliquet rhoncus aliquet. Aliquam luctus purus nec pellentesque commodo." | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UpdateCellDisplay() | |
public View GetView(Context context, View convertView, ViewGroup parent) | |
UpdateCellDisplay() | |
public View GetView(Context context, View convertView, ViewGroup parent) | |
UpdateCellDisplay() | |
[Choreographer] Skipped 37 frames! The application may be doing too much work on its main thread. | |
public View GetView(Context context, View convertView, ViewGroup parent) | |
UpdateCellDisplay() | |
public View GetView(Context context, View convertView, ViewGroup parent) | |
UpdateCellDisplay() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// An element that can be used to enter text. | |
/// </summary> | |
/// <remarks> | |
/// This element can be used to enter text both regular and password protected entries. | |
/// | |
/// The Text fields in a given section are aligned with each other. | |
/// </remarks> | |
public class SimpleMultilineEntryElement : ValueElement<string>, IElementSizing | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var button1 = new UIButton (UIButtonType.Custom) ; | |
var button2 = new UIButton (UIButtonType.Custom) ; | |
button1.SetBackgroundImage (UiHelper.Screen2_Button2, UIControlState.Normal); | |
button2.SetBackgroundImage (UiHelper.Screen2_Button1, UIControlState.Normal); | |
var frame1 = button1.Frame; | |
var frame2 = button2.Frame; | |
frame1.Height = UiHelper.Screen2_Button1.Size.Height; | |
frame1.Width = UiHelper.Screen2_Button1.Size.Width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SafeClaimDoubleButton : Element, IElementSizing{ | |
UIButton button1; | |
UIButton button2; | |
public ICommand Command1 { get;set; } | |
public ICommand Command2 { get;set; } | |
public SafeClaimDoubleButton (UIButton b1,UIButton b2, string caption): base(caption) | |
{ | |
this.button1 = b1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WebContentElement : Element, IElementSizing | |
{ | |
public enum CellFlags | |
{ | |
Transparent = 1, | |
DisableSelection = 2 | |
} | |
private readonly NSString _key; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include "../classes/mvc/models/apiClient/apiClient_AbstractWrapper.php"; | |
include "../classes/mvc/models/EventProfileModel.php"; | |
include "../../atsumi/classes/mvc/controllers/mvc_AbstractController.php"; | |
include "../classes/mvc/controllers/AbstractController.php"; | |
/** | |
* Created by JetBrains PhpStorm. | |
* User: wayne |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class ForConnectivityManager | |
{ | |
private const string DebugTag = "YOUR_APP_NAME"; | |
static IntPtr _connectivityManagerSetMobileDataEnabled; | |
public static bool IsMobileDataEnabled(this ConnectivityManager manager) | |
{ | |
var netInfo = manager.GetNetworkInfo(ConnectivityType.Mobile); | |
return manager.NetworkStatus() != NetworkState.NoNetwork; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iisreset /stop | |
#release path | |
$raven = "D:\PathToDataDirs\Deployment" | |
#set the paths for the dbs: | |
$databases = "D:\PathToDataDirs\Beta\Act\", "D:\PathToDataDirs\Beta\Conversation\","D:\PathToDataDirs\Beta\Location\","D:\PathToDataDirs\Beta\Event\" | |
foreach($db in $databases){ | |
Remove-Item $db\* -force -recurse -erroraction silentlycontinue -exclude *.config,Data |