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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE configuration> | |
<configuration debug="true"> | |
<import class="ch.qos.logback.core.ConsoleAppender"/> | |
<import class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"/> | |
<import class="ch.qos.logback.core.rolling.RollingFileAppender"/> | |
<import class="ch.qos.logback.classic.filter.ThresholdFilter"/> | |
<import class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"/> | |
<import class="net.logstash.logback.encoder.LogstashEncoder"/> |
How to install the latest version of Tensorflow (2.3.0) on a machine where the default gcc is too old or too new and you don't have root access
This solves the following issue when compiling Tensorflow:
ERROR: /home/users/*/tensorflow/tensorflow/core/framework/BUILD:1324:1: ProtoCompile tensorflow/core/framework/op_def.pb.h failed (Exit 1)
bazel-out/host/bin/external/com_google_protobuf/protoc: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by bazel-out/host/bin/external/com_google_protobuf/protoc)
bazel-out/host/bin/external/com_google_protobuf/protoc: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by bazel-out/host/bin/external/com_google_protobuf/protoc)
bazel-out/host/bin/external/com_google_protobuf/protoc: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by bazel-out/host/bin/external/com_google_protobuf/protoc)
bazel-out/host/bin/external/com_google_protobuf/protoc: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by b
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
.ONESHELL: | |
test: .SHELLFLAGS := -i | |
test: SHELL := bb | |
test: | |
(println :wow) | |
(require '[clojure.string :as s]) | |
(s/reverse (slurp "./Makefile")) | |
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
# Example neuron-container dockerfile. by midaisuk | |
# To build: | |
# docker build -t neuron-container . | |
# Prepare application: | |
# before launch the docker image, you need to prepare some files based on the document and upload to S3 bucket. | |
# https://github.com/aws/aws-neuron-sdk/blob/master/docs/tensorflow-neuron/tutorial-compile-infer.md | |
# resnet50_neuron.zip | |
# infer_resnet50.py |
Keycloak 10.0.1 is based on Wildfly 19 which comes with support for OpenTracing. However the OpenTracing support in Keycloak is not active by default. This small example demonstrates how to enable OpenTracing in the latest Keycloak version based on the article Micro_Profile_OpenTracing_Comes_To_WildFly
This example tries to explore a solution for KEYCLOAK-8288.
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
(ns example.server | |
(:require [camel-snake-kebab.core :as csk] | |
[clojure.spec.alpha :as s] | |
[clojure.string :as str] | |
[clojure.walk :as walk] | |
[muuntaja.core :as m] | |
[reitit.coercion.spec :as spec] | |
[reitit.dev.pretty :as pretty] | |
[reitit.ring :as ring] | |
[reitit.ring.coercion :as coercion] |
- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
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
FROM ubuntu:18.04 | |
RUN apt update && apt install -y \ | |
build-essential \ | |
curl \ | |
git \ | |
wget \ | |
libc-ares-dev \ | |
libjpeg-dev \ | |
openjdk-8-jdk \ |
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
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
NewerOlder