码迷,mamicode.com
首页 >  
搜索关键字:class    ( 183544个结果
如何添加自定义脚本到开机自启动
我的机器有个coreseek服务,但是没加到开启启动中去,导致机房一旦重启了机器,我的服务便不能使用了。所以我需要把coreseek的searchd加到自启动服务中去。写一个脚本auto_coreseek.sh:#!/bin/sh#chkconfig:2345 80 90#description:a...
分类:其他好文   时间:2014-06-26 16:14:17    阅读次数:184
C#数组的排序(正序逆序)
C#数组的排序(正序逆序) 这种排序 超级简单的 !using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication4{ class P...
分类:其他好文   时间:2014-06-26 16:13:39    阅读次数:195
operator模块
# -*- coding: utf-8 -*- # ==================== #File: python #Author: python #Date: 2014 #==================== __author__ = 'Administrator' #operator模...
分类:其他好文   时间:2014-06-26 16:09:10    阅读次数:218
职责链模式之C++实现
#include"stdafx.h"#includeusingnamespacestd;classProgrammer{protected:Programmer*next;public:voidSetNext(Programmer*programmer){next=programmer;}virtu...
分类:编程语言   时间:2014-06-26 16:08:31    阅读次数:228
基于SignalR的小型IM系统
这个IM系统真是太轻量级了,提供的功能如下: 1.聊天内容美化 2.用户上下线提示 3.心跳包检测机制 4.加入用户可群聊 下面来一步一步的讲解具体的制作方法。 开篇准备工作 首先,巧妇难为无米之炊,这是总所周知的。这里我们需要两个东西,一个是Asp.net MVC4项目;另一个是Signalr组件...
分类:其他好文   时间:2014-06-26 16:07:55    阅读次数:456
数据一致性
丢失更新、未确定的相关性、不一致的分析和幻想读事务A读取与搜索条件相匹配的若干行。事务B以插入或删除行等方式来修改事务A的结果集,然后再提交。幻读是指当事务不是独立执行时发生的一种现象,例如第一个事务对一个表中的数据进行了修改,比如这种修改涉及到表中的“全部数据行”。同时,第二个事务也修改这个表中的...
分类:其他好文   时间:2014-06-26 16:06:34    阅读次数:256
基于java工程开发RMI服务端
ServiceRegist.javaimport java.rmi.Remote;import java.rmi.RemoteException;public interface ServiceRegist extends Remote{ public user login(String user....
分类:编程语言   时间:2014-06-26 16:05:17    阅读次数:223
插入排序
import java.util.*;public class InsertionSort { /* * 升序排列 * * */ public static void insertSort(int[] input) { for (int i...
分类:其他好文   时间:2014-06-26 16:04:32    阅读次数:190
leetcode 题解:Binary Tree Preorder Traversal (二叉树的先序遍历)
题目:Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3]....
分类:其他好文   时间:2014-06-26 16:03:52    阅读次数:296
leetcode 题解:Binary Tree Inorder Traversal (二叉树的中序遍历)
题目:Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].N...
分类:其他好文   时间:2014-06-26 16:02:42    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!