Optimize Hexo With Gulp

Gulp is an open-source JavaScript toolkit created by Eric Schoffstall used as a streaming build system in front-end web development. We can use Gulp to compress the hexo static resources so that accessing our website is becoming faster. There are lots to learn about Gulp but to use it here on our Hexo webte is simple.

And God Said ...

$$\begin{aligned}
\frac{\partial\mathcal{D}}{\partial t} \quad & = \quad \nabla\times\mathcal{H} & \quad \text{(Loi de Faraday)} \\[5pt]
\frac{\partial\mathcal{B}}{\partial t} \quad & = \quad -\nabla\times\mathcal{E} & \quad \text{(Loi d’Ampère)} \\[5pt]
\nabla\cdot\mathcal{B} \quad & = \quad 0 & \quad \text{(Loi de Gauss)} \\[5pt]
\nabla\cdot\mathcal{D} \quad & = \quad 0 & \quad \text{(Loi de Colomb)}
\end{aligned}$$

and then there was light…

Create Diagrams on Hexo With Mermaid

Install package

$ yarn add hexo-filter-mermaid-diagrams

Update Hexo Blog Layout for Theme Icarus

In this post I am following instruction kindly provided by xiefayang to create a two-cloumn layout for post pages for Hexo theme icarus, so that post pages are clean and tidy, and easier to focus.

What Is White Noise and Where You Can Try It

What Is White Noise and Where You Can Try It

Credit: unsplash-logoAnna King


In signal processing, white noise is a random signal having equal intensity at different frequencies, giving it a constant power spectral density. The term is used, with this or similar meanings, in many scientific and technical disciplines, including physics, acoustical engineering, telecommunications, and statistical forecasting. White noise refers to a statistical model for signals and signal sources, rather than to any specific signal. White noise draws its name from white light, although light that appears white generally does not have a flat power spectral density over the visible band.

Latex Automatic Equation Numbering in Hexo With MathJax Plugin

New in MathJax v2.0 is the ability to have equations be numbered automatically. This functionality is turned off by default, so that pages don’t change when you update from v1.1 to v2.0, but it is easy to configure MathJax to produce automatic equation numbers by adding:

1
2
3
4
5
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>

to your page just before the <script> tag that loads MathJax.js itself.

Understand and Derive Einstein Field Equations

Understand and Derive Einstein Field Equations

In this post I am to follow DrPhysicsA’s excellent explanation (video provided at the end) and to provide some ideas myself.
I am also planning to re-write it afterwards - based on my own understanding.

Optimize Hexo With Lazy Loading

Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed. It can contribute to efficiency in the program’s operation if properly and appropriately used.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×