Skip to content

Instantly share code, notes, and snippets.

View devjaime's full-sized avatar
😉
My job is to make your experience the best

Jaime Hernández devjaime

😉
My job is to make your experience the best
View GitHub Profile
@devjaime
devjaime / .cs
Created April 19, 2019 13:40
permisos
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.Geocodificacion">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.location.network" android:required="false" />
<application android:label="Geocodificacion.Android"></application>
</manifest>
@devjaime
devjaime / .cs
Created April 19, 2019 13:42
permisos assamby
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Geocodificacion.Android")]
[assembly: AssemblyDescription("")]
@devjaime
devjaime / .cs
Created April 20, 2019 22:57
geolocalizacion xaml
<views:BasePage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:views="clr-namespace:Geolocalizacion.View"
xmlns:viewmodels="clr-namespace:Geolocalizacion.ViewModel"
x:Class="Geolocalizacion.View.GeolocationPage"
Title="Geolocalización">
<views:BasePage.BindingContext>
<viewmodels:GeolocationViewModel />
</views:BasePage.BindingContext>
@devjaime
devjaime / .cs
Created April 20, 2019 23:00
clase geolocalizacion vista
namespace Geolocalizacion.View
{
public partial class GeolocationPage : BasePage
{
public GeolocationPage()
{
InitializeComponent();
}
}
}
@devjaime
devjaime / .cs
Created April 20, 2019 23:06
viewmodel location
using System;
using System.Threading;
using System.Windows.Input;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace Geolocalizacion.ViewModel
{
public class GeolocationViewModel : BaseViewModel
{
@devjaime
devjaime / .cs
Created April 20, 2019 23:15
permisos
//assamby
[assembly: UsesPermission(Android.Manifest.Permission.AccessCoarseLocation)]
[assembly: UsesPermission(Android.Manifest.Permission.AccessFineLocation)]
[assembly: UsesFeature("android.hardware.location", Required = false)]
[assembly: UsesFeature("android.hardware.location.gps", Required = false)]
[assembly: UsesFeature("android.hardware.location.network", Required = false)]
@devjaime
devjaime / cloudSettings
Last active July 19, 2021 02:00
SETTINGVSCODEE
{"lastUpload":"2021-07-19T02:00:30.621Z","extensionVersion":"v3.4.3"}
@devjaime
devjaime / index.py
Last active July 19, 2020 15:45 — forked from fazt/index.py
Python Simple Discord Bot
import discord
from discord.ext import commands
import datetime
from urllib import parse, request
import re
bot = commands.Bot(command_prefix='>', description="This is a Helper Bot")
@bot.command()
@devjaime
devjaime / Instalaciones-React.md
Created July 26, 2020 17:22 — forked from Klerith/Instalaciones-React.md
Instalaciones recomendadas para mi curso de React de cero a experto
@devjaime
devjaime / .dart
Created March 21, 2021 04:42
Puede usar esto para verificar cómo encaja una cadena larga dentro de un Textwidget:
Text('Has presionado el botón tantas veces :' * 5)