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
REDIS_WEBSOCKET_URL = ENV['REDIS_WEBSOCKET'] || "redis://localhost:6379/0" | |
REDIS_SIDEKIQ_URL = ENV['REDIS_SIDEKIQ'] || "redis://localhost:6379/0" | |
Redis.current = Redis.new(url: REDIS_SIDEKIQ_URL, driver: :hiredis) |
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
INFO[6bff69a4] Finished in 5.502 seconds with exit status 0 (successful). | |
INFO[87cf85d8] Running /usr/bin/env fleetctl --debug start bitcoind.service on 128.199.106.149 | |
DEBUG[87cf85d8] Command: cd /home/core/www/vax-bitcoin-server/releases/20150127091639 && /usr/bin/env fleetctl --debug start bitcoind.service | |
DEBUG[87cf85d8] 2015/01/27 09:17:41 INFO client.go:353: etcd: sending HTTP request GET http://127.0.0.1:4001/v2/keys/_coreos.com/fleet/machines?consistent=true&recursive=true&sorted=true | |
DEBUG[87cf85d8] 2015/01/27 09:17:41 INFO client.go:360: etcd: recv response from GET http://127.0.0.1:4001/v2/keys/_coreos.com/fleet/machines?consistent=true&recursive=true&sorted=true: 307 Temporary Redirect | |
DEBUG[87cf85d8] 2015/01/27 09:17:41 INFO client.go:353: etcd: sending HTTP request GET http://10.130.172.56:4001/v2/keys/_coreos.com/fleet/machines?consistent=true&recursive=true&sorted=true | |
DEBUG[87cf85d8] 2015/01/27 09:17:41 INFO client.go:360: etcd: recv response from GET http://10.130.172.56:4001/v2/keys/_co |
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
#!/bin/bash | |
if ! which wget > /dev/null; then | |
yum install -y wget | |
fi | |
export DOCKER_VERSION=1.3.0 | |
pushd /tmp | |
if [ ! -f /usr/bin/docker ]; then |
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
containers: | |
redis: | |
dockerfile: docker/redis | |
image: docker-redis | |
run: | |
volume: | |
- /var/data/myapp/redis:/data | |
detach: true | |
memcached: | |
dockerfile: docker/memcached |
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 'spec_helper' | |
describe "lua::calculate_pnl" do | |
context "prices is increasing" do | |
it "returns positive profit" do | |
pnl = Wolverine.util.calcualte_pnl([1, 2, 3]) | |
pnl.should > 0 | |
end | |
# more verifications |
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
container0 = <<-STR | |
Starting the build00:00 | |
Start container (0)00:02config | |
checkout | |
Restore source cache00:03cache | |
Checkout using deploy key 00:07config | |
machine | |
Configure the build00:00cache | |
Restore cache00:19cache | |
dependencies |
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
#!/bin/sh | |
# | |
# redis init file for starting up the redis daemon | |
# | |
# chkconfig: - 20 80 | |
# description: Starts and stops the redis daemon. | |
# Source function library. | |
. /etc/rc.d/init.d/functions |
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
https://www.nganluong.vn/checkout.php?affiliate_code=&buyer_info=¤cy=vnd&discount=0&fee_cal=0&fee_shipping=0&merchant_site_code=25683&order_code=pkg1&order_description=Hellobaby&price=300000.0&quantity=1&receiver=phuongnd08%40gmail.com&return_url=http%3A%2F%2Flocalhost%3A3000%2Fpackages%2F1%2Fcomplete&secure_code=55acd184faa27a7cad699411ba08c6bd&tax=0&transaction_info=secret |
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
deployment: | |
production: | |
branch: master | |
heroku: | |
appname: sirinova-prod | |
commands: | |
- git push [email protected]:sirinova-prod.git | |
- heroku run rake db:migrate | |
- heroku restart |
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
Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts. | |
Counting objects: 3, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (2/2), done. | |
Writing objects: 100% (2/2), 295 bytes, done. | |
Total 2 (delta 1), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Ruby/Rails app detected | |
-----> Using Ruby version: ruby-1.9.3 |
NewerOlder