Skip to content

Instantly share code, notes, and snippets.

View RicardoBritoBrens's full-sized avatar
🏠
Working from home

Ricardo Brito Brens RicardoBritoBrens

🏠
Working from home
  • Dominican Republic, Santo Domingo
  • 17:19 (UTC -04:00)
View GitHub Profile
@RicardoBritoBrens
RicardoBritoBrens / Xamarin forms font symbols.md
Last active June 13, 2021 14:42
Xamarin forms font symbols

Xamarin Forms font symbols

Symbol Name Code
& Ampersand &
< Open angle brackets or less than <
> Close angle brackets or greater than >
" Double quotes "

Example

@RicardoBritoBrens
RicardoBritoBrens / car_brands.json
Created January 4, 2021 19:22 — forked from shcyiza/car_brands.json
list of car brands name and logo in JSON format
[
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/abarth1.png",
"name": "Abarth"
},
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/ac-cars.png",
"name": "AC"
},
{
@RicardoBritoBrens
RicardoBritoBrens / WebApi web.config Proxy Configurations
Created July 21, 2020 15:16
WebApi web.config configuration when working behind a proxy
# WebApi web.config configuration when working behind a proxy
## Approach 1
```xml
<system.net>
<defaultProxy enabled="false"></defaultProxy>
</system.net>
```
## Approach 2
@RicardoBritoBrens
RicardoBritoBrens / Tips and Tricks for Xamarin Forms to keep near.md
Last active October 31, 2020 19:37
Tips and Tricks for Xamarin Forms to keep near

Tips and Tricks for Xamarin Forms to keep near

Disable default text All Caps on Android projects

This line turn off the default options into Xamarin form to make all button text Upper Case.

<item name="android:textAllCaps">false</item>
@RicardoBritoBrens
RicardoBritoBrens / Commands.md
Last active January 1, 2022 23:47
Quick reference git commands

Git Commands Tips and Tricks

How to rename branch and delete remote

git branch -m old_branch new_branch # Rename branch locally

git push origin :old_branch # Delete the old branch

git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote

Shortcuts on Mac Terminal

  • Tab Auto-complete file and folder names
  • Ctrl + A Go to the beginning of the line you're currently typing on
  • Ctrl + E Go to the end of the line you're currently typing on
  • Ctrl + U Clear the line before the cursor
  • Ctrl + K Clear the line after the cursor
  • Ctrl + W Delete the word before the cursor
  • Ctrl + T Swap the last two characters before the cursor
  • Esc + T Swap the last two words before the cursor
@RicardoBritoBrens
RicardoBritoBrens / Tips and Tricks
Last active September 17, 2019 01:30
Initialize HotReload by thrid-part
Reference to the principal github repository: https://github.com/AndreiMisiukevich/HotReload
Nuget Packages: https://www.nuget.org/packages/Xamarin.HotReload
using Xamarin.Forms;
namespace YourNamespace
{
public partial class App : Application
{
public App()
{
@RicardoBritoBrens
RicardoBritoBrens / Read And Process a File
Last active September 17, 2019 01:31
Some Ways To Read And Process A File
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ReadProcessAndWriteFile
{
@RicardoBritoBrens
RicardoBritoBrens / php
Created April 3, 2018 20:55
holamundo.php
<?php
include_once('utilities.php');
include_once('db/database_utilities.php');
$result = run_query();
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />