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
@icebeam7
icebeam7 / branches.json
Last active December 10, 2022 18:17
Branch List
View branches.json
[
{
"Id": 1,
"Name": "Čepkov",
"Address": "Tyršovo nábř. 5496 ",
"City": "Zlín",
"PostalCode": "760 01",
"State": "Zlinsky kraj",
"CountryId": 1,
"Latitude": 49.229041,
@icebeam7
icebeam7 / restdbweb.html
Created September 19, 2022 14:57
restdb collection access in Javscript
View restdbweb.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Minimal HTML5 Document Showing How to use RestDB API and jQuery">
<title>RestDB jQuery example</title>
<script src="https://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<h1>RestDB jQuery example</h1>
@icebeam7
icebeam7 / products.json
Last active September 10, 2022 14:31
products.json
View products.json
[
{
"Id": 0,
"Name": "Brown eggs",
"ReleaseDate": "2022-07-05",
"OriginalPrice": 28.1,
"Discount": 40,
"PictureUrl": "https://raw.githubusercontent.com/wedeploy-examples/supermarket-web-example/master/ui/assets/images/0.jpg"
},
{
@icebeam7
icebeam7 / PropertyTemplate.snippet
Created May 16, 2022 17:19
MVVM Property Snippet
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 April 24, 2022 12:14
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; }
}