Monday, March 15, 2021

New devices for the 2020 year

Hello, I got new devices for the 2020 year.

It's Intel NUC 10 Pro (BXNUC10I7FNH2) and Google Pixel 4 64 a white color. 

NUC is will be used as a home server. So maybe it's will be used as a server for my Android Device Farm and for CI and dedicated VMs.

Currently, my configuration of NUC has 16 GB RAM (SO-DIMM DDR4 Samsung) and 500 GB SSD (Samsung 980 PRO). 

About Pixel 4 - what I can say? - Is a good phone, but I caught myself thinking about what iPhone 12 Mini/Pro will be better. The battery is less when the battery in my Honor 10 lite 64. But the 90HZ screen and camera are very good. But if compare cameras Pixel 4 and the original iPhone 11, the last is will be better is some scenes (combined scenes with day and night).

Yep, and in the previous year my first honor 10 lite was stolen and I had to buy a new one. So funny what the police did not try to find it. The realities of life in Russia... 



Small problem with display of macbook 2019

Hello. 

So how like many people already writes MacBook has a very close distance between the display and metal frame. I got this is the problem... one a grain of sand is destroyed my display... Apple is refused to do this under warranty, so I was lost 500$. 

Problem is famous already a long time. The repair was done in B2X, at my expense. So, how you can see, In my mac 2019 we already have and keyboard marks on the display. 

On these images, the age of my mac is 3 months. And another problem - the keyboard and mouse is not works when MacBook is going away from sleep mode. It took 2 weeks to fix it, and Apple refused to acknowledge the problem - only after a video record has been provided and demonstrated personally to the engineer they recognized this problem.

Problem with processes at Apple  - we need to demonstrate all problems to remote apple engineers too, but because this is a problem is a floating problem it's is not always is possible. So local engineer must demonstrate the problem too to Apple engineers.

The general repair took me 1 month. And the problem with the keyboard sometimes is reverts (and on MacBook pro 16 2019 too). So, maybe it's a software problem.

 

Sunday, October 18, 2020

[DevOps] Installation docker and portainer

Hello, portainer it's a web GUI for managing of docker images. Is possible work as a local docker so and as remote. 

How run Chrome without CORS security

Hello, it's a script for running chrome without CORS, on MacOSX (write it in one line).

#!/usr/bin/env bash
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args
--user-data-dir="/tmp/chrome_dev_test" --disable-web-security

For Linux, and Windows, this is script is some, just add some params.

[DevOps] AndroidSDK for Linux

Hello, it's my script for the installation of Android SDK to CentOS. 

Saturday, October 17, 2020

[DevOps] NodeJS installation script for hot update

Hello, this is script is needed for the hot switch versions of Node.js on machine. You can have two installed different versions of Node.js. For example, it can be v12 and v14.

So is possible to switch on a different version using only one command. Currently, I work only on Linux based (and macOS as a client system) systems and code will be targeted on these systems

#!/bin/sh
# Install Node.js 14.2.0
sudo su
yum install -y git
curl https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
source ~/.bashrc
nvm install v14.13.0
# Relevant for some OSes
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
For getting a list of all installed nodes, you can use
#!/bin/sh
nvm ls #list all nodes
nvm use <version># switch to specific version
Sources:
  1. More information you can get on official repo
  2. Or on another site (first link in google)