You have to change channel_id for yours from the below link
https://www.youtube.com/feeds/videos.xml?channel_id=UCqLxGzw7gee2scTagnzntsgTuesday, May 25, 2021
How to Get RSS Feed for a YouTube Channel and Add how to add into Blogger
Failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: open .Trash: operation not permitted
Issue
admin@admins-MacBook-Pro ~ % docker-compose build
Building ubunut/latest
[+] Building 0.1s (1/2)
=> ERROR [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 53B 0.0s
------
> [internal] load build definition from Dockerfile:
------
failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: open /Users/admin/.Trash: operation not permitted
ERROR: Service 'ubunut/latest' failed to build : Build failed
Solution
We have to give full access to terminal application via system preference >> Security & Privacy.
Monday, May 24, 2021
Microstrategy 2021 upgrade in Linux | MSTR upgrade RHEL|Centos
Monday, May 17, 2021
azure cli install in MacOS
admins-MacBook-Pro:~ admin$ az login
-bash: az login: command not found
Command to install azusre cli
admins-MacBook-Pro:~ admin$ brew update && brew install azure-cli
Already up-to-date.
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1k
######################################################################## 100.0%
If I shutdown Linux server which run level it will go
If you shutdown linux server it goes to the run level 0
init run levels | target | meaning |
---|---|---|
0 | shutdown.target | Shutdown |
1 | emergency.target | Single-user (can retrieve your password) |
2 | rescure.target | Multi-user (non-network) |
3 | multi-user.target | Multi-user (with internet) |
4 | no | Reserved, unallocated |
5 | graphical.target | graphic interface |
6 | no | The system is restarted |
Sunday, May 16, 2021
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] macOS
Error Details
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1422, in connect
self.sock = self._context.wrap_socket(self.sock,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Solution
Go to Macintosh HD > Applications > Python3.9 folder (whatever version of python you're using) > double click on "Install Certificates.command" file
Output
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
/Applications/Python\ 3.9/Install\ Certificates.command ; exit;
admins-MBP:~ admin$ /Applications/Python\ 3.9/Install\ Certificates.command ; exit;
-- pip install --upgrade certifi
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (2020.12.5)
-- removing any existing file or link
-- creating symlink to certifi certificate bundle
-- setting permissions
-- update complete
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
[Process completed]
How to Transfer Files Between Android and Mac | Samsung mobile to Macbook Pro
This video cover brief about how to transfer files from samsung or any other android device to MacBook Pro. If sometime our device not detected by Mac then we can follow the given solution
#android #fileTransfer #macbook
-bash: brew: command not found - MacOS Catalina
$ brew install pip
-bash: brew: command not found
$ sudo easy_install pip
Password:
Searching for pip
Reading https://pypi.org/simple/pip/
Downloading https://files.pythonhosted.org/packages/94/b0/e10bdc8809c81796c80aa3644a8e3dc16594fb1bd68f5996929f26cad980/pip-21.1.1.tar.gz#sha256=51ad01ddcd8de923533b01a870e7b987c2eb4d83b50b89e1bf102723ff9fed8b
Best match: pip 21.1.1
Processing pip-21.1.1.tar.gz
Writing /tmp/easy_install-zEY1TC/pip-21.1.1/setup.cfgRunning pip-21.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zEY1TC/pip-21.1.1/egg-dist-tmp-5nkrTT
...
Adding pip 21.1.1 to easy-install.pth file
Installing pip script to /usr/local/bin
Installing pip2.7 script to /usr/local/bin
Installing pip2 script to /usr/local/bin
Installed /Library/Python/2.7/site-packages/pip-21.1.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
bash: Permission denied | cant open file for writing | permission denied read-only file system
This video I have given three different problems related to file access permission error and shared the solution. This is a basic troubleshooting and we have to understand the error details and proceed accordingly.
The same steps you can use for #macOS #Linux #Redhat #Centos #AzureLinuxVM