sdkmanager: Warning: Could not create settings

Hello evetyone.
Today I have faces the following error:
$ sdkmanager
Warning: Could not create settings

java.lang.IllegalArgumentException at com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.(SdkManagerCliSettings.java:428) at
com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:152) at
com.android.sdklib.tool.sdkmanager.SdkManagerCliSettings.createSettings(SdkManagerCliSettings.java:134) at
com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:57) at

How to Change the Default Shell to Bash on Mac OS X Catalina

Mac OS X Catalina uses by default zsh.

You can change the default shell to Bash by running the following command:chsh -s /bin/bash

If you want to back to zsh use following command:chsh -s /bin/zsh

To get list of all included shells you can use command below: <\p>cat /etc/shells

The original article you can find here

Linking Objective-C Libraries to Swift Frameworks

Today I have faced issue to adding Objective-C Libraries to Swift Frameworks.
I found many tutorials but only one of them really helped me. I will provide link to original post below on the end of the current post.

How to collect all Android device ids in bash script

Hello everyone!

Today I'm going on to share bash script with you, which will help you to collect all android devices id.

deviceList=""
for line in `adb devices | grep -v "List" | awk '{print $1}'`
do
  device=`echo $line | awk '{print $1}'`
  echo "$device"
  if [ $deviceList != "" ]; then
    deviceList="$deviceList,"
  fi
  deviceList="$devicList$device"
done
echo $deviceList

This approach you can use to capture any data from any output.

Have a good day!

Enjoy!

 

How to enable Screen Sharing on Macs via Terminal

Follow these steps to enable Screen Sharing via Terminal.

1. Navigate to Applications | Utilities and launch Terminal. If you're working from a keyboard only, press Command+Space Bar to launch Spotlight, and then enter Terminal in the search box to launch the app.

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):

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

Страницы