码迷,mamicode.com
首页 > 编程语言
Decrypt.java
import java.io.PrintStream;import weblogic.security.internal.*;import weblogic.security.internal.encryption.*;public class Decrypt{ static EncryptionS...
分类:编程语言   时间:2015-01-27 16:12:44    阅读次数:196
JAR——CircleImageView
FROM:githhub;自定义的ImageView类:packagecom.example.testcirclep_w_picpathview; importandroid.content.Context; importandroid.content.res.TypedArray; importandroid.graphics.Bitmap; importandroid.graphics.BitmapShader; importandroid.graphics.Canvas; impor..
分类:编程语言   时间:2015-01-27 15:08:57    阅读次数:1326
php 多线程
execphp函数转到后台运行nohuplinux系统命令exec(‘nohup/usr/local/php/bin/php-fcrons.phpQuestionPush‘.$quesPKid.‘>/tmp/push.log2>&1&‘);
分类:编程语言   时间:2015-01-27 15:09:51    阅读次数:192
[C++]LeetCode: 127 Sort Colors (计数排序 & 快速排序)
题目: Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the in...
分类:编程语言   时间:2015-01-27 15:06:38    阅读次数:145
十一、PYTHON 面向对象编程
如果你没有任何以往的经验与面向对象(OO)编程,你可能想咨询或至少某种教程的入门课程,所以,你必须掌握的基本概念. 然而,这里是小推出的面向对象编程(OOP)给你带来更好的学习速度: 面向对象术语 类: 用户定义的一个对象,它定义了一套类的任何对象的属性特点的原型。属性数据成员(类变量和实例变量)和方法,通过点符号访问. 类变量: 一个类的所有实例共享变量。类变量被定义在一...
分类:编程语言   时间:2015-01-27 15:01:16    阅读次数:211
Boyer-Moore算法java实现
Boyer-Moore算法不仅效率高,而且构思巧妙,容易理解。各种文本编辑器的"查找"功能(Ctrl+F),大多采用Boyer-Moore算法。...
分类:编程语言   时间:2015-01-27 15:00:09    阅读次数:258
一步一步教你用Swift开发俄罗斯方块:No.1 建立你的第一个Swift游戏工程
原文地址:https://www.bloc.io/tutorials/swiftris-build-your-first-ios-game-with-swift#!/chapters/677 好了,我们正式开始我们的swift游戏开发! 首先,需要新建一个工程,熟悉iOS开发的童鞋应该对这个步骤不会陌生。我们还是一步一步来吧: 这里有两种途径建立全新的工程,你可以:  如果你的Ma...
分类:编程语言   时间:2015-01-27 15:00:05    阅读次数:395
Java中a=a+b 与 a+=b差别
一般觉得a=a+b的运行效率是低于a+=b的,由于它多进行了一步中间变量的操作,并且会多占用一个变量的空间。而Java编译器默认对其进行了优化,优化之后两条语句都当做 a+=b来运行了,所以实际上是没有不论什么却别的。
分类:编程语言   时间:2015-01-27 14:56:08    阅读次数:156
三个spring配置文件(包括了常用的写法)
1 INSERT INTO WX_MONITOR_CONTACT (ID,CENTER_NAME,USERNAME,PHONE_NUMBER,ADDRESS) VALU...
分类:编程语言   时间:2015-01-27 14:54:18    阅读次数:231
Spring对象实例化,获取配置文件中的值(property为IDictionary类型的数据)
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;namespace WeiXin.Core{ public static class JobBa...
分类:编程语言   时间:2015-01-27 14:49:35    阅读次数:184
一个排序算法的解析
int[] source = { 8, 9, 10, 7, 6, 10, 20, 5, 21 }; public static void sort(int[] list) { for (int i = 1; i = 0; j--) { if (lis...
分类:编程语言   时间:2015-01-27 14:47:53    阅读次数:150
Spring获取上下文并创建对象的方法
using Spring.Context;using Spring.Context.Support;namespace YTO.WeiXin.Core{ public class SpringContainer { private static IApplicationCo...
分类:编程语言   时间:2015-01-27 14:48:32    阅读次数:143
《C语言编写 学生成绩管理系统》
/* (程序头部凝视開始)* 程序的版权和版本号声明部分* Copyright (c) 2011, 烟台大学计算机学院学生 * All rights reserved.* 文件名: 学生成绩管理系统 * 作 者: 刘江波 * 完毕日期: 2012 年 6 月 23 日* 版 本 号: v.623 *...
分类:编程语言   时间:2015-01-27 14:46:06    阅读次数:220
java.lang.InstantiationException
刚刚整反射的时候遇到了下面的一个bug:Exception in thread "main" java.lang.InstantiationException: con.cxyd.Meun查看了一下“Instantiation”的意思:实例化。出现这个错误的原因应该就是不能实例化con.cxyd.M...
分类:编程语言   时间:2015-01-27 14:41:02    阅读次数:182
一步一图一代码之排序二叉树
排序二叉树
分类:编程语言   时间:2015-01-27 14:42:48    阅读次数:246
搭建Java Web项目问题总结
?1.Target runtime com.genuitec.runtime.generic.jee60 is not defined.? 解决方案是:在工程目录下的.settings文件夹里,打开org.eclipse.wst.common.project.facet.core.xml文件,其内容为: <?xml version="1....
分类:编程语言   时间:2015-01-27 13:36:28    阅读次数:219
href="javascript:" 无法传递对象
一开始以为href 加javascript可以传递对象 目前看来在 只能用过方法传递对象、 <a?href="javascript:alert(this)">我是谁</a> <a?href="javascript:void(0)"?onclick="alert(this)">我是谁</a>//这句能打印出...
分类:编程语言   时间:2015-01-27 13:35:46    阅读次数:189
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!