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

How to install java 8 on Ubuntu 16.04

The Oracle JDK, includes a development environment for building applications with the Java programming language. Please be aware that some elements of the Oracle JDK are proprietary, meaning that there may be licensing implications with respect to applications you develop with it.

Installing Jenkins on Ubuntu

Installation wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Upgrade
Once installed like this, you can update to the later version of Jenkins (when it comes out) by running the following commands: sudo apt-get update
sudo apt-get install jenkins

What does this package do?

How to enable ssh remote access in Ubuntu

Here’s how to enable ssh remote access in Ubuntu

  • Open terminal (Ctrl+Alt+T)
  • Install openssh-server using following command:
    sudo apt-get install openssh-server
  • To check ssh status run
    sudo service ssh status
  • You may change some settings (e.g., the listening port, and root login permission) by editing the configuration file via command:
    sudo nano /etc/ssh/sshd_config
  • Restart ssh server:
    sudo service ssh restart

How to execute some script on once user logged in

Hi everyone!

Today I'm going on to talk about how to execute some script on once user logged in.

The full instruction is seporated to three main steps:

  • Create executor
  • add the executor to user's login items
  • enable auto login after reboot/turn on a mac.

1. Create executor:

How to point command line tools to necessary xcode

Hi everyone!

Sometime when we have more the one xcodes on the mac we need to point command line tools to necessary of them.

For this target use the following command:sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer

Have a nice day!

The following build commands failed: CopySwiftLibs

Hi everyone!

I have faced the following error durring ios project building via cmd:** BUILD FAILED **
The following build commands failed:
CopySwiftLibs build/Debug-iphoneos/NookLauncher.app
(1 failure)

In my case it wa fixed after unlock my keychain

go to your project root folder and run:security unlock -p passphrase ~/Library/Keychains/login.keychain

Best regards,
Maxim

How to setup iOs using Carthage

Hi everyone!

Before setup the project make sure it uses Carthage :)

Go to project root folder if you can see Carthage there then everythins is ok.

Make sure the Carthage is already installed on your mac:

  • carthage version

  • if you can see something like that 0.24.0 then everything is ok and you can skip installation step

Install Carthage:

At least two ways to install Carthage:

Apple XCTest - изменение языка устройства в тесте

    Всем привет!

    Совсем недавно я перешел с родного UIAutomation на XCTest. Переход был не очень гладким, как всегда без подводных камней не обошлось. После интуитивно понятного фрэймворка на javascript, swift казался каким-то чужим и не понятным.
 

Страницы