This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You can edit this code! | |
// Click here and start typing. | |
// Go-Restruct/restruct (v1.2) appears to serialize well but deserialization doesn't retrieve what I put there. | |
package main | |
import ( | |
"encoding/binary" | |
"encoding/hex" | |
"fmt" | |
"log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------------------------------------------------------------- | |
* L o r d O f S c r i p t s (tm) | |
* Copyright (C)2023 Lord of Scripts | |
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
* Creates Unique Random Numbers | |
*-----------------------------------------------------------------*/ | |
import ( | |
crand "crypto/rand" // Not reproduceable. For sensitive apps | |
"fmt" | |
"math/big" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
namespace LordOfScripts.Gists.Windows.Forms.Models | |
{ | |
// This is your entity model, not necessarily for Entity Framework | |
public class AnyPersonModel | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Application features that need rendering control at Layout level (used in ~/Shared/_Layout.cshtml | |
/// </summary> | |
public class LayoutOptions | |
{ | |
/// <summary> | |
/// get/set whether Layout will render Google Map support features | |
/// </summary> | |
public bool HasMap { get; set; } | |
/// <summary> |