This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. Headings The following HTML <h1>—<h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the …
Read More
Hugo ships with several Embedded Shortcodes for rich content, along with a Privacy Config and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. Instagram Simple Shortcode YouTube Privacy Enhanced Shortcode X Simple Shortcode Owl bet you'll lose this staring contest 🦉 …
Read MoreMathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. In this example we will be using KaTeX Create a partial under /layouts/partials/hooks/head-end.html Add these lines to the newly created partial: 1{{ if or .Params.math .Site.Params.math }} 2{{ partial "math.html" . }} 3{{ …
Read MoreEmoji can be enabled in a Hugo project in a number of ways. The emojify function can be called directly in templates or Inline Shortcodes. To enable emoji globally, set enableEmoji to true in your site's configuration and then you can type emoji shorthand codes directly in content files; e.g. 🙈 :see_no_evil: 🙉 …
Read MorePublished: Feb 10, 2019 Tags: iot, booknotes, smartcity Category: Engineering Smart cities: Everyone's connected If everyone, every home, and every business is connected via the IoT, why not take the next step and connect your entire neighborhood, or even the whole city? Connected devices can help reduce congestion on …
Read MorePublished: Jan 27, 2019 Tags: booknotes, sales Category: Business There is new challenge to sell since buyers have changed. When they have an issue, they go online to research their problem. Buyers self-educate, leaving the seller totally out of the loop. Without deep buyer understanding, it's increasingly difficult to …
Read MorePublished: Jan 13, 2019 Tags: ai Category: Engineering This blog introduces the basic knowledge of machine learning. The details of algorithm and programming will come in later blogs. Machine learning is a technology which can resolve the computational problem without programming specifically. Process Machine learning …
Read MorePublished: Dec 25, 2018 Tags: career Category: Management To be a great technical expert, you do not only do exceptional technical work, and also exceptional job to let people see your skills. Build your personal brand Your personal brand is how others perceive you. It means you can ask others, capture their language, …
Read MorePublished: Dec 09, 2018 Tags: career Category: Management 之前在网络上搜集到了多种关于职场建议的养分,也结合个人的经验教训,提取出些所谓的精华,大言不惭,称之为职场菜根谭。 职场潜规则 入职工资很重要: 这就是企业对于你的价值的一种认可程度,当然对自己的价值也需要有个清晰的认识,做决定时候应综合考虑 人事部不是你的倾谈对象 你的能力并不能确保你的安全: 熟悉企业‘政治’,摸清游戏规则 不要和老板作对: 赢率太小 学会要求加薪:证明价值,不能威胁上司,立场应该为“我很喜欢这个公司还有目前的业务,但是我觉得目前的工资跟我实际做的工作有差距,我希望工资能体现我的价值” 晋升方面不要 …
Read MorePublished: Dec 07, 2018 Tags: ai, smartcity Category: Engineering I had the honer to give an 'AI for Smart Cities' presentation in 'Big Data & AI Asia' conference Dec 5. The conference was hold in Suntec and it was a big event around hundreds people participated. I managed to convey the following messages in my talk: …
Read More