Exercise 1: Maps In MovieDB, add a new field “Principal filming location”. In a movie’s show view, geocode that location and show a Google map centered around it

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://rubygems.org/ anymore. This is a result of a server certificate...

...fetching data: hostname was not match with the server certificate (https://rubygems.org/*) Fix 1: Use docker and gemstash (recommended for makandra employees) Use our legacy docker setup for development...

...convert it into its RGB values using plain Ruby. >> "#ff8000".match(/^#(..)(..)(..)$/).captures.map(&:hex) => [255, 128, 0] You can use that to implement a simple "hex to CSS rgba value with...

...captures.map(&:hex) "rgba(#{rgb.join(", ")}, #{opacity})" end >> hex_color_to_rgba("#ff8000", 0.5) => "rgba(255, 128, 0, 0.5)" If you need to support RGBA hex color codes, you need to handle...

...logs the error ActionController::UnpermittedParameters in development + test and do nothing in production. Option 1: In case you use action_on_unpermitted_parameters = :raise for all environments, you might notice...

...the following two video summaries of David Allen's book Getting Things Done: Selbstorganisation 1: Schaffe ein System als Grundlage 🇩🇪 Selbstorganisation 2: Perfekt organisiert mit der GTD Methode 🇩🇪

...Ansible for DevOps. Du findest es in der makandra Bibliothek Relevant sind die Kapitel 1-8. Bitte erstelle keinen DigitalOcean Account für Kapitel 8. Lies das Kapitel einfach durch und...

weblog.jamisbuck.org

(gdb) t a a bt # thread apply all backtrace (gdb) call (void) close(1) # close the existing file descriptors for stdout (gdb) call (void) close(2) # close the existing...

Previous method on Ruby < 2.4 Article from 2016 Article from 2006 Ruby 1.8.7 # First, find out the PID of your Ruby process (e.g. passenger-status)

manufacturer, serial_number = product.match(PRODUCT_PATTERN)&.captures # or manufacturer = product[PRODUCT_PATTERN, 1] serial_number = product[PRODUCT_PATTERN, 2] Example with named groups (<2.4) PRODUCT_PATTERN = /\A(? .+) S...

...remove IP entry ssh-keygen -f "$HOME/.ssh/known_hosts" -R $(getent hosts appserver.makandra.de | cut -d ' ' -f 1) # Connect and accept new fingerprint ssh appserver.makandra.de The authenticity of host 'appserver.makandra.de (213.179.144.92)' can't...

...complement for opacity. Just transition both of them: opacity: 0 visibility: hidden transition: all 100ms &.-visible opacity: 1 visibility: visible When fading in, visibility will immediately be set to visible...

...call other matchers. Example The following test checks that two variables foo and bar (1) have no lowercase characters and (2) end with an exclamation mark: expect(foo).to_not...

docs.aws.amazon.com

...versus fixed CPU calculation. These are the break-even CPU utilizations for us-east-1: Burstable Baseline utilization Fixed-CPU vCPU Memory (GiB) Break-even CPU utilization t3.medium 20% c7i-flex.large...

30% m6i.large 2 8 42,80% t3.xlarge 40% m7i-flex.xlarge 4 16 52,55% t3a.medium 20% c6a.large 2 4 58,90% t3a.large 30% m6a.large 2 8 41,20%

...but is actually quite simple when using docker and turning off some verification steps. 1. Start a keycloak instance using docker mkdir -p keycloak_data && docker run --network=host -e...

...Was ist ein Kubernetes "Service" und für was brauche ich diesen? Inhalte Einleitung, Kapitel 1

...increase your build times significantly, but produce the smallest output: Terser (3 pass) Terser (1 pass) esbuild application.js 163.6 kB 163.7 kB 181.6 kB application.js (gzipped) 54.7 kB

makandra Curriculum

...sidebar with navigation links, a big content area and a footer: +------------------------------------------------------+ | | | BIG LOGO | | | +------------+-----------------------------------------+ | | | | Link 1 | HEADLINE | | | | | Link 2 | Lorem ipsum dolor amit. | | | At vero eos et accusam et justo. |

makandra dev

Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...

...the screen. The player starts with a score of 0. The arena randomly shows 1 out of 6 total moles. The aim of the game is to click on the...

...randomly hidden or shown. When the user clicks on a visible mole, she gets 10 points added to her score. When the user clicks on a hidden mole, she gets...

Has no options to sort the loaded files in any way. RSpec 1 Runs .rb files in alphabetical order by default. This is a good default because it...

...that has two areas with a distinct look and feel. For instance there is (1) a visually ambitious frontend for consumers and (2) an admin area that has tightly packed...

...suspect parallel execution for bundling issues, you can try serially with bundle install --jobs 1...

...matched until Capybara 2 which used to "squish" text prior to the comparison. # Capyabara 1 or 2 page.find('.haystack', text: "Hi! Try to match me.") => #<Capybara::Node::Element tag="div...

edgeapi.rubyonrails.org

How generated form params look like If you have authors with the IDs 1, 2 and 3, the check boxes above will be named like this: Note the hidden...

In your Rails controller, this will create params like this: { 'post' => { 'author_ids' => ['1', '2', '3', ''] } } Permitting array params in your controller Note that you need some special syntax...

...suppress_multiple_term_dialog = True [keybindings] [profiles] [[default]] cursor_color = "#aaaaaa" font = Ubuntu Mono 14 use_system_font = False [layouts] [[PROJECT_NAME]] [[[child0]]] type = Window parent = "" position = 3458:171 maximised...

...profile = default command = 'env startup_cmd="foreman start" startup_args="-f Procfile.dev -m all=1,web=0" bash' [plugins] To make the environment variables work, put the following into your...