This file contains 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
E/MethodChannel#flutter_tts(28553): Failed to handle method call | |
E/MethodChannel#flutter_tts(28553): java.lang.IllegalStateException: Reply already submitted | |
E/MethodChannel#flutter_tts(28553): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435) | |
E/MethodChannel#flutter_tts(28553): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:263) | |
E/MethodChannel#flutter_tts(28553): at com.tundralabs.fluttertts.FlutterTtsPlugin.onMethodCall(FlutterTtsPlugin.kt:326) | |
E/MethodChannel#flutter_tts(28553): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258) | |
E/MethodChannel#flutter_tts(28553): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295) | |
E/MethodChannel#flutter_tts(28553): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322) | |
E/MethodChannel#flutter_tts(2 |
This file contains 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
(defmacro ... [& input] | |
(loop [aggr {} | |
items input] | |
(if (empty? items) | |
aggr | |
(let [head (first items) | |
tail (rest items)] | |
(if (symbol? head) | |
(recur (assoc aggr (keyword head) head) tail) | |
(recur (assoc aggr head (first tail)) (rest tail))))))) |
This file contains 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 flutter.playground | |
(:require [flutter.core :as f :refer [dispatch subscribe]] | |
[flutter.material :as m])) | |
(f/reg-event-fx | |
::to-counter | |
(fn [_ _] | |
{::f/navigator.pop [] | |
::f/navigator.push-named [::counter]})) |
This file contains 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
;; for comparison, have the squid generator from the clojure cookbook that uses seconds | |
;; from https://github.com/clojure-cookbook/clojure-cookbook/blob/master/01_primitive-data/1-24_uuids.asciidoc | |
(defn squuid-secs [] | |
(let [uuid (java.util.UUID/randomUUID) | |
time (System/currentTimeMillis) | |
secs (quot time 1000) | |
lsb (.getLeastSignificantBits uuid) | |
msb (.getMostSignificantBits uuid) | |
timed-msb (bit-or (bit-shift-left secs 32) | |
(bit-and 0x00000000ffffffff msb))] |
This file contains 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
branch_color() { | |
branch=`git rev-parse --abbrev-ref HEAD 2> /dev/null` | |
[[ ! -z "$branch" ]] && [[ ! -z $(git status --porcelain 2> /dev/null) ]] && printf '\e[49;93m' || printf '\e[1;90m' | |
} | |
branch_print() { | |
branch=`git rev-parse --abbrev-ref HEAD 2> /dev/null` | |
[[ ! -z "$branch" ]] && printf " ($branch)" | |
} |
This file contains 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
apiVersion: argoproj.io/v1alpha1 | |
kind: AnalysisTemplate | |
metadata: | |
name: success-rate | |
spec: | |
args: | |
- name: backend | |
metrics: | |
- name: success-rate | |
interval: 10s |
This file contains 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
replicaCount: 1 | |
image: | |
repo: "telegraf" | |
tag: "1.12-alpine" | |
pullPolicy: IfNotPresent | |
podAnnotations: {} | |
imagePullSecrets: [] |
This file contains 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
(defn sum? [exp] | |
(= (first exp) '+)) | |
(defn product? [exp] | |
(= (first exp) '*)) | |
(defn pred* [exp clauses] | |
(when clauses | |
(list 'if (list (first clauses) exp) | |
(second clauses) |
This file contains 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
kind: Project | |
name: paca | |
environments: | |
- name: remote | |
providers: | |
- name: kubernetes | |
context: gke-kubernetes-context | |
defaultHostname: paca.example.com | |
forceSsl: true | |
tlsCertificates: |
This file contains 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
###################### Filebeat Configuration Example ######################### | |
# This file is an example configuration file highlighting only the most common | |
# options. The filebeat.reference.yml file from the same directory contains all the | |
# supported options with more comments. You can use it as a reference. | |
# | |
# You can find the full configuration reference here: | |
# https://www.elastic.co/guide/en/beats/filebeat/index.html | |
# For more available modules and options, please see the filebeat.reference.yml sample |