码迷,mamicode.com
首页 >  
搜索关键字:ln ln -s ln -v    ( 1954个结果
[LeetCode] Reorder List
Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For exam...
分类:其他好文   时间:2015-06-24 16:18:59    阅读次数:105
[转]Linux中设置服务自启动的三种方式
from:http://www.cnblogs.com/nerxious/archive/2013/01/18/2866548.html有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立...
分类:系统相关   时间:2015-06-24 14:23:15    阅读次数:136
mac 默认python2.7 修改成3.4
首先 which python 找到 连接目录/usr/bin/python备份链接mv python /Users/xiaoyu/python生成链接 其实就是win的mklink /d /ssudo ln -s /usr/local/Cellar/python3/3.4.3/bin/python...
分类:编程语言   时间:2015-06-23 15:32:23    阅读次数:150
delphi 高亮选中MEMO某一行
http://www.delphitop.com/html/kongjian/2641.html选中第5行//转到指定行并选中这行的文本procedure SelectLine(Memo1: TMemo; ln: Integer);begin Memo1.SelStart := SendMessa....
分类:Windows程序   时间:2015-06-22 22:16:19    阅读次数:319
linux进入软连接所指向的原目录
软连接就是一个快捷方式,建立软连接的方法ln -s source-path-or-file link-file建立硬连接ln source-path-or-file link-filelinux进入软连接所指向的原目录cd $(readlink -f link-file)linux - Find o...
分类:系统相关   时间:2015-06-21 15:42:09    阅读次数:279
bzoj1007
1007: [HNOI2008]水平可见直线Time Limit:1 SecMemory Limit:162 MBSubmit:4365Solved:1599Description在xoy直角坐标平面上有n条直线L1,L2,...Ln,若在y值为正无穷大处往下看,能见到Li的某个子线段,则称Li为可...
分类:其他好文   时间:2015-06-19 16:43:56    阅读次数:103
redis安装配置
一、下载和安装rediscd/usr/local/src/wgettar-zxvfredis-2.8.3.tar.gz cdredis-2.8.3 make mkdir/usr/local/redis cpredis.conf/usr/local/redis cd./src cpredis-server/usr/local/redis cpredis-benchmark/usr/local/redis cpredis-cli/usr/local/redis ln-sv/usr/local/red..
分类:其他好文   时间:2015-06-18 22:23:51    阅读次数:158
uva 11346 - Probability(可能性)
题目链接:uva 11346 - Probability题目大意:给定x,y的范围。以及s,问说在该范围内选取一点,和x,y轴形成图形的面积大于s的概率。解题思路:首先达到方程xy ≥ s。即y = s / x。S2的面积用积分计算,y = s / x的原函数为lnx所以S2=s?(ln(a)?ln...
分类:其他好文   时间:2015-06-18 19:21:54    阅读次数:119
leetCode(6):Reorder list
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it t...
分类:其他好文   时间:2015-06-17 16:44:38    阅读次数:126
linux 命令——35 ln(转)
ln 是linux中又一个非常重要命令,它的功能是为某一个文件在另外一个位置建立一个同步的链接.当我们需要在不同的目录,用到相同的文件时,我们不需要在每一个需要的目录下都放一个必须相同的文件,我们只要在某个固定的目录,放上该文件,然后在其它的目录下用ln命令链接(link)它就可以,不必重复 的.....
分类:系统相关   时间:2015-06-17 12:59:43    阅读次数:127
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!