A Fresh New Start

RuninChaos.com | Created by Runmin ZHAO

ABOUT


The Blogger

  • Name: Runmin ZHAO
  • Master student, Southeast University, China

    • Major: Refrigeration and Cryogenic
    • 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
    • Working on CFD Theories
  • 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