- 我的消息
- 我的博客
- 我的学院
- 我的下载
- 我的收藏
- 消息
-
-
置顶 博客迁移至GitHub:www.bo-yang.net
本人博客已经正式迁移至GitHuhttp://bo-yang.github.io/
原创2014-06-01 03:32:119260 -
Shared-memory Based Ring Buffer
This post explains how to implement a ring buffer that can be shared between multiple processes. For the simplicity and efficiency, shared memory i...
原创2016-07-28 13:19:2110350 -
Coredump Decode
This is a summary of decoding Linux userspace process corefiles using GDB. PreparationDecodeExamples Example 1 - Buffer overflowExample 2 - Bus...
原创2016-07-17 00:14:018830 -
Retrieve Last Log After Crash
In Linux, there are two kinds of crashes - kernel panic/oom and user space core dump. For kernel panic, the standard config is rebooting the system...
原创2015-05-29 04:44:4711410 -
Linux System Log
Overviewprintkklogdsyslogdmesgsyslog-ngConvert Timestamp 1. Overview Linux adopts a ring buffer in kernel with a size of __LOG_BUF_LEN bytes to sto...
原创2015-01-13 07:52:0819720 -
Click Notes II - Click Script Language
The Click programming language was developed to configure Click routers, but nowadays you also can use it to write test cases for Click elements. ...
原创2015-01-09 01:12:3712840 -
Click Notes I - Overview
Click is a modular router toolkit written mainly in C++, which can be run in both user space and OS kernel space. Since its invention in late 1990s...
原创2014-12-24 06:01:2812850 -
Building Remote+Local *nix Develop Environment(II)
This is the second article(collection) on how to build a *nix development environment by integrating remote servers and local Linux/Mac clients...
原创2014-12-20 11:44:0616600 -
pthread_exit() in main()
Most threads call pthread_exit() implicitly on return from the thread start routine. Besides, pthread_exit() also can be used to terminate the init...
原创2014-11-21 14:13:4418230 -
Building Remote+Local *nix Develop Environment
1. .bashrc vs .bash_profile 2. sshfs 3. vim/gvim/mvim 4. ctags+vim+Tagbar 5. vnc
原创2014-10-22 14:00:5113700 -
Binary Tree Operations(IV) - Determine if a Binary Tree is a Binary Search Tree
This is the fourth article on binary tree operations. For other topics on binary tree, please refer to: Binary Tree Operations(I)Binary Tree...
原创2014-10-11 02:08:0513640 -
Find The Shortest Path In Triangle Numbers
Problem An example of triangle of numbers is: 1 / \ 2 5 / \ / \ 9 4 33 / \ / \/ \ 11 6 99 0 In each row (except for...
原创2014-09-16 23:48:0913020 -
String Permutation
The string permutation problem aims to find all the permutations of a string(re-arrangement of characters in this string). A string of length n has...
原创2014-09-16 23:47:2014810 -
Retrieve String From Sampled Slices
Given a string, such as 01001010101001101011, we can randomly sliced multiple substrings. Assume that during the slicing, due to some unexpected nois...
原创2014-09-16 23:47:1213440 -
Merge K Sorted Lists
Merge K Sorted Lists: http://bo-yang.github.io/2014/07/21/merge-k-sorted-lists
原创2014-09-14 21:37:0017490 -
Insertion Sort List
Insertion Sort List: http://bo-yang.github.io/2014/07/14/insertion-sort-list
原创2014-09-14 21:35:5212140 -
Word Search Problem - Non-recursive Solution
Word Search Problem - Non-recursive Solution: http://bo-yang.github.io/2014/07/28/word-search
原创2014-09-14 21:35:4513740 -
Linked List Cycle Problems
Linked List Cycle Problems: http://bo-yang.github.io/2014/07/13/linked-list-cycle
原创2014-09-14 21:35:1613890 -
Sort List
Sort List:
原创2014-09-14 21:32:3912510 -
Subset Sum Problem
Subset Sum Problem: http://bo-yang.github.io/2014/07/07/subset-sum
原创2014-09-14 21:32:3412300
-
- 学院
- 下载
- 消息