By admin , 3 五月, 2015 Git分支的使用 创建新分支: git branch <branch_name> 查看分支列表: git branch --list 删除分支: git branch -D <branch_name> 切换分支: git checkout <branch_name> 设置分支提交目标: git push --set-upstream origin <branch_name> 提交代码,同步到服务器: git commit -a -m "comments" git push 标签 Git
By admin , 27 四月, 2015 Drupal 7 文件操作指南 理解本文需要先知道如何创建一个Drupal 7模块。 1. Drupal 7的文件目录分类 Drupal 7的文件API分为unmanaged file和managed file两种类型,managed file会在数据库中记录文件的信息及引用记录。 Drupal文件对象有一个uri属性,它的形式如public://myfile.jpg,通过file_create_url($file->uri)可以把uri转换成web可访问的路径,如http://howto.eguidedog.net/sites/default/files/myfile.jpg Drupal内建了public、private和temporary流报装器(stream wrapper),PHP文件操作函数可以直接操作这些uri,例如我们可以通过filesize(‘public://myfile.jpg')获取文件大小,而不需要先转换成本地文件的地址。 Drupal中的private目录应该是放在一个不能直接从Web访问的目录,其内容通过PHP返回(这里有一个副作用是增加了系统开销)。 标签 Drupal 7 Drupal
By admin , 16 四月, 2015 Apache如何配置Perl支持 Alias /perl/ /home/hgneng/www-perl/ PerlModule ModPerl::Registry <Location "/perl/"> SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </Location> 标签 Apache Perl
By admin , 16 四月, 2015 怎样显示图片的一部分 img { position: absolute; clip: rect(0, 100px, 200px, 0); } W3schools例子 参考:http://stackoverflow.com/questions/57725/how-can-i-display-just-a-porti… 标签 CSS
By admin , 14 四月, 2015 一些曾经收藏过的杂乱的资料 http://perlbox.org/ - an voice enabled application to bring your desktop under your command. http://www.linuxrsp.ru/win-lin-soft/table-chn.html - Linux软件列表 http://bbs.chinaunix.net/forumdisplay.php?fid=25 - Perl Forum http://launchpad.net/ - a free software hosting and development website 标签 参考
By admin , 14 四月, 2015 Web技术相关资料 http://developer.yahoo.com/yui/ - The Yahoo! User Interface Library (YUI) http://xajaxproject.org/ - Write Ajax in PHP http://www.dynamicajax.com/fr/AJAX_Hello_World-.html - Ajax hello world http://code.google.com/p/google-axsjax/ - AxsJAX 标签 Web 参考
By admin , 14 四月, 2015 IDC http://www.cctvidc.com - 动力互联,在深圳,算便宜,规模较大 http://www.todayidc.com/ - 时代互联 http://www.linktom.com/ - 在北京,产权主机可邮寄获得,算便宜 http://www.gzsjzx.com - 广州互联网数据中心,QQ客服重来没人接,感觉不正规 http://www.ctohome.net - 这个比较正规和专业,但很贵 http://www.gzidc.com/idc_zy.php - 这个也较正规,也很贵 标签 参考
By admin , 14 四月, 2015 一些有趣的应用 http://sourceforge.net/projects/akmeffmpeg/ - Akme FFmpeg Transcoder (conver/encode video/audio) http://camstudio.org/ - an open source screen recorder in AVI format which can also convert to SWT (flash) format. http://gnuwin32.sourceforge.net/packages.html - GNU Win32 标签 参考
By admin , 14 四月, 2015 语音合成和语音识别相关资源 http://mac.hk/appletalk/viewtopic.php?p=270931 - 嚴重痙攣患者对Ekho的需求 http://pitl.homedns.org/tts/demo00.asp - 港韵 TTS http://sepc495.se.cuhk.edu.hk/cuvocal/Default.aspx - 中文大學「悠揚」語音合成系統 http://tdc.putonghuaonline.com/tools1.html - 看漢科技有限公司的 "e-Putonghua 網上學習平台" 标签 TTS 参考
最新评论