Olá <NOME_EMPRESA>.
Vocês estão me enviando <email, ligação, SMS, via plataforma Whatsapp, via plataforma Telegram> comerciais não-solicitados, portanto SPAM.
No dia vocês enviaram ao meu uma mensagem comércial, com o seguinte texto:
<MENSAGEM>
Olá <NOME_EMPRESA>.
Vocês estão me enviando <email, ligação, SMS, via plataforma Whatsapp, via plataforma Telegram> comerciais não-solicitados, portanto SPAM.
No dia vocês enviaram ao meu uma mensagem comércial, com o seguinte texto:
<MENSAGEM>
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql@14
(The version number 14
needs to be explicitly stated. The @
mark designates a version number is specified. If you need an older version of postgres, use postgresql@13
, for example.)
#!/usr/bin/env bash | |
# Install cardano-cli or use docker https://gist.github.com/ilyar/bf4c2346be1a74c50e488181986808fb | |
# | |
# Linux https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-linux/latest-finished | |
# Win64 https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-win64/latest-finished | |
# Macos https://hydra.iohk.io/job/Cardano/cardano-node/cardano-node-macos/latest-finished | |
# Extcact only cardano-cli into /usr/local/bin/cardano-cli | |
# Check | |
cardano-cli --version |
package mw | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
type Logger struct{} |
func main() { | |
// STEP 1, STEP 2, STEP 3 | |
// ... | |
// Start the server in a child routine | |
go func() { | |
if err := s.Serve(listener); err != nil { | |
log.Fatalf("Failed to serve: %v", err) | |
} | |
}() |
# playbook for Apache Kafka deployment | |
# with docker containers | |
--- | |
- hosts: all | |
vars: | |
ids: | |
host01: 1 | |
host02: 2 | |
host03: 3 |
package app | |
import ( | |
"net/http" | |
u "lens/utils" | |
"strings" | |
"go-contacts/models" | |
jwt "github.com/dgrijalva/jwt-go" | |
"os" | |
"context" |
package main | |
import ( | |
"net/http" | |
jwtmiddleware "github.com/auth0/go-jwt-middleware" | |
jwt "github.com/dgrijalva/jwt-go" | |
"github.com/gorilla/mux" | |
"github.com/urfave/negroni" | |
) |
# Clone the Tensorflow Serving source | |
git clone https://github.com/tensorflow/serving | |
cd serving && git checkout <commit_hash> | |
# Build the docker image (time to go get yourself a coffee, maybe a meal as well, this will take a while.) | |
docker build -t some_user_namespace/tensorflow-serving:latest -f ./serving/tensorflow_serving/tools/docker/Dockerfile.devel . | |
# Run up the Docker container in terminal | |
docker run -ti some_user_namespace/tensorflow-serving:latest |
from pyspark.sql import SparkSession | |
spark = SparkSession \ | |
.builder \ | |
.appName("demography mapper") \ | |
.getOrCreate() | |
df_user = spark.read.format("com.mongodb.spark.sql.DefaultSource")\ | |
.option("spark.mongodb.input.uri", "mongodb://localhost:27017/raw.user").load() |