最近在做毕设的收尾工作,很多程序都要部署到linux下来运行,遇到了挺多问题,昨天就集中性遇到了 在编译应用时,遇到了/usr/bin/ld: cannot
find -lxxx这种情况是系统找不到对应的库文件,其中,-lxxx表示链接库文件 libxxx.so。其命名规则是:lib+库名(即xxx...
分类:
其他好文 时间:
2014-05-19 21:30:52
阅读次数:
226
【线上维护的资料】中供JVM Crash命令列表top -H -b -n 1 -p
$pidecho "ibase=10;obase=16;$pid" | bcgrep xx jstack.logps auxf | grep
$gidnetstat -nal | grep 1521lsof -i:1...
分类:
其他好文 时间:
2014-05-19 09:59:30
阅读次数:
420
Question 1:Given an array of integers, find two
numbers such that they add up to a specific target number.The function twoSum
should return indices of...
分类:
其他好文 时间:
2014-05-19 09:35:41
阅读次数:
321
lspci | grep VGA如果显卡是
Nvdia的话第三方工具NVClock是一款Linux下对显卡进行调整的工具,到官方网站下载最新版.官方网站:http://www.linuxhardware.org/nvclock/命令行下运行:
Nvclock的格式 :./NVClock [选项] 还...
分类:
系统相关 时间:
2014-05-19 08:31:38
阅读次数:
356
Given a stringS, find the longest palindromic
substring inS. You may assume that the maximum length ofSis 1000, and there
exists one unique longest pa...
分类:
其他好文 时间:
2014-05-18 19:39:55
阅读次数:
355
简介grep (global search regular expression(RE)
and print out the
line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgr...
分类:
系统相关 时间:
2014-05-18 02:10:16
阅读次数:
529
1、安装gconf-editor yum list | grep conf-editoryum
install gconf-editor2、运行gconf-editor设置: apps ---> gedit-2 ---> preferences
----> encodingauto-detected...
分类:
其他好文 时间:
2014-05-17 18:18:56
阅读次数:
215
修改及查看mysql数据库的字符集Liunx下修改MySQL字符集:1.查找MySQL的cnf文件的位置find/-iname‘*.cnf‘-print/usr/share/mysql/my-innodb-heavy-4G.cnf/usr/share/mysql/my-large.cnf/usr/share/mysql/my-small.cnf/usr/share/mysql/my-medium.cnf/usr/share/mysql/my-huge.cn..
分类:
数据库 时间:
2014-05-16 02:33:28
阅读次数:
426
material=newMaterial(Shader.Find("Custom/Alpha"));material.SetFloat("_Shininess",materialAlpha);voidOnRenderImage(RenderTexturesource,RenderTexturedestination){Graphics.Blit(source,destination,material);}
分类:
其他好文 时间:
2014-05-16 02:28:04
阅读次数:
572
【题目】
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:
其他好文 时间:
2014-05-16 01:32:47
阅读次数:
406