Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Auto post



  Algorithm: Traverse binary tree

Preface There are three ways to traverse a binary tree based on the traversing order. Pre-Order: Root - Left - Right In-Order: Left - Root - Right Post-Order: Left - Right - Root Take below binary tree as example The node to be traversed in different order would be Pre-Order: A - B - C - D - E - F In-Order: C - B - D - A - E - F Post-Order: C - D - B - F - E - A Below are the implementations of different orders for traversing the binary tree. Pre-Order Traversing Recursive implementation N...

   ALGORITHM,BINARY TREE     2019-03-01 22:49:04

  Mac evolution history

Apple's WWDC is coming in a few hours. All Apple fans are expecting that Apple will release some new amazing Apple products. This year, what are we expecting? The result will be revealed in just a few hours. Before that, we can look back about the history of some Apple products such as Mac. Below is the Mac evolution history summarized by iheartapple2.com. We can take a few minutes to go through it. Reference : http://iheartapple2.com/post/52498663368...

   Apple,WWDC,Mac,History     2013-06-10 09:17:17

  How to use Chome dev tool to find event handler bound to an element

As a front end developer, there is frequent need to debug JS code and sometimes need to find out what event handler has been bound to a HTML element. In this post, we will show how to find out the click event handler bound to a HTML element, this same applies to other events as well. Nowadays, a web application is usually very complicated and there are lots of JS codes which makes it difficult to find out what click event handler has been bound to a HTML element, especially when the JS source co...

   JAVASCRIPT,CHROME,CHROME DEV TOOL,EVENT LISTENER     2019-08-17 22:14:36

  Create tweet without explicitly showing the link URL

When crafting a tweet, there are instances where we may wish to include a link, but we prefer the preview to be shown without displaying the URL explicitly after the tweet is published. How can we accomplish this? This article outlines the steps to achieve it. To begin, copy and paste the link you want to share into the tweet box. After clicking Post, the tweet will be published without displaying the link; instead, it will showcase the page preview, and clicking on the preview image will open ...

   TWEET,LINK URL,X,PREVIEW     2024-01-23 08:06:46

  Jack Ma speaks within the company's intranet post PDD earnings report

On November 28th, PinDuoDuo(PDD) released its financial report for the third quarter of 2023, ending on September 30th. The revenue for the third quarter was 688.4 billion RMB, showing a year-on-year growth of 93.9%. The net profit, according to the U.S. General Accounting Standards, reached 15.54 billion RMB, with a net profit margin of 22.6%. PDD attributed its overall positive performance to the accelerated recovery of the consumer market and the vigorous implementation of its "high-qual...

   PDD,JACK MA,ALIBABA     2023-11-29 06:02:09

  Weibo is testing an Instagram like app called Lvzhou

Weibo, the Chinese version of Twitter, is testing an Instagram like app called Lvzhou(Oasis in English). Now only invited people can access the app. You can download the app on App Store if you are an iPhone user or you can download online if you are an Android user. The vision of this app is to allow users to discover beautiful world, users can post photos or short videos and share with the rest of the world. Before you can access the app, you have to obtain an invitation code shared by y...

   INSTAGRAM,WEIBO,LVZHOU,OASIS     2019-09-07 09:59:54

  How to project a phone screen to a PC in Windows 10

In this post, we will show you a simple way to project a phone to a PC in Windows 10. Windows 10 provides a feature called Project to this PC which allows to project other devices on a PC installed with Windows 10. Below are the steps for doing this. 1.Press Win + i key to open Windows Settings. 2. In System menu, click Project to this PC option. Then select either Available everywhere on secure networks or Available everywhere. 3. Now open your phone which you want to project. Ensure it connec...

   PHONE,WINDOWS 10,WIRELESS PROJECTION     2020-03-06 19:53:40

  Guide for installing Ubuntu in VirtualBox on Windows

Have you ever tried to have two OSs installed on your PC? Do you want to try out the new Ubuntu system? If you do want to use Ubuntu when at the same time you are using Windows, you may want to install your Ubuntu in an VirtualBox. In this post, we will show you how to install Ubuntu in VirtualBox on Windows. Pre-requisites VirtualBox -- You can download it from Oracle. Ubuntu -- You can download it from here. Please note it should be an ISO file The Ubuntu used in this post is Ubuntu 12.04 LT...

   Ubuntu,Windows,VirtualBox     2014-01-15 03:21:05

  How to enable developer mode on Huawei

As a developer, there might be some need to fake locations when developing and testing mobile apps for different countries. Lots of the times some fake GPS apps will be used and they will ask to enable mock location access on the device before allowing you to fake GPS. To achieve this, we first need to have developer mode enabled. In this post, we will show how the developer mode can be enabled and disabled on Huawei devices. Go to Settings, find About phone and open it. You should be able to se...

   ANDROID,HUAWEI,DEVELOPER MODE,DEVELOPER OPTIONS     2020-08-15 21:22:29

  Shortcut keys in Sublime Text 3(Animated demo)

Sublime Text 3 is a light weight code editor which supports lots of languages. It has lots of shortcuts and plugins easing work of programmers. In this post, we will introduce some shortcuts supported in Sublime Text 3 and show how powerful they are. 1. Select sibling matching(equal) word (Ctrl + D) Put the cursor on one word, press Ctrl + D to select the word, then press Ctrl and following by pressing D, it will select next matching word. The number of Ds pressed will mean number of matching wo...

   TIPS,SHORTCUT KEY,SUBLIME TEXT     2016-04-28 02:41:28