A Fresh New Start

RuninChaos.com | Created by Runmin ZHAO

ABOUT


The Blogger

  • Name: Runmin ZHAO
  • PhD student, Tianjin University, China

    • Major: Heating, Ventilation and Air Conditioning (HVAC)
    • Research interest: Computational Fluid Dynamics, Urban Aerodynamics, Industrial Ventilation
    • Publication: Zhao, R., Qian, H., Liu, L., & Zheng, X. (2020). Comprehensive performance evaluation of a novel Aaberg exhaust system reinforced by a swirling jet. Building and Environment, 167, 106451.
    • Heavy user of $\LaTeX{}$ page-formatting and Beamer slides
    • Familiar with CAE software (Ansys FLUENT, ICEM CFD, Solidworks, OpenFOAM, ParaView)
    • Familiar with scientific programming using Python and C++
    • Familiar with CentOS Linux operating and basic web programming
  • Part-time English teacher

    • IELTS 7.5 (Listening 9, Reading 8)
    • Provide essential training in High school English and IELTS L & R
  • Amateur Violinist

    • Award-winning performance of several violin masterpieces
    • The former first violin of SEU Sinfonietta
    • Practicing the Mandolin
  • 2-year Meditator
  • Nintendo Switch and SONY PS4 player

My Resume >>

The Hoster

Shared virtual hosting, BCE, Baidu cloud.

  • Model: BC01
  • Price: 99RMB/Year
  • Storage:1024MB
  • Memory:128MB (Not enough for WordPress sites, but OK for Typecho sites)
  • Exclusive bandwidth:1Mbps
  • Unlimited concurrent connections
  • Unlimited transfer

The Content Management System

CMS: Typecho 1.1 >>
Theme: Amaze >> (Originally in Chinese. Edited the PHP code to display the sidebars in English)

The Mathjax Rendering

Added script codes in the <body> part of the file footer.php.

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath:  [ ["$", "$"],  ["\(","\)"] ],
      displayMath: [ ["$$","$$"], ["\[","\]"] ],
      processEscapes: true
    },
    "HTML-CSS": { availableFonts: ["TeX"] }
  });
</script>
<script type="text/javascript"
   src="https://cdn.bootcss.com/mathjax/2.7.2/latest.js?config=TeX-AMS-MML_HTMLorMML">
</script>

Nginx Rewrite

Added script codes in the file bcloud_nginx_user.conf in the webroot directory.

if (-f $request_filename/index.html){
    rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
    rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
    rewrite (.*) /index.php;
}

Add a New Comment

  1. Dr.Zhao

    Awesome!!!

    Reply
  2. Big Brother

    Fucking awesome!!!

    Reply