- Google & Co. should be feeded with https://prerender.io/
- Facebook and Twitter should be feeded with extra content. Always. And it's easy to implement.
Dunno...
Dunno...
| # Bad, because declarative code without business logic should NOT be absolutely DRY. | |
| %w[Bob Alice].each do |first_name| | |
| %w[Black White].each do |second_name| | |
| Person.create(first_name: first_name, second_name: second_name) | |
| end | |
| end | |
| # Good, because it's clear, what results the code produces. Declarative, baby! | |
| # Not perfect, because the naming of the params is |
| Defaults passwd_timeout = 0 |
| [48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m | |
| [48;5;231m [0m[48;5;231m [0m[48;5;151m [0m[48;5;71m [0m[48;5;108m [0m[48;5;151m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48;5;231m [0m[48 |
| # Es gab insgesamt 4 Teilnehmer. | |
| # Insgesamt 5 Lösungen. | |
| # Davon 3 hatten richtige Ergebnisse. | |
| # | |
| # Lösungsansätze. | |
| # | |
| # Es gibt grundsätzlich 3 Lösungsansätze: | |
| # 1. Iteration (Lösung 1, Lösung 2, Lösung 3). Einfach zu verstehen und zu implementieren. | |
| # 2. "Divide and Conquer" mit Rekursion (Lösung 4). |
| bower install jquery.li18n |
| #!/usr/bin/env bash | |
| # Based on https://github.com/mhagger/git-when-merged. | |
| # Usage: git open-pr <SHA1> | |
| commit_sha1=`git when-merged $1|tr -s ' '|cut -d' ' -f2` | |
| commit_pr_number=`git show $commit_sha1|grep 'Merge pull request'|cut -d'#' -f2|cut -d' ' -f1` | |
| open "https://github.com/infopark/rails_connector/pull/$commit_pr_number" |
| #!/usr/bin/env ruby | |
| if %x{which termit}.empty? | |
| puts 'Missing the "termit" command.'\ | |
| ' Please install the corresponding gem.'\ | |
| ' See https://github.com/pawurb/termit for details.' | |
| exit 1 | |
| end | |
| if ARGV.empty? |