How to keep processes running after ending ssh session?

Hi everyone!

Sometimes due some reasons we need to launch any process via ssh and keep it running after ending the ssh session.

The following instruction helps you to save your time.

Connect to certain machine via ssh

ssh username@ip_address

If you use ubuntu then make sure screen is already installed on the machine you need keep any process running after endind ssh session.
Run 

screen -v

How to instal Homebrew (brew) on Mac OS X

Homebrew. Homebrew is a package manager for the Mac — it makes installing most open source sofware (like Node) as simple as writing brew install node. You can learn more about Homebrew at the Homebrew website. To install Homebrew just open Terminal and type ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" You’ll see messages in the Terminal explaining what you need to do to complete the installation process.

How to get package name via aapt

Hi everyone!

This article will be helpfull for everyone who need to get apk info without instalation.

To get total information run the following command

aapt dump badging <path_to_apk>

Use filters to get package and launchable activity

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
VCC 5V
GND GND
SCL SCL
SDA SDA

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

Troubleshooting

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

How to add custom framework to XC UI Test target.

Hi everyone!

Some time ago I faced with problems: 

  1. How to add XCTest framework to custom framework.
  2. How to create universol framework to use it with iOs simulators and real devices
  3. How to add this framework to XC UI Test target.

First two problems have been resolved enough fast. You can find articles here and here.

3th one was realy difficult. I asked iOs developers and nobody coudn't help me.

Страницы