上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 66 下一页
摘要: 1:将工程中的所有文件增加到git暂存区:y@y:testapp$ git add .2:推送报以下错误:y@y:android_test$ git push origin master Counting objects: 42, done.Delta compression using up to... 阅读全文
posted @ 2015-02-12 21:33 yshy 阅读(645) 评论(0) 推荐(0) 编辑
摘要: gitosis是Git下的权限管理工具,通过一个特殊的仓库(gitosis-admin.git)对Git权限进行管理。1:服务端安装并配置gitosis(1)通过以下方式获取到安装包root@wz:/home/git# git clone https://github.com/res0nat0r/g... 阅读全文
posted @ 2015-02-12 16:44 yshy 阅读(7766) 评论(0) 推荐(1) 编辑
摘要: Meld是一款跨平台的文件比较合并工具使用Python开发,具体内容参照官网:http://meldmerge.org/注意以下环境要求:RequirementsPython 2.7 (Python 3 not yet supported)GTK+ 3.6 (3.12 in development)... 阅读全文
posted @ 2015-02-12 10:25 yshy 阅读(517) 评论(0) 推荐(0) 编辑
摘要: -- tanslate(str,from_str,to_str)-- 将str中的from_str替换成to_strselect translate('hello','e','o') tfrom dual;-- instr(str,des_str)-- 可以实现like功能select instr(... 阅读全文
posted @ 2015-02-10 16:45 yshy 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 可以参考Express官网关于路由一节:http://expressjs.com/guide/routing.html1:通过使用GET、POST方式定义主页路由,app.js:var express = require('express');var app = express();app.get(... 阅读全文
posted @ 2015-02-09 18:37 yshy 阅读(568) 评论(0) 推荐(0) 编辑
摘要: Error: /home/y/my_note/nodejs/myapp/views/index.jade:20 18| -list=[{name:'zhangsan',age:25,email:'zhangsan@123.com'}] 19| -e... 阅读全文
posted @ 2015-02-09 15:16 yshy 阅读(2595) 评论(0) 推荐(0) 编辑
摘要: 修改.bashrc文件:原来: 59 #修改终端提示颜色 60 color_prompt=yes 61 62 if [ "$color_prompt" = yes ]; then 63 PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m... 阅读全文
posted @ 2015-02-09 14:18 yshy 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 1:首先将apk程序解压;2:将classes.dex反编译为jar包:$ ./dex2jar/dex2jar.sh classes.dex 将生成一个新的文件classes_dex2jar.jar3:利用jd-gui工具打开反编译后的classes_dex2jar.jar文件,工具将自动转化为ja... 阅读全文
posted @ 2015-02-09 11:16 yshy 阅读(175) 评论(0) 推荐(0) 编辑
摘要: AngularJS中不仅内置了许多指令,而且开发人员也可以通过自定义指令来完成特殊操作,指令创建成功后可以到处复用。Web应用中的分页处理最为常见,我们可以将分页模块编写成一个可以复用的Angular指令,在使用时无需考虑指令的内部实现细节,像使用普通HTML元素一样简单。1:index.html ... 阅读全文
posted @ 2015-02-07 11:42 yshy 阅读(2103) 评论(2) 推荐(2) 编辑
摘要: 1:ng-selected用在标签上面,ng-options用在 Selected City Code: {{ city.code }} 2:city.name作为用户选择时看到的值,用户选择的时city对象,通过c... 阅读全文
posted @ 2015-02-05 08:15 yshy 阅读(12676) 评论(0) 推荐(0) 编辑
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 66 下一页