- При регистрации не должны быть все поля обязательными. А если мне нечего сказать о себе? Просто обязательные должны быть помечены (обычно помечают звездочкой рядом с названием поля). В нашей форме регистрации сейчас обязательными являются Имя, Фамилия и пароль. Когда пароля не будет, то обязательным будет только Имя, Фамилия и логин. То есть обязателен только ключ. Все остальное – по желанию.
- На экране с модулями – кнопка Exit выбивается из общего layout’a. Кстати, почему на ней надпись по-английски, когда все остальное на русском?
- Нажимаю «напишите нам». Выскакивает окошко с названием окна «MailSender». Все названия окон должны быть на русском.
- Ничего не пишу в окне «MailSender» просто закрываю его (нажимаю в нем на «крестик»). Закрывается все приложение. Неожиданно.
- В окне «MailSender» ввела текст сообщения и нажала кнопку отправить. Выдало ошибку «Введи Ваш контактный e-mail и сообщение».
- Нужно «Введите», а не «Введи»
- Я уже ввела сообщение. Значит, в ошибке должно
This file contains hidden or 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
| Подробная информация об использовании оперативной | |
| (JIT) отладки вместо данного диалогового | |
| окна содержится в конце этого сообщения. | |
| ************** Текст исключения ************** | |
| System.ArgumentException: Путь содержит недопустимые знаки. | |
| в System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str) | |
| в System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) | |
| в System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) | |
| в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) |
This file contains hidden or 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
| // кликабельному элементу ставится класс 'clickable' | |
| // и класс, описывающий действие 'btn-open-popup-form' или 'btn-submit' | |
| $(document).ready(function() { | |
| $(".clickable").on("click", function() { | |
| if ( $(this).hasClass("btn-open-popup-form") ) | |
| $("#popup-form").show(); | |
| if ( $(this).hasClass("btn-popup-submit") ) | |
| $("#form").submit(); |
This file contains hidden or 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
| // to be executed in dev console with opened dialog on vk.com/im | |
| var m = document.getElementsByClassName("im_msg_text"); | |
| for (var i = 0; i < m.length; i++) { | |
| m[i].innerHTML = decodeURI("%D0%AD%D1%82%D0%BE%20%D0%BA%D0%BE%D0%BD%D0%B5%D1%87%D0%BD%D0%BE%20%D0%BF%D0%B8%D0%B7%D0%B4%D0%B5%D1%86,%20%D0%B8%20%D0%B2%D1%8B%20%D0%BC%D0%B5%D0%BD%D1%8F%20%D0%BF%D0%BE%D1%80%D1%8F%D0%B4%D0%BA%D0%BE%D0%BC%20%D0%B7%D0%B0%D0%B5%D0%B1%D0%B0%D0%BB%D0%B8,%20%D0%BD%D0%BE%20") + m[i].innerHTML | |
| }; |
This file contains hidden or 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
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.1.min.js"><\/script>')</script> |
This file contains hidden or 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
| for (var i=1; i<=100; i++) { | |
| if ( (i%3==0) && (i%5==0) ) console.log("fizzbuzz"); | |
| else if (i%3==0) console.log("fizz"); | |
| else if (i%5==0) console.log("buzz"); | |
| else console.log(i); | |
| } |
This file contains hidden or 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
| # first make sure there are no CAPSED extensions | |
| a=1 | |
| for i in *.JPG; do | |
| new=$(printf "%02d.jpg" ${a}) | |
| mv ${i} ${new} | |
| let a=a+1 | |
| done | |
| # now let computer do all the stupid work |
OlderNewer



