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

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.

Страницы