- 学习笔记 | C++ | C++基础复习
黑丶麦
c++学习
C++基础复习1.变量——给内存空间起名,方便管理内存2.常量——记录程序中不可更改的数据3.关键字——C++中预先保留的单词4.标识符命名规则——(变量,常量)命名规则5.数据类型——给变量分配一个合适的内存空间(不同类型分配的内存空间是不一样的,空间越大取值范围越广)5.1整型5.2size关键字——统计数据类型所占大小5.3实型(浮点型)5.4字符型5.5转义字符5.6字符串型5.7布尔类型
- 信息安全基础复习
星河如雨落
信息安全基础系统安全网络安全网络安全
期末复习重点难点归纳第一章1网络安全保护的对象:软件、硬件、信息2网络安全的五个属性:机密性、完整性、可用性、可靠性、不可抵赖(可可不完机)3主动攻击和被动攻击的区别?DDOS属于什么攻击?。主动攻击:中断,篡改,伪造被动攻击:截获DDOS:分布式拒绝访问(主动攻击)被动:被动威胁是对信息进行监听,而不对其进行篡改和破坏主动:主动威胁是对信息进行故意篡改和破坏,使合法用户得不到可用的信息。4P2D
- 计算机基础复习8.29
我叫啥都行
计算机基础知识笔记后端计算机网络linux
进程,线程,协程的区别进程是操作系统中进行资源分配和调度的基本单位,他拥有自己的独立内存空间和系统资源。每个进程都有独立的堆和栈,不与其他进程共享。进程间通信需要通过特定的机制,如管道,消息队列,信号量等。由于进程拥有独立的内存空间,因此其稳定性和安全性相对较高,但同时上下文切换的开销较大,因为需要保存和恢复整个进程的状态线程是进程内的一个执行单元,也是CPU调度和分派的基本单位。与进程不同,线程
- 计算机基础复习8.28
我叫啥都行
计算机基础知识计算机网络笔记后端
HTTP是什么http是超文本传输协议HTTP状态码2XX成功,报文已经收到并被正确处理3XX重定向,资源位置发生变动,需要客户端发送请求4XX客户端错误,请求报文有误,服务端无法处理5XX服务器错误,服务器在处理请求时内部发生了错误HTTP常见字段host字段客户端发送请求时,用来指定服务器的域名content-length字段服务器在返回数据时,会有content-length字段,表明本次回
- SpringBoot入门基础复习-基本概念+配置文件的配置、读取与多环境配置修改
sunyunfei1994
springbootjavaspring
SpringBoot基于约定优于配置的思想.提供了大量的默认配置和实现,省去人工编写一堆复杂的配置,完成了对Spring的改善和优化,可以快速构建庞大的spring项目,尽可能的减少配置,让程序员能有精力更专注业务。SpringBoot以功能化的方式将需要的依赖进行组装,允许程序员以start的方式进行引入。并且SpringBoot实现了大量依赖框架的默认配置项,程序员无需自己配置。而且Sprin
- 网络通信基础复习-CS架构与BS架构
sunyunfei1994
基础网络
什么叫网络通信呢?就是设备中的程序在网络上与其他设备程序进行数据交互的过程就叫网络通信,比如微信聊天、淘宝的访问等都叫网络通信。网络通信有2中架构形式,CS架构(Client客户端和Server服务端)和BS架构(Brower浏览器和Server服务端),这2种架构都需依赖网络通信。网络通信有关键的三要素IP地址:就是设备在网络中的地址,是唯一的标识。端口:应用程序在设备中的唯一标识。协议:连接和
- 憨逼的考研日记(一)
星空_59e5
慢慢的,活成了自己最讨厌的样子(序言,本人今年大四毕业,三月份到八月份一直在小城单位工作,工资在平均7000左右。九月份回学校二战,金融跨考数学,目标某985。复习进度,数学分析复习到最后两章节,高等代数基础复习到第六章,共十章。政治英语没复习,还有十四天考试,去年凉,今年凉凉!)武汉的冬天真的有点冷,早上六点多脚蹬了一下墙,墙上留下了一个洞,我自己也醒了,瞄了一眼落地窗,漆黑黑的,等天亮了,在起
- 2020-03-06
woainicxj
当考研英语遇到超学系统,会发生什么奇妙反应?考研临近了,不知道大家复习都进入哪一步了?面对漫长的备考,合理的复习规划是至关重要的,我身边就曾有很多同学,因为前期复习时间没安排好,各科基础复习没能及时合理地提上日程,导致备考强化和冲刺阶段力不从心,直接影响最后阶段的备考心态和考试成绩。所以我认为,对于现阶段来说,做好复习的规划非常重要。尤其是很多同学到了现在这个阶段,还要应付期末考试,能用来复习考研
- SQL-DQL-基础查询
p-宸
重拾MySQL-基础篇sql数据库
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录DQL-介绍DQL-语法DQL-基本查询DQL-介绍DQL英文全称是DataQueryLanguage(数据查询语言),数据查询语言,用来查询数据库中表的记录。查询关键字:SEL
- 前端基础复习(后端人员看前端知识)
sunyunfei1994
前端java
企业级前端项目开发中,需要将前端开发所需要的工具、技术、流程、经验进行规范化和标准化,而不是零散的html、js、css文件堆叠在一起。首先我们需配置前端的开发基础环境NodeJS,相当于后端人员java开发的JDK。然后搭建前端工程脚手架Vue-cli,用于快速生成Vue的项目模板,相当于后端人员的maven标准化了目录结构。最后需下载前端代码开发工具VsCode,相当于我们的IDEA。Vue-
- 期末复习做好计划
L静等花开J
一、制定好复习计划:如果要复习那就先要做好复习计划,无论做什么事都要计划,复习亦是如此。二、做好基础复习:每次考试都会少不了基础知识,比如看拼音写汉字。虽然是基础知识还是有好多学生不会,所以复习绝不能忽略。①查漏补缺复习法在平常做卷子的时候,每次及时登记学生不会的内容,共性问题,个性问题,及时点出来,强化记忆,针对记忆!这样学生能够有针对的在复习的时候查漏补缺(就像补渔网,不断的缝补,在真正捕鱼的
- 原来,英语基础该这么积累!
失控的蘑小菇
考研临近了,不知道大家复习都进入哪一步了?面对漫长的备考,合理的复习规划是至关重要的,我身边就曾有很多同学,因为前期复习时间没安排好,各科基础复习没能及时合理地提上日程,导致备考强化和冲刺阶段力不从心,直接影响最后阶段的备考心态和考试成绩。所以我认为,对于现阶段来说,做好复习的规划非常重要。尤其是很多同学到了现在这个阶段,还要应付期末考试,能用来复习考研的时间也会减少很多,所以在暑期来临之际,大家
- 算法基础(可能
奥丁之眼
蓝桥杯算法java
蓝桥杯刷题技巧总结文章目录javaAPI复习BigDecimal1、简介2、构造器创建3、方法描述Integercalendar字符串格式化java基础复习HashSet1、HashSet底层机制说明分析HashSet的添加元素底层是如何实现的(hash()+equals())2、HashSet的扩容和转成红黑树机制HashMapMaphash表TreeSet模板字符串、字符、数字转换*全排列模板
- 力扣刷MySQL-第九弹(详细讲解)
小小恶斯法克
力扣刷题讲解-MySQLleetcodemysql算法
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:力扣刷题讲解-MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录变更性别合作过至少三次的演员和导演变更性别Salary表:+-------------+----------+|ColumnName|Type|+-----------
- 力扣刷MySQL-第八弹(详细讲解)
小小恶斯法克
力扣刷题讲解-MySQLleetcodemysql算法
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:力扣刷题讲解-MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录只出现一次的最大数字有趣的电影只出现一次的最大数字MyNumbers表:+-------------+------+|ColumnName|Type|+--------
- 蓝桥杯准备之路-Java基础复习
一直向上走
蓝桥杯蓝桥杯java职场和发展
一、基本数据类型int(32),long(64),float,double,boolean,char溢出判断:System.out.println("蓝桥杯练习第一天");Scannerscan=newScanner(System.in);inta=scan.nextInt();System.out.println(a);inta1=Integer.MAX_VALUE;System.out.pri
- 九年级中考复习策略之我见(三)
兰陵梦
一模考试后,按计划要进行二轮复习。二轮复习与一轮复习在复习方法和侧重点上有所不同,主要为查漏补缺,针对学生突出问题和薄弱项目展开复习,而不能再像一轮复习一样全面铺开。二轮复习课我是这样进行的:将一堂课的40分钟分为两部分:15-20分钟基础,20-25分阅读。首先,学生默写3-4首古诗;然后,对基础小卷作业答案;最后,做、讲文言文阅读或现代文阅读。下面我将各版块复习活动进行详细说明:一、基础复习1
- C语言基础复习(四)
背水
c语言
1.指针1.1指针变量的定义int*pi1,*p12,*pi3;int*pi1,pi2,pi3;以上两种定义的方法是等同的。1.2指针变量的访问#includeintmain(){inta=10,b,*p=&a;printf("a=%d,*p=%d\n",a,*p);*p=100;//间接赋值p=&b;*p=a+200;//间接赋值printf("b=%d,*p=%d\n",b,*p);retur
- C语言基础复习(八)
背水
c语言开发语言
1.函数1.1函数定义数据类型符函数名(形式参数名声明列表){函数体}注意:函数是独立的功能模块,在函数定义时,函数体内绝对不能有其他函数的定义,但可以有其他函数的调用.函数调用作为运算数进而构成表达式,c=add(add(a,b),b);这类函数调用涉及的函数是具有返回值的函数,函数返回值的数据类型一般属于基本数据类型,但绝不能是void类型函数声明不同于函数定义,函数声明只是在编译时告知系统被
- 硬盘是计算机中不能缺少的部件,计算机基础复习题参考答案.doc
三上酱
硬盘是计算机中不能缺少的部件
计算机基础复习题参考答案计算机基础复习题参考答案一、单项选择:打开Word时,没有出现在打开的屏幕上A.MicrosoftWord帮助主题B.菜单栏C.滚动条D.工具栏Word中保存文档的命令出现在A.保存B.编辑C.文件D.实用程序Word能自动更正经常输错的单词,应使用功能。A.拼写检查B.同义词库C.自动拼写D.自动更正Word编辑中,模式匹配查找中能使用的通配符是。A.+和-B.*和,C.
- 重拾计网-第三弹 你不知道的计算机的秘密
小小恶斯法克
重拾计算机网络计算机网络网络
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾计算机网络文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️ps:本文章的图片来源都是来自于湖科大教书匠的视频,声明:仅供自己复习,里面加上了自己的理解这里附上视频链接地址:1.4计算机网络的定义和分类_哔哩哔哩_bilibili计算机网络的
- 你竟然还不知道SQL性能分析?(你想象不到的详细)
小小恶斯法克
重拾MySQL-进阶篇sql数据库
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾MySQL-进阶篇文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录SQL性能分析慢查询日志profile详情explainExplain执行计划中各个字段的含义:SQL性能分析主要优化的是查询语句✨SQL执行频率(就是用来判定当前数据库
- 力扣刷MySQL-第七弹(详细讲解)
小小恶斯法克
力扣刷题讲解-MySQLleetcodemysql算法
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:力扣刷题讲解-MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录销售员判断三角形回顾case和if语法销售员表:SalesPerson+-----------------+---------+|ColumnName|Type|+--
- MySQL 索引(下)
小小恶斯法克
重拾MySQL-进阶篇mysql数据库
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾MySQL-进阶篇文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录索引分类聚集索引&二级索引索引语法索引分类在MySQL数据库,将索引的具体类型主要分为以下几类:主键索引、唯一索引、常规索引、全文索引。分类含义特点关键字主键索引针对于表
- 25考研数学备考计划
ZL研知己
考研
今天要给大家分享的是考研数学的一些备考经验。一般理工科:数一、二;经济类:数三。题型分值学/专硕考试范围另外,我也为大家找到了考研数学教材范围及重点,大家V..X关注:ZL研知己,回复:考研教材重点,即可获得复习计划一般的数学复习分成三个阶段,第一阶段:1-4月,基础复习第二阶段:5-9月,强化复习第三阶段:10-12月,真题+模拟我给大家再详细的划分一下各个阶段的任务,方便大家更有计划的复习。以
- MySQL 索引(上)
小小恶斯法克
重拾MySQL-进阶篇mysql数据库
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾MySQL-进阶篇文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录索引概述索引的特点索引结构二叉树红黑树B树:为磁盘而生B树的构建(这里引用的是一个博主的构建过程,我觉得还不错http://t.csdnimg.cn/3VtX2)B+Tr
- 重拾计网-第二弹(三种交换方式)
小小恶斯法克
重拾计算机网络网络
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾计算机网络文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️ps:本文章的图片来源都是来自于湖科大教书匠的视频,声明:仅供自己复习,里面加上了自己的理解这里附上视频链接地址:1.3三种交换方式:电路交换、分组交换和报文交换_哔哩哔哩_bili
- 力扣刷MySQL-第五弹(详细讲解)
小小恶斯法克
力扣刷题讲解-MySQLleetcodemysql算法
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:力扣刷题讲解-MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录寻找用户推荐人下单最多的客户寻找用户推荐人表:Customer+-------------+---------+|ColumnName|Type|+----------
- 力扣刷MySQL-第六弹(详细讲解)
小小恶斯法克
力扣刷题讲解-MySQLleetcodemysql算法
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:力扣刷题讲解-MySQL文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录大的国家超过5名学生的课大的国家World表:+-------------+---------+|ColumnName|Type|+-------------+----
- MySQL体系结构
小小恶斯法克
重拾MySQL-进阶篇mysql数据库
欢迎您来到我的MySQL基础复习专栏☆*o(≧▽≦)o*☆哈喽~我是小小恶斯法克✨博客主页:小小恶斯法克的博客该系列文章专栏:重拾MySQL-进阶篇文章作者技术和水平很有限,如果文中出现错误,希望大家能指正感谢大家的关注!❤️目录MySQL体系结构存储引擎介绍存储引擎特点(InnoDB、MyISAM、Memory的特点)InnoDBMyISAMMemory区别及特点✨InnoDB引擎与MyISAM
- 解线性方程组
qiuwanchi
package gaodai.matrix;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner scanner = new Sc
- 在mysql内部存储代码
annan211
性能mysql存储过程触发器
在mysql内部存储代码
在mysql内部存储代码,既有优点也有缺点,而且有人倡导有人反对。
先看优点:
1 她在服务器内部执行,离数据最近,另外在服务器上执行还可以节省带宽和网络延迟。
2 这是一种代码重用。可以方便的统一业务规则,保证某些行为的一致性,所以也可以提供一定的安全性。
3 可以简化代码的维护和版本更新。
4 可以帮助提升安全,比如提供更细
- Android使用Asynchronous Http Client完成登录保存cookie的问题
hotsunshine
android
Asynchronous Http Client是android中非常好的异步请求工具
除了异步之外还有很多封装比如json的处理,cookie的处理
引用
Persistent Cookie Storage with PersistentCookieStore
This library also includes a PersistentCookieStore whi
- java面试题
Array_06
java面试
java面试题
第一,谈谈final, finally, finalize的区别。
final-修饰符(关键字)如果一个类被声明为final,意味着它不能再派生出新的子类,不能作为父类被继承。因此一个类不能既被声明为 abstract的,又被声明为final的。将变量或方法声明为final,可以保证它们在使用中不被改变。被声明为final的变量必须在声明时给定初值,而在以后的引用中只能
- 网站加速
oloz
网站加速
前序:本人菜鸟,此文研究总结来源于互联网上的资料,大牛请勿喷!本人虚心学习,多指教.
1、减小网页体积的大小,尽量采用div+css模式,尽量避免复杂的页面结构,能简约就简约。
2、采用Gzip对网页进行压缩;
GZIP最早由Jean-loup Gailly和Mark Adler创建,用于UNⅨ系统的文件压缩。我们在Linux中经常会用到后缀为.gz
- 正确书写单例模式
随意而生
java 设计模式 单例
单例模式算是设计模式中最容易理解,也是最容易手写代码的模式了吧。但是其中的坑却不少,所以也常作为面试题来考。本文主要对几种单例写法的整理,并分析其优缺点。很多都是一些老生常谈的问题,但如果你不知道如何创建一个线程安全的单例,不知道什么是双检锁,那这篇文章可能会帮助到你。
懒汉式,线程不安全
当被问到要实现一个单例模式时,很多人的第一反应是写出如下的代码,包括教科书上也是这样
- 单例模式
香水浓
java
懒汉 调用getInstance方法时实例化
public class Singleton {
private static Singleton instance;
private Singleton() {}
public static synchronized Singleton getInstance() {
if(null == ins
- 安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
AdyZhang
apachehttp server
安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
每次到这一步都很小心防它的端口冲突问题,结果,特意留出来的80端口就是不能用,烦。
解决方法确保几处:
1、停止IIS启动
2、把端口80改成其它 (譬如90,800,,,什么数字都好)
3、防火墙(关掉试试)
在运行处输入 cmd 回车,转到apa
- 如何在android 文件选择器中选择多个图片或者视频?
aijuans
android
我的android app有这样的需求,在进行照片和视频上传的时候,需要一次性的从照片/视频库选择多条进行上传
但是android原生态的sdk中,只能一个一个的进行选择和上传。
我想知道是否有其他的android上传库可以解决这个问题,提供一个多选的功能,可以使checkbox之类的,一次选择多个 处理方法
官方的图片选择器(但是不支持所有版本的androi,只支持API Level
- mysql中查询生日提醒的日期相关的sql
baalwolf
mysql
SELECT sysid,user_name,birthday,listid,userhead_50,CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')),CURDATE(), dayofyear( CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')))-dayofyear(
- MongoDB索引文件破坏后导致查询错误的问题
BigBird2012
mongodb
问题描述:
MongoDB在非正常情况下关闭时,可能会导致索引文件破坏,造成数据在更新时没有反映到索引上。
解决方案:
使用脚本,重建MongoDB所有表的索引。
var names = db.getCollectionNames();
for( var i in names ){
var name = names[i];
print(name);
- Javascript Promise
bijian1013
JavaScriptPromise
Parse JavaScript SDK现在提供了支持大多数异步方法的兼容jquery的Promises模式,那么这意味着什么呢,读完下文你就了解了。
一.认识Promises
“Promises”代表着在javascript程序里下一个伟大的范式,但是理解他们为什么如此伟大不是件简
- [Zookeeper学习笔记九]Zookeeper源代码分析之Zookeeper构造过程
bit1129
zookeeper
Zookeeper重载了几个构造函数,其中构造者可以提供参数最多,可定制性最多的构造函数是
public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, long sessionId, byte[] sessionPasswd, boolea
- 【Java命令三】jstack
bit1129
jstack
jstack是用于获得当前运行的Java程序所有的线程的运行情况(thread dump),不同于jmap用于获得memory dump
[hadoop@hadoop sbin]$ jstack
Usage:
jstack [-l] <pid>
(to connect to running process)
jstack -F
- jboss 5.1启停脚本 动静分离部署
ronin47
以前启动jboss,往各种xml配置文件,现只要运行一句脚本即可。start nohup sh /**/run.sh -c servicename -b ip -g clustername -u broatcast jboss.messaging.ServerPeerID=int -Djboss.service.binding.set=p
- UI之如何打磨设计能力?
brotherlamp
UIui教程ui自学ui资料ui视频
在越来越拥挤的初创企业世界里,视觉设计的重要性往往可以与杀手级用户体验比肩。在许多情况下,尤其对于 Web 初创企业而言,这两者都是不可或缺的。前不久我们在《右脑革命:别学编程了,学艺术吧》中也曾发出过重视设计的呼吁。如何才能提高初创企业的设计能力呢?以下是 9 位创始人的体会。
1.找到自己的方式
如果你是设计师,要想提高技能可以去设计博客和展示好设计的网站如D-lists或
- 三色旗算法
bylijinnan
java算法
import java.util.Arrays;
/**
问题:
假设有一条绳子,上面有红、白、蓝三种颜色的旗子,起初绳子上的旗子颜色并没有顺序,
您希望将之分类,并排列为蓝、白、红的顺序,要如何移动次数才会最少,注意您只能在绳
子上进行这个动作,而且一次只能调换两个旗子。
网上的解法大多类似:
在一条绳子上移动,在程式中也就意味只能使用一个阵列,而不使用其它的阵列来
- 警告:No configuration found for the specified action: \'s
chiangfai
configuration
1.index.jsp页面form标签未指定namespace属性。
<!--index.jsp代码-->
<%@taglib prefix="s" uri="/struts-tags"%>
...
<s:form action="submit" method="post"&g
- redis -- hash_max_zipmap_entries设置过大有问题
chenchao051
redishash
使用redis时为了使用hash追求更高的内存使用率,我们一般都用hash结构,并且有时候会把hash_max_zipmap_entries这个值设置的很大,很多资料也推荐设置到1000,默认设置为了512,但是这里有个坑
#define ZIPMAP_BIGLEN 254
#define ZIPMAP_END 255
/* Return th
- select into outfile access deny问题
daizj
mysqltxt导出数据到文件
本文转自:http://hatemysql.com/2010/06/29/select-into-outfile-access-deny%E9%97%AE%E9%A2%98/
为应用建立了rnd的帐号,专门为他们查询线上数据库用的,当然,只有他们上了生产网络以后才能连上数据库,安全方面我们还是很注意的,呵呵。
授权的语句如下:
grant select on armory.* to rn
- phpexcel导出excel表简单入门示例
dcj3sjt126com
PHPExcelphpexcel
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Brows
- 美国电影超短200句
dcj3sjt126com
电影
1. I see. 我明白了。2. I quit! 我不干了!3. Let go! 放手!4. Me too. 我也是。5. My god! 天哪!6. No way! 不行!7. Come on. 来吧(赶快)8. Hold on. 等一等。9. I agree。 我同意。10. Not bad. 还不错。11. Not yet. 还没。12. See you. 再见。13. Shut up!
- Java访问远程服务
dyy_gusi
httpclientwebservicegetpost
随着webService的崛起,我们开始中会越来越多的使用到访问远程webService服务。当然对于不同的webService框架一般都有自己的client包供使用,但是如果使用webService框架自己的client包,那么必然需要在自己的代码中引入它的包,如果同时调运了多个不同框架的webService,那么就需要同时引入多个不同的clien
- Maven的settings.xml配置
geeksun
settings.xml
settings.xml是Maven的配置文件,下面解释一下其中的配置含义:
settings.xml存在于两个地方:
1.安装的地方:$M2_HOME/conf/settings.xml
2.用户的目录:${user.home}/.m2/settings.xml
前者又被叫做全局配置,后者被称为用户配置。如果两者都存在,它们的内容将被合并,并且用户范围的settings.xml优先。
- ubuntu的init与系统服务设置
hongtoushizi
ubuntu
转载自:
http://iysm.net/?p=178 init
Init是位于/sbin/init的一个程序,它是在linux下,在系统启动过程中,初始化所有的设备驱动程序和数据结构等之后,由内核启动的一个用户级程序,并由此init程序进而完成系统的启动过程。
ubuntu与传统的linux略有不同,使用upstart完成系统的启动,但表面上仍维持init程序的形式。
运行
- 跟我学Nginx+Lua开发目录贴
jinnianshilongnian
nginxlua
使用Nginx+Lua开发近一年的时间,学习和实践了一些Nginx+Lua开发的架构,为了让更多人使用Nginx+Lua架构开发,利用春节期间总结了一份基本的学习教程,希望对大家有用。也欢迎谈探讨学习一些经验。
目录
第一章 安装Nginx+Lua开发环境
第二章 Nginx+Lua开发入门
第三章 Redis/SSDB+Twemproxy安装与使用
第四章 L
- php位运算符注意事项
home198979
位运算PHP&
$a = $b = $c = 0;
$a & $b = 1;
$b | $c = 1
问a,b,c最终为多少?
当看到这题时,我犯了一个低级错误,误 以为位运算符会改变变量的值。所以得出结果是1 1 0
但是位运算符是不会改变变量的值的,例如:
$a=1;$b=2;
$a&$b;
这样a,b的值不会有任何改变
- Linux shell数组建立和使用技巧
pda158
linux
1.数组定义 [chengmo@centos5 ~]$ a=(1 2 3 4 5) [chengmo@centos5 ~]$ echo $a 1 一对括号表示是数组,数组元素用“空格”符号分割开。
2.数组读取与赋值 得到长度: [chengmo@centos5 ~]$ echo ${#a[@]} 5 用${#数组名[@或
- hotspot源码(JDK7)
ol_beta
javaHotSpotjvm
源码结构图,方便理解:
├─agent Serviceab
- Oracle基本事务和ForAll执行批量DML练习
vipbooks
oraclesql
基本事务的使用:
从账户一的余额中转100到账户二的余额中去,如果账户二不存在或账户一中的余额不足100则整笔交易回滚
select * from account;
-- 创建一张账户表
create table account(
-- 账户ID
id number(3) not null,
-- 账户名称
nam