See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
package resource | |
import ( | |
"context" | |
"fmt" | |
"io" | |
"runtime" | |
"sync/atomic" | |
"time" | |
) |
[alias] | |
wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads | |
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func index(w http.ResponseWriter, r *http.Request) { | |
w.WriteHeader(200) |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
func main() { | |
b := []byte(`{"key":"value"}`) |
package main | |
import ( | |
"flag" | |
"log" | |
"net/http" | |
"strings" | |
) | |
func main() { |
#!/bin/bash | |
#Jason T. 2-6-2018 | |
# Check specifically for the run command | |
if [[ $# -ge 2 && $1 == "run" ]]; then | |
# Tell docker to share the following folders with the base system | |
# This allows the docker containers to find CUDA, cuDNN, TensorRT | |
LIB_MAPS="/usr/lib/aarch64-linux-gnu \ | |
/usr/local/cuda \ | |
/usr/local/cuda/lib64" |
sudo mv /etc/localtime /etc/localtime.old | |
sudo ln -sf /usr/share/zoneinfo/Asia/Jakarta /etc/localtime |