- JDKがinstall済みであること
- java コマンドに環境変数Pathが通っていること
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
#!nginx -p . -c cocproxy.nginx.conf | |
error_log /dev/stderr debug; | |
daemon off; | |
events { | |
worker_connections 48; | |
} | |
http { |
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
machine: | |
timezone: | |
US/Pacific | |
## Customize checkout | |
checkout: | |
post: | |
- git submodule update --init # use submodules | |
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
#!/usr/bin/env ruby | |
# Usage: rake -P | rake-prereqs-dot | dotty - | |
# Convert the output of `rake -P/--prereqs` | |
# ("Display the tasks and dependencies, then exit.") | |
# to a graphviz graph | |
# Sample input | |
# -8<- |
- 更新
2013-11-01
- バージョン
0.0.1
- 作者
@voluntas
- URL
概要
- ダッシュボード
- 何も考えずに各モデルをカウントするのでレコード件数増えるとえらいことになる。
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 'graphql/client' | |
require 'graphql/client/http' | |
module PlatformGraphqlClient | |
# Configure GraphQL endpoint using the basic HTTP network adapter. | |
HTTP = GraphQL::Client::HTTP.new('http://localhost:3001/api/graphql') do | |
# def headers(context) | |
# # Optionally set any HTTP headers | |
# { "Access-Token": "user-access-token" } | |
# 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
namespace :staging do | |
desc 'create subdomain DNS record for Heroku review app' | |
task :publish_dns do | |
require 'dnsimple' | |
require 'platform-api' | |
STAGING_DOMAIN = 'mystagingdomain.com'.freeze | |
DNSIMPLE_ACCOUNT_ID = .freeze | |
heroku_app_name = ENV['HEROKU_APP_NAME'] | |
subdomain = heroku_app_name.match(/.*(pr-\d+)/).captures.first |
OlderNewer