пятница, 15 декабря 2017 г.

chrome driver error on first run / ChromeDriver PATH problem


  1. npm install chromedriver --save-dev installs the chromedriver under ./node_modules/.bin/chromedriver
  2. npm install npm-path --save-dev that allows to platform-independently include ./node_modules/.bin/ in the path
  3. npm install gulp-shell so I can execute pioneer.js in the command line

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

четверг, 14 декабря 2017 г.

CHKDSK из консоли windows, лечим жёсткий диск


chkdsk c: /f /r /x

/f Задает исправление ошибок на диске. Диск должен быть заблокирован. Если диск не заблокирован командой chkdsk, отображается запрос на проверку диска при следующей перезагрузке компьютера.
/v Выводит на экран имена проверяемых файлов и каталогов.
/r Обнаруживает поврежденные сектора и восстанавливает ту часть данных, которая еще может быть прочитана. Диск должен быть заблокирован.
/x Используйте только с файловой системой NTFS. При необходимости инициирует операцию отключения тома в качестве первого действия. Все открытые дескрипторы диска будут неверны.
/x включает также функциональные возможности параметра /f.
/i Используйте только с файловой системой NTFS. Выполняет менее тщательную проверку записей индекса, что уменьшает время, необходимое для работы команды chkdsk.
/c Используйте только с файловой системой NTFS. Пропускает проверку циклов в структуре папок, что уменьшает время, необходимое для работы команды chkdsk.
/l[:размер] Используйте только с файловой системой NTFS. Устанавливает указанный размер журнала. Если размер не указан, параметр /l выводит текущий размер.
/? Отображение справки в командной строке.

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

вторник, 12 декабря 2017 г.

Kiosk mode with Ubuntu and Chromium


sudo apt-get install openssh-server
sudo apt-get update && sudo apt-get upgrade
sudo passwd
sudo apt-get install mc
sudo apt-get install nginx

sudo apt-get install php7.0-cli
sudo apt-get install ttf-mscorefonts-installer

добавить пользователя kiosk

I chose to add the 2 users to the sudoers file so I wouldn’t get prompted for passwords all the time.

Run visudo and at the bottom add

kiosk ALL=(ALL) NOPASSWD: ALL
obrienlabs ALL=(ALL) NOPASSWD: ALL

sudo apt-get install -y chromium-browser unclutter xdotool

Setup Auto Login

sudo nano /etc/lightdm/lightdm.conf

and add:

[SeatDefaults]
autologin-user=kiosk
autologin-user-timeout=0
user-session=ubuntu
greeter-session=unity-greeter

sudo mkdir /etc/lightdm/lightdm.conf.d
sudo nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf


and add:

[SeatDefaults]
autologin-user=kiosk

Setup kiosk.sh Script
Now that we are auto logged in, let’s run our script.

Run
sudo mkdir /home/kiosk/.config/autostart
sudo nano /home/kiosk/.config/autostart/kiosk.desktop

and add:
[Desktop Entry]
Type=Application
Name=Kiosk
Exec=/home/kiosk/kiosk.sh
X-GNOME-Autostart-enabled=true

/home/kiosk/kiosk.sh

add

#!/bin/bash

# Run this script in display 0 - the monitor
export DISPLAY=:0

# Hide the mouse from the display
unclutter &

# If Chromium crashes (usually due to rebooting), clear the crash flag so we don't have the annoying warning bar
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/kiosk/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/kiosk/.config/chromium/Default/Preferences

# Run Chromium and open tabs
/usr/bin/chromium-browser --window-size=1920,1080 --kiosk --window-position=0,0 http://google.com http://bing.com &

# Start the kiosk loop. This keystroke changes the Chromium tab
# To have just anti-idle, use this line instead:
# xdotool keydown ctrl; xdotool keyup ctrl;
# Otherwise, the ctrl+Tab is designed to switch tabs in Chrome
# #
while (true)
  do
    xdotool keydown ctrl+Tab; xdotool keyup ctrl+Tab;
    sleep 15
done

sudo chmod +x kiosk.sh

restart
sudo killall kiosk.sh && sudo service lightdm restart

How to exit Kiosk mode
sudo killall chromium-browser

sudo killall kiosk.sh



Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

воскресенье, 19 ноября 2017 г.

Mysql server has gone away


wait_timeout по соображениям оптимизации был равен 30 секундам и увеличивать не хотелось.

