摘要: 手动挡 "访问应用(AK)Key http://lbsyun.baidu.com/apiconsole/key " "Basic Map Generator http://api.map.baidu.com/lbsapi/createmap/index.html" 在上一条的基础上添加更多的功能或者 阅读全文
posted @ 2016-07-28 05:54 乌祁班岚图 阅读(616) 评论(0) 推荐(0) 编辑
摘要: Ubuntu14.04+ 安装搜狗输入法 搜狗输入法是一款非常友好的输入法产品,从Ubuntu14.04开始对Linux支持,不过只是Debian系的,是 "Ubuntu优麒麟组" 引入的。优麒麟是针对国人设计的Ubuntu的一个版本,不过我个人更喜欢 "Deepin" ,他为linux舍弃带来了譬 阅读全文
posted @ 2016-07-21 21:43 乌祁班岚图 阅读(1854) 评论(0) 推荐(3) 编辑
摘要: 1. configure mysql and phpmyadmin 1.1 mysql 1.2 phpmyadmin edit /Applications/XAMPP/xamppfiles/phpMyAdmin/config.inc.php and add account info install 阅读全文
posted @ 2016-07-17 23:44 乌祁班岚图 阅读(278) 评论(0) 推荐(0) 编辑
摘要: R方法是可以调用其他的Controller中的方法, 例如 我想在Mit/DebugController.class.php中调用Foo/DoController.class.php中的share方法, 需要在Mit/DebugController.class.php中写成 这里是同一个项目底下的不 阅读全文
posted @ 2016-07-17 18:52 乌祁班岚图 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: function is_user_logged_in() { $user = wp_get_current_user(); return $user exists(); } wp_get_current_user调用 _wp_get_current_user _wp_get_current_user 阅读全文
posted @ 2016-07-17 10:15 乌祁班岚图 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Get Word Definition from dict.youda.com via Perl Script 获取基本释义 Get Basic Definition http://dict.youdao.com/fsearch?q= &doctype=json&xmlVersion=3.2&Ver 阅读全文
posted @ 2016-07-04 20:27 乌祁班岚图 阅读(372) 评论(0) 推荐(0) 编辑
摘要: Compress a Folder/Directory via Perl5 tested in Windows, Mac OS X, Ubuntu16.04 !/usr/bin/perl 压缩指定目录 nultiple folder use IO::Dir; use Archive::Tar; us 阅读全文
posted @ 2016-07-02 16:09 乌祁班岚图 阅读(185) 评论(0) 推荐(0) 编辑
摘要: add index.html to a directory recursively using Perl5 使用的目录,是从Perl下载的perl5.18.2的文档 "Look Here" !/usr/bin/perl filename : ban.pl 为指定目录以及其子目录,每个都添加一个ind 阅读全文
posted @ 2016-07-01 23:45 乌祁班岚图 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 需求: 只获取 ath 物种的 hairpin 序列 文件格式如下所示,以 打头的为 header,紧跟的为序列[AUCG]+ ( ) 1. Perl6的正则表达式和 perl5 不是一会事儿了 2. 文件 hairpin.fa 阅读全文
posted @ 2016-06-24 21:53 乌祁班岚图 阅读(195) 评论(0) 推荐(0) 编辑
摘要: ```javascript # add a new article reference to database function addnewpub() { var year = $("input#year").val(); var articlelink = $("input#articlelink").val(); var pdflink = $("input#pdflink").val();... 阅读全文
posted @ 2016-06-23 21:47 乌祁班岚图 阅读(141) 评论(0) 推荐(0) 编辑