This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
честно говоря, автор (в моём лице ;) ) не дал ссылку на тот рецепт не потому, что считал его неправильным - а всего лишь потому, что не знал о его существовании. Я привёл в комментах примерно тот же рецепт, только с расшифрованным понятием "сахарный сироп". Ну да речь тут не об этом. | |
Насколько я вижу с учётом ингредиенто-рецептов, как части проблемы имеем следующее: | |
а) некоторые ингредиенты представляют собой отдельные самостоятельные рецепты; | |
б) ингредиенты могут иметь различные имена, которые должны вести на одно и то же описание; | |
в) при вводе ингредиента в рецепт нужно помогать пользователю проставить ссылку на правильное описание; | |
г) всем этим нужно управлять. | |
С учётом этих проблем, в качестве идеи по развитию едавики могу предложить следующее. | |
1. Каждый ингредиент представляет собой запись-страницу в едавики, как сейчас, но для тех ингредиентов, которые представляют собой отдельные рецепты, данная страница заменяется ссылкой на рецепт. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h1 Listing invoices | |
%table | |
%tr | |
%th Amount | |
%th Info | |
- for invoice in @invoices | |
%tr | |
%td= invoice.amount |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This OS X script reads the disk, calculates it's checksum, and then compares | |
# it to the checksum of the original image. | |
# Was written originally to verify burned images of XBox 360 games, but | |
# can be actually used to verify any image at all, I guess. | |
# | |
# Run it with image's file name as the argument: | |
# ./verifyiso ~/path/image.iso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="required"> | |
<label>Type:</label><br/> | |
<%= f.select :type, ProductOption::TYPES, {}, | |
:onchange => update_page{ |page| | |
page << "if (this.value=='Choice') {" | |
# page.assign 'content', product_option_choice_options(ProductOption::Choice.new) | |
page.assign 'content', 'choice content' | |
# page << "} else if (this.value=='MoneyAmount') {" | |
# page.assign 'content', product_option_money_amount_options(ProductOption::MoneyAmount.new) | |
# page << "} else if (this.value=='Service') {" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. static.88-198-60-129.clients.your-server.de 0.0% 13091 0.8 0.3 0.3 79.2 0.6 | |
2. hos-tr4.juniper2.rz6.hetzner.de 0.0% 13091 0.2 0.2 0.2 179.0 5.7 | |
3. hos-bb2.juniper3.ffm.hetzner.de 0.0% 13091 23.4 22.8 22.8 106.7 5.5 | |
4. decix2-hetzner.aixit.net 0.2% 13091 13.8 13.2 13.2 622.9 59.1 | |
5. ge-0.de-cix.frnkge03.de.bb.gin.ntt.net 0.0% 13091 15.1 14.0 14.0 94.4 3.5 | |
6. xe-1-0-0.r20.frnkge03.de.bb.gin.ntt.net 0.0% 13091 15.6 14.3 14.2 137.2 12.8 | |
p64-2-2-0.r23.amstnl02.nl.bb.gin.ntt.net | |
7. p16-0-0-0.r00.frnkge02.de.bb.gin.ntt.net 0.1% 13091 16.1 14.7 14.6 264.3 14.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. 92-48-122-129.static.as29550.net 0.0% 13292 0.5 0.3 0.3 112.0 2.7 | |
2. pri.the-bsq3.as29550.net 1.5% 13292 1.1 1.0 1.0 715.6 49.9 | |
3. port-channel1.telehouse-east.core.enta.net 0.0% 13292 1.3 1.1 1.1 282.0 17.3 | |
4. te5-1.telehouse-east2.core.enta.net 0.0% 13292 1.4 1.1 1.1 372.4 17.5 | |
5. te4-1.telehouse-north.core.enta.net 0.0% 13292 1.2 1.1 1.1 364.3 28.9 | |
6. te5-3.amsterdam.core.enta.net 0.0% 13292 9.5 9.4 9.4 250.0 11.6 | |
7. 10ge-3-3-0.br1.ams.we-dare.net 0.0% 13292 9.4 9.4 9.4 195.6 6.9 | |
8. ge-1-1-0.cr1.rtd.we-dare.net 0.2% 13292 11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. 92-48-122-129.static.as29550.net 0.0% 375 0.6 1.4 0.3 33.3 2.5 | |
2. pri.the-bsq3.as29550.net 0.3% 375 1.0 21.6 1.0 421.1 58.2 | |
3. port-channel1.telehouse-east.core.enta.net 0.0% 374 1.2 3.4 1.1 212.1 14.0 | |
4. te5-1.telehouse-east2.core.enta.net 0.0% 374 1.3 4.5 1.1 197.3 18.8 | |
5. te4-1.telehouse-north.core.enta.net 0.0% 374 3.6 6.8 1.1 192.2 21.5 | |
6. te5-3.amsterdam.core.enta.net 0.0% 374 9.4 10.9 9.4 173.4 11.5 | |
7. 10ge-3-3-0.br1.ams.we-dare.net 0.0% 374 9.4 10.8 9.4 137.3 7.3 | |
8. ge-1-1-0.cr1.rtd.we-dare.net 0.3% 374 10.9 13.1 10.8 284.1 20.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. static.88-198-60-129.clients.your-server.de 0.0% 418 0.3 0.3 0.3 6.1 0.3 | |
2. hos-tr4.juniper2.rz6.hetzner.de 0.0% 418 0.4 1.1 0.2 37.8 4.9 | |
3. hos-bb2.juniper3.ffm.hetzner.de 0.0% 418 22.9 24.1 22.8 77.1 6.6 | |
4. decix2-hetzner.aixit.net 0.0% 417 90.5 39.1 13.2 524.3 65.5 | |
5. ge-0.de-cix.frnkge03.de.bb.gin.ntt.net 0.0% 417 14.5 14.6 13.9 23.6 0.8 | |
6. xe-1-0-0.r20.frnkge03.de.bb.gin.ntt.net 0.0% 417 14.7 23.5 14.3 74.0 9.0 | |
p64-2-2-0.r23.amstnl02.nl.bb.gin.ntt.net | |
7. p16-0-0-0.r00.frnkge02.de.bb.gin.ntt.net 0.0% 417 30.7 24.7 14.7 84.5 10.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. 92-48-122-129.static.as29550.net 0.0% 474 0.4 1.4 0.3 38.2 2.7 | |
2. pri.the-bsq3.as29550.net 1.3% 474 1.1 15.3 1.0 398.1 47.4 | |
3. port-channel1.telehouse-east.core.enta.net 0.0% 474 1.1 3.0 1.1 125.2 11.7 | |
4. te5-1.telehouse-east2.core.enta.net 0.0% 473 1.2 4.0 1.1 200.0 14.9 | |
5. te4-1.telehouse-north.core.enta.net 0.0% 473 191.6 8.7 1.1 200.3 31.3 | |
6. te5-3.amsterdam.core.enta.net 0.0% 473 9.4 10.6 9.4 150.4 10.7 | |
7. 10ge-3-3-0.br1.ams.we-dare.net 0.0% 473 9.4 10.6 9.4 91.0 4.5 | |
8. ge-1-1-0.cr1.rtd.we-dare.net 0.2% 473 11.0 12.6 10.8 305.9 19.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Packets Pings | |
Host Loss% Snt Last Avg Best Wrst StDev | |
1. static.88-198-60-129.clients.your-server.de 0.0% 494 0.4 0.3 0.3 9.5 0.4 | |
2. hos-tr4.juniper2.rz6.hetzner.de 0.0% 494 0.2 1.3 0.2 50.8 5.6 | |
3. hos-bb2.juniper3.ffm.hetzner.de 0.0% 493 24.1 23.6 22.8 74.4 5.0 | |
4. decix2-hetzner.aixit.net 0.0% 493 13.2 50.3 13.2 485.3 78.9 | |
5. ge-0.de-cix.frnkge03.de.bb.gin.ntt.net 0.0% 493 14.8 14.7 14.0 36.4 1.8 | |
6. p64-2-2-0.r23.amstnl02.nl.bb.gin.ntt.net 0.0% 493 30.2 31.7 30.0 69.4 4.8 | |
7. ae-1.r22.amstnl02.nl.bb.gin.ntt.net 0.0% 493 30.8 32.0 30.0 81.6 5.0 | |
8. xe-3-1.r00.amstnl02.nl.bb.gin.ntt.net 0.2% 493 52.9 47.2 30.0 245.1 43.5 |
OlderNewer