Skip to content

Instantly share code, notes, and snippets.

View beshkenadze's full-sized avatar

Aleksandr Beshkenadze beshkenadze

View GitHub Profile
19:57:21.035 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Switch_Plug' received command OFF
19:57:21.035 [DEBUG] [home.handler.XiaomiDeviceBaseHandler] - Device 158d000124511a on channel mihome:sensor_plug:158d000124511a:power received command OFF
19:57:21.036 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while calling handler: java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at org.eclipse.smarthome.core.common.SafeMethodCaller.executeDirectly(SafeMethodCaller.java:220)[98:org.eclipse.smarthome.core:0.9.0.b5]
at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:189)[98:org.eclipse.smarthome.core:0.9.0.b5]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:83)[98:org.eclipse.smarthome.core:0.9.0.b5]
at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:67)[98:org.eclipse.smarthome.core:0.9.0.b5]
at org.eclipse.smarthome.core
{
"errors: [
{
"error_code": "1001", // любой индитификатор ошибки, необходим для точного опознования ошибки
"error_description": "Поле bet может содержать только цифры" // общий текст ошибки для показа пользователю.
}
]
}
winner:
- 'А <b>%(game)s</b> то – @%(username)s'
- 'ВЖУХ И <b>%(game)s</b>, @%(username)s'
already_winner:
- 'У "%(game)s" у нас сегодня <b>"%(username)s"</b>!'
register:
- '<b>OK, %(username)s!</b> Ты теперь участвуешь в игре <b>"%(game)s"</b>!'
- 'У нас новый участник <b>%(username)s!</b> и он участвует в игре <b>"%(game)s"</b>!'
already_register:
- 'Эй, <b>@%(username)s!</b> Ты уже участвуешь в игре <b>"%(game)s"</b>!'
<?php
if (is_null($user)) {
$this->logger->info('User with id: ' . $user->getId() . 'is null');
return false;
}
?>
@beshkenadze
beshkenadze / test_front.md
Last active September 29, 2018 13:49
Тестовое задание для Frontend-разработчика

##Погодное одностраничное веб-приложение

(!) Данные можно взять с сайта openweathermap.org или с любого другого сервиса.

Приложение должно уметь:

  • Добавлять/удалять города
  • Сохранять локально данные
  • Автоматически запрашивать погоду по координатам пользователя - это город/место по умолчанию.
#!/bin/sh
wget -c https://github.com/transmission/transmission/archive/2.92.tar.gz && \
tar xvfJ transmission-2.92.tar.xz && \
cd transmission-2.92 && \
./configure --prefix="/usr/src/build/transmission" --without-gtk --disable-libnotify --disable-mac --disable-wx --disable-beos --enable-utp --disable-nls --enable-inotify --enable-lightweight --enable-daemon --with-zlib="/usr/src/build" PKG_CONFIG="/usr/bin/pkg-config" PKG_CONFIG_PATH="/usr/src/build/lib/pkgconfig" CPPFLAGS=-DTR_EMBEDDED && \
make && \
make install
iTunes Store operation failed.
No suitable application records were found. Verify your bundle identifier '' is correct.
http://steamcommunity.com/app/322770 (ХИТ)
http://steamcommunity.com/app/394130 (милая игра)
http://steamcommunity.com/app/418650 (ХИТ)
http://steamcommunity.com/app/436320 (мультиплеер)
http://steamcommunity.com/app/494370 (моба)
http://steamcommunity.com/app/488310 (мультиплеер)
http://steamcommunity.com/app/477270 (почувствуй силу!)
http://steamcommunity.com/app/382110 (может понравится)
http://steamcommunity.com/app/486780 (ну так, может и пойдёт)
http://steamcommunity.com/app/412740 (забавно)

Keybase proof

I hereby claim:

  • I am beshkenadze on github.
  • I am beshkenadze (https://keybase.io/beshkenadze) on keybase.
  • I have a public key whose fingerprint is 49A1 29EE 09FB BC18 999B 7279 EE75 B7BE AF64 FED1

To claim this, I am signing this object:

@beshkenadze
beshkenadze / ios_developer.md
Created May 16, 2016 13:49
4XXI: Описание вакансии iOS разработчика

Кого мы ищем:

  • C опытом работы от 1 года;
  • Со знанием базовых принципов работы баз данных;
  • С пониманием жизненного цикла приложения;
  • C английским на уровне чтения технической документации;
  • С опытом использования систем контроля версий (GIT и подобное);
  • ООП на уровне понимания стандартных паттернов;
  • Гражданство РФ или разрешение на работу в РФ;