Skip to content

Instantly share code, notes, and snippets.

@olegoid
olegoid / Decompilation.log
Created October 28, 2014 14:46
Decompilation failed
Decompilation failed:
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IntPtr CloudKit.CKAsset::get_ClassHandle()
---> System.OverflowException: Number overflow.
at (wrapper alloc) object:AllocVector (intptr,intptr)
at ICSharpCode.Decompiler.ILAst.ILAstBuilder+StackSlot.ModifyStack (StackSlot[] stack, Int32 popCount, Int32 pushCount, ICSharpCode.Decompiler.ILAst.ByteCode pushDefinition) [0x00001] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/contrib/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs:50
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis (Mono.Cecil.MethodDefinition methodDef) [0x0045c] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-5.6-branch/19bc3b64/source/monodevelop/main/contrib/ICSharpCode.Decompiler/ILAst/ILAstBuilder.cs:317
at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build (Mono.Cecil.MethodDefinition methodDef, Boolean optimize, ICSharpCode.Decompiler.DecompilerContext context) [0x0003
@olegoid
olegoid / Anna'sProgramm.c
Last active August 29, 2015 14:08
My version of your task
//
// main.c
// AnnaTest
//
// Created by Oleg Demchenko on 10/29/14.
// Copyright (c) 2014 Oleg Demchenko. All rights reserved.
//
#include <stdio.h>
#include<ctype.h>
@olegoid
olegoid / NewVersion.c
Created October 29, 2014 17:38
new version
//
// main.c
// AnnaTest
//
// Created by Oleg Demchenko on 10/29/14.
// Copyright (c) 2014 Oleg Demchenko. All rights reserved.
//
#include <stdio.h>
#include<ctype.h>
@olegoid
olegoid / HomePageQuery.log
Created November 3, 2014 22:07
Home Page Query doesn't contain element with Id "image"
[ { "Id": null, "Description": "com.android.internal.policy.impl.PhoneWindow$DecorView{52bdca88 V.E..... R....... 0,0-1080,1776}", "Rect": { "Width": 1080.0, "Height": 1776.0,
"X": 0.0,
"Y": 0.0,
"CenterX": 540.0,
"CenterY": 888.0
},
"Label": null,
"Text": null,
"Class": "com.android.internal.policy.impl.PhoneWindow$DecorView",
"Enabled": true
@olegoid
olegoid / RdioTest.cs
Created November 4, 2014 01:44
RdioTest class
[SetUpFixture]
public class RdioTest
{
public static IApp App { get; private set; }
public static string Type { get; set; }
public static void SetupApp (IApp app)
{
App = app;
@olegoid
olegoid / ExceptionLog.log
Created November 4, 2014 19:17
Login attempt fail
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00000] in <filename unknown>:0
at Xamarin.UITest.Android.AndroidApp.ScrollDown () [0x00000] in <filename unknown>:0
at Rdio.UITest.Shared.PlatformHelpers.ScrollDownForElement (IApp app, System.Func`2 query, Int32 scrollNumberLimit) [0x00022] in /Users/olegoid/Projects/rdio-uitest/test-cs/Rdio.UITest/Rdio.UITest.Shared/Helpers/PlatformHelpers.cs:65
at Rdio.UITest.Shared.LoginBase.SignInWithCredentials () [0x0013b] in /Users/olegoid/Projects/rdio-uitest/test-cs/Rdio.UITest/Rdio.UITest.Shared/Features/LoginOutBase.cs:89
at Rdio.UITest.Shared.LoginBase.Login () [0x00078] in /Users/olegoid/Projects/rdio-uitest/test-cs/Rdio.UITest/Rdio.UITest.Shared/Features/LoginOutBase.cs:23
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFla
1. Moto G 2nd gen:
https://testcloud.xamarin.com/test/rdio_c48cbc41-13bb-4dc1-8eac-7ff5bbbd1493/?step=6_0_3&device=moto_g_2nd_gen-4.4.4
2.Samsung Galaxy Ace 3
https://testcloud.xamarin.com/test/rdio_c48cbc41-13bb-4dc1-8eac-7ff5bbbd1493/?step=6_0_3&device=samsung_galaxy_ace_3-4.2.2
3.Sony Ericsson Xperia S
https://testcloud.xamarin.com/test/rdio_c48cbc41-13bb-4dc1-8eac-7ff5bbbd1493/?step=6_0_3&device=sony_ericsson_xperia_s-4.1.2
4.Samsung Galaxy Note 3 (Octo-Core)
@olegoid
olegoid / StateRestorationReview
Last active August 29, 2015 14:08
State Restoration Review
1. Форматирование:
1.1. Отфоматировать как в остальном коде
https://github.com/xamarin/private-samples/blob/master/ios7/StateRestoration/StateRestoration/AppDelegate.cs#L15
1.2. Edit->Format->Format Selection для switch
https://github.com/xamarin/private-samples/blob/master/ios7/StateRestoration/StateRestoration/DetailViewController.cs#L148
https://github.com/xamarin/private-samples/blob/master/ios7/StateRestoration/StateRestoration/DetailViewController.cs#L180
2. Убрать private
https://github.com/xamarin/private-samples/blob/master/ios7/StateRestoration/StateRestoration/Cell/CustomCellBackground.cs#L10
@olegoid
olegoid / AudioTapProcessor.txt
Last active August 29, 2015 14:12
AudioTapProcessor
1. Проперти публичное, хотя используется только внутри класса. Можно заменить на поле.
https://github.com/xamarin/private-samples/blob/master/AudioTapProcessor/AudioTapProcessor/MainScreen/MainViewController.cs#L20
2. var вместо одного имени класса
https://github.com/xamarin/private-samples/blob/master/AudioTapProcessor/AudioTapProcessor/MainScreen/MainViewController.cs#L139
https://github.com/xamarin/private-samples/blob/master/AudioTapProcessor/AudioTapProcessor/AudioTapProcessor.cs#L74
https://github.com/xamarin/private-samples/blob/master/AudioTapProcessor/AudioTapProcessor/AudioTapProcessor.cs#L167
AVTouchSample
MetalImageProcessing
SimpleTextInput
CoreMidiSample
MetalTexturedQuad
SplitView
CustomInputStreamTest
MonoCatalog-MonoDevelop
SpriteTour
Footprint