Blog of Tony Yuan

Walking on the Earth


  • Home

  • Tags29

  • Categories8

  • Archives63

  • Schedule

  • Books

  • Movies

  • Games

  • Gallery

  • About

  • Search

Add gallery function to Hexo framework by using CSS and markdown

Posted on 31-07-2019 | In Technique | Comments:
Symbols count in article: 7.2k | Reading time ≈ 7 mins.

My Hexo example link: https://yuan901202.github.io/gallery/

Function list

  • Main interface

    • Category album
    • Custom album name
    • Custom cover
    • Automatically cut the cover to the same size
  • Classified album interface

    • Third-order
    • Tiled by image original aspect ratio
    • Local picture source / picture bed outer chain
    • Uniform with the article illustration format
    • Click for larger image
  • Other

    • Custom album description
    • Local browsing
    • Page load speed optimization
Read more »

How to Fix App “is damaged and can’t be opened. You should move it to the Trash” Error on Mac

Posted on 26-07-2019 | Edited on 31-07-2019 | In Technique | Comments:
Symbols count in article: 4.8k | Reading time ≈ 4 mins.

Some Mac users may occasionally run into a somewhat strange error when they try to open an app that was downloaded to their Mac, upon launching the app a little “verifying” progress bar will appear and stall for a moment before an error alert message says “Appname.app is damaged and can’t be opened. You should move it to the Trash.” with an accompanying detail specifying when and where the file was downloaded from. You then have two options, to ‘cancel’ or to “Move to Trash” the app you downloaded.

Read more »

How Huawei's Hongmeng OS could change their position in mobile industry?

Posted on 16-07-2019 | In Some some | Comments:
Symbols count in article: 4.5k | Reading time ≈ 4 mins.

Huawei

Huawei Technologies Co. Ltd. (/ˈhwɑːˌweɪ/; simplified Chinese: 华为; traditional Chinese: 華為; pinyin: About this soundHuáwéi) is a Chinese multinational technology company that provides telecommunications equipment and sells consumer electronics, including smartphones, headquartered in Shenzhen, Guangdong.

The company was founded in 1987 by Ren Zhengfei. Initially focused on manufacturing phone switches, Huawei has expanded its business to include building telecommunications networks, providing operational and consulting services and equipment to enterprises inside and outside of China, and manufacturing communications devices for the consumer market. Huawei had over 188,000 employees as of September 2018, around 76,000 of them engaged in Research & Development (R&D). It has 21 R&D institutes around the world, and in the late 2010s, opened the dedicated Ox Horn Campus. As of 2017, the company invested US$13.8 billion in R&D.

U.S. measures intensified in May 2019; in the midst of an ongoing trade war between China and the United States, Huawei was restricted from doing commerce with U.S. companies due to alleged previous wilful violations of U.S. sanctions against Iran. On 29 June 2019, U.S. president Donald Trump reached an agreement to resume trade talks with China, and announced that he would ease the aforementioned sanctions on Huawei.

Read more »

风变编程 - Python基础语法

Posted on 22-06-2019 | Edited on 25-06-2019 | In Online Courses | Comments:
Symbols count in article: 11k | Reading time ≈ 10 mins.

“Talk is cheap, show me the code.” - Linus Torvalds

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library.

1
2
3
4
5
Python is powerful... and fast; 
plays well with others;
runs everywhere;
is friendly & easy to learn;
is Open.
Read more »

What is WWDC 2019 about?

Posted on 04-06-2019 | Edited on 08-06-2019 | In Some some | Comments:
Symbols count in article: 7.8k | Reading time ≈ 7 mins.

Apple WWDC 2019

On 4th June, 2019, 5:00 am NZ time, the Apple WWDC Developers Conference was held at the San Jose Convention Center. As an annual regular meeting, Apple is showcasing the latest technology changes to global developers. This conference continues the previous main tone of WWDC “software-based, hardware-assisted”, software upgrades in the operating system: in addition to bringing iOS 13, watchOS 6, tvOS, the biggest highlight is the independent iPadOS finally “Qian Huwan Called out”; hardware has introduced a powerful new modular workstation host - Mac Pro, of course, the price is still showing Apple’s true native.

