DB_HOST=mysql
REDIS_HOST=redis
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 Jeremie :) | |
""" | |
from __future__ import print_function | |
import numpy | |
import tensorflow as tf | |
rng = numpy.random |
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 Jeremie :) | |
""" | |
from __future__ import print_function | |
import numpy | |
import tensorflow as tf | |
rng = numpy.random | |
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
kind: PersistentVolume | |
apiVersion: v1 | |
metadata: | |
name: cloudant-pv | |
labels: | |
app: microprofile-app | |
spec: | |
capacity: | |
storage: 4Gi | |
accessModes: |
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
import { AsyncStorage } from 'react-native'; | |
import { WebBrowser, AuthSession } from 'expo'; | |
import { | |
TWITCH_CLIENT_ID, | |
TWITCH_SECRET_ID | |
} from 'react-native-dotenv' | |
const TWITCH_REDIRECT_URI= AuthSession.getRedirectUrl(); | |
const TWITCH_BASE_URL="https://api.twitch.tv/kraken/"; |
brew install kafka
brew install zookeeper
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties
kafka-server-start /usr/local/etc/kafka/server.properties
kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test
kafka-console-producer --broker-list localhost:9092 --topic test
kafka-console-consumer --bootstrap-server localhost:9092 --topic test --from-beginning
OlderNewer