获取本地管理员组用户方法一:$strComputer = $env:COMPUTERNAME$computer = [ADSI]("WinNT://" + $strComputer + ",computer")$Group = $computer.psbase.children.find("Admi...
分类:
其他好文 时间:
2014-08-15 21:01:09
阅读次数:
659
题目一:根据电话上字母和数字的对应关系,用一个有意义的单词来表述一个电话号码,如用computer表示26678837
题目二:反过来,给定一个电话号码,是否可以用一个单词来表示呢?怎样表示最快呢?显然不是所有的电话号码都可以对应到单词上去
首先来看看leetcode上一个类似的题目:
Letter Combinations of a Phone Number
G...
分类:
其他好文 时间:
2014-08-15 16:11:50
阅读次数:
257
Rect位于android.graphics下,表示一个矩形,由四条边的坐标组成,提供了一些设置方法,都比较简单,源码如下:
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* yo...
分类:
移动开发 时间:
2014-08-15 16:05:12
阅读次数:
327
Problem D: XYZZYADVENT: /ad?vent/, n. The prototypical computer adventure game, first designed by Will Crowther on the PDP-10 in the mid-1970s as an a...
分类:
其他好文 时间:
2014-08-15 14:34:08
阅读次数:
194
CALayer(层)是屏幕上的一个矩形区域,在每一个UIView中都包含一个根CALayer,在UIView上的所有视觉效果都是在这个Layer上进行的。CALayer外形特征主要包括:1、层的大小尺寸2、背景色3、内容(可以填充图片或者使用Core Graphics绘制的内容)4、矩形是否使用圆角...
分类:
移动开发 时间:
2014-08-15 14:29:08
阅读次数:
313
BicoloringIn 1976 the ``Four Color Map Theorem" was proven with the assistance of a computer. This theorem states that every map can be colored using....
分类:
其他好文 时间:
2014-08-15 14:23:23
阅读次数:
195
There were hundreds of or thousands of programming languages created since the invention of computer. All these languages have the same target which i...
分类:
编程语言 时间:
2014-08-15 14:08:18
阅读次数:
263
返回目录何时能用到它?组合模式又叫部分-整体模式,在树型结构中,模糊了简单元素和复杂元素的概念,客户程序可以向处理简单元素一样来处理复杂元素,从而使得客户程序与复杂元素的内部结构解耦。对于今天这个例子来说,它可以很清楚的说明组合模式的用意,首先是一个Graphics对象,它表示是一绘图功能(树根),...
分类:
其他好文 时间:
2014-08-15 12:35:18
阅读次数:
195
CAE.Datamine.Studio.v3.23.52.0 1CD 矿山软件CAE.NPV.Scheduler.v4.22.250.0 1CD(原名Datamine)矿山开采优化软件 LARS Bridge 06.00.01.07 Win32_64 2CD Mentor Graphics PADS...
分类:
其他好文 时间:
2014-08-15 12:14:58
阅读次数:
415
import java.awt.Cursor;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.M...
分类:
编程语言 时间:
2014-08-14 20:51:09
阅读次数:
212