WWDC 2019: https://developer.apple.com/wwdc19/

Read more »

Arduino 21 - Stepper Motor步进电机实验

Posted on 03-06-2019 | In Arduino | Comments:
Symbols count in article: 1.5k | Reading time ≈ 1 mins.

步进电机是一种将电脉冲转化为角位移的执行机构。通俗一点讲:当步进驱动器接收到一个脉冲信号,它就驱动步进电机按设定的方向转动一个固定的角度(及步进角)。你可以通过控制脉冲个数来控制角位移量,从而达到准确定位的目的;同时你也可以通过控制脉冲频率来控制电机转动的速度和加速度,从而达到调速的目的。

Read more »

11 most popular static (blog) website frameworks

Posted on 02-06-2019 | Edited on 04-06-2019 | In Technique | Comments:
Symbols count in article: 5.4k | Reading time ≈ 5 mins.

Recently, it has been particularly popular to use static websites to build blogs. This blog is a static website hosted by GitHub Pages. Static websites are great for sites that focus on content, such as blogs. Then you might ask why you don’t need a wordpress (dynamic website).

Static websites have the following advantages over dynamic websites:

  • Save money. Static websites consume less system resources. If you hang on github pages, just register a domain name.
  • High speed. Without php parser, no database, the speed is naturally faster than dynamic website
  • Safety. Due to the simplicity of static websites, many web attacks are immune.
  • Simple configuration. Only need a web server (apache, nginx).
  • Easy to maintain.

The disadvantage of static websites is that they are weak in function and the interaction ability of users is not strong.

The static website generation tool can generate a website/blog from a simple plain text file. Common text formats are reStructuredText and Markdown, I am used to using Markdown.

If you want to build your own static website, you can use the 11 tools listed below:

Read more »

Change DNS for A Better Internet

Posted on 01-06-2019 | Edited on 10-06-2019 | In Technique | Comments:
Symbols count in article: 6.7k | Reading time ≈ 6 mins.

What is DNS?

The Domain Name System (DNS) is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to the numerical IP addresses needed for locating and identifying computer services and devices with the underlying network protocols. By providing a worldwide, distributed directory service, the Domain Name System has been an essential component of the functionality of the Internet since 1985.

Read more »

How to build a bolg with Hexo framework?

Posted on 31-05-2019 | Edited on 02-06-2019 | In Technique | Comments:
Symbols count in article: 8.1k | Reading time ≈ 7 mins.

Agenda

The process of building a blog is divided into three steps:

  • Write: Configuring the writing and formatting of the content

  • Build: Generate publishable final content from the original content you write

  • Publish: Make the content to be published visible to readers

Users who post content based on blog platforms only need to pay attention to the writing part, but to build an independent personal blog, all three aspects need to be concerned. Fortunately, there are a number of tools that help us simplify the process: the rich Markup language simplifies writing; the powerful static site builder simplifies builds; and the friendly hosting platform simplifies publishing.

Read more »

Agile & Scrum Overview

Posted on 30-05-2019 | Edited on 31-05-2019 | In Online Courses | Comments:
Symbols count in article: 2.2k | Reading time ≈ 2 mins.

Agile

Frameworks & Methodologies

  • Scrum
  • Extreme Programming (XP)
  • Lean
  • Kanban
  • RUP (Rational Unified Process)
  • Crystal
  • DSDM (Dynamics Systems Development Method)
  • FDD (Feature Driven Development)
Read more »
12…7
Tony Yuan

Tony Yuan

Kia Ora! My name is Tianfu (Tony) Yuan. And I’m a young passionate website developer living at New Zealand.
63 posts
8 categories
29 tags
RSS
Chat
GitHub E-Mail Twitter Facebook YouTube Instagram Skype LinkedIn
Creative Commons
Links
  • Github
  • WolframAlpha
© 2019 Tony Yuan All Rights Reserved | 481k | 7:17
Powered by Hexo v3.9.0
|
Theme – NexT.Gemini v7.1.1
|