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
| 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/"; |
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
| const URL = "" | |
| const rp = require('request-promise'); | |
| const fs = require('fs'); | |
| rp(URL).then(function(html){ | |
| fs.writeFile("./res.html", html, function(err) { | |
| if(err) { | |
| return console.log(err); | |
| } | |
| console.log("The file was saved!"); |
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
| var socket = require('socket.io'); | |
| var express = require('express'); | |
| var app = express(); | |
| var path = require('path'); | |
| app.use(express.static(path.join(__dirname, 'build'))); | |
| app.get('/*', function(req, res) { | |
| res.sendFile(path.join(__dirname, 'build', 'index.html')); | |
| }); |
OlderNewer