Решение нашлось такое:

После коннекта устанавливать (делать запрос)

SET SESSION wait_timeout = 28800

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

пятница, 27 октября 2017 г.

Yii2 | requires bower-asset/jquery

rm -rf ~/.composer/vendor
rm ~/.composer/composer.lock
cd ~/.composer
composer clear-cache
composer self-update
composer global require "fxp/composer-asset-plugin:*"
composer install

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 25 октября 2017 г.

Как удалить не взаимных читателей в Твиттере ?

Услуга позволяет отписаться от не взаимных подписчиков, то есть от тех на кого вы подписаны а они на вас нет.

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 11 октября 2017 г.

Install Glances on Ubuntu 16.04

Install Glances on Ubuntu 16.04

Open the terminal and run the following command

sudo apt-get install glances

Using glances

You can run the following command from your terminal to see the details of your system

glances

Output looks as follows

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

воскресенье, 1 октября 2017 г.

Too many connections mariadb

SET GLOBAL
Log in to the MySQL/MariaDB command line client with the command:

mysql -u root -p

Set the new max_connections value with the command:

SET GLOBAL max_connections=[desired new maximum number];

For example, to set max_connections to 200, the command is:

SET GLOBAL max_connections=200;

Exit MySQL/MariaDB with the command:

quit;

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

понедельник, 11 сентября 2017 г.

Пакеты, имеющие неудовлетворённые зависимости: held / решение / Packages having unmet dependencies: held / solution / libmysqlclient18


sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get dist-upgrade
sudo aptitude install libmysqlclient18

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 12 июля 2017 г.

Сервисные коды связи на телефоне

Эти коды помогут вам определить, защищены ли ваши данные, и не следит ли кто-то за вашим смартфоном.

*#21#

Эта комбинация цифр и символов позволяет узнать, подключена ли на вашем смартфоне переадресация звонков, СМС и других сообщений. Наберите этот код, и на экране высветится номер, куда осуществляется трансфер данных, и статусы по разным видам переадресации.

Вспомните: не одалживали ли вы мобильник незнакомым людям, пусть даже для одного звонка? Если да — есть риск, что сведения о вашем месте проживания, распорядке дня, круге общения могли утечь к посторонним. Под угрозой рискуют оказаться и средства вашего электронного кошелька, если вы пользуетесь им, заходя через пароль с мобильного.

*#62#

Этот код показывает, куда с вашего телефона перенаправляются входящие вызовы и СМС, когда другие абоненты не могут до вас дозвониться. В лучшем случае звонки будут переадресовываться в формате голосовой почты на один из номеров вашего сотового оператора.

##002#

Набрав эту комбинацию, вы сможете отключить все виды переадресаций, которые прежде были настроены на вашем телефоне. Код универсален и действует для всех смартфонов.

Очень рекомендуем вспомнить о нем перед тем, как ехать в другую страну или регион: тогда, оказавшись в роуминге, вы не будете терять деньги, которые перестанут списываться за звонки, по умолчанию переводящиеся на голосовую почту.

*#06#

Код, дающий сведения об идентификационном номере телефона, так называемом IMEI (International Mobile Equipment Identifier).

Зная цифры международного идентификатора, можно, например, найти телефон, который был у вас украден: ведь аппарат при любом включении автоматически передаёт свой IMEI в сеть мобильного оператора, независимо от того, находится ли в смартфоне ваша сим-карта или уже чужая.

Специальные коды:

Существуют и коды, позволяющие отследить ваше местоположение и узнать, к какой конкретно станции подключён ваш телефон. Правда, для этого на мобильном должна стоять специальная утилита — netmonitor.

Чтобы начать проверку, введите один из кодов:

для Android: *#*#197328640#*#* или *#*#4636#*#*
для iPhone: *3001#12345#*
Как этим пользоваться?

Шаг 1:

Зайдите во вкладку UMTS Cell Environment, а оттуда — в UMTS RR info. Вы увидите значения так называемых Cell ID, то есть номера базовых станций, расположенных рядом с вами. Перепишите значения Cell ID.

Шаг 2:

Вернитесь в основное меню, зайдите через вкладку MM info в Serving PLMN. Выпишите значения Local Area Code (LAC).

Шаг 3:

Теперь, зная две категории кодов, можно отправиться на специальный сайт (4-я вкладка слева) и, введя на нём данные, определить по карте расположение базовой станции, где прописан ваш мобильный.

