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 AnimationActivily extends Activity { | |
private Bitmap log_imgs[]; | |
private Bitmap tempBitmap; | |
private Handler uiHandler; | |
private ImageView logo_view; | |
int img_cnt = 1; | |
protected int _splashTime = 91; | |
Thread splashTread; |
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 HttpImageView : ImageView | |
{ | |
private readonly MvxDynamicImageHelper<Bitmap> _imageHelper; | |
public HttpImageView(Context context, IAttributeSet attrs) | |
: base(context, attrs) | |
{ | |
this._imageHelper = new MvxDynamicImageHelper<Bitmap>(); | |
this._imageHelper.ImageChanged += this.ImageHelperOnImageChanged; | |
var typedArray = context.ObtainStyledAttributes(attrs, MvxAndroidBindingResource.Instance.ImageViewStylableGroupId); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:local="http://schemas.android.com/apk/res-auto" | |
style="@style/Interview_Question_Answer_Option_Background" | |
android:stretchColumns="0" | |
local:MvxBind="BackgroundStyle ViewOptionStyleBackground(LayoutBackgroundStyle(QuestionState.Validity.IsInvalid, QuestionState.IsAnswered));"> | |
<TableRow> | |
<RadioButton | |
style="@style/Interview_Question_Answer_Option_Input" | |
local:MvxBind="HideKeyboardOnClick .; Text Title; Checked Selected; Bold Selected" /> | |
<ImageButton style="@style/Interview_Question_OptionRemoveAnswer" |
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
<?xml version="1.0" encoding="utf-8" ?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape android:shape="rectangle" > | |
<solid android:color="@android:color/white" /> | |
</shape> | |
</item> |
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
$batchSize = 128 | |
$questionnaireId = '205d67e524-e29b-4641-b581-f6d460ac4f22' | |
$databaseUrl = 'http://localhost:8080/databases/HeadquartersViews' | |
$eventStoreUrl = 'http://127.0.0.1:2114/streams' | |
$skip = 0 | |
do { | |
$interviewsBatch = Invoke-RestMethod "$databaseUrl/indexes/InterviewsSearchIndex?query=QuestionnaireId%3A%$questionnaireId&start=$skip&pageSize=$batchSize" |
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 static class Monads | |
{ | |
/// <summary> | |
/// Returns the value of an expression, or <c>default(T)</c> if any parts of the expression are <c>null</c>. | |
/// </summary> | |
/// <typeparam name="T">The type of the Expression</typeparam> | |
/// <param name="expression">A parameterless lambda representing the path to the value.</param> | |
/// <returns>The value of the expression, or <c>default(T)</c> if any parts of the expression are <c>null</c>.</returns> | |
public static T Maybe<T>(Expression<Func<T>> expression) | |
{ |
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 static T Deserialize<T>(this XDocument xDocument) | |
{ | |
string serializeXNode = JsonConvert.SerializeXNode(xDocument.Root); | |
return JsonConvert.DeserializeObject<T>(serializeXNode); | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="2.0" | |
xmlns:string="http://symphony-cms.com/functions" | |
xmlns:func="http://exslt.org/functions" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
extension-element-prefixes="func"> | |
<xsl:output method="text"/> | |
<xsl:variable name="accessDict"> |
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 static class ActiveRecordMapper | |
{ | |
public static void GenerateMappings(global::NHibernate.Cfg.Configuration config, IEnumerable<Assembly> modelAssemblies, Type baseDomainEntityType) | |
{ | |
var xmlVisitor = new XmlGenerationVisitor(); | |
ActiveRecordModelCollection models = BuildModels(modelAssemblies, baseDomainEntityType); | |
var connectorVisitor = new GraphConnectorVisitor(models); | |
connectorVisitor.VisitNodes(models); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet version="2.0" | |
xmlns:string="http://symphony-cms.com/functions" | |
xmlns:func="http://exslt.org/functions" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
extension-element-prefixes="func"> | |
<xsl:output method="text"/> | |
<xsl:variable name="accessDict"> |