Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🎶 You can roam the world with colours, flying high 🎶

Luis Beltran icebeam7

💭
🎶 You can roam the world with colours, flying high 🎶
View GitHub Profile
View PropertyTemplate.snippet
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>MVVM Property</Title>
<Author>Luis</Author>
<Description>Creates a View Model Full Property.</Description>
<Shortcut>mvvmprop</Shortcut>
</Header>
<Snippet>
@icebeam7
icebeam7 / BarcodeAndroid.cs
Created Apr 24, 2022
Save ZXing QR Barcode as PNG (Android)
View BarcodeAndroid.cs
using Android;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.Net;
using Android.OS;
using Android.Provider;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
View function.json
{
"bindings": [
{
"authLevel": "function",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"route": "delete-student/{id}/{faculty}",
"methods": [
"get",
View function.json
{
"bindings": [
{
"authLevel": "anonymous",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"route": "update-student/{id}/{faculty}",
"methods": [
"get",
View function.json
{
"bindings": [
{
"name": "req",
"authLevel": "anonymous",
"methods": [
"get",
"post"
],
"direction": "in",
View function.json
{
"bindings": [
{
"authLevel": "anonymous",
"name": "req",
"type": "httpTrigger",
"direction": "in",
"methods": [
"get",
"post"
View Student class
public class Student
{
public string Id { get; set; }
public string Faculty { get; set; }
public string Name { get; set; }
public int Semester { get; set; }
}
@icebeam7
icebeam7 / Create.cshtml
Last active Jan 9, 2021
Views/Estudiante/Create.cshtml
View Create.cshtml
@model UniversidadWebsite.Models.Estudiante
@{
ViewData["Title"] = "Create";
}
<h1>Create</h1>
<h4>Estudiante</h4>
<hr />
@icebeam7
icebeam7 / EstudiantesController
Last active Jan 9, 2021
Controllers/EstudiantesController.cs
View EstudiantesController
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using UniversidadWebsite.Context;
@icebeam7
icebeam7 / StorageHelper.cs
Last active Jan 9, 2021
Helpers/StorageHelper.cs
View StorageHelper.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Azure.Storage;
using Azure.Storage.Blobs;
namespace UniversidadWebsite.Helpers
{
public static class StorageHelper