4/30/2021
python source code to print list of all subfolder and files
4/29/2021
Install python 3.8 on Linux
Following below step:
-------------
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz
tar xvf Python-3.8.3.tgz
cd Python-3.8*/
./configure --enable-optimizations
make altinstall
-------------
Run amazon-linux 2 on local computer using Docker
I suppose you already installed docker.
1. pull Amazon Linux image
> docker pull amazonlinux
* https://hub.docker.com/_/amazonlinux
2. run container and enter the os
> docker run -it amazonlinux /bin/bash
3. check version
bash-4.2# > cat /etc/os-releaseNAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Thank you.
๐๐ป♂️
4/20/2021
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) fatal: the remote end hung up unexpectedly
I encounter this error when I push my repo.
>>>
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
<<<
I am trying following things to solve, It comes from stack overflow.
1.
git config --global http.version HTTP/1.1
git push
git config --global http.version HTTP/2
2.
git config http.postBuffer 524288000
I tired both, but I failed.
In luck you could success.
Thank you.
4/16/2021
jupyter print clear
Use Ipython.disply to make printed thing clear.
Thank you.
๐๐ป♂️
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv rgb converting example code. refer to this page -> http://feel...
-
The latent SVM tells the learning method used in this paper -> "Discriminatively trained deformable part models". The authors s...
-
My Environment : MS VS 2008 & MFC(Dialog Based) Joy Stick : Logitech Extreme 3D pro (XBox Type) Cteated Date : 2012. 03 [source code]...
-
refer to code: .. import torch # create a tensor x = torch . randn ( 3 , 4 ) # set print options to display full tensor torch . set_print...
-
Created Date : 2011.10 Language : C/C++ Tool : Microsoft Visual C++ 2008 Library & Utilized : OpenCV 2.3 Reference : SIFT referenc...
-
KEY KeyCode ASCII KEY KeyCode ASCII 0 48 48 Numpad 0 96 48 1 49 49 Numpad 1 97 49 2 50 50 Num...
-
Example 1: Basic Variadic Template # include <iostream> // 1. Simple function that accepts any number of arguments template ...
-
Video stabilization example source code. The principle is like that... Firstly, to obtain 2 adjacent images extract good feature to t...
-
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
-
make well divided linear coordinate And make pair coordinate Please see code for detail explanation. import numpy as np import cv2 ...