码迷,mamicode.com
首页 > 其他好文
msyql无法远程登录
error1:ERROR 1045 (28000): Access denied for user 'root'@'xyt.local' (using password: YES)grant all on mysql.* to 'root'@'192.168.11.172' identified b...
分类:其他好文   时间:2014-07-19 22:38:47    阅读次数:258
CircleImageManager ——将图片转换为圆形图片的类
package com.kale.utils;import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Can...
分类:其他好文   时间:2014-07-19 22:38:10    阅读次数:285
Foundataions of Machine Learning: Rademacher complexity and VC-Dimension(2)
Foundataions of Machine Learning: Rademacher complexity and VC-Dimension(2)(一) 增长函数(Growth function) 在引入增长函数之前,我们先介绍一个例子,这个例子会有助于理解增长函数这个东西。在input spa...
分类:其他好文   时间:2014-07-22 22:53:14    阅读次数:242
UVA 10036 Divisibility
Consider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus deriving different arithmetical expr...
分类:其他好文   时间:2014-07-19 22:37:50    阅读次数:243
LeetCode:Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:其他好文   时间:2014-07-22 22:53:14    阅读次数:184
Swift - 手势识别
override func viewDidLoad() { super.viewDidLoad() var swipeRight = UISwipeGestureRecognizer(target: self, action: "respondToSwipeGesture:") s...
分类:其他好文   时间:2014-07-19 22:37:06    阅读次数:239
设计模式中的里氏代换原则
设计模式中的里氏代换原则Table of Contents1 里氏代换原则 2 模式中的里氏代换原则 2.1 策略模代 2.2 合成模式 2.3 代理模式 3 如何继承 3.1 不要从具体类继承 3.2 避免错误继承 1 里氏代换原则从开-闭原则中可以看出来面向对象的重要原则是创建抽象化,并从抽象化...
分类:其他好文   时间:2014-07-19 22:36:45    阅读次数:219
robot framework环境搭建
一、 robot framework环境搭建: 官网:http://robotframework.org/ 序号安装包名安装方法下载地址备注1pythonexe文件,直接双击安装https://www.python.org/download/releases/2.7.8/一切的基础,安装...
分类:其他好文   时间:2014-07-22 22:53:15    阅读次数:213
LeetCode:Length of Last Word
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:其他好文   时间:2014-07-19 22:36:30    阅读次数:149
三,依赖项属性
定义依赖项属性 public class FrameworkElement : UIElement{ public static readonly DependencyProperty MarginProperty; static FrameworkElement() { FrameworkProp...
分类:其他好文   时间:2014-07-22 22:53:15    阅读次数:251
opennebula 安装指定参数
[root@opennebula opennebula-4.6.0]# ./install.sh -u oneadmin -g oneadmin -k -d /home/oneadmin/-u 指定用户-g 指定组-k 保存配置文件-d 指定安装目录
分类:其他好文   时间:2014-07-19 22:35:05    阅读次数:200
【leetcode刷题笔记】Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-07-19 22:34:50    阅读次数:196
第一次集训个人赛 T1(签到题)
一、题目DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’t wr...
分类:其他好文   时间:2014-07-22 22:53:15    阅读次数:242
追捕美国头号电脑通缉犯
下村勉 (Tsutomu Shimomura),原名为“下村勉”。1964年出生于日本,在美国新泽西州的普林斯顿成长。是日裔美籍的电脑安全专家、计算物理学家,也是化学家下村脩的儿子。曾出版《纪实:追捕美国头号电脑通缉犯──由追捕者自述》。下村勉在日本出生,之后在美国新泽西州的普林斯顿成长。他高中未毕...
分类:其他好文   时间:2014-07-19 22:34:27    阅读次数:511
poj 1269 Intersecting Lines(判相交交点与平行)
http://poj.org/problem?id=1269Time Limit:1000MSMemory Limit:10000KTotal Submissions:10379Accepted:4651DescriptionWe all know that a pair of distinct p...
分类:其他好文   时间:2014-07-22 22:53:16    阅读次数:314
CentOS 6.2图形界面自定义开启终端快捷键
菜单: System->Preferences->Keyboard Shortcuts在Desktop分类下找到“Run a terminal”点击Run a terminal,按下需要的快捷键,比如Ctrl+Alt+T,即可。补充终端窗口下的快捷:复制:Shift+Ctrl+C粘贴:Shift+C...
分类:其他好文   时间:2014-07-19 22:33:24    阅读次数:224
STL容器能力一览表
VectorDequeListSetMultisetmapMultimap典型内部结构dynamicarrayArray of arraysDoublyLinked listBinary treeBinary treeBinary treeBinary tree元素ValueValueValueVa...
分类:其他好文   时间:2014-07-22 22:53:32    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!