This file contains hidden or 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 Newtonsoft.Json; | |
namespace jittest | |
{ | |
public class Test | |
{ | |
public void SerializeDeserialiseTest() | |
{ |
This file contains hidden or 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
Mon Feb 14 18:57:13 Jamess-iPhone kernel[0] <Debug>: launchd[15717] Builtin profile: container (sandbox) | |
Mon Feb 14 18:57:13 Jamess-iPhone kernel[0] <Debug>: launchd[15717] Container: /private/var/mobile/Applications/1AF9CA8A-4F8B-4CCE-9B47-9AB3AB3F060A [69] (sandbox) | |
Mon Feb 14 18:57:16 Jamess-iPhone UIKitApplication:jittest[0x8a54][15717] <Notice>: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for PredicateOf`1 ---> System.ExecutionEngineException: Attempting to JIT compile method 'System.Linq.Enumerable/PredicateOf`1<System.Collections.Generic.KeyValuePair`2<System.Reflection.ParameterInfo, object>>:.cctor ()' while running with --aot-only. | |
Mon Feb 14 18:57:16 Jamess-iPhone UIKitApplication:jittest[0x8a54][15717] <Notice>: --- End of inner exception stack trace --- |
This file contains hidden or 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
Sun Feb 13 03:07:50 Jamess-iPad UIKitApplication:jamesantrobus.myapp[0x2397][3826] <Notice>: Unhandled Exception: System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown. | |
Sun Feb 13 03:07:50 Jamess-iPad UIKitApplication:jamesantrobus.myapp[0x2397][3826] <Notice>: at System.TimeZoneInfo.get_Local () [0x00000] in <filename unknown>:0 | |
Sun Feb 13 03:07:50 Jamess-iPad UIKitApplication:jamesantrobus.myapp[0x2397][3826] <Notice>: at Newtonsoft.Json.JsonConvert.GetUtcOffset (DateTime dateTime) [0x00000] in <filename unknown>:0 | |
This file contains hidden or 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
--Part of the Oracle Academy training material provided to Universities | |
create or replace | |
TRIGGER secure_employees | |
BEFORE INSERT OR UPDATE OR DELETE ON employees | |
BEGIN | |
secure_dml; | |
END secure_employees; | |
This file contains hidden or 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 Test() | |
{} |
This file contains hidden or 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
private UIImage TransformToImage(CGPDFPage page, Single width) | |
{ | |
RectangleF pageRect = page.GetBoxRect(CGPDFBox.Media);; | |
Single pdfScale = width / pageRect.Size.Width; | |
pageRect.Size = new SizeF(pageRect.Size.Width*pdfScale, pageRect.Size.Height*pdfScale); | |
//pageRect.Origin = CGPointZero; | |
UIGraphics.BeginImageContext(pageRect.Size); | |
CGContext context = UIGraphics.GetCurrentContext(); | |
This file contains hidden or 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
UITableView tableView = new UITableView(UIScreen.MainScreen.Bounds, UITableViewStyle.Grouped); | |
tableView.BackgroundColor = UIColor.Clear; |
This file contains hidden or 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
UITableView tableView = new UITableView(UIScreen.MainScreen.Bounds, UITableViewStyle.Grouped); | |
//this runs but the default grey colour remains | |
tableView.BackgroundColor = UIColor.Clear; | |
//this sets the background as needed | |
UIView testView = new UIView(); | |
testView.BackgroundColor = UIColor.Clear; | |
tableView.BackgroundView = testView; |
This file contains hidden or 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
//code doesn't throw but the modal window isn't displayed | |
partial void openModalWindow (MonoTouch.UIKit.UIButton sender) | |
{ | |
ModalViewController modal = new ModalSpike.ModalViewController | |
{ | |
ModalTransitionStyle = UIModalTransitionStyle.CoverVertical, | |
ModalPresentationStyle = UIModalPresentationStyle.FormSheet | |
}; | |
This file contains hidden or 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
//code doesn't throw but the modal window isn't displayed | |
partial void openModalWindow (MonoTouch.UIKit.UIButton sender) | |
{ | |
ModalViewController modal = new ModalSpike.ModalViewController | |
{ | |
ModalTransitionStyle = UIModalTransitionStyle.CoverVertical, | |
ModalPresentationStyle = UIModalPresentationStyle.FormSheet | |
}; | |