Sep 28, 2014
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I’ll explain how Hugo uses templates and how you can organize your templates to create a theme. I won’t cover using CSS to style your theme.
We’ll start with creating a new site with a very basic template.
Mar 10, 2014
Move static content to static Jekyll has a rule that any directory not starting with _ will be copied as-is to the _site output. Hugo keeps all static content under static. You should therefore move it all there. With Jekyll, something that looked like
▾ <root>/ ▾ images/ logo.png should become
▾ <root>/ ▾ static/ ▾ images/ logo.png Additionally, you’ll want any files that should reside at the root (such as CNAME) to be moved to static.
Mar 12, 2019
Through my consulting experience started from last year, there were a couple of times when attendees were talking about the performance and usability issues of their security products. Interestingly enough, I found most of these issues were not related to the performance and features at all. Instead, they were more close to how devices are bought.
Among the discussions, a shared process is locking a brand, then deciding which models had the best fit in their environment and finally sought partners for the final procurement.
Jan 5, 2019
The past 2018, I hosted a couple of security workshops all over the world. During them, I was asked the same question for many times: “I am trying to have/have passed a certificate of xxx, what’s my level in the security area?” Like what I always suggest people who ask a similar question of CCIE, I’d like to use the most well-known terminology in the networking industry: It depends, which can be illustrated in two perspectives.
Jul 13, 2018
When networks are getting deeper and deeper into our everyday work life, they have become more and more complex. Opposed to traditional networks, their functionalities are wider and wider, which challenge the principles existed. Today’s networks demand better performance, scalability, flexibility, better operational cost efficiency and maximize link capacities. All the requirements force the network to have certain automation and can be managed by a centralized controller. This idea of managing the network is call software-defined-network (SDN).
Jun 2, 2018
Scale your services with Load Balancer A load balancer (LB) is a device that acts as a reverse proxy and distributes network or application traffic across a number of servers. LBs are used to increase capacity (concurrent users) and reliability of applications. They improve the overall performance of applications by decreasing the burden on servers associated with managing and maintaining application and network sessions, as well as by performing application-specific tasks.
May 2, 2018
Scaling up a network will face a lot of issues that don’t appear when it’s small. In this post, let’s look at what problems are they.
Stateful applications One of the most important decisions that make the Internet possible is to make the network stateless and push applications which are usually need to store states to end users. In the development of the network, stateful applications are inserted for certain purposes.
Jun 23, 2017
We all know the danger of alcohol and frequently overuse of it can lead to several liver diseases. Anyone who hasn’t had any alcohol or doesn’t know it is toxic can easily tell its side effects, without knowing how it affects your body inside, after a few drinks of it. You will notice how your heart rate increases and losing the ability to control your car. Those are symptoms of being drunk, or intoxicated.
Mar 31, 2017
Everyone has a different demand for a smart phone besides the basic features like making a call, texting etc. Maybe you need a better camera and more storage space for photo taking, another prefers a faster CPU and larger capacity of battery for better experience of gaming. What if we could provide modules to satisfy those demands with a unified framework, which includes motherboard and screen. Consumers could extent the usability of their phones with new modules, and manufactures could reduce the cost of R&D potentially.
Oct 29, 2015
We, ProjectMercury, recently wanted to move encoding jobs into OpenShift to make our workflow more effeciencitely. After some effort, we made it work. Here is a quick note of the process
Prerequests: 1. git 2. rhc
I assume you already have both of them
After sshed into your openshift virtual machine. Using following commands to install ffmpeg
cd $OPENSHIFT_DATA_DIR mkdir bin wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.gz tar -xvf yasm-1.2.0.tar.gz cd yasm-1.2.0 .