- 博客(65)
- 资源 (15)
- 收藏
- 关注
原创 windows 环境安装 minicpan (perl 的本地库,适合无互联网环境安装新的perl模块)
问题: windosw 环境安装了perl (strawberry), 但是该服务器无法接入互联网,如何安装新的perl的模块?解决方法及步骤: 1. 在linux机器上连如互联网安装minicpan, (之所以称为mini,意思是只有最新的包) 方法参考 http://search.cpan.
2017-12-05 15:02:19
743
转载 使用Visual Stiduo 编译 vim 源码
参考文档链接: http://vim.wikia.com/wiki/Build_Vim_in_Windows_with_Visual_Studio提示: 1. 上述网络文档中使用 Mercurial 下载 vim 源码,下载地址国内被墙掉了, 可以去github下载最新源码,下载地址如下: https://github.c
2016-11-30 15:50:23
622
转载 谁说VIM不是IDE(转池建强博客文章)
最近看到的最简洁的一篇介绍VIM的文章windows用户在vim安装目录下可以找到_vimrc文件对应linux用户的.vimrc文件。autoload, bundle,doc如果没有,在vim安装目录下新建就可以了。原文地址:http://www.cnblogs.com/chijianqiang/archive/2012/11/06/vim-3.html
2015-12-16 09:26:37
538
原创 MIT python 公开课
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/我们为什么没有这样的老师!! (十万个不为什么)
2014-03-30 13:39:11
4475
转载 完整版本 .vimrc for python env
双引号开头的行代表注释,里面有插件的安装方法。set guifont=courier_new:h16set cursorline culcolorscheme darkbluenmap gO Ojnmap g ok" source $MYVIMRC reloads the saved $MYVIMRC nmap s :source $MYVIMRC" opens $
2014-03-27 12:08:42
3268
原创 mac osx 安装vim python环境
安装说明:参考 Martin Brochhaus 的视频# form http://mercurial.selenic.com/downloads# download and install mercurial for mac# install fink cd ~# hg clone using proxy hg --config h
2014-03-27 01:56:13
3501
转载 将vim变成python编辑器
http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide
2014-03-22 01:16:37
649
转载 两个学习hadoop的网址
Writing Hadoop Applications in Python with Hadoop Streaminghttp://www.glennklockwood.com/di/hadoop-streaming.phpYahoo! Hadoop Tutorialhttp://developer.yahoo.com/hadoop/tutorial/index.h
2014-03-21 01:31:01
938
转载 将 linux mint 从 15 升级 到 16
$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list$ sudo sed -i 's/olivia/petra/' /etc/apt/sources.list$ sudo sed -i 's/raring/saucy/' /etc/apt/sources.list.d/official-package-repositories.list
2014-03-19 19:50:08
751
转载 Python Iteration 介绍
Python Iteration 介绍, 简单明了的循环。函数编程的基础。http://nedbatchelder.com/text/iter.html
2014-03-13 00:08:32
1620
原创 gvim 的启动配置文件 .vimrc
set guifont=courier\ new\ 16set number set smartindentset smartcasecolorscheme darkbluenmap gO Ojnmap g okset cursorline cul" source $MYVIMRC reloads the saved $MYVIMRC nmap s :sourc
2014-03-01 13:42:06
795
转载 使用python来玩转ensp~系列1-telnet方式登录管理设备
原文地址 : http://support.huawei.com/ecommunity/bbs/10173767.html#!/usr/bin/python#coding=utf-8# 通过telnet 远程登录设备import telnetlibimport osimport timeimport sysreload(sys)sys.setdefaultencoding("
2014-02-18 23:23:34
3067
转载 google python 入门教学课程
Google's Python ClassWelcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, l
2014-01-01 17:33:50
6348
原创 发现一个比较详细的vim介绍
发现一个比较详细的vim介绍http://easwy.com/blog/archives/advanced-vim-skills-catalog/转载自Easwy的博客 [ http://easwy.com/blog/ ]
2013-06-09 12:18:50
755
转载 vim 小贴士
Best Vim TipsTip 305 Printable Monobook Previous Nextcreated 2002 · complexity intermediate · author zzapper · version 7.0Here is a necessarily cryptic list of the Best Vim Tips. There i
2013-06-08 01:01:54
1822
原创 一本关于vim 脚本的书
想成为vim高手吗,想摆脱纯手工编辑吗,看看这本书吧:http://learnvimscriptthehardway.stevelosh.com/
2013-06-05 23:57:09
470
转载 使用 copy 命令备份windows dhcp数据
加以下内容放入.bat文件中,然后在计划任务中执行,就可以实现定期备份功能。目录名称仅为参考,详细说明见原文。 rem ----- 將開始複製時間寫入 log 紀錄中 ----- echo 開始複製 DHCP Database Files >> D:\log\dhcp\%date:~0,4%%date:~5,2%%date:~8,2%.log TIME /T >> D
2013-05-30 14:38:54
796
转载 编辑利器 vim 培训笔记--入门好帮手
转载地址:https://github.com/shawncplus/vim-classes没搞明白,为什么vim.org不能直接访问,就是一个编辑器啊。Joy of Painting[1] with Bob Ross[2][1] - Vim[2] - Shawn BiddleModality三种模式:插入,浏览,命令。Insert - Brush is
2013-05-21 22:09:51
957
转载 好程序员三大优点
Three VirtuesAccording to Larry Wall(1), the original author of the Perl programming language, there are three great virtues of a programmer; Laziness, Impatience and HubrisLaziness: The qua
2013-05-21 16:35:27
3172
转载 perl 时间
#! /usr/bin/perl -wuse v5.14;#参考 perl tutorial time,请看我之前的文章:perl 视频小教程第22课my $time = localtime(time);say $time;$time = gmtime(time); #格林威治 main timesay $time;$time = time;
2012-10-05 01:41:34
411
转载 转载唐凤的博客 :: Perl 6 十周年慶
2010.07.19Perl 6 十周年慶: 前言 (五之一)(This is a translation of masak++'s excellent Perl 6 anniversary post, part 1 of 5.)(這是 masak++ 一篇網誌的中譯,分五部刊出,這是第一部份。)十年前的今天,Jon Orwant 在一場會議上摔咖啡杯。
2012-09-29 15:59:08
4410
转载 perl 6 第一个编译器pugs的实现人唐凤/唐汉宗
http://zh.wikipedia.org/wiki/唐鳳她的博客:http://pugs.blogs.com/pugs/pugs:http://pugscode.org/
2012-09-29 01:19:29
3938
转载 perl 5 智能匹配
~~ 前面的两个波浪不是表情,他们是perl 5 引入的智能匹配。用途:1. 判断hash中是否存在某个值: %names ~~ /Fred/ hash表names中如果有Fred这个value,上面的表达式返回真值(可用正则表达式)2. 判断两个数组是否是一样的: @name1 ~~ @name2 如果两个数组一致,上面的表达式返回真值。
2012-09-09 00:00:40
704
转载 一篇老文章:If programming languages were religions...
转载网址:http://blog.aegisub.org/2008/12/if-programming-languages-were-religions.htmlMonday, December 15, 2008If programminglanguages were religions...By amz at 14:52And now, for some off-topi
2012-09-05 23:05:46
984
转载 写脚本易,写程序难。
看看 perl 之父 larry wall 指点江山介绍两个英文翻译网站,可能会有帮助。www.zhuaniao.comwww.dict.cnProgramming is Hard, Let's Go Scripting...By Larry Wall on December 6, 2007 12:00 AMI think, to mostpeo
2012-08-29 10:36:06
4054
转载 perl 安装本地CPAN
Install your own Perl with your own CPANYes I know, it exists a featured tool called perlbrew but can happen that· your home dir has not enough space· you
2012-08-25 09:45:18
3648
原创 Perl Telnet 登录 Cisco交换机,并执行命令。
#! /usr/bin/perl -wuse strict;use 5.010;use Net::Telnet::Cisco; #需要安装这个module, 需要有internet连接, windows安装命令如下#c:\> cpan#cpan> install Net::Telnet::Cisco; # hostip1 数组中可放入多个交换机地址,在循
2012-08-23 12:23:38
1205
转载 FreeBSD 将会抛弃 gcc, 转而使用Apple的LLVM/Clang 。
FreeBSD 10 To Use Clang Compiler, Deprecate GCCPosted by Michael Larabel on May 12, 2012As indicated by the Q1-2012 FreeBSD Status Report, LLVM'sClang compiler is quickly replacing GCC for this
2012-08-14 20:51:23
1514
转载 Mac OS X 背后的故事(六)Cordell Ratzlaff 引发的 Aqua 革命(上)
Mac OS X 背后的故事(六)CordellRatzlaff 引发的 Aqua 革命(上) 文 / 王越 Aqua是Mac OS X Public Beta全新用户界面的名字,英文中为水的词根,寓意以水为灵感,精心设计。Steve Jobs曾介绍说,Aqua的设计是如此之美好,初次见它甚至有想亲吻的冲动。本篇Cordell Ratzlaff 引发的 Aqua 革命(上)介绍的是
2012-08-09 15:10:26
2099
翻译 Mastering Regular Expression - 介绍 1 ( lookahead 光看不吃 )
Type Regex Successful if the enclosed subexpression . . .==========================================================================
2012-08-09 11:24:26
975
翻译 Mastering Regular Expression 代码介绍 - 摄氏度 华氏度 转换
#! /usr/bin/perl# 输入格式 32F 华氏度,100C 摄氏度 ,注意字母为大写print "Enter a temperature (e.g., 32F, 100C):\n"; $input = ; # This reads one line from the user.chomp($input); # This removes the ending
2012-08-07 14:15:19
688
翻译 Mastering Regular Expression 代码介绍 1 - 重复单词处理
$/ = ".\n"; # Sets a special ``chunk-mode''; chunks end with aperiod-newline combination while ({ next unless s{# (regexstarts here) ### Need to match oneword: \b
2012-07-31 18:16:50
420
翻译 Mastering Regular Expression 代码介绍 3 - HTML 格式转换
#! /usr/bin/perl#完整版,综合代码介绍1,2undef $/; # Enter "file-slurp" mode$text = $text =~ s/&/&/g; # Make the basic HTML . . .$text =~ s/ . . .$text =~ s/>/>/g; # . . . HTML safe.$t
2012-07-27 13:36:30
410
翻译 Mastering Regular Expression 代码介绍 2 - HTML 格式转换
#HTML 格式转换,使用regular library 简化程序#Building a regex library$HostnameRegex = qr/[-a-z0-9]+(\.[-a-z0-9]+)*\.(com|edu|info)/i; # Turn email addresses into links . . . $text =~ s{ \b
2012-07-27 11:47:03
390
翻译 Mastering Regular Expression 代码介绍 1 - HTML 格式转换
#! /usr/bin/perlundef $/; # Enter "file-slurp" mode.$text = $text =~ s/&/&/g; # Make the basic HTML . . . $text =~ s/ . . . $text =~ s/>/>/g; # . . . HTML safe.$text =~ s/^\s*
2012-07-26 11:01:20
493
google python 教学 课程
2014-01-01
Agile Web Application Development with Yii 1.1 and PHP5
2012-04-25
离散数学及其应用-英文版-第7版
2012-04-12
算法导论 第3版 英文 非扫描版
2011-08-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人