Resolve @{-1} to actual branch name. (Happens when merging "-".)
...your ActiveRecord models with very little code. Traim assumes your API resources will map 1:1 to your ActiveRecord models and database tables. This assumption usually falls apart after a...
...can reduce the webdriver update interval and see if VCR complains: WD_CACHE_TIME=1 bundle exec cucumber Note: Newer Rails versions come with the webdrivers gem automatically...
Coffeescript # wrong 'name' in {name: 'Horst'} # => false # correct 'name' of {name: 'Horst'} # => true 1 in [1,2,3] # => true
...use the bash script below by copying it somewhere to your .bashrc. # Usage: ptcommits 123456 function ptcommits { if test "$1" then local PTID=$(echo "$1" | grep "[0-9]*" -o) # Allow...
} alias ptcommit='ptcommits' Now you can use use the command like this: ptcommits 165086636 --stat. Up to three arguments are passed to git show. Example output: commit 048054b1df87576f7c59cc0161cc331c44d2ea6b
...socialshareprivacy jQuery plugin for that, or a fork on steroids called "Social Share Privacy". 1. Implementing the buttons is straightforward So you have decided to go ahead with the remote...
GRANT REPLICATION SLAVE ON *.* TO 'replicator'@'%'; Adjust MySQL configuration : Edit /etc/mysql/my.cnf: server-id = 1 log_bin = /var/log/mysql/mysql-bin.log replicate-do-db = some_project_production replicate-do-db = other_project_production...
...smaller binlog. Setting replicate-ignore-db = mysql is generally recommended if you are not 100% sure you want to replicate the master's mysql database onto slaves; on Debian systems...
...it a lot easier to restore functionality later. In the end, you should have 1 commit for each feature, e.g. "Remove new calendar design". When you encounter commits you missed...
...artifacts were now so small that they are not as noticable then when an 1:1 image is highly compressed...
...HLS, filled with real-world examples. Using FFmpeg as a HLS streaming server (Part 1) – HLS Basics Using FFmpeg as a HLS streaming server (Part 2) – Enhanced HLS Segmentation
...and the certificates ARN /home/foobar/Downloads/ElasticLoadBalancing-1.0.14.3/bin/elb-set-lb-listener-ssl-cert lb-name --aws-credential-file ./aws-credential.txt --region eu-west-1 --lb-port 443 --cert-id arn:aws:iam::322191361670:server-certificate/www.example.com-2011
...wie man ein Impressum erstellt und wie man es bei Facebook und Twitter einbindet: #1. Impressum erstellen Ich empfehle zur Erstellung des eigenen Impressums das kostenlose Online-Tool des Anbieters...
...s considered good practice to only give back a Promise, never a Deferred. AngularJS 1.x In Angular's $q promise library, you would do it like this:
bar: [ 'a', { baz: 'x' } ] } } x.dig(:foo, :bar) # => [ 'a', { baz: 'x' } ] x.dig(:foo, :bar, 1, :baz) # => "x" x.dig(:foo, :wronk, 1, :baz) # => nil There is a tiny gem that backports...
...to update it. The ubuntu default sources are usually outdated. Just follow the instructions 1-4 and 1-3 on the page linked below. Making SSL connection work
...Webpack can interpret the folder as an npm package. // vendor/asset-libs/bought-font/package.json { "name": "bought-font", "version": "1.0.0", "description": "", "main": "index.scss", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Salesman of...
Table of content for the linked article: 1. The `loading=lazy` attribute 2. Email, call, and SMS links 3. Ordered lists `start` attribute 4. The `meter` element 5. HTML Native...
6. Fieldset Element 7. Window.opener 8. Base Element 9. Favicon cache busting 10. The `spellcheck` attribute 11. Native HTML sliders 12. HTML Accordion 13. `mark` tag 14. `download` attribute...
...are bundler aware. Some tests showed that parallel test execution (2 CPUs instead of 1) gives you a performance gain of about 25 - 30 %. Each doubling of the CPU cores...
...environment variable to run your command but disable that check. DISABLE_DATABASE_ENVIRONMENT_CHECK=1 rails db:drop
...nil inside of #m. Affected Ruby Versions Affected version: 2.2.0, 2.2.1, 2.2.2 Unaffected versions: 1.x, 2.0, 2.1, 2.2.3+, 2.3+ How to Expose it The following code exposes the bug...
...the second keyword argument Oo # - there is a double-splat argument def vulnerable_method_1(p: 'p', lost: 'lost', **options) _report(__method__, lost) end def vulnerable_method_2(p: 'p...
...error message above. There are multiple solutions to this issue. Option 0: Use Bundler 1.14 It might fix this issue, or at least print some helpful hints. Unfortunately Bundler 1.14.2...
...dumps core on corrupt Gemfiles with Ruby 1.8.7. Option 1: Make bundle install succeed now, but leave it broken for future installs This parameter will make the installation pass on...
Hey, this is foo.example.com calling. I just sent two ICMP packets to 1.2.3.4 and that failed apparently. Here is a traceroute to 1.2.3.4: HOST: foo.example.com Loss% Snt Last...
...Avg Best Wrst StDev 1.|-- 10.10.13.1 0.0% 10 0.4 0.3 0.2 0.5 0.1 2.|-- 10.179.144.1 0.0% 10 0.7 0.7 0.7 0.8 0.0 3.|-- 212.18.7.63 0.0% 10...
Then the radio button "sample.pdf" should not be checked inside the 1. iframe And I should see in this order within the breadcrumb inside the 1. iframe...
...frame(frames[frame_number]) end Use it like this: When I switch to the 1. iframe Then the radio button "sample.pdf" should not be checked And I should see in...
Lock haml to '= 3.1.7' Unlock andand Unlock rake Lock test-unit to '= 1.2.3' Lock database_cleaner to '< 1.3' Lock cucumber to '< 2' Lock launchy to '~> 2.1 ' Lock paperclip...
...It will simplify debugging failing features. require 'capybara-screenshot/cucumber' Capybara::Screenshot.prune_strategy = { keep: 12 } # parallel_tests TODO: Add rspec-patches gem from PH Code changes Remove UTF8 hints at...