码迷,mamicode.com
首页 > 2016年06月27日 > 全部分享
题目1464:Hello World for U(找规律)
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h de ll ...
分类:其他好文   时间:2016-06-27 01:29:07    阅读次数:129
椭圆曲线加密
椭圆曲线加密(ECC)最大的优点就是使用比RSA短得多的密钥得到相同的安全性,因此可以减少处理负荷,使公钥密码的应用领域得到拓展。 基本原理: 椭圆曲线密码体制使用了在有限Abel群(Zp或者GF(2m))上构造的椭圆曲线,椭圆曲线在有限群的加法符号定义下成为一个单向陷门函数。 在有限群上的椭圆曲线 ...
分类:其他好文   时间:2016-06-27 01:25:50    阅读次数:248
LeetCode 通关攻略(非最优解)1 Two Sum
问题描述 Given an array of integers, return indices of the two numbers such that they add up to a specific target. 说是给一个integer数组nums,并给一个integer的值target, ...
分类:其他好文   时间:2016-06-27 01:25:50    阅读次数:191
【DAY18】Socket编程,ROSE建模与TCP/IP的学习笔记
IDEeclipse调试------------------ 1.Debug 2.Stepinto:F5,单步进入。 3.Stepreturn:F7,单步返回. 4.Stopover:F6,单步跳过.安装Rose建模软件----------------- 1.安装虚拟光驱软件:DTLite.exe 2.加载Rose镜像文件。 3.一路安装,next... 4.安装完成注册License。 a.在license..
分类:其他好文   时间:2016-06-27 00:17:08    阅读次数:174
【DAY19】 socket编程的补充
1.大包发送----------------- udp限制64k,切割若干个小packet. totalLength=x; perPack=50k; count=x/50;//计算包的数量 //组报文2.URL:统一资源定位符。UniformResourceLocator------------------------------------------------ http://www.example.com/docs/resource1.html ..
分类:其他好文   时间:2016-06-27 00:19:26    阅读次数:139
【DAY20】Socket编程的补充2
URL:统一资源定位符。-------------------------http://www.baidu.com:port/path?queryhttp://localhost:8080/jdk-7u25-linux-x86_64.tar.gztomcat------------------1.下载www.apache.org/tomcat/../apache-tomcat-9.0.0.M1.zip2.解压C:\myprograms\apache-tomcat-7.0.63\3.启..
分类:其他好文   时间:2016-06-27 00:17:08    阅读次数:162
【DAY21】JDBC 与 MySQL 的学习笔记
Properties:---------------- 1.extendsHashtable,线程安全的。 2.key-valueSQL:Structurualquerylanguage,结构化查询语言。-------------------------------------------------database:-------------- 1.数据库 2.表的集合。 3.操作 1.增加 id|name|age --------------..
分类:数据库   时间:2016-06-27 00:19:19    阅读次数:242
【DAY22】MySQL的学习笔记
rdbms--------------- table:field,record,sql--------------- crud insertintotablename(id,...)values(1,‘sss‘,...); deletefromtablenamewhereid=1orid=3orid=5; deletefromtablenamewhereidin(1,3,5); //in()范围运算==or deletefromtablenamewhereidbetweenaandb //id>..
分类:数据库   时间:2016-06-27 00:16:47    阅读次数:179
【DAY23】JVM与反射的学习笔记
JVM:-----------------1.JVM:javavirtualmachine.2.classfile*.class3.ClassLoader4.runtimedataarea运行时数据区。1.Methodarea:方法区.(shared)供所有线程共享.2.heap(shared):供所有线程共享.3.javastack(栈区)独占的。4.nativemethodstack(本地方法栈)独占5.Programcounter..
分类:其他好文   时间:2016-06-27 00:17:47    阅读次数:132
Shell脚本应用(五)if语句
单分支的if语句:if条件测试操作then命令序列fi例:判断挂载点目录是否存在,若不存在则新建此目录。[root@dbserverscript]#catchkmountdir.sh#!/bin/bashMOUNT_DIR="/media/cdrom"if[!-d$MOUNT_DIR]thenmkdir-p$MOUNT_DIRfi[root@dbserverscript]#chmod+xchkmountdir.sh[root@..
分类:系统相关   时间:2016-06-27 00:16:36    阅读次数:299
【DAY24】内省,NIO的学习笔记
java.lang.Class java.lang.reflect.Field java.lang.reflect.Method java.lang.reflect.Constructor//static代码块Class.forName("",boolean,ClassLoader);JVM结构---------------- Ru.ntimeDataArea 1.MethodArea //方法区。共享 2.Heap //存放对象和数组.共享//Dataaccess..
分类:其他好文   时间:2016-06-27 00:15:44    阅读次数:205
【DAY25】NIO的学习笔记
NIO:NewIO-----------------1.ByteBufferallocate:堆分配allocateDirect:直接分配.Channel:mark<=position:<=limit<=capacityflip():拍板.limit=position;position=0;clear():limit=capactiy|position=0|mark=-1;rewind():重来,pos=0,mark=-1;slice():HeapByteBuffer(..
分类:其他好文   时间:2016-06-27 00:16:23    阅读次数:167
【DAY26】JAVA 基础回顾
基础回顾----------------1.跨平台os JVM:sandbox 19952.基本数据类型 byte //1 -128~127 short //2-32768-32767 int //4 long //8 float //4 doule //8 char //2 boolean //13.引用类型 [] class interface4.运算符 && //短路 || //短路 & // | // ^ //..
分类:编程语言   时间:2016-06-27 00:16:43    阅读次数:221
我的postfix过滤邮件、群发邮件问题 跟某云平台的故事
很多企业使用的是自建服务器,我公司自建。。。配置文档也是但是百度上,google上的搭建很多时候只有搭建。企业的垃圾邮件和病毒邮件确实又是另外一个课题。本周要迁移邮箱服务器,原因:我使用的云平台(旧平台云主机快到期,提供商建议我使用新平台(给我打点待代金卷。其实我..
分类:其他好文   时间:2016-06-27 00:17:54    阅读次数:4604
【DAY1】Linux的安装和基本命令学习笔记
vmware安装-----------------优化win7(旗舰版)------------------1.桌面个性化(使用windows经典)桌面右键-->windows经典。2.清理桌面图标3.调整操作系统为性能最佳计算机->属性->系统->高级系统设置->高级选项卡->设置(性能)->选择调整为最佳性能->保..
分类:系统相关   时间:2016-06-27 00:14:43    阅读次数:226
更换为阿里云的源
更换为阿里云的源wget-O/etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repowget-O/etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/epel-6.repoyummakecache下载rpm包,但是不安装:yuminstallsshpass-1.05-1.el6.x86_64-y--downloadon..
分类:其他好文   时间:2016-06-27 00:14:22    阅读次数:191
【DAY2】Linux的常用命令以及挂载学习笔记
权限设置形式-------------------------------typeusergroupotherdrwxrwxrwx421421421权限修改------------------------------chmodu+wxxxchmodu+rwxxxchmodu+rwxxxxchmodug+rwxxxxchmodugo+xchmoda+rwxchmodu-wxxxchmodu-rwxxxchmod644xxxchmod777xxx挂载--------------------..
分类:系统相关   时间:2016-06-27 00:15:18    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!