有时不想去机房,并且远程桌面连接登录不上了,需要远程重启服务器的,这时可以使用命令行方式远程重启。在cmd命令行状态下输入:shutdown-r-m\\192.168.1.10-t0-f//换成你的IP,-f表示强制重启有可能出现拒绝访问的提示,表示你没有权限,这时输入下面命令:netuse\\19...
分类:
其他 时间:
2015-01-28 15:53:33
收藏:
0 评论:
0 赞:
0 阅读:
332
状 态机简写为FSM(Finite State Machine),主要分为2大类:第一类,若输出只和状态有关而与输入无关,则称为Moore状态机;第二类,输出不仅和状态有关而且和输入有关系,则 称为Mealy状态机。要特别注意的是,因为...
分类:
其他 时间:
2015-01-28 14:51:44
收藏:
0 评论:
0 赞:
0 阅读:
248
参见:http://www.w3cschool.cc/bootstrap/bootstrap-carousel-plugin.html <!DOCTYPE?html>
<html>
<head>
???<title>Bootstrap?实例?-?简单的轮播(Carousel)插件</title>
???<link?href="/bootst...
分类:
其他 时间:
2015-01-28 14:51:15
收藏:
0 评论:
0 赞:
0 阅读:
344
Blender 的 c 语言 api 与 python api 颇为相似。[感觉像Python的超级扩展] Mesh Subdivide 下面是对 blender 中的 mesh subdivide operator 代码的分析 Registration 首先我们需要在 window manager 中注册 op...
分类:
其他 时间:
2015-01-28 14:50:44
收藏:
0 评论:
0 赞:
0 阅读:
378
1. 下载openCryptoki源码,并解压到本地目录(opencryptoki) ? ? http://sourceforge.net/projects/opencryptoki/ 2. 构建和安装(root用户) 命令执行顺序: # cd opencryptoki # ./bootstrap.sh ? # ./configur...
分类:
其他 时间:
2015-01-28 14:49:34
收藏:
0 评论:
0 赞:
0 阅读:
337
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
根据一个点坐标计算出其他三个点的位置。
可以依据,每个点到外边框的对应距离相等,推算坐标。
...
分类:
其他 时间:
2015-01-28 14:48:33
收藏:
0 评论:
0 赞:
0 阅读:
263
Problem Description
A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The snai...
分类:
其他 时间:
2015-01-28 14:48:23
收藏:
0 评论:
0 赞:
0 阅读:
341
公司设计问我这样效果好不好做,正好赶上公司断网了,我就研究了下,感觉CAGroupAnimation加上CAShapeLayer可以实现,就写了下。最后也实现了。
先来拆分小动画,1.背景框收缩2,placeholder组动画。
①shapeLayer
CGRect roundRect =
CGRectInset(self.bounds,
0, 10);
...
分类:
其他 时间:
2015-01-28 14:48:03
收藏:
0 评论:
0 赞:
0 阅读:
331
栈的实现很简单,只需要一个一维数组和一个指向栈顶的变量top就可以了。我们通过top来对栈进行插入和删除操作。
栈究竟有哪些作用呢?我们来看一个例子。“xyzyx”是一个回文字符串,所谓回文字符串就是指正读反读均相同的字符序列,如“席主席”、“记书记”、“aha”和“ahaha”均是回文,但“ahah”不是回文。通过栈这个数据结构我们将很容易判断一个字符串是否为回文。
...
分类:
其他 时间:
2015-01-28 14:47:53
收藏:
0 评论:
0 赞:
0 阅读:
318
更新日志;
本次更新依然主要是功能上的升级,加入了地标标注功能及区域绘制功能。
1 地标标注功能。
空管人员在进行空域飞行态势控制时,经常会对关键性地标,如高山、高层建筑物、关键导航设施等进行标注。新版本软件中加入了地标标注功能,能够提供了三角形、菱形、正方形、圆共四种标注图例,每种图例又具有大、中、小三种尺寸,每种图例具有7种标注颜色,同时支持最多256个字体的标注文字。...
分类:
其他 时间:
2015-01-28 14:47:33
收藏:
0 评论:
0 赞:
0 阅读:
340
有一串已经从小到大排好序的数2 3 5 8 9 10 18 26 32。现需要往这串数中插入6使其得到的新序列仍符合从小到大排列。如我们使用数组来实现这一操作,则需要将8和8后面的数都依次往后挪一位,如下
这样操作显然很耽误时间,如果使用链表则会快很多。
此时如果需要在8前面插入一个6,就只需像下图这样更改一下就可以了,而无需再将8及后面的数都依次往后挪一位。是不是很节省时间呢?
...
分类:
其他 时间:
2015-01-28 14:47:23
收藏:
0 评论:
0 赞:
0 阅读:
325
将数据存储到SharedPreferences中:
getSharedPreferences(文件名, 文件的操作模式);
MODE_PRIVATE:只有当前的应用程序才可以对这个SharedPreferences文件进行读写
MODE_MULTI_PROCESS:一般是用于会有多个进程中对同一个SharedPreferences文件进行读写的情况
得到SharedPreferences对...
分类:
其他 时间:
2015-01-28 14:47:03
收藏:
0 评论:
0 赞:
0 阅读:
332
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
注意
You may n...
分类:
其他 时间:
2015-01-28 14:46:23
收藏:
0 评论:
0 赞:
0 阅读:
273
新建项目默认会使用v7包中的主题,如果你workplace中没有v7库,那是一定会报错的。
1、导入v7jar,没用,因为需要的是v7的资源文件
2、既然如此,导入v7的整个项目应该ok了吧,import之后,尼玛还报错,百思不得骑姐,删了导,导了删,把SDK都弄坏了还是报错。并且build path还不报错。
终极大招,原来原因是因为v7库和项目没有在一个盘符下,import的...
分类:
其他 时间:
2015-01-28 14:45:23
收藏:
0 评论:
0 赞:
0 阅读:
255
package com.yixin.webbrower;
/*
* 演示 Calendar 的一般操作
*/
import java.util.Date;
import java.text.SimpleDateFormat;
import java.text.DateFormat;
import java.util.Calendar;
public class TestTime
{
pu...
分类:
其他 时间:
2015-01-28 14:45:03
收藏:
0 评论:
0 赞:
0 阅读:
313
STL中的pairing-heap优化dijkstra~...
分类:
其他 时间:
2015-01-28 14:44:53
收藏:
0 评论:
0 赞:
0 阅读:
498
最后,鼓励大家针对你的研发工作里的问题和技术,
写几个小专利,对个人和企业有百利无一害。
学会梳理自己的思路,收集灵魂偶尔的电火花,打开脑洞、微创新。...
分类:
其他 时间:
2015-01-28 14:44:43
收藏:
0 评论:
0 赞:
0 阅读:
344
题目链接:http://poj.org/problem?id=2387
dij 注意判重边
#include
#include
#include
#include
#include
using namespace std;
const int MAXV = 4010;
const int inf = 10000000;
int map[MAXV][MAXV];
int ...
分类:
其他 时间:
2015-01-28 14:44:33
收藏:
0 评论:
0 赞:
0 阅读:
231
题目链接:ZigZag Conversion
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
...
分类:
其他 时间:
2015-01-28 14:44:23
收藏:
0 评论:
0 赞:
0 阅读:
329
题目链接:Reverse Integer
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
Have you thought about this?
Here are some good questions to ask before coding. Bo...
分类:
其他 时间:
2015-01-28 14:44:13
收藏:
0 评论:
0 赞:
0 阅读:
299