Skip to content

Instantly share code, notes, and snippets.

Vicente G. Guzman Lucio LucioMSP

Block or report user

Report or block LucioMSP

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MainPage.xaml.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using CurrencyUISample.ViewModels;
namespace CurrencyUISample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MainPage : ContentPage
{
MainPageVM vm = null;
View MainPageVM.cs
using Xamarin.Forms;
using System.Windows.Input;
using CurrencyUISample.Classes;
namespace CurrencyUISample.ViewModels
{
public class MainPageVM: ObservableObject
{
private INavigation _navigation;
public ICommand TransferMoneyCommand {get; set;}
View MainPage.xaml
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:util="clr-namespace:CurrencyUISample.Converters;assembly=CurrencyUISample"
mc:Ignorable="d" x:Class="CurrencyUISample.MainPage"
BackgroundColor="{StaticResource Bluebull}">
<ContentPage.Resources>
View CurrencyConverter.cs
using System;
using Xamarin.Forms;
using System.Globalization;
using System.Text.RegularExpressions;
namespace CurrencyUISample.Converters
{
/// <summary>
/// Converter for using in Entry fields for masked input of currency.
/// <b>The binded property must be of type decimal, and must invoke the
View ObservableObject.cs
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace CurrencyUISample.Classes
{
public class ObservableObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
@LucioMSP
LucioMSP / .json YouTube
Last active Jul 9, 2019
JSON YouTube Skill
View .json YouTube
{
"interactionModel": {
"languageModel": {
"invocationName": "YouTube",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancela"
]
View Política de Privacidad y Términos de Uso de nuestra Skill de Alexa.
Política de Privacidad y Términos de Uso de nuestra Skill de Alexa.
Esta política describe cómo protegemos tu privacidad y tus datos. Antes de utilizar nuestra Skills de Alexa, lee atentamente nuestras políticas y términos de uso, al igual que los términos de uso de Alexa y las políticas de privacidad de Amazon Digital Services LLC (con sus afiliadas, “Amazon).
Con respecto a Amazon, “Alexa” significa el Servicio de voz de Alexa que incluye servicios de terceros (como nuestras skills) y otro Software relacionado.
Si utilizas una de nuestras skills, acepta completamente esta política de privacidad.
GENERAL
@LucioMSP
LucioMSP / .JSON - Frases Geeks
Created Mar 26, 2019
Alexa, abre frases geeks y dime una frase
View .JSON - Frases Geeks
{
"interactionModel": {
"languageModel": {
"invocationName": "frases geeks",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancela"
]
View .json Console - Piropos Mexicanos
{
"interactionModel": {
"languageModel": {
"invocationName": "piropos mexicanos",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancela eso",
"olvidalo",
@LucioMSP
LucioMSP / Curiosidades de Mexico
Last active Jan 24, 2019
Alexa, abre curiosidades de mexico y dame un dato
View Curiosidades de Mexico
//Lambda
const Alexa = require('ask-sdk');
const LaunchRequestHandler = {
canHandle(handlerInput) {
const request = handlerInput.requestEnvelope.request;
return request.type === 'LaunchRequest'
},
handle(handlerInput) {
You can’t perform that action at this time.