С помощью антивируса можно регулярно проверять свой телефон на вирусы и удалять их.

Как защититься от преступников и шпионов:

1. Используйте мессенджеры, полностью закрытые для посторонних: Telegram, Chare, Wickr, Signal.

2. Не устанавливайте на телефон незнакомые программы, следите за всеми установленными приложениями и по возможности пользуйтесь многоступенчатыми системами блокировки. Не переходите по подозрительным ссылкам и не заряжайте телефон от подозрительных «бесплатных» точек.

3. Отслеживать телефоны имеет право только ваш мобильный оператор, и то только с вашего согласия. Сайты и приложения, предлагающие вам отследить местонахождение других людей, принадлежат злоумышленникам. Будьте бдительны!

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

вторник, 27 июня 2017 г.

Установка новой локали на сервер c Ubuntu

При использовании в пхп локали, бывает что она не подтягивается, это связано с тем что она не установлена на сервере

лечится установкой )

sudo locale-gen uk_UA uk_UA.UTF-8 ru_RU ru_RU.UTF-8

и т.д

и пересборка всех (на Ubuntu 16.04 запускает выбор всех)
sudo dpkg-reconfigure locales

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

вторник, 20 июня 2017 г.

Обход блокировки Яндекс.Метрика

Чтобы сайты с Метрикой открывались у посетителей с Украины, а данные продолжали поступать в отчёты, вы можете обновить код счётчика:

вместо строки

s.src = "https://mc.yandex.ru/metrika/watch.js";
пропишите строку

s.src = "https://d31j93rd8oukbv.cloudfront.net/metrika/watch_ua.js";

Вот как должна выглядеть изменённая часть кода
Или, если вы используете Вебвизор 2.0, вместо строки

s.src = "https://mc.yandex.ru/metrika/tag.js";
пропишите строку

s.src = "https://d31j93rd8oukbv.cloudfront.net/metrika/tag_ua.js";

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

воскресенье, 18 июня 2017 г.

SCREEn для ubuntu

SCREEn для ubuntu

http://www.tecmint.com/screen-command-examples-to-manage-linux-terminals/

There are 2 (two) ways to leaving the screen. First, we are using “Ctrl-A” and “d” to detach the screen. Second, we can use the exit command to terminating screen. You also can use “Ctrl-A” and “K” to kill the screen.

That’s some of screen usage on daily basis. There are still a lot of features inside the screen command. You may see screen man page for more detail.

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

Cron restart

sudo /etc/init.d/cron restart

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

пятница, 16 июня 2017 г.

Установка SSL сертификата Let's Encrypt на ubuntu

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx


Установка по виртуальным хостам из конфига nginx

certbot --nginx

Обновление

certbot renew --dry-run

Установка в ручную для доменов

sudo certbot certonly --webroot -w /var/www/site.org -d site.org -d www.site.org -d auto.site.org

и т.д

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 14 июня 2017 г.

Ссылки на картинки высокого разрешения заставок youtube


http://img.youtube.com/vi/VIDEO_ID/hqdefault.jpg


http://img.youtube.com/vi/VIDEO_ID/maxresdefault.jpg

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

Размеры картинок для Facebook, Вконтакте, Twitter, Instagram, YouTube, Pinterest, Linkedin, Google+ и Одноклассники.

Facebook
Картинка к внешним ссылкам: 1200 x 630 px
Картинка для поста: 1200 x 630 px
Обложка: 851 х 315 px
Фото профиля: 170х170 px

Вконтакте
Картинка к внешним ссылкам: 537 x 240 px
Картинка для поста: 700 x 500 px
Фото профиля: 200 х 500 px

Twitter
Картинка для твита: 1024 x 512 px
Обложка: 1500 х 500 px
Фото профиля: 400 x 400 px

Instagram
Картинка для поста: 1080 x 1080 px
Фото профиля: 110 x 110 px

YouTube
Картинка поверх видео: 1280 x 720 px
Обложка канала: 2560 x 1440 px
Фото профиля: 800 x 800 px

Pinterest
Картинка для пина: 735 x 1102 px
Фото профиля: 165 x 165 px

Linkedin
Картинка к внешним ссылкам: 180 х 110 px
Картинка для поста: 350 x 230 px
Обложка: 646 x 220 px
Фото профиля: 400 х 400 px

