- 博客(11)
- 资源 (13)
- 收藏
- 关注
原创 使用debuginfo-install安装glibc
安装yum-utils[root@localhost ~]# yum install nss-softokn-debuginfo --nogpgcheck[root@localhost ~]# yum install yum-utils使用debuginfo-install安装glibc[root@localhost ~]# debuginfo-install glibc
2018-01-31 17:49:58 3713
原创 121. Best Time to Buy and Sell Stock
Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), d
2018-01-26 10:50:10 168
原创 53. Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4],the contiguous subarray [4,-1,2,1] ha
2018-01-25 16:53:12 148
原创 10. Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire inpu
2018-01-25 11:05:07 151
原创 763. Partition Labels
A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing
2018-01-23 16:17:16 201
原创 读内核源码(Linux 4.9.9)之共享内存的实现
1 共享内存使用1.1 共享内存头文件#include#include1.2 共享内存APIint shmget(key_t key,size_t size,int shmflg);@key : 提供一个参数key,它有效地为共享内存段命名,@size : 以字节为单位指定需要共享的内存容量@shmflg : 是权限标志,它的作用与open函数的mo
2018-01-22 20:18:01 1275
原创 Merge Two Binary Trees
Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.You need to merge them into a new binary tr
2018-01-22 17:48:24 217
原创 654. Maximum Binary Tree
Given an integer array with no duplicates. A maximum tree building on this array is defined as follow:The root is the maximum number in the array.The left subtree is the maximum tree constructed f
2018-01-22 16:53:36 142
原创 760. Find Anagram Mappings
Given two lists Aand B, and B is an anagram of A. B is an anagram of A means B is made by randomizing the order of the elements in A.We want to find an index mapping P, from A to B. A mapping P[
2018-01-22 14:49:18 326
原创 内核添加调试信息
Systemtap需要添加kernel-debuginfo和utrace支持,添加一下选项,重新编译内核CONFIG_KPROBE=yCONFIG_DEBUG_INFO=yCONFIG_DEBUG_FS=yCONFIG_RELAY=yCONFIG_KPROBE_EVENT=yCONFIG_UPROBE_EVENT=yC
2018-01-17 18:35:54 1284
原创 openstack访问horizon出现End of script output before headers: django.wsgi
WSGIApplicationGroup %{GLOBAL}把上面这行添加到/etc/apache2/conf-available/openstack-dashboard.conf重启httpd
2018-01-02 11:07:29 1164
奥比中光3D摄像头驱动(包含Linux和Windows)
2023-03-16
bcprov加密库
2018-11-06
fer2013.tar.gz
2018-08-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人