{"id":264231,"date":"2015-08-25T14:23:02","date_gmt":"2015-08-25T10:23:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=264231"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=264231","title":{"rendered":"\u0417\u0430\u0447\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0443\u0442\u0438\u043d\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443, \u043a\u043e\u0433\u0434\u0430 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0440\u0443\u0447\u0438\u0442\u044c \u043c\u0430\u0448\u0438\u043d\u0435?"},"content":{"rendered":"<p>             \u0412 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044f \u00ab\u0416\u0435\u043b\u0435\u0437\u043d\u043e\u0433\u043e \u0427\u0435\u043b\u043e\u0432\u0435\u043a\u0430\u00bb \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c, \u043c\u0435\u043d\u044f \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u043e\u043f\u0438\u0442\u044b\u0432\u0430\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 <s>\u0441\u0442\u0430\u0442\u044c \u0441\u0443\u043f\u0435\u0440\u0433\u0435\u0440\u043e\u0435\u043c<\/s> \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0441\u0442\u044e\u043c, \u043d\u0443 \u0438\u043b\u0438 <i>\u0445\u043e\u0442\u044f \u0431\u044b<\/i> \u0414\u0436\u0430\u0440\u0432\u0438\u0441\u0430. \u0418 \u0432\u0434\u0440\u0443\u0433 \u043c\u0435\u043d\u044f \u043f\u043e\u0441\u0435\u0442\u0438\u043b\u0430 \u0433\u0435\u043d\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0434\u0435\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u0430\u0440\u0443 \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434 \u0431\u044b\u043b \u043c\u0430\u0442\u0447 \u0421\u0443\u043f\u0435\u0440\u041a\u0443\u0431\u043a\u0430 \u0415\u0432\u0440\u043e\u043f\u044b 2015 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u043b\u0438\u0448\u044c \u043d\u0430 70 \u043c\u0438\u043d\u0443\u0442\u0435. \u0414\u0430, \u044f \u0434\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043e\u0441\u0442\u0430\u0432\u0448\u0443\u044e\u0441\u044f \u0447\u0430\u0441\u0442\u044c \u0438\u0433\u0440\u044b, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u043e\u0441\u0430\u0434\u043e\u043a \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e 70 \u043c\u0438\u043d\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0430 \u044f \u0441\u043c\u043e\u0433\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u0438\u0448\u044c \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 (\u0447\u0442\u043e, \u043a\u0430\u043a \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0442\u043e), \u0432\u0435\u0434\u044c \u044f \u043a\u0430\u043a-\u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0447\u044c \u0437\u0430\u0431\u044b\u043b \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u043b\u0435\u0442\u043e\u043c \u0442\u043e\u0436\u0435 \u0438\u0434\u0443\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0447\u0438. \u041f\u043e\u043f\u043b\u0430\u043a\u0430\u043b\u0438 \u0438 \u0445\u0432\u0430\u0442\u0438\u0442.  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u0441 \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044f \u043d\u0430\u0447\u0430\u043b \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u0451\u043c \u043d\u0430 Mac, \u0438 \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0430 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0433\u0440\u044b \u0411\u0430\u0440\u0441\u044b \u0432 \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c?<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/73a\/b0b\/f4c\/73ab0bf4cd394168813bc95ef9793cd3.jpg\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>Terminal Mac<\/h2>\n<p>  \u0422\u0430\u043a-\u0441, \u043d\u0430\u0434\u043e \u0441 \u0447\u0435\u0433\u043e-\u0442\u043e \u043d\u0430\u0447\u0430\u0442\u044c. \u0410\u0433\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0434\u0430, \u0442.\u0435. \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e Mac Calendar API. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u043f\u043e\u043b\u0435\u0437 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b, \u0438 \u0432\u0432\u0435\u0434\u044f  <\/p>\n<pre><code class=\"bash\">Mac:~ dima$ whatis calendar <\/code><\/pre>\n<p>  \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434:  <\/p>\n<pre><code class=\"bash\">Mac:~ dima$ whatis calendar cal(1), ncal(1)          - displays a calendar and the date of easter calendar(1)              - reminder service iwidgets_calendar(n), iwidgets::calendar(n) - Create and manipulate a monthly calendar widget_calendar(n)       - widget::calendar Megawidget <\/code><\/pre>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0445\u043e\u0436\u0438 \u0438 \u0438\u043c\u0435\u044e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b, \u0432\u044b\u0432\u043e\u0434\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u0430. \u041d\u043e \u044d\u0442\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e, \u0432\u0435\u0434\u044c \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u0441 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u043c\u0438.<\/p>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0433\u0443\u0433\u043b\u0438\u0432, \u044f \u0432\u044b\u0448\u0435\u043b \u043d\u0430 \u044f\u0437\u044b\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043b\u044f Mac \u2014 <b>AppleScript<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043a\u0430\u043a\u043e\u0435-\u043d\u0438\u043a\u0430\u043a\u043e\u0435 API \u0432\u0441\u0435\u0445 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u00ab\u0441\u043b\u043e\u0432\u0430\u0440\u0435\u0439\u00bb (\u0432\u043f\u043e\u043b\u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0447\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043d\u0435\u0443\u043c\u0435\u043b\u043e \u0433\u0443\u0433\u043b\u0438\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435 <b>AppleScript<\/b>) \u043d\u0435 \u043d\u0430\u0448\u0435\u043b.<\/p>\n<h2>\u041d\u0435\u043c\u043d\u043e\u0433\u043e AppleScript<\/h2>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u0443\u0447\u0438\u0432 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u00ab\u0441\u043b\u043e\u0432\u0430\u0440\u044c\u00bb \u043a\u043e\u043c\u0430\u043d\u0434, \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 <s>\u043f\u0440\u0438\u043d\u043e\u0441\u044f \u0436\u0435\u0440\u0442\u0432\u043e\u043f\u0440\u0438\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u0431\u043e\u0436\u0435\u0441\u0442\u0432\u0430\u043c \u043f\u043e\u0438\u0441\u043a\u0430<\/s> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0433\u0443\u0433\u043b, \u044f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e (\u043f\u0440\u0430\u0432\u0434\u0430 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u00ab\u043f\u043e\u0431\u043e\u0434\u0430\u0442\u044c\u0441\u044f\u00bb \u0441 \u044d\u0442\u0438\u043c \u044f\u0437\u044b\u043a\u043e\u043c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0441 \u0434\u0430\u0442\u0430\u043c\u0438):  <\/p>\n<pre><code class=\"actionscript\">set startDate to date &quot;\u0441\u0443\u0431\u0431\u043e\u0442\u0430, 25 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2015 \u0433., 0:00:00&quot; set endDate to date &quot;\u0441\u0443\u0431\u0431\u043e\u0442\u0430, 25 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2015 \u0433., 10:00:00&quot; tell application &quot;Calendar&quot; \ttell calendar &quot;\u0420\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f, \u043e\u0442\u0434\u044b\u0445&quot; \t\tmake new event with properties {description:&quot;Test&quot;, summary:&quot;Something&quot;, start date:startDate, allday event:true} \tend tell end tell <\/code><\/pre>\n<p>  \u041e\u0442\u043b\u0438\u0447\u043d\u043e, \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u0443\u0441\u043f\u0435\u0445, \u043f\u0435\u0440\u0435\u043a\u0443\u0441\u0438\u043c \u0438 \u043f\u043e\u0439\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h2>\u0411\u0443\u0434\u0435\u043c \u043f\u0430\u0440\u0441\u0438\u0442\u044c!<\/h2>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c <b>Xamarin Studio<\/b>, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <b>HtmlAgillityPack<\/b> <b>NuGet<\/b>-\u043f\u0430\u043a\u0435\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044e, \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043b\u0438 \u043e\u043d \u0432 \u041f\u0430\u043a\u0435\u0442\u0430\u0445.<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/files\/85b\/103\/433\/85b103433db74b4e86b3f23a2a632698.png\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/85b\/103\/433\/85b103433db74b4e86b3f23a2a632698.png\"\/><br \/>  <\/a><br \/>  <a href=\"https:\/\/habrastorage.org\/files\/0f7\/0cd\/79a\/0f70cd79a54149788d4894eec2960f28.png\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0f7\/0cd\/79a\/0f70cd79a54149788d4894eec2960f28.png\"\/><br \/>  <\/a><br \/>  <a href=\"https:\/\/habrastorage.org\/files\/c45\/598\/42f\/c4559842fe4f4be3ac6ff7c71758de5f.png\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c45\/598\/42f\/c4559842fe4f4be3ac6ff7c71758de5f.png\"\/><br \/>  <\/a><\/p>\n<p>  \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b using \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434. \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043a\u043b\u0430\u0441\u0441\u0430 <b>SingleMatch<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432\u0441\u0435 \u0442\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u043f\u0430\u0440\u0441\u0438\u043c. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0430\u0432\u0442\u043e-\u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0442.\u043a. \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0437\u0434\u0435\u0441\u044c \u043b\u043e\u0433\u0438\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f, \u0434\u0432\u0430 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 (\u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0438 \u0431\u0435\u0437) \u0438 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043c\u0435\u0442\u043e\u0434 <b>ToString()<\/b>.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">SingleMatch.cs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">using System;  namespace barca_matches_to_the_calendar { \t\/\/\/ &lt;summary&gt; \t\/\/\/ \u041a\u043b\u0430\u0441\u0441 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0447\u0430. \t\/\/\/ &lt;\/summary&gt; \tpublic class SingleMatch \t{  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u0414\u0430\u0442\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0442\u0447\u0430. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0442\u0447\u0430 \u0442\u0438\u043f\u0430 &lt;see cref=&quot;DateTime&quot;\/&gt;.&lt;\/value&gt; \t\tpublic DateTime StartTime \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0443\u0440\u043d\u0438\u0440\u0430. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0443\u0440\u043d\u0438\u0440\u0430.&lt;\/value&gt; \t\tpublic string Tournament \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0424\u041a-\u0441\u043e\u043f\u0435\u0440\u043d\u0438\u043a\u0430. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0424\u041a - \u0441\u043e\u043f\u0435\u0440\u043d\u0438\u043a\u0430.&lt;\/value&gt; \t\tpublic string Rival \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u041c\u0435\u0441\u0442\u043e \u043c\u0430\u0442\u0447\u0430 (\u0432 \u0433\u043e\u0441\u0442\u044f\u0445\/\u0434\u043e\u043c\u0430). \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u041c\u0435\u0441\u0442\u043e (&quot;\u0412 \u0433\u043e\u0441\u0442\u044f\u0445&quot;\/&quot;\u0414\u043e\u043c\u0430&quot;).&lt;\/value&gt; \t\tpublic string Place \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 SingleMatch \t\t\/\/\/  &lt;see cref=&quot;barca_matches_to_the_calendar.SingleMatch&quot;\/&gt; class. \t\t\/\/\/ &lt;\/summary&gt; \t\tpublic SingleMatch() \t\t{ \t\t\tStartTime = new DateTime(); \t\t\tTournament = null; \t\t\tRival = null; \t\t\tPlace = null; \t\t}   \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 SingleMatch \t\t\/\/\/ &lt;see cref=&quot;barca_matches_to_the_calendar.SingleMatch&quot;\/&gt; class. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;param name=&quot;startTime&quot;&gt;\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0442\u0447\u0430.&lt;\/param&gt; \t\t\/\/\/ &lt;param name=&quot;tournament&quot;&gt;\u0422\u0443\u0440\u043d\u0438\u0440.&lt;\/param&gt; \t\t\/\/\/ &lt;param name=&quot;rival&quot;&gt;\u0421\u043e\u043f\u0435\u0440\u043d\u0438\u043a.&lt;\/param&gt; \t\t\/\/\/ &lt;param name=&quot;place&quot;&gt;\u041c\u0435\u0441\u0442\u043e (\u0432 \u0433\u043e\u0441\u0442\u044f\u0445\/\u0434\u043e\u043c\u0430).&lt;\/param&gt; \t\tpublic SingleMatch(DateTime startTime, \t\t                   string tournament, \t\t                   string rival, \t\t                   string place) \t\t{ \t\t\tStartTime = startTime; \t\t\tTournament = tournament; \t\t\tRival = rival; \t\t\tPlace = place; \t\t}   \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u0412\u043e\u0437\u0440\u0430\u0449\u0430\u0435\u0442 a &lt;see cref=&quot;System.String&quot;\/&gt;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \t\t\/\/\/ \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c  &lt;see cref=&quot;barca_matches_to_the_calendar.SingleMatch&quot;\/&gt;. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;returns&gt; \t\t\/\/\/ \u0412\u043e\u0437\u0440\u0430\u0449\u0430\u0435\u0442 a &lt;see cref=&quot;System.String&quot;\/&gt;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \t\t\/\/\/ \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c  &lt;see cref=&quot;barca_matches_to_the_calendar.SingleMatch&quot;\/&gt;. \t\t\/\/\/ &lt;\/returns&gt; \t\tpublic override string ToString() \t\t{ \t\t\treturn string.Format(&quot;\u0412\u0440\u0435\u043c\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u0430\u0442\u0447\u0430={0}, \u0442\u0443\u0440\u043d\u0438\u0440={1}, \u0441\u043e\u043f\u0435\u0440\u043d\u0438\u043a={2}, \u043c\u0435\u0441\u0442\u043e={3}&quot;, \t\t\t\tStartTime, Tournament, Rival, Place); \t\t} \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0422.\u043a. \u0443 \u043d\u0430\u0441 \u043d\u0435 \u043e\u0434\u0438\u043d \u043c\u0430\u0442\u0447, \u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u0441\u043f\u0438\u0441\u043a\u0435. \u041d\u043e \u0440\u0430\u0437 \u0443\u0436 \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043e\u0434\u043d\u043e\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0424\u041a, \u0432\u044b\u043d\u0435\u0441\u0435\u043c \u0435\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u043c\u0430\u0442\u0447\u0435\u0439.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Matches.cs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">using System.Collections.Generic;  namespace barca_matches_to_the_calendar { \tpublic class Matches \t{ \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0424\u041a. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0424\u041a.&lt;\/value&gt; \t\tpublic string NameFC \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u041b\u0438\u0441\u0442 \u043c\u0430\u0442\u0447\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;value&gt;\u041b\u0438\u0441\u0442 \u043c\u0430\u0442\u0447\u0435\u0439&lt;\/value&gt; \t\tpublic List&lt;SingleMatch&gt; ListMatches \t\t{ \t\t\tget; \t\t\tset; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ Initializes a new instance of the &lt;see cref=&quot;barca_matches_to_the_calendar.Matches&quot;\/&gt; class. \t\t\/\/\/ &lt;\/summary&gt; \t\tpublic Matches() \t\t{ \t\t\tListMatches = new List&lt;SingleMatch&gt;(); \t\t\tNameFC = null; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ Initializes a new instance of the &lt;see cref=&quot;barca_matches_to_the_calendar.Matches&quot;\/&gt; class. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;param name=&quot;nameFC&quot;&gt;\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0424\u041a.&lt;\/param&gt; \t\tpublic Matches(string nameFC) \t\t{ \t\t\tListMatches = new List&lt;SingleMatch&gt;(); \t\t\tNameFC = nameFC; \t\t}  \t\t\/\/\/ &lt;summary&gt; \t\t\/\/\/ \u0412\u043e\u0437\u0440\u0430\u0449\u0430\u0435\u0442 a &lt;see cref=&quot;System.String&quot;\/&gt;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \t\t\/\/\/ \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c  &lt;see cref=&quot;barca_matches_to_the_calendar.Matches&quot;\/&gt;. \t\t\/\/\/ &lt;\/summary&gt; \t\t\/\/\/ &lt;returns&gt; \t\t\/\/\/ \u0412\u043e\u0437\u0440\u0430\u0449\u0430\u0435\u0442 a &lt;see cref=&quot;System.String&quot;\/&gt;, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u043c \t\t\/\/\/ \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c  &lt;see cref=&quot;barca_matches_to_the_calendar.Matches&quot;\/&gt;. \t\t\/\/\/ &lt;\/returns&gt; \t\tpublic override string ToString() \t\t{ \t\t\treturn string.Format(&quot;\u041c\u0430\u0442\u0447\u0438 \u0424\u041a  \\&quot;{0}\\&quot;, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e {1}&quot;, NameFC, ListMatches); \t\t} \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0443 \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 <b>Program.cs<\/b>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u043f\u0430\u0440\u0441\u0438\u043c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432\u0441\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0451\u043c \u0432\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>AppleScript<\/b>.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Program.cs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">using System; using HtmlAgilityPack; using System.Collections.Generic; using System.Linq;  namespace barca_matches_to_the_calendar { \tclass MainClass \t{ \t\tpublic static void Main(string[] args) \t\t{ \t\t\t\/\/ \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. \t\t\tstring WebAddress = @&quot;http:\/\/www.sports.ru\/barcelona\/calendar\/&quot;;  \t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043a\u0437\u0435\u043c\u043b\u044f\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u0432\u0435\u0431-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \t\t\tHtmlWeb WebGet = new HtmlWeb(); \t\t\t\/\/ \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c html-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \t\t\tHtmlDocument htmlDoc = WebGet.Load(WebAddress);  \t\t\t\/\/ \u0421\u044e\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043c\u0430\u0442\u0447\u0438 \t\t\tMatches MatchesFC = new Matches();  \t\t\t\/\/ \u041f\u0430\u0440\u0441\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0443\u0431\u0430 (\u0443\u0434\u0430\u043b\u044f\u044f \u0441\u0438\u043c\u0432\u043e\u043b \u0432\u043e\u0437\u0440\u0430\u0442\u0430 \u043a\u0430\u0440\u0435\u0442\u043a\u0438) \t\t\tMatchesFC.NameFC = htmlDoc.DocumentNode. \t\t\t\tSelectSingleNode(&quot;.\/\/*[@class='titleh2']&quot;). \t\t\t\tFirstChild.InnerText.Replace(&quot;\\r\\n&quot;, &quot;&quot;); \t\t\t \t\t\t \t\t\t\/\/ \u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u044d\u0442\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u0434\u0430\u0442\u0430\u043c\u0438 \u043c\u0430\u0442\u0447\u0435\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e XPath-\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \t\t\tHtmlNode Table = htmlDoc.DocumentNode.SelectSingleNode(&quot;.\/\/*[@class='stat-table']\/tbody&quot;); \t\t\t\/\/ \u0418\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b-\u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u0442\u0435\u0433\u043e\u043c &quot;tr&quot;. \t\t\tIEnumerable&lt;HtmlNode&gt; rows = Table.Descendants().Where(x =&gt; x.Name == &quot;tr&quot;);  \t\t\tforeach (var row in rows) \t\t\t{ \t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0438\u0437 \u044f\u0447\u0435\u0435\u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \t\t\t\tHtmlNodeCollection cells = row.ChildNodes; \t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 SingleMatch, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043b\u0438\u0441\u0442. \t\t\t\tSingleMatch match = new SingleMatch();  \t\t\t\t\/\/ \u041f\u0430\u0440\u0441\u0438\u043c \u0434\u0430\u0442\u0443, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u0438\u043c\u0432\u043e\u043b \u0447\u0435\u0440\u0442\u043e\u0447\u043a\u0438 &quot;|&quot;, \t\t\t\t\/\/ \u0438\u043d\u0430\u0447\u0435 \u043d\u0430\u0448 \u043c\u0435\u0442\u043e\u0434 TryParse \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \t\t\t\tDateTime time; \t\t\t\tDateTime.TryParse(cells[1].InnerText.Replace(&quot;|&quot;, &quot; &quot;), out time); \t\t\t\tmatch.StartTime = time;  \t\t\t\t\/\/ \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c, \u0437\u043d\u0430\u044f \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u0438\u043d\u0434\u0435\u043a\u0441. \t\t\t\tmatch.Tournament = cells[3].InnerText; \t\t\t\t\/\/ \u0412 \u044f\u0447\u0435\u0439\u043a\u0435 &quot;\u0421\u043e\u043f\u0435\u0440\u043d\u0438\u043a&quot; \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b \u043d\u0435\u0440\u0430\u0437\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u0430 (&quot;&nbsp&quot;) \t\t\t\tmatch.Rival = cells[5].InnerText.Replace(&quot;&nbsp;&quot;, &quot;&quot;); \t\t\t\tmatch.Place = cells[6].InnerText;  \t\t\t\t\/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0439 \u043c\u0430\u0442\u0447 \u0432 \u043b\u0438\u0441\u0442 \u043c\u0430\u0442\u0447\u0435\u0439. \t\t\t\tMatchesFC.ListMatches.Add(match); \t\t\t}  \t\t\t\/\/ \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \t\t\tforeach (SingleMatch match in MatchesFC) \t\t\t{ \t\t\t\t\/\/ \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u043b\u044f \u0430\u0434\u0440\u0435\u0441\u0430 \u0444\u0430\u0439\u043b\u0430 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043c\u0430\u0442\u0447\u0438 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \t\t\t\t\/\/ (\u0441\u0447\u0438\u0442\u0430\u044f \u043e\u0442 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430) \t\t\t\tstring path = @&quot;matches.txt&quot;;  \t\t\t\t\/\/ \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u043c\u0430\u0442\u0447\u0438 \t\t\t\tusing (StreamWriter file = new StreamWriter(path, true)) \t\t\t\t{ \t\t\t\t\tfile.WriteLine(match); \t\t\t\t} \t\t\t}  \t\t\tConsole.WriteLine(&quot;\u0412\u0441\u0435 \u043c\u0430\u0442\u0447\u0438 \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0444\u0430\u0439\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e!&quot;); \t\t} \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041e\u043a\u0435\u0439, \u0441\u0430\u0439\u0442 \u0437\u0430\u043f\u0430\u0440\u0441\u0438\u043b\u0438, \u0432\u0441\u0435 \u043c\u0430\u0442\u0447\u0438 \u043b\u0435\u0436\u0430\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0432 \u0443\u0434\u043e\u0431\u043d\u043e-\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a <b>AppleScript<\/b>.<\/p>\n<p>  (\u0413\u0434\u0435-\u0442\u043e \u0437\u0434\u0435\u0441\u044c \u044f \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0430 \u043d\u0435\u0442 \u043b\u0438 \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0438\u043b\u0438 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438 \u0434\u043b\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0432\u0441\u0435\u0433\u043e \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044f. \u0421\u043a\u0430\u0447\u0430\u043b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d, \u0438 \u043d\u0430\u0448\u0435\u043b \u0442\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u043c\u0430\u0442\u0447\u0435, \u043d\u043e \u043d\u0435 \u043e \u0432\u0441\u0435\u0445 \u0441\u0440\u0430\u0437\u0443. \u0414\u0430 \u0438 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0431\u044b \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0438\u043c\u043f\u043e\u0440\u0442 \u0432\u0441\u0435\u0433\u043e \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044f \u0438\u0433\u0440 \u0441\u0440\u0430\u0437\u0443, \u0432\u0440\u044f\u0434 \u043b\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f, \u0432\u0435\u0434\u044c \u044d\u0442\u043e \u043d\u0435 <i>\u043f\u0443\u0442\u044c \u0414\u0436\u0435\u0434\u0430\u044f!<\/i>).<\/p>\n<h2>\u041d\u043e\u0432\u043e\u0435 \u2014 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u0430\u0431\u044b\u0442\u043e\u0435 \u0441\u0442\u0430\u0440\u043e\u0435<\/h2>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Finder \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b, \u043f\u0430\u0440\u0441\u0438\u043c \u0435\u0433\u043e \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u044f.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0427\u0442\u043e \u0438\u0437 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0448\u043b\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"actionscript\">tell application &quot;Finder&quot; \t--\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u043a\u043d\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u043d\u0430\u0448 \u0444\u0430\u0439\u043b \u0438 \u0440\u0430\u0437\u043e\u0431\u044c\u0451\u043c \u0435\u0433\u043e \u043f\u043e \u043f\u0430\u0440\u0430\u0433\u0440\u0430\u0444\u0430\u043c (\u0442.\u0435. \u043f\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438) \tset Matches to paragraphs of (read (choose file with prompt &quot;\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043b, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043c\u0430\u0442\u0447\u0435\u0439&quot;)) \trepeat with Match in Matches \t\tif length of Match is greater than 0 then \t\t\t--\u041f\u0430\u0440\u0441\u0438\u043c \u0442\u0435\u043a\u0441\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u0439 '=', ',' \u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 '\\n' \t\t\tset AppleScript's text item delimiters to {&quot;=&quot;, &quot;,&quot;, ASCII character 13} \t\t\t--\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u043c \u0442\u0443\u0434\u0430 \u0434\u0430\u043d\u043d\u044b\u0435 \t\t\tmy CreateEvent(text item 2 of Match, text item 4 of Match, text item 6 of Match, text item 8 of Match, text item 10 of Match) \t\tend if \tend repeat end tell  on CreateEvent(textDate, tournament, fc, rival, place) \t--\u0417\u0434\u0435\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0438\u0432\u043e\u0439 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u0442\u044b \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \tset startDate to the current date \t \tset the day of startDate to (text 1 thru 2 of textDate) \tset the month of startDate to (text 4 thru 5 of textDate) \tset the year of startDate to (text 7 thru 10 of textDate) \t \tset the hours of startDate to (text 12 thru 13 of textDate) \tset the minutes of startDate to (text 15 thru 16 of textDate) \tset the seconds of startDate to (text 18 thru 19 of textDate) \t-- \u041a\u043e\u043d\u0435\u0446 \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0438\u0432\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 \u0434\u0430\u0442\u044b \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \tset endDate to (startDate + 2 * hours) \ttell application &quot;Calendar&quot; \t\tcreate calendar with name &quot;\u0424\u0443\u0442\u0431\u043e\u043b&quot; \t\ttell calendar &quot;\u0424\u0443\u0442\u0431\u043e\u043b&quot; \t\t\t--\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u0435 \u0441 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \t\t\tmake new event with properties {description:&quot;\u041c\u0430\u0442\u0447&quot; & fc & &quot; : &quot; & rival & &quot;. &quot; & place, summary:&quot;\u041c\u0430\u0442\u0447&quot;, start date:startDate, end date:endDate} \t\tend tell \tend tell end CreateEvent <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u043e \u0433\u0434\u0435-\u0442\u043e \u043f\u043e\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 <s>\u044d\u0442\u043e\u0433\u043e \u0431\u044b\u0434\u043b\u043e\u043a\u043e\u0434\u0438\u043d\u0433\u0430<\/s> \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u044f <i>\u0432\u0434\u0440\u0443\u0433<\/i> \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b (\u043d\u0430 \u044d\u0442\u043e\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u0435 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043d\u0430 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441 \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c \u00ab\u0417\u0430\u0447\u0435\u043c \u0442\u0430\u043a \u0441\u043b\u043e\u0436\u043d\u043e?\u00bb \u0432\u0437\u0434\u043e\u0445\u043d\u0443\u043b\u0438 \u0441 \u043e\u0431\u043b\u0435\u0433\u0447\u0435\u043d\u0438\u0435\u043c), \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u0435\u0439 \u2014 &quot;<i>.ics&quot;<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0433\u043b\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0438 <b>Mac Calendar<\/b>, \u0438 <b>Google Calendar<\/b>, \u0438 \u0434\u0430\u0436\u0435 <b>Outlook<\/b>, \u0438, \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u0435\u0441\u0442\u044c \u043a\u0430\u043a\u0430\u044f-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043d\u0430 <b>C#,<\/b> \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 <i>&quot;.ics&quot;<\/i>.<\/p>\n<h2>\u0415\u0449\u0435 \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c \u0438 \u043d\u0430\u0448 \u043a\u043e\u0441\u0442\u044b\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u0433\u043e\u0442\u043e\u0432<\/h2>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0432 \u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <b>DDay.iCal<\/b>, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430\u0448 \u043a\u043b\u0430\u0441\u0441 <b>Program.cs<\/b>:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">Program.cs<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cs\">using System; using HtmlAgilityPack; using System.Collections.Generic; using System.Linq; using DDay.iCal; using DDay.iCal.Serialization.iCalendar; using System.Security.Cryptography;  namespace barca_matches_to_the_calendar { \tclass MainClass \t{ \t\tpublic static void Main(string[] args) \t\t{ \t\t\t\/\/ \u0410\u0434\u0440\u0435\u0441 \u0441\u0430\u0439\u0442\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. \t\t\tstring WebAddress = @&quot;http:\/\/www.sports.ru\/barcelona\/calendar\/&quot;;  \t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043a\u0437\u0435\u043c\u043b\u044f\u0440\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0438 \u0432\u0435\u0431-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \t\t\tHtmlWeb WebGet = new HtmlWeb(); \t\t\t\/\/ \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c html-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \t\t\tHtmlDocument htmlDoc = WebGet.Load(WebAddress);  \t\t\t\/\/ \u0421\u044e\u0434\u0430 \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043c\u0430\u0442\u0447\u0438 \t\t\tMatches MatchesFC = new Matches();  \t\t\t\/\/ \u041f\u0430\u0440\u0441\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0443\u0431\u0430 (\u0443\u0434\u0430\u043b\u044f\u044f \u0441\u0438\u043c\u0432\u043e\u043b \u0432\u043e\u0437\u0440\u0430\u0442\u0430 \u043a\u0430\u0440\u0435\u0442\u043a\u0438) \t\t\tMatchesFC.NameFC = htmlDoc.DocumentNode. \t\t\t\tSelectSingleNode(&quot;.\/\/*[@class='titleH1']&quot;). \t\t\t\tFirstChild.InnerText.Replace(&quot;\\r\\n&quot;, &quot;&quot;); \t\t\t \t\t\t \t\t\t\/\/ \u041d\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u044d\u0442\u043e\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441 \u0434\u0430\u0442\u0430\u043c\u0438 \u043c\u0430\u0442\u0447\u0435\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e XPath-\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439. \t\t\tHtmlNode Table = htmlDoc.DocumentNode.SelectSingleNode(&quot;.\/\/*[@class='stat-table']\/tbody&quot;); \t\t\t\/\/ \u0418\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b-\u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u0442\u0435\u0433\u043e\u043c &quot;tr&quot;. \t\t\tIEnumerable&lt;HtmlNode&gt; rows = Table.Descendants().Where(x =&gt; x.Name == &quot;tr&quot;);  \t\t\tforeach (var row in rows) \t\t\t{ \t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0438\u0437 \u044f\u0447\u0435\u0435\u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \t\t\t\tHtmlNodeCollection cells = row.ChildNodes; \t\t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 SingleMatch, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043b\u0438\u0441\u0442. \t\t\t\tSingleMatch match = new SingleMatch();  \t\t\t\t\/\/ \u041f\u0430\u0440\u0441\u0438\u043c \u0434\u0430\u0442\u0443, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441\u0438\u043c\u0432\u043e\u043b \u0447\u0435\u0440\u0442\u043e\u0447\u043a\u0438 &quot;|&quot;, \t\t\t\t\/\/ \u0438\u043d\u0430\u0447\u0435 \u043d\u0430\u0448 \u043c\u0435\u0442\u043e\u0434 TryParse \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \t\t\t\tDateTime time; \t\t\t\tDateTime.TryParse(cells[1].InnerText.Replace(&quot;|&quot;, &quot; &quot;), out time); \t\t\t\tmatch.StartTime = time;  \t\t\t\t\/\/ \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c, \u0437\u043d\u0430\u044f \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u0438\u043d\u0434\u0435\u043a\u0441. \t\t\t\tmatch.Tournament = cells[3].InnerText; \t\t\t\t\/\/ \u0412 \u044f\u0447\u0435\u0439\u043a\u0435 &quot;\u0421\u043e\u043f\u0435\u0440\u043d\u0438\u043a&quot; \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b \u043d\u0435\u0440\u0430\u0437\u0440\u044b\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0431\u0435\u043b\u0430 (&quot;&nbsp&quot;) \t\t\t\tmatch.Rival = cells[5].InnerText.Replace(&quot;&nbsp;&quot;, &quot;&quot;); \t\t\t\tmatch.Place = cells[6].InnerText;  \t\t\t\t\/\/ \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0439 \u043c\u0430\u0442\u0447 \u0432 \u043b\u0438\u0441\u0442 \u043c\u0430\u0442\u0447\u0435\u0439. \t\t\t\tMatchesFC.ListMatches.Add(match); \t\t\t}  \t\t\t\/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043c\u0430\u0442\u0447\u0438. \t\t\tiCalendar CalForMatches = new iCalendar \t\t\t{ \t\t\t\tMethod = &quot;PUBLISH&quot;, \t\t\t\tVersion = &quot;2.0&quot; \t\t\t}; \t\t\t\/\/ \u042d\u0442\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0443\u0436\u043d\u044b \u0434\u043b\u044f \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044f Mac, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u0431\u044b\u043b \u043d\u0435\u043e\u0442\u043b\u0438\u0447\u0438\u043c \u043e\u0442  \t\t\t\/\/ \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044f (\u0442.\u0435. \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0438 Mac Calendar) \t\t\tCalForMatches.AddProperty(&quot;CALSCALE&quot;, &quot;GREGORIAN&quot;); \t\t\tCalForMatches.AddProperty(&quot;X-WR-CALNAME&quot;, &quot;M\u0430\u0442\u0447\u0438 \u0424\u041a &quot; + MatchesFC.NameFC); \t\t\tCalForMatches.AddProperty(&quot;X-WR-TIMEZONE&quot;, &quot;Europe\/Moscow&quot;); \t\t\tCalForMatches.AddLocalTimeZone();  \t\t\t\/\/ \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. \t\t\tforeach (SingleMatch match in MatchesFC.ListMatches) \t\t\t{ \t\t\t\tEvent newMatch = CalForMatches.Create&lt;Event&gt;();  \t\t\t\tnewMatch.DTStart = new iCalDateTime(match.StartTime); \t\t\t\tnewMatch.Duration = new TimeSpan(2, 30, 0); \t\t\t\tnewMatch.Summary = string.Format(&quot;{0} : {1}&quot;, MatchesFC.NameFC, match.Rival); \t\t\t\tnewMatch.Description = string.Format(&quot;{0}. {1} : {2}, {3}&quot;, \t\t\t\t\tmatch.Tournament, MatchesFC.NameFC, match.Rival, match.Place); \t\t\t\t \t\t\t\t\/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435 \u043a \u043c\u0430\u0442\u0447\u0430\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u043e \u043d\u0438\u0445 \t\t\t\tAlarm alarm = new Alarm(); \t\t\t\talarm.Trigger = new Trigger(TimeSpan.FromMinutes(-10)); \t\t\t\talarm.Description = &quot;\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435 \u043e \u0441\u043e\u0431\u044b\u0442\u0438\u0438&quot;; \t\t\t\talarm.AddProperty(&quot;ACTION&quot;, &quot;DISPLAY&quot;); \t\t\t\tnewMatch.Alarms.Add(alarm); \t\t\t}  \t\t\t\/\/ \u0421\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043d\u0430\u0448 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c. \t\t\tiCalendarSerializer serializer = new iCalendarSerializer(); \t\t\tserializer.Serialize(CalForMatches, MatchesFC.NameFC + &quot;.ics&quot;); \t\t\tConsole.WriteLine(&quot;\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043c\u0430\u0442\u0447\u0435\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u0443\u0441\u043f\u0435\u0448\u043d\u043e&quot; + Environment.NewLine);  \t\t\treturn; \t\t} \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0437\u0430\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0430 <\/p>\n<pre><code class=\"cs\">alarm.AddProperty(&quot;ACTION&quot;, &quot;DISPLAY&quot;);<\/code><\/pre>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0437\u0434\u0435\u0441\u044c \u0431\u044b\u043b\u043e <\/p>\n<pre><code class=\"cs\">alarm.Action = AlarmAction.Display;<\/code><\/pre>\n<p> \u0438\u0437-\u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u0441\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043b\u0438\u0448\u044c \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441\u043b\u043e\u0432\u043e <i>\u00abDisplay\u00bb<\/i> \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u043c\u0438 \u0431\u0443\u043a\u0432\u0430\u043c\u0438, \u0430 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0438 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043c\u0430\u043a\u0430 \u043d\u0435 \u0441\u043c\u043e\u0433 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0442\u044c <i>\u044d\u0442\u043e\u0442 \u0447\u0443\u0434\u043e\u0432\u0438\u0449\u043d\u044b\u0439 \u043a\u0440\u0438\u043f\u0442\u043e\u043a\u043e\u0434<\/i>.<\/p>\n<h2>\u041d\u043e\u0433\u0438 <s>\u043d\u0430 \u043f\u0435\u0434\u0430\u043b\u0438<\/s> \u043d\u0430 \u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u0438 \u043f\u043e\u0435\u0445\u0430\u043b\u0438!<\/h2>\n<p>  \u0418\u0442\u0430\u043a, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u0438\u0433\u0440 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c <b>iCloud<\/b> (\u0447\u0442\u043e\u0431\u044b \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u0438 \u043d\u0430 \u0432\u0441\u0435 <i>i\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430<\/i>), \u0441\u043a\u0440\u0435\u0449\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043b\u044c\u0446\u044b \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044f \u0432 \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c <b>iCloud<\/b>:<\/p>\n<p>  <a href=\"https:\/\/habrastorage.org\/files\/65c\/8ff\/861\/65c8ff86115941e6850d71a308d58e5f.png\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/65c\/8ff\/861\/65c8ff86115941e6850d71a308d58e5f.png\"\/><br \/>  <\/a><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9ad\/8a6\/ba9\/9ad8a6ba90554885913175a4193e3a98.png\"\/><br \/>  <a href=\"https:\/\/habrastorage.org\/files\/dcb\/ac1\/874\/dcbac1874a444641ade01b37cb687758.png\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/dcb\/ac1\/874\/dcbac1874a444641ade01b37cb687758.png\"\/><br \/>  <\/a><br \/>  \u0413\u0438\u043f-\u0433\u0438\u043f-\u0443\u0440\u0430, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u0446\u0432\u0435\u0442 (\u0437\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e), \u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0433\u0440\u0430\u0444\u0438\u043a \u0438\u0433\u0440 \u0441 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f\u043c\u0438. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0442\u0435\u043f\u0435\u0440\u044c \u044f \u0431\u0443\u0434\u0443 \u0440\u0435\u0436\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438\u0433\u0440\u044b.<\/p>\n<p>  <b>P.S.<\/b> \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u0437 \u0412\u0430\u0441 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u0434\u0430\u0442\u044c\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c:<i>\u00ab\u0421\u043c\u044b\u0441\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0435, \u0435\u0441\u043b\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u043e\u0435?\u00bb<\/i><br \/>  \u041e\u0442\u0432\u0435\u0442: \u041c\u043d\u0435 \u0435\u0449\u0435 \u043d\u0438 \u0440\u0430\u0437\u0443 \u043d\u0435 \u0434\u043e\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u043f\u0430\u0440\u0441\u0438\u0442\u044c, \u0430 \u0442\u0443\u0442 \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0435.             <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/265393\/\"> http:\/\/habrahabr.ru\/post\/265393\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u0412 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0440\u0430\u0437 \u043f\u0435\u0440\u0435\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044f \u00ab\u0416\u0435\u043b\u0435\u0437\u043d\u043e\u0433\u043e \u0427\u0435\u043b\u043e\u0432\u0435\u043a\u0430\u00bb \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c, \u043c\u0435\u043d\u044f \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u043e\u043f\u0438\u0442\u044b\u0432\u0430\u043b\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u0435 <s>\u0441\u0442\u0430\u0442\u044c \u0441\u0443\u043f\u0435\u0440\u0433\u0435\u0440\u043e\u0435\u043c<\/s> \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u0439 \u043a\u043e\u0441\u0442\u044e\u043c, \u043d\u0443 \u0438\u043b\u0438 <i>\u0445\u043e\u0442\u044f \u0431\u044b<\/i> \u0414\u0436\u0430\u0440\u0432\u0438\u0441\u0430. \u0418 \u0432\u0434\u0440\u0443\u0433 \u043c\u0435\u043d\u044f \u043f\u043e\u0441\u0435\u0442\u0438\u043b\u0430 \u0433\u0435\u043d\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u0434\u0435\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u0438\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u0430\u0440\u0443 \u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434 \u0431\u044b\u043b \u043c\u0430\u0442\u0447 \u0421\u0443\u043f\u0435\u0440\u041a\u0443\u0431\u043a\u0430 \u0415\u0432\u0440\u043e\u043f\u044b 2015 \u043f\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u043b\u0438\u0448\u044c \u043d\u0430 70 \u043c\u0438\u043d\u0443\u0442\u0435. \u0414\u0430, \u044f \u0434\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043e\u0441\u0442\u0430\u0432\u0448\u0443\u044e\u0441\u044f \u0447\u0430\u0441\u0442\u044c \u0438\u0433\u0440\u044b, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u043e\u0441\u0430\u0434\u043e\u043a \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e 70 \u043c\u0438\u043d\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0444\u0443\u0442\u0431\u043e\u043b\u0430 \u044f \u0441\u043c\u043e\u0433\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043b\u0438\u0448\u044c \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 (\u0447\u0442\u043e, \u043a\u0430\u043a \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442\u0435, \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0442\u043e), \u0432\u0435\u0434\u044c \u044f \u043a\u0430\u043a-\u0442\u043e \u043d\u0430\u043f\u0440\u043e\u0447\u044c \u0437\u0430\u0431\u044b\u043b \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u043b\u0435\u0442\u043e\u043c \u0442\u043e\u0436\u0435 \u0438\u0434\u0443\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0442\u0447\u0438. \u041f\u043e\u043f\u043b\u0430\u043a\u0430\u043b\u0438 \u0438 \u0445\u0432\u0430\u0442\u0438\u0442.  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u0441 \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u044f \u043d\u0430\u0447\u0430\u043b \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u0451\u043c \u043d\u0430 Mac, \u0438 \u043f\u043e\u0434\u0443\u043c\u0430\u043b, \u0430 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u0438\u0433\u0440\u044b \u0411\u0430\u0440\u0441\u044b \u0432 \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c?<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/73a\/b0b\/f4c\/73ab0bf4cd394168813bc95ef9793cd3.jpg\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-264231","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/264231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=264231"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/264231\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=264231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=264231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=264231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}