Google+
Обложка: 2120 x 1192 px
Фото профиля: 250 х 250 px

OK.ru
Картинка для поста: 1680 х 1680 px
Обложка: 1340 x 320 px
Фото профиля: 190 х 190 px

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

воскресенье, 14 мая 2017 г.

Restart php-fpm

/etc/init.d/php7.0-fpm restart

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

вторник, 25 апреля 2017 г.

MYSQL Optimize

Do Not ORDER BY RAND()

This is one of those tricks that sound cool at first, and many rookie programmers fall for this trap. You may not realize what kind of terrible bottleneck you can create once you start using this in your queries.

If you really need random rows out of your results, there are much better ways of doing it. Granted it takes additional code, but you will prevent a bottleneck that gets exponentially worse as your data grows. The problem is, MySQL will have to perform RAND() operation (which takes processing power) for every single row in the table before sorting it and giving you just 1 row.


// what NOT to do:
$r = mysql_query("SELECT username FROM user ORDER BY RAND() LIMIT 1");


// much better:

$r = mysql_query("SELECT count(*) FROM user");
$d = mysql_fetch_row($r);
$rand = mt_rand(0,$d[0] - 1);

$r = mysql_query("SELECT username FROM user LIMIT $rand, 1");
So you pick a random number less than the number of results and use that as the offset in your LIMIT clause.

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 12 апреля 2017 г.

Подключение и настройка microMinimosd на базе MWOSD


Для прошивки microMinimosd

Скачиваем Arduino IDE
https://www.arduino.cc/en/main/software
Скачиваем MWOSD
http://www.mwosd.com/

Открываем в ардуино файл MW_OSD.ino
разкоменчиваем нужные строки в config (PIXHAWK, microMinimosd и т.д)
заливаем (с помощью программматора Usb-UART CP2102)
И заново настраиваем


Инструкции по подключению PIXHAWK / APM / MAVLINK OSD

See other guides for installing Arduino and uploading MWOSD:

https://github.com/ShikOfTheRa/scarab-osd/blob/master/OTHER/DOCUMENTATION/FirmwareFlashing.md

Step 1: prepare your config.h file

Select the GPS chip type by removing the comments:

//#define PIXHAWK
Select the aircraft type:

//#define ROTORCRAFT
//#define FIXEDWING
Step 2: Upload

https://github.com/ShikOfTheRa/scarab-osd/blob/master/OTHER/DOCUMENTATION/FirmwareFlashing.md

Step 3: Change GUI speed to match OSD - usually 57600

Step 4: Upload fontfile using GUI

Step 5: Configure OSD using GUI

Step 6: Configure the MAVLINK settings

Connect to Mission Planner
Go to config/tuning
Locate parameters in parameter list
Enter / verify the following parameters and save
If you are connecting OSD to telemetry 1 port

SERIAL1_BAUD, 57 (telemetry output at 57600)
SR1_EXT_STAT, 2 ( 2hz for waypoints, GPS raw, fence data, current waypoint, etc)
SR1_EXTRA1, 5 ( 5hz for attitude and simulation state)
SR1_EXTRA2, 2 ( 2hz for VFR_Hud data )
SR1_EXTRA3, 3 ( 3hz for AHRS, Hardware Status, Wind )
SR1_POSITION, 2 ( 2hz for location data )
SR1_RAW_SENS, 2 ( 2hz for raw imu sensor data )
SR1_RC_CHAN, 5 ( 5hz for radio input or radio output data )
If you are connecting OSD to telemetry 2 port:

SERIAL2_BAUD, 57 (telemetry output at 57600)
SR2_EXT_STAT, 2 ( 2hz for waypoints, GPS raw, fence data, current waypoint, etc)
SR2_EXTRA1, 5 ( 5hz for attitude and simulation state)
SR2_EXTRA2, 2 ( 2hz for VFR_Hud data )
SR2_EXTRA3, 3 ( 3hz for AHRS, Hardware Status, Wind )
SR2_POSITION, 2 ( 2hz for location data )
SR2_RAW_SENS, 2 ( 2hz for raw imu sensor data )
SR2_RC_CHAN, 5 ( 5hz for radio input or radio output data )
Notes:

