I hereby claim:
- I am clintnetwork on github.
- I am clint_network (https://keybase.io/clint_network) on keybase.
- I have a public key ASCed7XJ6h4jKzYO2HcXiOF2U_LaHD0SqHsrpV81DfUEQQo
To claim this, I am signing this object:
public class ApplicationDbContext : IdentityDbContext<ApplicationUser> | |
{ | |
// public DbSet<Model> Model { get; set; } | |
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> dbContextOptions) : base(dbContextOptions) | |
{ | |
} | |
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) |
using System.IO; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using CsvHelper; | |
using Newtonsoft.Json; | |
namespace JsonToCsv | |
{ | |
public class Program | |
{ |
var labelData = []; | |
var serieData = []; | |
var chart = new Chartist.Line('#ct-chart', { labels: labelData, series: [serieData] }, | |
{ | |
fullWidth: true, | |
chartPadding: { left: 0, right: 0 } | |
}); | |
// Connect to the SSE (Public node on Heroku) | |
var eventSource = new EventSource("https://lucid-kv.herokuapp.com/notifications"); |
curl -X PUT -d "Hey" https://lucid-kv.herokuapp.com/api/kv/hello_world | |
# {"message":"The specified key was successfully created."} | |
curl https://lucid-kv.herokuapp.com/api/kv/hello_world | |
# Hey | |
curl -X DELETE https://lucid-kv.herokuapp.com/api/kv/hello_world | |
# {"message":"The specified key and it's data was successfully deleted"} |
#![feature(plugin)] | |
#![plugin(rocket_codegen)] | |
extern crate rocket; | |
use std::io; | |
use std::path::{Path, PathBuf}; | |
use rocket::response::NamedFile; |
#![feature(plugin)] | |
#![plugin(rocket_codegen)] | |
extern crate rocket; | |
use std::io; | |
use std::path::{Path, PathBuf}; | |
use rocket::response::NamedFile; |
using System.Linq; | |
using Microsoft.AspNetCore.Mvc.ApplicationModels; | |
namespace MyProgram | |
{ | |
public class ApiExplorerGetsOnlyConvention : IActionModelConvention | |
{ | |
public void Apply(ActionModel action) | |
{ | |
action.ApiExplorer.IsVisible = action.Controller.Attributes.Any(x => x.GetType() == typeof(Microsoft.AspNetCore.Mvc.ApiControllerAttribute)); |
# run as 'nginx -p . -c ssl_proxy.config' | |
daemon off; | |
http { | |
server { | |
listen localhost:8443; | |
server_name localhost; | |
ssl on; | |
ssl_certificate ../pooling-ui/certs/server.crt; |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "yarn", | |
"runtimeExecutable": "yarn", | |
"runtimeArgs": [ | |
"serve" |
I hereby claim:
To claim this, I am signing this object: