I hereby claim:
- I am erikbozic on github.
- I am erikbozic (https://keybase.io/erikbozic) on keybase.
- I have a public key ASBkiZqxFjTX1bxXzyNTyL7sYVTWsLeWcqgIlAtYNc2K5go
To claim this, I am signing this object:
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Linq; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
FROM microsoft/aspnetcore-build:2.0 AS build-env | |
WORKDIR /app | |
# Copy csproj and restore as distinct layers | |
COPY *.csproj ./ | |
RUN dotnet restore | |
# Copy everything else and build | |
COPY . ./ | |
RUN dotnet publish so_5793340.csproj -c Release -o /app/out | |
# Build runtime image |
FROM golang:1.13 AS build | |
WORKDIR /src | |
# Copy go.mod and go.sum (if exists) to download all dependencies (this is cached if go.mod and go.sum don't change) | |
COPY go.mod go.sum* . | |
RUN go mod download | |
# Copy everything else to actually build the project | |
COPY . . | |
# Build project to build folder (also copy config files etc... to this folder) |
I hereby claim:
To claim this, I am signing this object:
import com.intellij.database.model.DasTable | |
import com.intellij.database.model.ObjectKind | |
import com.intellij.database.util.Case | |
import com.intellij.database.util.DasUtil | |
typeMapping = [ | |
(~/(?i)^bit$/) : "bool", | |
(~/(?i)^tinyint$/) : "byte", | |
(~/(?i)^uniqueidentifier|uuid$/) : "Guid", | |
(~/(?i)^int|integer|number$/) : "int", |
An example of how to implement a server that caches data
Goals: