@WebProgrammingRu

Страница 370 из 556
Дмитрий Maestro
20.01.2017
10:04:56
KarmaBot
20.01.2017
10:04:56
Спасибо (+1) для @zavitaev принято! Текущая карма +1

Дмитрий Maestro
20.01.2017
10:06:41
надо и себе как то плюсиков нафармить)

KarmaBot
20.01.2017
10:10:13
? Топ пользователей: ------------ (+3) GriNAME [Gregory Bass] (+3) nutcase [Igor N] (+2) optimistex [Константин Полынцов] (+2) gambala [Vitaliy Emeliyantsev] (+2) Timz007 [Тимур Tu] ------------ ? Посмотреть весь список

Google
annode_newsbot
20.01.2017
10:17:55
#верстка https://habrahabr.ru/post/154319/

Пётр
20.01.2017
11:38:22
Даже карму почистил ( злой ты человек (

/karma@karma_chat_bot

KarmaBot
20.01.2017
11:38:27
@dvector, твоя текущая карма +0 Ты поблагодарил(а) 3 раза

Илья
20.01.2017
11:40:46
Даже карму почистил ( злой ты человек (
не, я ничего не чистил. я просто вывалил у кого сколько

/karma@karma_chat_bot

KarmaBot
20.01.2017
11:41:07
@ilyadzenski, твоя текущая карма +1 Ты поблагодарил(а) 8 раз

Welcome Bot
20.01.2017
11:53:22
Привет Yurijj, добро пожаловать в группу. В нашем чате принято рассказывать о себе. Чем вы занимаетесь? Чего вы ожидаете от этой группы?

Yurijj
20.01.2017
11:55:08
не очень моложой, начинающий

приветствует всех!

Илья
20.01.2017
11:56:13
Yurijj
20.01.2017
11:58:29
пытаюсь сейчас разобраться c linux tg-cli - всепишет что в телеграме происходит , но как постить непоятно ? так что это сообщение из web'a пишу

Google
Igor
20.01.2017
12:08:38
Телеграм в командной строке. Видимо, режим ридонли ?

Yurijj
20.01.2017
12:22:39
как писать сообщения непонятно :)

John
20.01.2017
12:23:20
а man есть?

Supported commands Messaging msg <peer> Text - sends message to this peer fwd <user> <msg-seqno> - forward message to user. You can see message numbers starting client with -N chat_with_peer <peer> starts one on one chat session with this peer. /exit or /quit to end this mode. add_contact <phone-number> <first-name> <last-name> - tries to add contact to contact-list by phone rename_contact <user> <first-name> <last-name> - tries to rename contact. If you have another device it will be a fight mark_read <peer> - mark read all received messages with peer delete_msg <msg-seqno> - deletes message (not completly, though) restore_msg <msg-seqno> - restores delete message. Impossible for secret chats. Only possible short time (one hour, I think) after deletion Multimedia send_photo <peer> <photo-file-name> - sends photo to peer send_video <peer> <video-file-name> - sends video to peer send_text <peer> <text-file-name> - sends text file as plain messages load_photo/load_video/load_video_thumb/load_audio/load_document/load_document_thumb <msg-seqno> - loads photo/video/audio/document to download dir view_photo/view_video/view_video_thumb/view_audio/view_document/view_document_thumb <msg-seqno> - loads photo/video to download dir and starts system default viewer fwd_media <msg-seqno> send media in your message. Use this to prevent sharing info about author of media (though, it is possible to determine user_id from media itself, it is not possible get access_hash of this user) set_profile_photo <photo-file-name> - sets userpic. Photo should be square, or server will cut biggest central square part Group chat options chat_info <chat> - prints info about chat chat_add_user <chat> <user> - add user to chat chat_del_user <chat> <user> - remove user from chat rename_chat <chat> <new-name> create_group_chat <chat topic> <user1> <user2> <user3> ... - creates a groupchat with users, use chat_add_user to add more users chat_set_photo <chat> <photo-file-name> - sets group chat photo. Same limits as for profile photos. Search search <peer> pattern - searches pattern in messages with peer global_search pattern - searches pattern in all messages Secret chat create_secret_chat <user> - creates secret chat with this user visualize_key <secret_chat> - prints visualization of encryption key. You should compare it to your partner's one set_ttl <secret_chat> <ttl> - sets ttl to secret chat. Though client does ignore it, client on other end can make use of it accept_secret_chat <secret_chat> - manually accept secret chat (only useful when starting with -E key) Stats and various info user_info <user> - prints info about user history <peer> [limit] - prints history (and marks it as read). Default limit = 40 dialog_list - prints info about your dialogs contact_list - prints info about users in your contact list suggested_contacts - print info about contacts, you have max common friends stats - just for debugging show_license - prints contents of GPLv2 help - prints this help get_self - get our user info Card export_card - print your 'card' that anyone can later use to import your contact import_card <card> - gets user by card. You can write messages to him after that. Other quit - quit safe_quit - wait for all queries to end then quit

во)

Yurijj
20.01.2017
12:26:18
нет. есть только tg-cli github

John
20.01.2017
12:27:21
и что, все эти команды не работают?

Isaev
20.01.2017
12:33:29
Планирую постигнуть профессию веб прогаммиста и работать им соответственно. Как получить опыт что бы взяли на работу, да и вообще что бы стать тру :) и подойдет ли для этого фриланс?

Илья
20.01.2017
12:36:17
Supported commands Messaging msg <peer> Text - sends message to this peer fwd <user> <msg-seqno> - forward message to user. You can see message numbers starting client with -N chat_with_peer <peer> starts one on one chat session with this peer. /exit or /quit to end this mode. add_contact <phone-number> <first-name> <last-name> - tries to add contact to contact-list by phone rename_contact <user> <first-name> <last-name> - tries to rename contact. If you have another device it will be a fight mark_read <peer> - mark read all received messages with peer delete_msg <msg-seqno> - deletes message (not completly, though) restore_msg <msg-seqno> - restores delete message. Impossible for secret chats. Only possible short time (one hour, I think) after deletion Multimedia send_photo <peer> <photo-file-name> - sends photo to peer send_video <peer> <video-file-name> - sends video to peer send_text <peer> <text-file-name> - sends text file as plain messages load_photo/load_video/load_video_thumb/load_audio/load_document/load_document_thumb <msg-seqno> - loads photo/video/audio/document to download dir view_photo/view_video/view_video_thumb/view_audio/view_document/view_document_thumb <msg-seqno> - loads photo/video to download dir and starts system default viewer fwd_media <msg-seqno> send media in your message. Use this to prevent sharing info about author of media (though, it is possible to determine user_id from media itself, it is not possible get access_hash of this user) set_profile_photo <photo-file-name> - sets userpic. Photo should be square, or server will cut biggest central square part Group chat options chat_info <chat> - prints info about chat chat_add_user <chat> <user> - add user to chat chat_del_user <chat> <user> - remove user from chat rename_chat <chat> <new-name> create_group_chat <chat topic> <user1> <user2> <user3> ... - creates a groupchat with users, use chat_add_user to add more users chat_set_photo <chat> <photo-file-name> - sets group chat photo. Same limits as for profile photos. Search search <peer> pattern - searches pattern in messages with peer global_search pattern - searches pattern in all messages Secret chat create_secret_chat <user> - creates secret chat with this user visualize_key <secret_chat> - prints visualization of encryption key. You should compare it to your partner's one set_ttl <secret_chat> <ttl> - sets ttl to secret chat. Though client does ignore it, client on other end can make use of it accept_secret_chat <secret_chat> - manually accept secret chat (only useful when starting with -E key) Stats and various info user_info <user> - prints info about user history <peer> [limit] - prints history (and marks it as read). Default limit = 40 dialog_list - prints info about your dialogs contact_list - prints info about users in your contact list suggested_contacts - print info about contacts, you have max common friends stats - just for debugging show_license - prints contents of GPLv2 help - prints this help get_self - get our user info Card export_card - print your 'card' that anyone can later use to import your contact import_card <card> - gets user by card. You can write messages to him after that. Other quit - quit safe_quit - wait for all queries to end then quit
на будущее выноси эти гармошки в какой-нибудь отдельный ресурс

John
20.01.2017
12:36:45
ок

енот
20.01.2017
12:48:34
а никто не видел классы для работы с bluez - bluetooth через веб?

Hell
20.01.2017
12:53:52
доктор скажите, а это нормально, что на фирме программиста заставляют определять размер шрифта и его цвет по JPEG картинке (PSD нема) такое даже FineReader не умеет делать

енот
20.01.2017
12:54:22
нет

вали

Константин
20.01.2017
12:54:25
/karma@karma_chat_bot

KarmaBot
20.01.2017
12:54:26
@optimistex, твоя текущая карма +2 Ты поблагодарил(а) 0 раз

енот
20.01.2017
12:54:26
беги

Welcome Bot
20.01.2017
12:56:41
Привет Вадим, добро пожаловать в группу. В нашем чате принято рассказывать о себе. Чем вы занимаетесь? Чего вы ожидаете от этой группы?

Hell
20.01.2017
12:57:24
Google
Дмитрий Maestro
20.01.2017
13:32:34
по какой причине может не срабатывать required

&

?

Константин
20.01.2017
13:36:42
по какой причине может не срабатывать required
Если он уже был вызван ранее.

См. required vs include

Admin
ERROR: S client not available

Дмитрий Maestro
20.01.2017
13:37:55
разобрался

на онклик не срабатывает

онсабмит наддо юзать

Константин
20.01.2017
13:50:19
Хех. Так вопрос был про Js, а я ответил про PHP. Хорошо бы в вопросе уточнения давать.

Дмитрий Maestro
20.01.2017
13:50:43
прости не подумал

Дмитрий Maestro
20.01.2017
13:51:26
что то не вьеду написал аякс заппрос а форма перегружается все равно после отправки

Константин
20.01.2017
13:55:35
Аякс где запускается?

Надо в обработчике onFormSubmit() return false сделать

Дмитрий Maestro
20.01.2017
13:56:49
сделан рет фалсе

всмысле где заппускается ?

Константин
20.01.2017
13:57:13
$( "#target" ).submit(function( event ) { alert( "Handler for .submit() called." ); event.preventDefault(); });

Надо остановить проброс событий, что б форма не отправилась стандартным методом. См. пример выше

Пример отсюда: https://api.jquery.com/submit/

Google
Дмитрий Maestro
20.01.2017
13:58:28
та вроде все так

щас еще раз проверю

Константин
20.01.2017
13:58:56
Ищи ошибку или покажи код.

Дмитрий Maestro
20.01.2017
13:59:21
ща 100% невнимателен где то

ща проверю еесли не кину код

Константин
20.01.2017
13:59:31
))

Дмитрий Maestro
20.01.2017
14:03:12
ну блядь конечно

повесить онсабмит на кнопку

Страница 370 из 556