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
| 1) Error: | |
| test_0001_should_allow_to_add_a_place_to_favorites_being_logged_in(Acceptance: Favorite a place): | |
| ActionView::Template::Error: undefined method `params' for #<UserMailer:0x00000107ff28e8> | |
| /Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/base.rb:193:in `params' | |
| /Users/lena/.bundle/ruby/1.9.1/bundler/gems/i18n_viz-50d42526ecf5/lib/i18n_viz/view_helpers.rb:22:in `display_i18n_viz?' | |
| /Users/lena/.bundle/ruby/1.9.1/bundler/gems/i18n_viz-50d42526ecf5/lib/i18n_viz/view_helpers.rb:5:in `translate' | |
| /Users/lena/devel/railslove/lysbon/app/views/user_mailer/confirmation_instructions.text.erb:1:in `_app_views_user_mailer_confirmation_instructions_text_erb___174597756938345910_2233858620_1726467605911877121' | |
| /Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/template.rb:162:in `block in render' | |
| /Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:54:in `instrument' | |
| /Users/lena/.bundle/ruby/1.9.1/gems/actionp |
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
| TIL when you drill in your wall (eg to hang up a shelf), these are ways to avoid drilling into a power | |
| supply: | |
| - I always thought this rule of thumb would suffice: do not drill within a straight vertical or | |
| horizontal line from power sockets. TIL in Germany to be on the safe side, you need to add a 20cm safety | |
| distance to each side of these lines. Within this distance can be supply lines too! | |
| - Power supply line detectors are worthless when they are cheap, the pricier ones can help you a bit, but | |
| they still are no guarantee: when the lines are deeper within the wall, they can not be detected exactly | |
| at all. |
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
| #!/bin/bash | |
| # Tells you how your photos are distributed over the year - in which months do you take the most photos? | |
| # | |
| # call with | |
| # ./stats.sh 2>/dev/null | |
| # because there will be some broken exif data | |
| date | |
| echo "Total photos:" |
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
| public class Studentin | |
| { | |
| private String name; | |
| private String vorname; | |
| private String studiengang; | |
| private int matrikelnummer; | |
| Studentin () {} //Standardkonstruktor | |
| Studentin (String n, String v, String f, int m) |
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
| # encoding: UTF-8 | |
| # based on http://zetcode.com/db/mysqlrubytutorial/ | |
| # | |
| # gem install mysql2 | |
| require 'mysql' | |
| begin | |
| con = Mysql.new 'localhost', 'root', '' |
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
| web | POST /quote | |
| web | ERROR [2020-07-29 11:53:46,289] [a2a441ebe0184341a2354a1484740a2a] sales_cockpit_be.recommendation_client: Could not post data to `https://sales-cockpit-reco-test.zms-automation-test.zalan.do/recommendation-sales-cockpit` (401) | |
| web | Stack (most recent call last): | |
| web | File "/usr/local/lib/python3.8/site-packages/gevent/baseserver.py", line 26, in _handle_and_close_when_done | |
| web | return handle(*args_tuple) | |
| web | File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/ggevent.py", line 155, in handle | |
| web | super(GeventWorker, self).handle(listener, client, addr) | |
| web | File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/base_async.py", line 56, in handle | |
| web | self.handle_request(listener_name, req, client, addr) | |
| web | File "/usr/local/lib/python3.8/site-packages/gunicorn/workers/ggevent.py", line 159, in handle_request |
OlderNewer