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
-- Logs begin at Qua 2016-06-01 23:44:59 BRT, end at Sex 2016-07-01 03:00:42 BRT. -- | |
Jul 01 05:31:15 linux-ho2l systemd-journald[139]: Runtime journal (/run/log/journal/) is currently using 8.0M. | |
Maximum allowed usage is set to 196.6M. | |
Leaving at least 295.0M free (of currently available 1.9G of space). | |
Enforced usage limit is thus 196.6M, of which 188.6M are still available. | |
Jul 01 05:31:15 linux-ho2l kernel: Linux version 4.6.2-1-default (geeko@buildhost) (gcc version 6.1.1 20160601 [gcc-6-branch revision 236989] (SUSE Linux) ) #1 SMP PREEMPT Fri Jun 10 08:12:44 UTC 2016 (2a68ef0) | |
Jul 01 05:31:15 linux-ho2l kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-4.6.2-1-default root=UUID=6091f070-4754-48e6-b2cf-f4635b1d5f35 splash=silent quiet showopts nomodeset | |
Jul 01 05:31:15 linux-ho2l kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 | |
Jul 01 05:31:15 li |
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
-- -*- coding: utf-8 -*- | |
-- | |
-- Simple JSON encoding and decoding in pure Lua. | |
-- | |
-- Copyright 2010-2014 Jeffrey Friedl | |
-- http://regex.info/blog/ | |
-- | |
-- Latest version: http://regex.info/blog/lua/json | |
-- | |
-- This code is released under a Creative Commons CC-BY "Attribution" License: |
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
--- | |
layout: default | |
page_type: "category" | |
posts: site.categories.jekyll | |
--- | |
{% include post_list.html posts=page.posts %} |
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
development: | |
adapter: sqlite3 | |
database: dev_db.sqlite3 | |
pool: 5 | |
timeout: 5000 | |
# Warning: The database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: |
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
Arquivo binário app/assets/images/fundo_header.png coincide com o padrão | |
Gemfile: gem "pg" | |
Gemfile.lock: pg (0.17.1) | |
Gemfile.lock: pg | |
Arquivo binário prototipo/css/img_css_config/fundo_header.png coincide com o padrão | |
script.sh:echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" | sudo tee -a /etc/apt/sources.list |
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
=> Booting WEBrick | |
=> Rails 4.0.3 application starting in development on http://0.0.0.0:9999 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. | |
[2014-04-08 13:58:26] INFO WEBrick 1.3.1 | |
[2014-04-08 13:58:26] INFO ruby 2.0.0 (2013-06-27) [x86_64-linux] | |
[2014-04-08 13:58:26] INFO WEBrick::HTTPServer#start: pid=30405 port=9999 | |
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
def nome=(val) | |
@nome = val | |
@nome_pesquisavel = I18n.transliterate val | |
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
✗ rake routes | |
Prefix Verb URI Pattern Controller#Action | |
consultas GET /consultas(.:format) consultas#index | |
POST /consultas(.:format) consultas#create | |
new_consulta GET /consultas/new(.:format) consultas#new | |
edit_consulta GET /consultas/:id/edit(.:format) consultas#edit | |
consulta GET /consultas/:id(.:format) consultas#show | |
PATCH /consultas/:id(.:format) consultas#update | |
PUT /consultas/:id(.:format) consultas#update | |
DELETE /consultas/:id(.:format) consultas#destroy |
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
1) Error: | |
test_There's_response(PostTest): | |
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: posts.post_id: SELECT * FROM "posts" WHERE ("posts".post_id = 2) |
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
class CreatePosts < ActiveRecord::Migration | |
def self.up | |
create_table :posts do |t| | |
t.string :author | |
t.string :title | |
t.string :text | |
t.timestamps | |
end | |
end |
NewerOlder