Silicon's blog

Menu
  • Home
  • Kadena
  • Solana
  • Ethereum
  • Bot Automation
  • Proxmox
  • Nginx Proxy Manager
  • Others
  • Contact
Menu

Author: Silicon

[Curve Fitting & peak search] Fast fitting a Guassian probability function to data points using C & python

Posted on September 13, 2022May 17, 2023 by Silicon

In some scenarios, for instance, in Xilinx’s Vivado HLS, we may need to write our own curve fitting function as such function is not built-in and external library may not be quick enough to handle our needs. In this article, A rapid Guassian fitting method suggested by Jacquelin will be introduced. In my case, it…

Continue reading

Fitting quadratic equation to a set of data points using Least Squares Method with C and Python (Verified with curve fitting function in Excel)

Posted on September 5, 2022May 17, 2023 by Silicon

  According to Sharma’s article, any polynomial equations could fit to a given set of data points in this way. To fit a qudratic equation to the data points below, we may try to use Sharma’s method with N = 5 (We have 5 data-point pairs). After Gaussian elimination, we will get a0 = 0.55,…

Continue reading

Changing the site url (public/private IP) and disabling all plugins of WordPress without accessing the admin dashboard

Posted on August 5, 2022May 17, 2023 by Silicon

  MAKE SURE TO BACKUP ALL YOUR DATA BEFORE USING THIS METHOD! Step 1: If you are using docker to run the MySQL server, In my case, it’s Connect to the MySQL database In my case, it’s Step 2: Display all of the databases and select the WordPress database Step 3: Modify the site URL…

Continue reading

Install fail2ban on Proxmox 7 (7.0-11)

Posted on June 6, 2022May 17, 2023 by Silicon

  This article is based on a post from the Proxmox forum: https://forum.proxmox.com/threads/pmg-7-debian-11-with-fail2ban.96109/ Step 1: Update the list of available packages & install the Fail2ban package Step 2: Edit the Fail2ban settings Step 3: Edit the Fail2ban filter. The filter is the updated one and has slightly different from the original post Step 4: Restart…

Continue reading

Create Proxmox Cluster (over a private network) using Tinc [Tedious method]

Posted on June 6, 2022May 17, 2023 by Silicon

  This article is based on this post. Since it’s dated, this article will update some steps so that Tinc could work on Proxmox 7. Proxmox Cluster uses corosync to synchronize each node. The corosync process itself is critical for latency. It is recommended the latency between each node is less than 10ms. If your…

Continue reading

Create Proxmox Cluster (over a private network) using Tailscale

Posted on June 6, 2022June 2, 2023 by Silicon

  The previous article makes use of a lightweight VPN service Tinc to create a Proxmox cluster. In this article. I will introduce a more straightforward method to create a Proxmox cluster over a private network with the help of Tailscale. Linus servers used in this article: Ubuntu Server 22.04 LTS Proxmox Cluster uses corosync…

Continue reading

Create Master-Master MySQL replication (over a private network) using Tailscale

Posted on June 6, 2022May 17, 2023 by Silicon

  To secure our servers, we shall avoid synchronizing the MySQL database over the public network. In this article, I will introduce how to synchronize two MySQL databases with master-master replication inside your Tailscale private network. Follow Steps 1-5 on this article or instructions on the Tailscale official website to set up Tailscale on your…

Continue reading

Synchronize your folders using Syncthing inside a Tailscale private network

Posted on June 6, 2022May 17, 2023 by Silicon

  We shall avoid using Syncthing over the public network directly to secure our servers. In this article, I will introduce how to synchronize folders using Syncthing inside your Tailscale private network. Follow Steps 1-5 on this article or instructions on the Tailscale official website to install Tailscale. Follow Steps 1-6 below or this article…

Continue reading
  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
©2024 Silicon's blog
Click to Copy