首页 > 2015年08月15日 > 全部分享
samba服务器的安装与配置
首先使用yum安装yuminstallsambasamba-clientsamba-swat起服务servicesmbstart chkconfig--level3smbon按部门创建用户useradd-s/sbin/nologingm useradd-s/sbin/nologinhr useradd-s/sbin/nologindd useradd-s/sbin/nologinod useradd-s/sbin/nologinpd useradd-s/sbin/nologin..
分类:其他   时间:2015-08-15 06:46:26    收藏:0  评论:0  赞:0  阅读:268
MSP430WARE++的使用1:LG3641BH driver的调用方法
MSP430WARE是一套基于C++语言的开源的MSP430层次化软件架构,支持多种外设。本文将介绍数码管LG3641BH驱动程序的调用方法。     1、硬件原理图      采用下图所示的数码管LG3641BH电路,可以直接调用NixieTubeA驱动程序进行程序开发。         2、使用方法     a、加入驱动程序     选中NixieTubeA文件夹,右...
分类:其他   时间:2015-08-15 06:45:26    收藏:0  评论:0  赞:0  阅读:491
我对ThreadLocal的理解
声明:小弟菜狗一个,对ThreadLocal的描述和理解难免有所偏差         最近因为需要深入的了解android的handler消息机制而去查看了Looper的源码。众所周知在主线程中是不需要在程序员在代码新建一个Looper对象的,因为在主线程创建时它就被创建出来了。所以就好奇它是怎么被创建出来的然后发现它跟ThreadLocal 有关于是便查看了该类的一些资料,但还是不太理解。于是...
分类:其他   时间:2015-08-15 06:45:16    收藏:0  评论:0  赞:0  阅读:206
ZOJ 3686 A Simple Tree Problem(线段树)
A Simple Tree Problem Time Limit: 3 Seconds      Memory Limit: 65536 KB Given a rooted tree, each node has a boolean (0 or 1) labeled on it. Initially, all the labels are 0. We define this kind...
分类:其他   时间:2015-08-15 06:45:06    收藏:0  评论:0  赞:0  阅读:191
ZOJ 3693 Happy Great BG
Happy Great BG Time Limit: 2 Seconds      Memory Limit: 65536 KB The summer training of ZJU ICPC in July is about to end. To celebrate this great and happy day, the coaches of ZJU ICPC Team Navi...
分类:移动平台   时间:2015-08-15 06:44:56    收藏:0  评论:0  赞:0  阅读:283
Linux网络编程(3)——多进程、多线程
在我的里面已经介绍了linux下面c的进程、线程接口,这里就不做过多阐述了。 多进程 这里多进程采用传统的多进程模型,每当有客户端发来的连接时创建一个进程来处理连接,一个子进程对应一个连接。 有了上篇单一进程的基础,此处只做简单的修改便可以实现。 while(1){ clientfd = Accept(servfd, (struct sockaddr*)&cliad...
分类:编程语言   时间:2015-08-15 06:44:46    收藏:0  评论:0  赞:0  阅读:198
【LeetCode-面试算法经典-Java实现】【129-Sum Root to Leaf Numbers(所有根到叶子结点组组成的数字相加)】
【129-Sum Root to Leaf Numbers(所有根到叶子结点组组成的数字相加)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.   An example...
分类:编程语言   时间:2015-08-15 06:44:16    收藏:0  评论:0  赞:0  阅读:218
【LeetCode-面试算法经典-Java实现】【130-Surrounded Regions(环绕区域)】
【130-Surrounded Regions(环绕区域)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.   A region is captured by flipping all 'O's into 'X'...
分类:编程语言   时间:2015-08-15 06:44:06    收藏:0  评论:0  赞:0  阅读:216
【LeetCode-面试算法经典-Java实现】【134-Gas Station(加油站问题)】
【134-Gas Station(加油站问题】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  There are N gas stations along a circular route, where the amount of gas at station i is gas[i].   You have a car with an unlimited gas tan...
分类:编程语言   时间:2015-08-15 06:43:56    收藏:0  评论:0  赞:0  阅读:360
CC150-Array and String 1.3
problem:Given two string, write a method to decide if one is a permutation of the otherSolution:1. sort two strings and return weather str1 equal to s...
分类:其他   时间:2015-08-15 06:42:56    收藏:0  评论:0  赞:0  阅读:189
poj 1769 Minimizing maximizer(dp+线段树)
题意:数列长度为n,m次操作(n1); 对于每个i,有dp[ti]=min(dp[ti],min(dp[j](si#include#includeusing namespace std;#define inf 0x3f3f3f3fint dp[5000100];int num[5000100]...
分类:其他   时间:2015-08-15 06:42:46    收藏:0  评论:0  赞:0  阅读:336
Oracle Regexp_substr
Oracle中REGEXP_SUBSTR函数Oracle中REGEXP_SUBSTR函数的使用说明:题目如下:在oracle中,使用一条语句实现将'17,20,23'拆分成'17','20','23'的集合。REGEXP_SUBSTR函数格式如下:function REGEXP_SUBSTR(Str...
分类:数据库技术   时间:2015-08-15 06:41:56    收藏:0  评论:0  赞:0  阅读:147
解决R速度太慢问题
R的速度慢一直被人诟病,最近做一个比较大的dataset的分析,跑得实在太慢,发现症结是R的data frame的index太慢:以下为测试:gene_list = 1:100000eQTL_mat = matrix(nrow = length(gene_list), ncol = 7) # 创建一...
分类:其他   时间:2015-08-15 06:41:46    收藏:0  评论:0  赞:0  阅读:231
CC150-Array and string 1.2
problem:Implement a function void reverse(char *str) in C and C++ which reverse a null-terminated string.The solution:1. use another pointer end point...
分类:其他   时间:2015-08-15 06:41:36    收藏:0  评论:0  赞:0  阅读:143
windows 10坎坷升级路
为了体验windows 10,可谓是历经艰辛,刚看到曙光,却又陷入无尽黑暗。最初是参加了windows会员计划。因为是预览版,BUG多多。我们做为小白鼠,几乎天天做系统。运气好的,几天做一次,运气差的,有时候一天做好几次。等windows 10正式发布,辛苦总算有了回报,在一次升级后,发现系统已经w...
分类:Windows开发   时间:2015-08-15 06:41:06    收藏:0  评论:0  赞:0  阅读:282
[转]notifyDataSetChanged() 动态更新ListView
有时候我们需要修改已经生成的列表,添加或者修改数据,notifyDataSetChanged()可以在修改适配器绑定的数组后,不用重新刷新Activity,通知Activity更新ListView。今天的例子就是通过Handler AsyncTask两种方式来动态更新ListView.布局main....
分类:其他   时间:2015-08-15 06:40:56    收藏:0  评论:0  赞:0  阅读:189
Thinkphp3.2 路由是使用
在与模块同级的目录配置文件 'URL_ROUTER_ON' => true, 'URL_ROUTE_RULES'=>array( '/^c_(\d+)$/' => 'Home/Show/show?id=:1', ...
分类:Web开发   时间:2015-08-15 06:40:36    收藏:0  评论:0  赞:0  阅读:274
iOS中基于WebView的HTML网页离线访问技术的实现
其实就是MVC模式,视图在在线、离线时可以共用,控制器在在线时是由服务器端实现的,而离线时则是由本地Obj-C代码实现。具体实现方式为采用Mongoose实现。代码为:mongoose.hmongoose.c附件http://files.cnblogs.com/files/lohcve/Mongoo...
分类:移动平台   时间:2015-08-15 06:40:26    收藏:0  评论:0  赞:0  阅读:269
iptables深入解析-应用层插件篇
layer7 iptables 应用协议识别 协议识别 过滤 子连接 ct
分类:其他   时间:2015-08-15 02:18:26    收藏:0  评论:0  赞:0  阅读:289
【SACC技术自白书文摘】梦想还是现实 程序员都做过的技术梦?
<p><span style="font-family:Microsoft YaHei;font-size:14px;"><strong>背景:</strong>SACC技术自白书,是2015年系统架构师大会对往届参会者、会粉儿进行的一次网络征文...
分类:其他   时间:2015-08-15 02:18:01    收藏:0  评论:0  赞:0  阅读:386
1615条   上一页 1 ... 69 70 71 72 73 ... 81 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!