...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...
...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...
...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. |
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...
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...
...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...
...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...
...suspect parallel execution for bundling issues, you can try serially with bundle install --jobs 1...
...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...
...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...
class User < ActiveRecord::Base ... end class SignUp < ActiveType::Record[User] ... end user = User.find(1) sign_up = ActiveType.cast(user, SignUp) sign_up.is_a?(SignUp) # => true This is basically like ActiveRecord#becomes...
...entire relation (scope) to a relation of an ActiveType::Record: adult_users = User.where('age >= 18') adult_sign_ups = ActiveType.cast(adult_users, SignUp) sign_up = adult_sign_ups.find(1) sign_up.is_a?(SignUp) # => true
...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...
...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%
cookies_jar = ActionDispatch::Cookies::CookieJar.build(request, cookies.to_hash) cookies_jar.signed[:user_id] = 1 cookes[:user_id] = cookies_jar[:user_id] get "/movies/#{user_id}/favorite" Example: describe '/movies...
...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
...start the initialization with this command once booted into proxmox: # cli64 vsf modify vol=1 capacity=12000 # to 12000 GB for example Now the volume will initialize the extra space...
...watch it with the command line client: # watch -n 5 "cli64 vsf info vol=1" Note Initializing SSD's does not take any time. For HDDs the above command should...
...console with other request like from ActionCable. Then just set the max threads to 1 and the other requests have to wait. WORKER_TIMEOUT=1000 puma -t 0:1 -w...
...1 -p...
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...
...t: the current time in 24-hour HH:MM:SS format, \T: same, but 12-hour format, @: same, but in 12-hour am/pm format \n: newline \r: carriage return
...x: attribute of the text 3y: foreground color 4y: background color x: 0: normal 1: bold 4: underline 7: reverse y is the color: 0 black 1 red
...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...
Option 1: Creating a self-signed certificate with the openssl binary As igalic commented on this gist. openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout server.key...
...than it is to explain why your application does not need secure cookies. Option 1: ActionDispatch::SSL middleware You can use the ActionDispatch::SSL middleware to automatically set the secure...