...use to create great-looking screen designers when you're not a designer. Part 1 contains: Light comes from the sky Black and white first Double your whitespace

...progress(title = 'Progress') total = count.to_f each_with_index do |item, index| progress = (index + 1) / total * 100 printf("#{title}: %.2f%%\r", progress) yield item end puts "#{title} is done."

Cookies without an expiration timestamp are called "session cookies". [1] They should only be kept until the end of the browsing session. However, when Chrome or Firefox are configured to...

...for quite a while now and it seems they won't change their mind. [1] We are not talking about the the Rails session cookie here, though it often is...

...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...

apidock.com

end end end end Output: == AddUserToken: migrating ========================================= # ... == AddUserToken: now generating tokens ============================= -- For users #1 to #500 -> 1.542s -> 1 rows == AddUserToken: migrated (1.0003s...

...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...

makandra Curriculum

...may need to re-run the test with a visible Chrome window (NO_HEADLESS=1). Note how you can even use the developer tools in the Selenium-controlled browser to...

boredzo.org

...the configuration file of the shell your using instead): man() { LESS_TERMCAP_mb=$'\e'"[1;31m" \ LESS_TERMCAP_md=$'\e'"[1;31m" \ LESS_TERMCAP_me=$'\e'"[0m" \ LESS_TERMCAP_se...

LESS_TERMCAP_so=$'\e'"[1;44;33m" \ LESS_TERMCAP_ue=$'\e'"[0m" \ LESS_TERMCAP_us=$'\e'"[1;32m" \ command man...

medium.freecodecamp.com

...and print the time Reference previously inspected elements (from the Elements panel) Variables $0, $1,...

...$n reference the nth-last inspected Element. $0 is the element that's currently selected...

makandra dev

...instead. Start your process with RUBY_DEBUG_OPEN set, e.g. with RUBY_DEBUG_OPEN=1 bin/dev. As soon as you run into the debugger statement, you'll see DEBUGGER: wait...

...SSLCertificateNotVerified errors, or when using plain Net::HTTP: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Here is how to...

...certificate can not be verified. >> RestClient.get('https://self-signed.badssl.com/') RestClient::SSLCertificateNotVerified: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed Self-signed certificates are...

...An OAuth-compatible request matcher Body with ignored order URI ignoring query parameter ordering 1 URI ignoring query parameter ordering 2 Tests with AJAX Using javascript in integration tests might...

...following material: World's shortest UI/UX design course Every UI/UX Concept Explained In Under 10 Minutes Easiest Way to Pick UI Colors 7 Rules for Creating Gorgeous UI (Part 1...

...Twitter account just to follow accounts, you don't need to post. Hacker News 100: Tweeting Hacker News stories as soon as they reach 100 points. @IntentToShip: Early notifications when...

...multiple podcasts is Pocket Casts. It has free clients for Android and iOS. An 1€/month subscription gives you a web player. Working Draft Podcast INNOQ Podcast Geekstammtisch Podcast (with...

makandra dev

...family: 'My variable font', Verdana, 'Helvetica Neue', Helvetica, sans-serif font-feature-settings: "kern" 1 ,"liga" 1, "calt" 1, "locl" 1 strong font-variation-settings: "wght" 700 font-weight: normal...

...you to reset font-weight on elements like , or :. strong font-variation-settings: "wdth" 100, "wght" 700 font-weight: normal // Ensure that the text is not fattened twice

...a selector. For example: .container .foo %span.my-selector .bar %div.my-selector .container > *:nth-child(1 of .my-selector) color: red Here, you specifically target the first element with the .my...

...grab the nth element of a certain type/tag. Browser Support https://caniuse.com/mdn-css_selectors_nth-last-child_of_syntax Chrome/Edge 111+ Firefox 113+ Safari 9+ Finding the last child matching a selector There is :nth-last...

...Is Dead, Long Live CSP! Ergebnis: ~ 95% vorhandener CSP-Policies bieten keinen Schutz Grund 1 Meist offensichtliche Fehlkonfiguration (Wildcards, unsichere Domains, object-src fehlt etc) Grund 2 Bibliothek mit JSONP...

...JavaScript reflection gadget", Bibliothek erlaubt einen Weg DOM-Inhalte zu Code zu machen. Beispiel. {{ 1000 - 1 }} Grund 4 User kann Javascript zur Domain hochladen. Wichtig: User darf nie Dateien hochladen...

github.com

Profit Example Imagine you expect General Kenobi to be in level 6 { level_1: { level_2: { level_3: { level_4: { level_5: { level_6: { general_kenobi: 'Hello there!' } } } } } } }

...actually in level 3. Then RSpec will output the diff this way: expected: {:level_1=>{:level_2=>{:level_3=>{:level_4=>{:level_5=>{:level_6=>{:general_kenobi=>"Hello there!"}}}}}}}

...to test it yourself. When you run your cucumber feature now with NO_HEADLESS=1 geordi cucumber, you should see a browser opening. Get someone to help you if this...

makandra dev

...You probably have a syntax error in one of your features.\033[0m"; exit 1); fi' - 'if [[ $main_cucumber_run_passed =~ false ]]; then (echo -e "\033[0;33mRerunning failed tests...

...invest more than a day to skim over the asset pipeline and webpacker. Rails 1-7 with the Asset Pipeline (Sprockets) The asset pipeline is Rails' original mechanism on how...

...practice we still need some form of minification etc. Don't spend more than 15 minutes looking at this approach as we're currently not using it. You should mainly...

...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 🇩🇪

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%

...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...