REST API response format based on some of the best practices
.elementor-widget-price-table, .elementor-widget-price-table>div, .elementor-price-table { | |
height: 100%; | |
} | |
.elementor-price-table { | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-webkit-box-orient: vertical; | |
-webkit-box-direction: normal; |
/** | |
* PHP version 5 | |
* @package AzulPaymentGateway | |
* @author ideologic SRL <[email protected]> | |
* @since File available since Release 1 | |
*/ | |
<?php namespace App; | |
// use Illuminate\Database\Eloquent\Model; | |
// use DB; |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
<?xml version="1.0" encoding="UTF-8"?> | |
<ScrollView | |
xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
x:Class="Project.Controls.BindableScrollableStackLayout"> | |
<StackLayout x:Name="stackLayout" /> | |
</ScrollView> |
public class BaseModel | |
{ | |
public Guid Id { get; set; } | |
public DateTime CreateDate { get; set; } | |
public bool IsActive { get; set; } | |
public string LastUpdatingUserName { get; set; } | |
public DateTime LastUpdatingDate { get; set; } | |
} |
public class BooleanToObjectConverter : BindableObject, IValueConverter | |
{ | |
public static readonly BindableProperty TrueObjectProperty = BindableProperty.Create<BooleanToObjectConverter, Object>(x => x.TrueObject, null); | |
public static readonly BindableProperty FalseObjectProperty = BindableProperty.Create<BooleanToObjectConverter, Object>(x => x.FalseObject, null); | |
public object FalseObject | |
{ | |
get { return GetValue(FalseObjectProperty); } | |
set { SetValue(FalseObjectProperty, value); } | |
} |
-
Reducing executable size: http://developer.xamarin.com/guides/cross-platform/deployment,_testing,_and_metrics/memory_perf_best_practices/#Reducing_Executable_Size
-
Use the linker (iOS [1], Android [2]) to remove unnecessary code from your assemblies [1] https://developer.xamarin.com/guides/ios/advanced_topics/linker [2] https://developer.xamarin.com/guides/android/advanced_topics/linking
-
Reference third-party libraries judiciously
-
Applying constraints to generics may reduce app size, since less code would need to be included (haven’t verified this)
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j