57600 is default serial buad rate recommended when selecting APM / PIXHAWK in config.h
Baud rate in OSD and APM/PIXHAWK must match.
Always try 57600 and 115200 if no data
Use debug screen to verify: RX > 0 means there is data. PKT > 0 means there is valid data.
If no valid data, likely incorrect baud rate

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

воскресенье, 2 апреля 2017 г.

четверг, 16 марта 2017 г.

Устанавливаем Chromium в Ubuntu


Можно установить из репозитория Убунту, используя Центр приложений, либо через Терминал, выполнив команду:

sudo apt-get install chromium-browser


Для поддержки HTML5 и других форматов нужно выполнить команду:

sudo apt-get install chromium-codecs-ffmpeg-extra


Запуск из консоли
chromium-browser --kiosk http://example.com --display=:0

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

четверг, 2 марта 2017 г.

Форматы видео YouTube, по тегу itag


  • Format 5: (Basic Youtube Default)
    • Download Video Format: flv
    • Video Resolution: 400 x 240
    • Video Frame Rate: 25 fps
    • Video Output Format: FLV1 H.263
    • Audio: Stereo, 22.05 KHz 64.0 Kbps
    • Audio Format: MP3 (MPEG Audio)
  • Format 6:
    • Download Video Format: flv
    • Video Resolution: 450 x 270
  • Format 13: (Mobile phones, iPod friendly)
    • Download Video Format: 3gp
  • Format 17:
    • Download Video Format: 3gp
    • Video Resolution: 176 x 144
    • Video Frame Rate: 12 fps
    • Video Output Format: MPEG-4
    • Audio: Mono 22.05 KHz 24.0 - 25.6 Kbps
    • Audio Format: AAC
  • Format 18: Medium Quality [360p]
    • Download Video Format: mp4
    • Video Resolution: 640 x 360
    • Video Frame Rate: 25 fps
    • Video Output Format: AVC (MPEG4 H.264)
    • Audio: Stereo, 44.1 KHz 96.0 - 100 Kbps
    • Audio Format: AAC
  • Format 22: HD High Quality [720p]
    • Download Video Format: mp4
    • Video Resolution: 1280 x 720
    • Video Frame Rate: 25 fps
    • Video Output Format: AVC (MPEG4 H.264)
    • Audio: Stereo, 44.1 KHz 192.0 - 201 Kbps
    • Audio Format: AAC
  • Format 34: [360p]
    • Download Video Format: flv
    • Video Resolution: 640 x 360
  • Format 35: [480p]
    • Download Video Format: flv
    • Video Resolution: 854 x 480
  • Format 36: [240p]
    • Download Video Format: 3gp
    • Video Resolution: 320 x 240
    • Video Frame Rate: 25 fps
    • Video Output Format: MPEG4 H.263
    • Audio: Mono, 22.05 KHz 32.0 - 34.2 Kbps
    • Audio Format: AAC
  • Format 37: HD High Quality [1080p]
    • Download Video Format: mp4
    • Video Resolution: 1920 x 1080
  • Format 38: HD High Quality [3072p]
    • Download Video Format: mp4
    • Video Resolution: 4096 x 3072
  • Format 43: Medium Quality [360p]
    • Download Video Format: webm
    • Video Resolution: 640 x 360
    • Video Frame Rate: 24.194 fps
    • Video Output Format: VP8
    • Audio: Stereo, 44.1 KHz 128 Kbps
    • Audio Format: Vorbis
  • Format 44: [480p]
    • Download Video Format: webm
    • Video Resolution: 854 x 480
  • Format 45: [720p]
    • Download Video Format: webm
    • Video Resolution: 1280 x 720
  • Format 46: [1080p]
    • Download Video Format: webm
    • Video Resolution: 1920 x 1080

3d Videos

These videos requires special medium to enjoy the depth of the video. These are also available in different flavours
  • Format 82:
    • Download Video Format: mp4
    • Video Resolution: 640 x 360 [3D]
    • Video Frame Rate: 25 fps
    • Video Output Format: AVC (MPEG4 H.264)
    • Audio: Stereo, 44.1 KHz 128 - 134 Kbps
    • Audio Format: AAC
  • Format 83:
    • Download Video Format: mp4
    • Video Resolution: 854 x 480 [3D]
  • Format 84:
    • Download Video Format: mp4
    • Video Resolution: 1280 x 720 [3D]
    • Video Frame Rate: 25 fps
    • Video Output Format: AVC (MPEG4 H.264)
    • Audio: Stereo, 44.1 KHz 192 - 201 Kbps
    • Audio Format: AAC
  • Format 85:
    • Download Video Format: mp4
    • Video Resolution: 1920 x 1080p [3D]
  • Format 100:
    • Download Video Format: webm
    • Video Resolution: 640 x 360 [3D]
    • Video Frame Rate: 24.194 fps
    • Video Output Format: VP8
    • Audio: Stereo, 44.1 KHz 128 Kbps
    • Audio Format: AAC
  • Format 101:
    • Download Video Format: webm
    • Video Resolution: 854 x 480 [3D]
  • Format 102:
    • Download Video Format: webm
    • Video Resolution: 1280 x 720 [3D]

