hugo-logo

Hello Hugo

Before Start It鈥檚 been a long time since I wrote a blog post last time. That鈥檚 because I often reinstall my system on computer, and every time I install and configure the blog of hexo on my computer is a troublesome thing. But recently, I discovered hugo, a simple and easy-to-use blog system, which can keep me away from hexo, which is slow and troublesome to configure and install. It has a great experience to use and I happened to change a blog theme, so I decided to use hugo to build my new blog....

August 17, 2021 路 Aimer Neige

Ubuntu 20.04 Resolution Error Fix

After upgrade my ubuntu 20.04, I find the system ui resolution is small and looks ugly. I search google for this which tell me to reinstall my Graphics Card Driver. But it doesn鈥檛 work, so I have to try it myself. And here are my solutions: Open the settings. Select the Displays. Change the scale bigger. Select revert. All done. After the system reboot, this problem will appear again....

September 22, 2020 路 Aimer Neige

LeetCode Pyramid Transition Matrix

https://leetcode.com/problems/pyramid-transition-matrix/ We are stacking blocks to form a pyramid. Each block has a color which is a one letter string. We are allowed to place any color block C on top of two adjacent blocks of colors A and B, if and only if ABC is an allowed triple. We start with a bottom row of bottom, represented as a single string. We also start with a list of allowed triples allowed....

September 11, 2020 路 Aimer Neige

Dark Mode on Android

In this example, I am using Material Design. But you can also use the Theme.AppCompat.DayNight. This is a simple way to adapt a dark mode, if you wants more, check for GitHub or Internet. Change the style First you should use the DayNight style by Google. <style name="AppTheme" parent="Theme.MaterialComponents.DayNight"> If you want to let things easily, that鈥檚 enough. But you can also provide more adaptation. Adapt colors Make a new folder at project/app/src/main/res/values-night then make a new resource file colors....

September 5, 2020 路 Aimer Neige

Hello World

Welcome Welcome! HelloWorld This is a simple test for my first blog article. Mathjax Test 1 $$a_{PI}(x|D) = E[u(x) | x, D] = \int_{-\infty}^{f'} \mathcal{N}(f; \mu(x), \kappa(x, x)) \ df =\phi(f'; \mu(x), \kappa(x, x))$$ Test 2 $$\frac{e}{\left( e+e^{\pi} - \pi^{e}\right) ,\left( - e+\pi^{e}\right) }+{E(\left( e+\pi\right) ,\left( 2,e+\pi\right) )}^{e}$$ C #include <stdio.h>int main() { printf("HelloWorld!\n"); return 0; } C++ #include <iostream>int main() { std::cout << "HelloWorld!" << std::endl; return 0; } Java public class Main { public static void main(String[] args) { System....

January 24, 2020 路 Aimer Neige