Skip to content

Instantly share code, notes, and snippets.

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

Vicente Guzmán LucioMSP

🏠
Working from home
View GitHub Profile
@LucioMSP
LucioMSP / Function.cs - V1
Last active April 24, 2020 20:23
Alexa Skill with Net Core
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.Core;
// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.LambdaJsonSerializer))]
@LucioMSP
LucioMSP / vm_property.cs
Created June 18, 2020 17:58
ViewModel Property Code Snippet
private $type$ $field$;
public $type$ $property$
{
get => $field$;
set => SetProperty(ref $field$, value);
}
@LucioMSP
LucioMSP / PasswordValidationBehaviorPage.xaml
Created July 31, 2020 23:15
XAML PasswordValidationBehavior
<StackLayout Padding="{StaticResource ContentPadding}"
Spacing="50"
VerticalOptions="CenterAndExpand">
<Label Text="Text color will change accordingly to the style that is configured when a invalid value (password) is entered. Password rule should contain at least 8 characters, 1 numeric, 1 lowercase, 1 uppercase, 1 special character [eg: R3dDr@g0n]." />
<Entry IsPassword="True" Placeholder="Password">
<Entry.Behaviors>
<behaviors:PasswordValidationBehavior InvalidStyle="{StaticResource InvalidEntryStyle}"/>
</Entry.Behaviors>
</Entry>
</StackLayout>
@LucioMSP
LucioMSP / LucyBot.json
Created February 17, 2021 17:59
Example JSON file to connect a Bot created in Azure to an Alexa Skill
{
"interactionModel": {
"languageModel": {
"invocationName": "lucy bot",
"intents": [
{
"name": "GetUserIntent",
"slots": [
{
"name": "phrase",
@LucioMSP
LucioMSP / código_conducta
Created March 18, 2021 20:50
Código de Conducta - Blazor en Español
* Cero Tolerancia a la Piratería:
- No está permitido compartir piratería.
- Enlaces a descarga ilegal de libros, videos y recursos de pago.
- Virtualización de OSX en un hardware diferente a una Mac.
- Enlaces a software crackeado o modificado de su versión original.
* Cero Insultos, Ataques u Hostigamiento:
Se solicita respeto cuando te comuniques con los demás compañeros.
@LucioMSP
LucioMSP / MariaBot.json
Last active July 7, 2022 22:22
Example JSON file to connect a Bot created in Azure to an Alexa Skill
{
"interactionModel": {
"languageModel": {
"invocationName": "maria bot",
"intents": [
{
"name": "GetUserIntent",
"slots": [
{
"name": "phrase",
@LucioMSP
LucioMSP / .json YouTube
Last active January 15, 2024 04:25
JSON YouTube Skill
{
"interactionModel": {
"languageModel": {
"invocationName": "YouTube",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": [
"cancela"
]