Skip to content

Instantly share code, notes, and snippets.

View luismts's full-sized avatar
🚀
Kaizen

Luis Matos luismts

🚀
Kaizen
View GitHub Profile
@luismts
luismts / rest-api-response-format.md
Created November 20, 2022 00:04 — forked from igorjs/rest-api-response-format.md
REST API response format based on some of the best practices
@luismts
luismts / Elementor Price Table Align Height
Created March 30, 2022 12:07 — forked from diggeddy/Elementor Price Table Align Height
Force same height on all pricing tables in a row and push footer to bottom
.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;
@luismts
luismts / AzulPaymentGateway.php
Created December 16, 2021 05:15 — forked from lupena/AzulPaymentGateway.php
Class to handle Azul Payment Gateway Methods / Banco Popular Dominicano BPD / Azul.com.do
/**
* 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;
@luismts
luismts / delete_git_submodule.md
Created August 13, 2021 14:53 — forked from myusuf3/delete_git_submodule.md
How effectively delete a git submodule.

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
@luismts
luismts / BindableScrollableStackLayout.xaml
Created July 15, 2021 22:44 — forked from TrueGeek/BindableScrollableStackLayout.xaml
Xamarin Forms Bindable Scrollable StackLayout
<?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>
@luismts
luismts / ObjectMapper.cs
Created December 27, 2020 02:25 — forked from yemrekeskin/ObjectMapper.cs
using Automapper vs Custom Object Mapper(with reflection) for data transformation of objects
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; }
}
@luismts
luismts / BooleanToObjectConverter.cs
Created December 12, 2020 03:22 — forked from QiMata/BooleanToObjectConverter.cs
A list of useful converters for Xamarin Forms
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); }
}
@luismts
luismts / XamarinReduceAppSize.md
Last active January 10, 2020 14:36 — forked from jgold6/gist:a1e60e0bb24ccdd2b2b8
Xamarin Reduce App Size
@luismts
luismts / GitHub-Forking.md
Created November 15, 2018 02:33 — forked from Chaser324/GitHub-Forking.md
GitHub Standard Fork & Pull Request Workflow

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.

Creating a Fork

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

@luismts
luismts / Colaborar Proyecto GitHub.markdown
Created November 11, 2018 04:51 — forked from BCasal/Colaborar Proyecto GitHub.markdown
Pasos a seguir para colaborar en un proyecto de GitHub

Cómo colaborar en un proyecto en GitHub

  • Fork del repositorio
  • Clonar el repositorio
  • Actualizar la rama master
  • Crear una rama
  • Hacer los cambios
  • Hacer un Pull Request

Fork del repositorio