Apple HTTP Live Streaming (HLS)

  • Format 92:
    • Download Video Format: mp4
    • Video Resolution: 320 x 240
    • Streaming Protocol: HLS
  • Format 93:
    • Download Video Format: mp4
    • Video Resolution: 640 x 360
    • Streaming Protocol: HLS
  • Format 94:
    • Download Video Format: mp4
    • Video Resolution: 854 x 480
    • Streaming Protocol: HLS
  • Format 95:
    • Download Video Format: mp4
    • Video Resolution: 1280 x 720
    • Streaming Protocol: HLS
  • Format 96:
    • Download Video Format: mp4
    • Video Resolution: 1920 x 1080
    • Streaming Protocol: HLS
  • Format 132:
    • Download Video Format: mp4
    • Video Resolution: 320 x 240
    • Streaming Protocol: HLS
  • Format 151:
    • Download Video Format: mp4
    • Video Resolution: * x 72
    • Streaming Protocol: HLS

DASH MP4 video

  • Format 133:
    • Download Video Format: mp4
    • Video Resolution: 320 x 240
    • Video Format: DASH video
    • Audio: none
  • Format 134:
    • Download Video Format: mp4
    • Video Resolution: 640 x 360
    • Video Format: DASH video
    • Audio: none
  • Format 135:
    • Download Video Format: mp4
    • Video Resolution: 854 x 480
    • Video Format: DASH video
    • Audio: none
  • Format 136:
    • Download Video Format: mp4
    • Video Resolution: 1280 x 720
    • Video Format: DASH video
    • Audio: none
  • Format 137:
    • Download Video Format: mp4
    • Video Resolution: 1920 x 1080
    • Video Format: DASH video
    • Audio: none
  • Format 138:
    • Download Video Format: mp4
    • Video Resolution: * x 2160 (not fix)
    • Video Format: DASH video
    • Audio: none
  • Format 160:
    • Download Video Format: mp4
    • Video Resolution: 176 x 144
    • Video Format: DASH video
    • Audio: none
  • Format 264:
    • Download Video Format: mp4
    • Video Resolution: 176 x 1440
    • Video Format: DASH video
    • Audio: none
  • Format 298:
    • Download Video Format: mp4
    • Video Resolution: 1280 x 720
    • Video Frame Rate: 60 fps
    • Video Format: DASH video H.264
    • Audio: none
  • Format 299:
    • Download Video Format: mp4
    • Video Resolution: 1920 x 1080
    • Video Frame Rate: 60 fps
    • Video Format: DASH video H.264
    • Audio: none
  • Format 266:
    • Download Video Format: mp4
    • Video Resolution: * x 2160
    • Video Frame Rate: 60 fps
    • Video Format: DASH video H.264
    • Audio: none

Dash MP4 Audio

  • Format 139:
    • Download Audio Format: m4a
    • Audio: Stereo, 44.1 KHz 48 Kbps
    • Audio Format: AAC [DASH audio]
    • Video: none
  • Format 140:
    • Download Audio Format: m4a
    • Audio: Stereo, 44.1 KHz 128 Kbps
    • Audio Format: AAC [DASH audio]
    • Video: none
  • Format 141:
    • Download Audio Format: m4a
    • Audio: Stereo, 44.1 KHz 256 Kbps
    • Audio Format: AAC [DASH audio]
    • Video: none

