首页 > 2014年09月03日 > 全部分享
Linux -- 手动新建用户
一、新增用户 /etc/passwd /etc/shadow pwconv1、打开 /etc/passwd 文件复制第40行并且粘贴到第41行2、使用命令 pwconv pwconv 命令使用 passwd 以及可选并已经存在的 shadow 来创建 shadow。3、打开/etc/shadow1 ...
分类:系统服务   时间:2014-09-03 18:05:07    收藏:0  评论:0  赞:0  阅读:308
JavaScript对象的创建之外部属性定义方式(基于已有对象扩充其属性和方法)
var person = new Object();person.name = "luogk";person.age = 33;person.say = function(){ alert(this.name + " , " + this.age);//this表示的是调用的对象即person...
分类:编程语言   时间:2014-09-03 18:04:46    收藏:0  评论:0  赞:0  阅读:219
《JS弹出页面》
一.引入两个文件1.macco.js(function ($) { var macco = { debug: true, // arguments : all // console.log log: function () { var a = window.console, b = argument...
分类:Web开发   时间:2014-09-03 18:04:37    收藏:0  评论:0  赞:0  阅读:291
linux 安装vsftpd
先贴地址吧:http://www.cnblogs.com/itech/archive/2012/09/16/2687378.htmlhttp://www.cnblogs.com/acpp/archive/2010/02/09/1666649.html没有ftp命令,所以先装ftp服务器吧,查了下,v...
分类:系统服务   时间:2014-09-03 18:04:26    收藏:0  评论:0  赞:0  阅读:244
getline和get的区别
#include#include#includeusing namespace std;int main(){ ifstream file("1.txt"); char ch[20]; cout<<"getline: "<<endl; while(file.getline(c...
分类:其他   时间:2014-09-03 18:03:57    收藏:0  评论:0  赞:0  阅读:293
Go标准库
bufio 实现缓冲的I/O bytes 提供了对字节切片操作的函数 crypto 收集了常见的加密常数 errors 实现了操作错误的函数 Expvar 为公共变量提供了一个标准的接口,如服务器中的运算计数器 flag 实现了命令行标记解析 ...
分类:其他   时间:2014-09-03 17:02:47    收藏:0  评论:0  赞:0  阅读:427
shell - 遍历目录并批量操作
需求:遍历所有apk安装包并批量安装。 思路:应该有很多种方式可以实现,但是对shell命令不熟悉,选了最简单的一种。find命令应该更简洁,日后更新。 read?-p?"input?path:"?SPATH install()?{ filelist=`l...
分类:其他   时间:2014-09-03 17:02:38    收藏:0  评论:0  赞:0  阅读:217
解决MySQL server through socket ‘/tmp/mysql.sock‘
:/alidata/www/default#?mysql?-u?root?-h?localhost?-p Enter?password:? ERROR?2002?(HY000):?Can‘t?connect?to?local?MySQL?server?through?socket?‘/tmp/mysql.sock‘?(2) 可能的解决方案...
分类:数据库技术   时间:2014-09-03 17:02:27    收藏:0  评论:0  赞:0  阅读:420
glance Metric Definitions
CPU and Memory Utilization Report Generation From glance UNIX Command Follow the below steps to collect the CPU and Memory Utilization for a particular physical server from ‘glance’ UNIX command...
分类:其他   时间:2014-09-03 17:02:17    收藏:0  评论:0  赞:0  阅读:507
jstl中的日期格式化
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> <fmt:formatDate value="${date}" type="both"/> ?2004-4-1 13:30:00 ? <fmt...
分类:Web开发   时间:2014-09-03 17:02:07    收藏:0  评论:0  赞:0  阅读:336
一些错误码的值
今天用av_seek_frame后,调用av_read_frame返回了错误码,花了点时间才确定错误码啥意思。 先记一下,方便以后查询和补充。 #include <stdio.h> #define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((u...
分类:其他   时间:2014-09-03 17:01:47    收藏:0  评论:0  赞:0  阅读:813
基于标签方式的工作流启动及任务执行开发说明
基于现在的系统的整合需求,本系统提供基于标签的工作流整合方式,工作流的启动及执行下一步时,均需要通过可以通过标识来处理完成。这使得基于JSP方式的流程整合变得很简单.? 自定义工作流启动 ? ? 系统提供启...
分类:其他   时间:2014-09-03 17:01:37    收藏:0  评论:0  赞:0  阅读:198
JDK1.6 自动生成WebService客户端代码
到需要生成客户端代码的项目根目录下执行 wsimport -keep? http://localhost:8080/HelloService?wsdl 命令即可 ?http://localhost:8080/HelloService是服务端地址...
分类:Web开发   时间:2014-09-03 17:01:27    收藏:0  评论:0  赞:0  阅读:266
Activiti工作流简单入门
BPMN 2.0 BPMN最初由业务流程倡议组织(BPMI)定案,现在BPMI并入到OMG(Object Management Group)了,则由OMG建立规范和维护。 BPMN 2.0正式更名为(Business Process Model And Notation)业务流程符号和模型,也有人...
分类:其他   时间:2014-09-03 17:01:17    收藏:0  评论:0  赞:0  阅读:437
企业级搜索应用服务器solr介绍
简介 ????Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。用户可以通过http请求,向搜索引擎服务器提交一定格式的XML文件,生成索引;也可以通过Http Get操作提出查找请求,并...
分类:其他   时间:2014-09-03 17:01:07    收藏:0  评论:0  赞:0  阅读:267
RESTful架构
越来越多的人开始意识到,网站即软件,而且是一种新型的软件。 这种"互联网软件"采用客户端/服务器模式,建立在分布式体系上,通过互联网通信,具有高延时(high latency)、高并发等特点。 网站开发,完全可以采...
分类:其他   时间:2014-09-03 17:00:57    收藏:0  评论:0  赞:0  阅读:292
maven打印依赖树
打印依赖树 ????????命令: mvn dependency:tree ????????执行结果: $ mvn dependency:tree [INFO] Scanning for projects... [INFO] [INFO] Using the builder org.apache.maven.lifecycle.inte...
分类:其他   时间:2014-09-03 17:00:47    收藏:0  评论:0  赞:0  阅读:350
Storm【配置项】 - 详细解释
配置项 配置说明 storm.zookeeper.servers ZooKeeper服务器列表 storm.zookeeper.port ZooKeeper连接端口 storm.local.dir storm使用的本地文件系统目录(必须存在并且storm进程可读写) storm.cluster.mode Storm集...
分类:其他   时间:2014-09-03 17:00:37    收藏:0  评论:0  赞:0  阅读:275
postgresql常用命令
最近一直在学习Postgresql,下面是自己整理的Postgresql的常用命令 连接数据库, 默认的用户和数据库是postgres psql -U user -d dbname 切换数据库,相当于mysql的use dbname \c dbname 列举数据库,相当于mysql的...
分类:数据库技术   时间:2014-09-03 17:00:27    收藏:0  评论:0  赞:0  阅读:399
poj 2948
Martian Mining Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 2415   Accepted: 1480 Description The NASA Space Center, Houston, is less than 200 miles from ...
分类:其他   时间:2014-09-03 16:59:27    收藏:0  评论:0  赞:0  阅读:235
1493条   上一页 1 ... 21 22 23 24 25 ... 75 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!