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
{ | |
"dcd_path": "/usr/local/bin/", | |
"dcd_port": 9166, | |
"include_paths": [ | |
// "/Library/D/dmd" | |
// "usr/local/Cellar/dmd/2.071.0/include/d2" | |
"/Library/D/dmd/src/phobos/", | |
"/Library/D/dmd/src/druntime/import/", | |
"/Users/claudiug/.dub/packages/vibe-d-0.7.28/source", | |
"/Users/claudiug/.dub/packages/asdf-0.0.8/asdf/source", |
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
ROM ubuntu:14.04 | |
RUN apt-get update && apt-get install -y wget | |
RUN wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list | |
RUN apt-get update && apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && apt-get update \ | |
&& apt-get install -y dmd-bin dub libcurl3-gnutls libevent-dev libcrypto++-dev libssl-dev | |
# Where the app live inside the container | |
ENV APP_ROOT /var/www/dlang-api-ecratum |
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
F, [2015-10-07T09:48:55.630000 #493] FATAL -- : undefined method `slice' for nil:NilClass (NoMethodError) | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/ruboto-1.3.0/lib/ruboto/util/setup.rb:200:in `check_for_haxm' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/ruboto-1.3.0/lib/ruboto/util/setup.rb:168:in `check_all' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/ruboto-1.3.0/lib/ruboto/util/setup.rb:23:in `setup_ruboto' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/ruboto-1.3.0/lib/ruboto/commands/base.rb:453:in `run' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/main-5.3.2/lib/main/program/class_methods.rb:155:in `block in run' | |
org/jruby/RubyKernel.java:1099:in `catch' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/main-5.3.2/lib/main/program/class_methods.rb:143:in `run' | |
/Users/claudiug/.rbenv/versions/jruby-9.0.0.0/lib/ruby/gems/shared/gems/main-5.3.2/lib/ |
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
require 'rubygems' | |
require 'httparty' | |
require 'benchmark' | |
require 'thread' | |
class Google | |
include HTTParty | |
base_uri 'http://google.com' | |
def self.benchmark |
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
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
# | |
default: &default | |
adapter: sqlite3 | |
pool: 5 | |
timeout: 5000 |
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
class PostsController < ApplicationController | |
before_action :load_post, only: [:edit, :show, :update, :destroy] | |
def index | |
load_posts | |
end | |
def new | |
build_post |
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
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], | |
"color_scheme": "Packages/Solarized Color Scheme/Solarized (light).tmTheme", |
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
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"ensure_newline_at_eof_on_save": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], |
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
{ | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"cmd": | |
[ | |
"rvm-auto-ruby", | |
"$file" | |
], | |
"color_scheme": "Packages/IR_Black.tmTheme", |