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
require 'benchmark' | |
require 'redis/connection/synchrony' | |
require 'redis/connection/hiredis' | |
require 'redis' | |
redis = EventMachine::Synchrony::ConnectionPool.new(size: 1) do | |
Redis.new(:password => 'my password', | |
:host => 'my host', | |
:port => my port) | |
end |
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
FROM ruby:2.1.10-alpine | |
MAINTAINER Sanjay <[email protected]> | |
# Working directory for RUN, CMD, ENTRYPOINT, COPY and ADD instructions for Dockerfile | |
WORKDIR /usr/src/blog-app | |
# Copies files or dirs from <src> and adds them to the filesystem of the container | |
COPY . /usr/src/blog-app |
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
from: | |
source={{uri: this.props.thumbnail}} | |
to: | |
source={{uri: this.props.thumbnail.replace('http://', 'https://')}} | |
Issue: | |
https://github.com/facebook/react-native/issues/289 |