Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Carlos caduguedess

🏠
Working from home
Block or report user

Report or block caduguedess

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:601442967206f47910b748045f06ee4a
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
View gist:9f5e4ccb9b343bb7f7ce21a2ca589d88
class Notifier < ActionMailer::Base
default :from => Settings.email_from,
:return_path => Settings.email_return_path,
:auto_submitted => "auto-generated"
helper :application
before_action :set_shared_template_vars
before_action :attach_project_logo
def signup_confirm(user, token)
with_recipient_locale user do
View gist:91833b6782897a7d12b4f581c94240ff
Routing Error
No route matches [GET] "/land.html"
Rails.root: /home/carlos/openstreetmap-website
Application Trace | Framework Trace | Full Trace
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
View gist:1388a8862387b1f43a395e3bd2ef46dc
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
@caduguedess
caduguedess / gist:15dd5728a59b78485ada46fe0301382e
Created Jul 8, 2019
renderd -f -c /usr/local/etc/renderd.conf
View gist:15dd5728a59b78485ada46fe0301382e
carlos@carlos-Inspiron-7773:/usr/local/etc$ renderd -f -c /usr/local/etc/renderd.conf
renderd[7126]: Rendering daemon started
renderd[7126]: Initiating request_queue
renderd[7126]: Parsing section renderd
renderd[7126]: Parsing render section 0
renderd[7126]: Parsing section mapnik
renderd[7126]: Parsing section ajt
renderd[7126]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[7126]: config renderd: num_threads=4
renderd[7126]: config renderd: num_slaves=0
View gist:5018e16746c538628e8060c135c42a40
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
set_config
------------
(1 row)
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: --seed 29739
View gist:ccf911088775eaf644893352be23e865
Error:
UserChangesetCommentsTest#test_displaying_form:
ActionView::Template::Error: couldn't find file 'settings.local.yml'
Checked in these paths:
/home/carlos/openstreetmap-website/app/assets/favicons
/home/carlos/openstreetmap-website/app/assets/images
/home/carlos/openstreetmap-website/app/assets/javascripts
/home/carlos/openstreetmap-website/app/assets/opensearch
/home/carlos/openstreetmap-website/app/assets/stylesheets
/home/carlos/openstreetmap-website/vendor/assets/bootstrap
View gist:4cd6d9205f741e105722d53451bb46c2
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db --trace
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
** Invoke test:db (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:test:prepare
** Invoke db:test:load (first_time)
You can’t perform that action at this time.