Блог пользователя Nikolai

Emergency mode Ubuntu 16.10

I have the Ubuntu 16.04 that was updated to 16.10.

And one day I faced with the following situation on the preload ubuntu screen

/dev/sda6: recovering journal
/dev/sda6: clean, 193225/9527296 files, 1610280/38077184 blocks
Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):

GIT Troubleshooting

> git clone doesn't work after enable 2FA (two factor authentification)

How does it work for command-line Git?

If you are using SSH for Git authentication, rest easy: you don't need to do anything. If you are using HTTPS Git, instead of entering your password, enter a personal access token. These can be created by going to your personal access tokens page.

In case if you want to switch from HTTPS to SSH you just need

Arduino Mega 2560 + GY-521 MPU6050


To connect the gyroscope to arduino use the following pins

Sensor Arduino

Sketch to get the angels by axis X, Y, Z with GY-521 MPU 6050 you can find here


If you don't get any output - check the pins on the GY-521

Arduino Mega 2560 + Infrared Speed Sensor

Challenge: Measure the wheel rotation speed


  1. 1 pcs 4 PIN IR Infrared Speed Sensor Module 3.3V-5V For Arduino
  2. Arduino Mega 2560
  3. 4 Cables Solderless Dupont Wire for Breadboard type M-F, 50V

Using the 4 cables M-F connect the following pins

Sensor Arduino
VCC 3.3 V
D0 8
A0 A0


Work with Jenkins on Mac OS 10.+/Ubuntu 16.10

Based on https://wiki.jenkins.io/display/JENKINS/Thanks+for+using+OSX+Installer

Changing boot configuration

Mac OS

The launch daemon picks up the command line options from a standard preferences file, /Library/Preferences/org.jenkins-ci.plist. If the file does not exist, built-in defaults are used. The preference files are manipulated using the standard utility defaults.

How to Configure STF Cluster


master machine: #1 Mac OS - with public ip X slave machine: #2 Mac OS - with public ip Y

Preparing machines


  1. Xcode 8.3+
  2. Android SDK
  3. Java 1.7+
  4. STF - use this instructions to install the stf on mac os https://github.com/openstf/stf

Getting Started On the macos #1