Dash WEBM Video

  • Format 167:
    • Download Video Format: webm
    • Video Resolution: 640 x 360
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 168:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 169:
    • Download Video Format: webm
    • Video Resolution: 1280 x 720
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 170:
    • Download Video Format: webm
    • Video Resolution: 1920 x 1080
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 218:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 219:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 219:
    • Download Video Format: webm
    • Video Resolution: * x 144
    • Video Format: VP9 DASH video
    • Audio: none
  • Format 242:
    • Download Video Format: webm
    • Video Resolution: 320 x 240
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 243:
    • Download Video Format: webm
    • Video Resolution: 640 x 360
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 244:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 245:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 246:
    • Download Video Format: webm
    • Video Resolution: 854 x 480
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 247:
    • Download Video Format: webm
    • Video Resolution: 1280 x 720
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 248:
    • Download Video Format: webm
    • Video Resolution: 1920 x 1080
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 271:
    • Download Video Format: webm
    • Video Resolution: 176 x 1440
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 272:
    • Download Video Format: webm
    • Video Resolution: * x 2160
    • Video Format: VP8 DASH video
    • Audio: none
  • Format 302:
    • Download Video Format: webm
    • Video Resolution: * x 2160
    • Video Frame Rate: 60 fps
    • Video Format: VP9 DASH video
    • Audio: none
  • Format 303:
    • Download Video Format: webm
    • Video Resolution: 1920 x 1080
    • Video Frame Rate: 60 fps
    • Video Format: VP9 DASH video
    • Audio: none
  • Format 308:
    • Download Video Format: webm
    • Video Resolution: 176 x 1440
    • Video Frame Rate: 60 fps
    • Video Format: VP9 DASH video
    • Audio: none
  • Format 313:
    • Download Video Format: webm
    • Video Resolution: * x 2160
    • Video Frame Rate: 60 fps
    • Video Format: VP9 DASH video
    • Audio: none
  • Format 315:
    • Download Video Format: webm
    • Video Resolution: * x 2160
    • Video Frame Rate: 60 fps
    • Video Format: VP9 DASH video
    • Audio: none

Dash WEBM Audio

  • Format 171:
    • Download Audio Format: webm
    • Audio: Stereo, 44.1 KHz 128 Kbps
    • Audio Format: AAC [DASH audio]
    • Video: none
  • Format 172:
    • Download Audio Format: webm
    • Audio: Stereo, 44.1 KHz 256 Kbps
    • Audio Format: AAC [DASH audio]
    • Video: none

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

среда, 15 февраля 2017 г.

Ubuntu 16.04 LTS "xenial" + php7 + nginx + mariadb


sudo apt-get install php7.0-fpm
sudo apt-get install nginx
sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-mysql
sudo apt-get install php7.0-curl
sudo apt-get install php7.0-xml
sudo apt-get install php-imagick
sudo apt-get install sendmail
 sudo apt-get install php7.0-imap

sudo apt-get install mariadb-server mariadb-client

/etc/init.d/php7.0-fpm restart

sudo /etc/init.d/nginx restart

если вываливается ошибк аконекта с базой мариа
error connection

check this file:

/etc/mysql/mariadb.conf.d $ nano mysqld.cnf

verify if exist this line:

plugin-load-add = auth_socket.so

then go to MariaDB

sudo mysql -u root

and make this:

MariaDB [(none)]>use mysql;
MariaDB [(none)]>update user set plugin=' ' where User='root';
MariaDB [(none)]>flush privileges;
MariaDB [(none)]>exit

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

вторник, 31 января 2017 г.

Set root password ubuntu

sudo passwd root

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

четверг, 26 января 2017 г.

Обновление SJCAM 4000 WIFI 1.5



Change logs for V1.6:
1.Modify the language of Portuguese
2.Modify the APP screen split problem
3.Modify the compatibility with the new APP

1. Power the camera off.
2. Remove the MicroSD card from the camera.
3. Reformat the MicroSD card using the FAT32 file format on your computer*.
4. Copy the firmware 'bin' file into the root directory of your MicroSD card, please keep the firmware 'bin' file's name.
5. Reinsert the SD card to your camera.
6. Connect the camera with charger, the camera will be upgraded automatically. If your battery was full, you do not need to connect the camera with charger.
7. After the firmware update was completed, please delete the 'bin' file.


http://support.sjcamhd.com/support/solutions/articles/9000011759-sj4000wifi-firmware-update-for-1-5-display-newest-version

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

понедельник, 23 января 2017 г.

Root Crontab File


/var/spool/cron/crontabs

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

друзья )

Сохраняйте и делитесь желаниями, и не забывайте о важных датах! парсинг центр