I always googled the exact way to install certificates on Ubuntu local machine, so I left a note for my reference.
Ubuntu cert store http://manpages.ubuntu.com/manpages/jammy/man8/update-ca-certificates.8.html
Add the self-sign certificate to the trusted CA list under /usr/share/ca-certificates. The extension should be .crt. Add a line about the certificate in the configuration file /etc/ca-certificates.conf. Run sudo update-ca-certificates.
Why(When) I use 7-zip 7-zip can unarchive large files (more than 4 GB.) Compatibility with many formants (zip, tar, rar, gz, etc.). Install sudo apt install p7zip-full sudo apt install p7zip-rar # For extracting RAR file Unarchive 7-zip can extract from a lot of archived or zipped format in the same command.
7z x {{ archived_file }}
What’s lsyncd My understanding is, it’s kind of rsync daemon.
Install On Ubuntu Install on source servers (no need to install on destination servers).
apt update apt install lsyncd Set kernel parameter fs.inotify.max_user_watches.
/etc/sysctl.conf
# for lsyncd fs.inotify.max_user_watches = 8192000 Before running We should configure firewall so that the source server can SSH to destination servers.
Here is my ssh snippets.
Use (sync) Configuration Here is the configuration example.
mkdir /etc/lsyncd vim /etc/lsyncd/lsyncd.
Basic information about dataframe df.info() #basic information about dataframe len(df.index) #rethrn the number of rows (data) df.count() #return the number of values which are non-NaN on each column df.head() df.tail() Count the data in a column In this example, the column is “Product”.
df["Product"].value_counts() unique values to series.
df["Product"].unique() # the type numpy.ndarray check distrivution in graph # Check the data distribution # The column is Score ax = df["Score"]value_counts().plot(kind='bar') fig = ax.