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
/** | |
осуществляет выгрузку объeктов в XML в соответствии с настройкой профиля. поля выгружает в атрибуты (вместо элементов). | |
**/ | |
import groovy.xml.MarkupBuilder; | |
// настройки выгрузки | |
def settings = system.getSettings() | |
// кодировка в соответствии с настройкой | |
String enc = settings.getEncoding() | |
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
Теория: | |
Изучит понятия MVC, OOP, REST. | |
Изучить как работать с git(можно пройти https://www.codeschool.com/courses/try-git). | |
Прочитать про основы html, javascript, ruby. | |
Практика по Javascript: | |
http://www.codecademy.com/ru - Прохождение динамических заданий по javascript, jQuery, html | |
http://javascript.ru/ - основы js | |
Изучение основы работы с History API и Local Storage, а так же drag&drop на основе jQuery UI. | |
Плюсом будет изучение написания плагинов для jQuery. |
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
puts response | |
--> <html><head><style>p{margin-top:0pt;margin-bottom:1pt;}p.a{margin-bottom:0.0pt;}span.a{font-family:'Calibri';}p.X1{margin-top:24.0pt;}span.X1{font-family:'Cambria';font-size:18.0pt;}p.X2{margin-top:10.0pt;}span.X2{font-family:'Cambria';font-size:14.0pt;}p.X3{margin-top:10.0pt;}span.X3{font-family:'Cambria';font-size:13.0pt;font-style:italic;}span.X4{font-family:'Cambria';font-size:12.0pt;font-weight:bold;}span.X5{font-family:'Cambria';font-size:12.0pt;font-style:italic;}p.X6{background-color:#ffffff;}span.X6{font-family:'Cambria';font-weight:bold;color:#595959;}span.X7{font-family:'Cambria';font-size:10.0pt;font-weight:bold;font-style:italic;color:#5a5a5a;}span.X8{font-family:'Cambria';font-size:10.0pt;font-weight:bold;color:#7f7f7f;}span.X9{font-family:'Cambria';font-size:9.0pt;font-weight:bold;font-style:italic;color:#7f7f7f;}span.X10{font-size:18.0pt;}span.X20{font-size:14.0pt;}span.X30{font-size:13.0pt;font-style:italic;}span.X40{font-size:12.0pt;font-weight:bold;}span.X50{font-size:12.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
Теория: | |
Изучит понятия MVC, OOP, REST. | |
Изучить как работать с git(можно пройти https://www.codeschool.com/courses/try-git). | |
Прочитать про основы html, javascript, ruby. | |
Практика по Javascript: | |
http://www.codecademy.com/ru - Прохождение динамических заданий по javascript, jQuery, html | |
http://javascript.ru/ - основы js | |
Изучение основы работы с History API и Local Storage, а так же drag&drop на основе jQuery UI. | |
Плюсом будет изучение написания плагинов для jQuery. |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soap:Header> | |
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">e63f5793-85c1-4bf9-8037-cbce34bbead8</wsa:MessageID> | |
<rgu:prepareDate xmlns:rgu="http://spgu.lanit.ru/rgu/v2.5">2015-06-04T11:02:18.137+03:00</rgu:prepareDate> | |
</soap:Header> | |
<soap:Body> | |
<rgu:getPsPassportResponse xmlns:rgu="http://spgu.lanit.ru/rgu/v2.5"> | |
<rgu:PsPassport rgu:id="PsPassport_1100000010000002630">
 | |
<rgu:shortTitle>Лицензирование фармацевтической деятельности (за исключением деятельности, осуществляемой организациями оптовой торговли лекарственными средствами и аптечными организациями, подведомственными федеральным органам исполнительной власти, государственным академиям наук)</rgu:shortTitle>
 |
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
<?php | |
if($_SERVER["REQUEST_METHOD"]=="POST") { | |
function send_mail($to,$subject,$message,$headers) { | |
$email=$_POST["email"]; //email с формы | |
$phone=$_POST["phone"]; //телефон с формы | |
$name=$_POST["name"]; | |
$to="1unitedcrew@gmail.com"; | |
$subject="Заявка"; | |
$message="Имя: $name<br>Телефон: $phone<br>Email: $email"; //сообщение | |
$headers="Content-type: text/html; charset=utf-8 \r\n"; |
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
(area[name="городской округ Сыктывкар"];area[name="Выльгорт"]["addr:district"="Сыктывдинский район"];); | |
node[shop](area)->.a; | |
way[shop](area)->.aa; | |
node[amenity][amenity!~"clock|waste_disposal|toilets|vending_machine|atm|parking"](area)->.b; | |
way[amenity][amenity!~"clock|waste_disposal|toilets|vending_machine|atm|parking"](area)->.bb; | |
node[emergency="lifeguard_base"](area)->.c; | |
way[emergency="lifeguard_base"](area)->.cc; | |
node[office](area)->.d; | |
way[office](area)->.dd; | |
node[craft](area)->.e; |
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
[timeout:900][bbox:{{bbox}}]; | |
( | |
way[highway][name]; | |
)->.n1; | |
foreach.n1( | |
.n1;out; | |
(.n1; - ._;)->.n2; | |
node(w._)->.n3; | |
node(w.n2)->.n4; | |
node.n3.n4;out; |
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
objects.each do |object| | |
can :manage, ChildObject, { :user_id => user.id, :object_id => object.id } | |
end |
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
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails', '5.1.0' # use correct rails version |
OlderNewer