David Dong

David Dong

Java/C/C#/Python

Java/C/C#/Python

  • posts

  • Getting started with Jekyll (2)

    This page will continue to give a brief introduction of the Jekyll grammar.

  • Getting started with Jekyll (1)

    Jekyll theme pic
    In my last article, I have introduced how to create a blog based on Github Pages, if you haven’t read it and you want to read it, find the article at here. Following that article, this page will give a brief introduction to Jekyll and its installation.

  • How to build your personal blog on Github Pages

    I have constructed my blog by Jekyll on Github Pages, I thought I should write an article to introduce how to make your own blog website by Jekyll on Github Pages.

  • Powershell and CMD

    Although both of them are command-line consoles of the Windows system, and they have a similar outlook and Powershell can be treated as an updated version of CMD, the intrinsic design model of them is different.

  • Android Aidl 开发

    犹豫了几天,觉得还是把这部分内容写一下吧。虽然在网上已经一大堆了,但是写作本身也是一个查漏补缺的过程。通过对知识的总结归纳可以进一步加深理解。

  • Use bcdedit.exe in Windows

    BCDEDIT - Boot Configuration Data Store Editor.
    Bcdedit.exe is a command-line tool for managing boot configuration data (BCD). To use this tool needs the administrator permission to start a command-line window.

  • 几种常见的排序算法

    cover
    记得很多年以前,在我研究生毕业找工作那会儿,面试的时候被面试官问到过两次关于排序算法的问题。这件事至今给我的印象比较深刻,因为很少有在不同的面试过程中会被问到相同的问题。由此可见排序算法在面试中占有很大的比重,其实这也是考察程序员的一个基础。前几天在招聘的过程中又想起了这件事,觉得虽然这个问题比较基础,但是还是有必要整理总结一下的。

  • 聊一聊开源协议那些事

    cover
    说到开源代码,有些人认为既然都已经开源了,那自然不需要声明任何软件的许可协议。有意思的是,事实正好相反,如果你想把代码分享出来,最好还是选择一个合适的开源协议,这样别人才可以放心的使用。让我们先看一看什么是开源协议。

  • A way to fix .gitignore doesn't work

    You may have run into situations where .gitignore doesn’t work.😕
    During the project development, you want to add some directors or files into the ignore rule and you specified them at the .gitignore. You committed and checked the status, unfortunately, you found they were still being tracked.

  • Read/Write system property in Android APP

    Recently I need to read system property in my Android app development. I checked the Android documents and found that Android has a Systemproperties class to handle this kind of requirement. However, Systemproperties class isn’t a public class of SDK, which means it is invisible to the app developer. My understanding is that Google wants this class to be used for Android source developers rather than application developers.

  • Getevent command usage

    Android provides an ADB command getevent to obtain input events, such as obtaining key reporting events, obtaining touch screen reporting events, etc.

  • Use of .PHONY in makefile

    You may have run into a situation where the name of the makefile command conflicts with the file name under the same directory.