Silicon's blog

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

Tag: others

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

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

  In this article, A high speed Guassian fitting method suggested by Guo’s will be introduced. In my case, it is around 200x faster compared to the python’s lmfit library and has a similar speed compared to previously demonstrated Jacquelin’s method. The model used in Guo’s article is: Its peak can be calculated using these…

Continue reading

[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

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

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
©2024 Silicon's blog
Click to Copy