# This example does an AJAX lookup and is in CoffeeScript
$('.typeahead').typeahead(
# source can be a function
source: (typeahead, query) ->
# this function receives the typeahead object and the query string
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
FAULT: ********************************************************************** | |
FAULT: Appliance : MachineName (OS v3.0.4, NMS v3.0.4 (r8917)) | |
FAULT: Machine SIG : AAAAAAAA | |
FAULT: Primary MAC : 0:0:0:0:0:0 | |
FAULT: Time : Fri Jun 15 00:00:46 2012 | |
FAULT: Trigger : runners-check | |
FAULT: Fault Type : ALARM | |
FAULT: Fault ID : 20 | |
FAULT: Fault Count : 2 | |
FAULT: Severity : NOTICE |
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 override void ViewWillAppear (bool animated) | |
{ | |
base.ViewWillAppear (animated); | |
BeginInvokeOnMainThread (delegate () { | |
this.Root = CreateRoot (); | |
}); | |
} | |
RootElement CreateRoot () |
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
class MyTabBarController () : UITabBarController | |
{ | |
public MyTabBarController () : base () | |
{ | |
} | |
public override void ViewWillAppear (bool animated) | |
{ | |
base.ViewWillAppear (animated); | |
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
window = new UIWindow (UIScreen.MainScreen.Bounds); | |
navigation = new UINavigationController(); | |
var tabController = new MyTabBarController (); | |
navigation.PushViewController (tabController, true); | |
window.RootViewController = navigation; |
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
//******************** | |
//Navigate to DVC1 !!! | |
//******************** | |
namespace EMALI | |
{ | |
public partial class vPtoVentaTipo : DialogViewController | |
{ | |
public int PaginaIndex { get; set; } | |
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
Listening on port: 8080 (non-secure) | |
Hit Return to stop the server. | |
An exception has occurred while generating HttpException page: | |
System.NullReferenceException: Object reference not set to an instance of an object | |
at System.Web.Util.HttpEncoder.GetCustomEncoderFromConfig () [0x00000] in <filename unknown>:0 | |
at System.Lazy`1[System.Web.Util.HttpEncoder].InitValue () [0x00000] in <filename unknown>:0 | |
The actual exception which was being reported was: | |
System.Web.HttpException: ---> System.NullReferenceException: Object reference not set to an instance of an object | |
at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00000] in <filename unknown>:0 |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
using IQX.TAS.View.Mobile; | |
using MonoTouch.AtmHud; |
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
BeginInvokeOnMainThread(() => { | |
_descriptionElement.Highlight(); | |
this.TableView.SetNeedsDisplay(); | |
}); | |
public void Highlight() | |
{ | |
var cell = base.GetCell (GetContainerTableView()); | |
cell.TextLabel.TextColor = UIColor.Red; | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Linq; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
public class ActionSheetDatePicker { | |
#region -= declarations =- | |
OlderNewer