- 电气工程师自学成才手册 基础篇+提高篇+精通篇,蔡杏山著
weixin_45800371
单片机嵌入式硬件
《电气工程师自学成才手册》分为基础篇、提高篇、精通篇三册,具有基础起点低、内容由浅入深、语言通俗易懂、结构安排符合学习认知规律的特点。基础篇适合作电气工程师入门的自学图书,也适合作职业学校和社会培训机构的电工技术入门教材;提高篇适合作为电气工程师中级阶段的自学图书,也可作为职业学校和社会培训机构中级层次的电工技术教材;精通篇适合作电气工程师高级阶段的自学图书,也适合作职业学校和社会培训机构高级层次
- 牛客竞赛数据结构专题班树状数组、线段树练习题
Landing_on_Mars
#线段树数据结构算法
牛客竞赛_ACM/NOI/CSP/CCPC/ICPC算法编程高难度练习赛_牛客竞赛OJG智乃酱的平方数列(线段树,等差数列,多项式)题目描述想必你一定会用线段树维护等差数列吧?让我们来看看它的升级版。请你维护一个长度为5×10^5的数组,一开始数组中每个元素都为0,要求支持以下两个操作:1、区间[l,r]加自然数的平方数组,即al+=1,al+1+=4,al+2+=9,al+3+=16...ar+
- 2018-11-04
_然而
考研倒计时48天图片发自App今日任务7:30-8:00背单词8:00-9:00默写专业课简答题9:00-12:00接力题典1800提高篇2:30-5:30专业课计算题+2份期末卷5:30-6:30背名词解释7:30-9:00背作文一篇+11年阅读2篇9:00-10:30毛概6.7.8章单.多选题11:00-11:35背单词明日计划7:30-8:00背单词8:00-9:00默写专业课简答题9:00
- 全民一起VBA提高篇-第十七回
凯凯凯王
三原则优化录制代码一属性玩转合并表格主要内容:一、Worksheet.cells与Range.cells的区别(1)Worksheet.cells(1,1)代表工作表所有单元格的第一行第一列;Range.cells(1,1)代表该Range内部的第一行第一列;(2)同理Worksheet.rows(8)与Rang.Rows(8)的区别(3)Worksheet.rows和Range.columns均
- Contest100000607 - 《算法笔记》7.3小节——数据结构专题(1)->链表处理
李霁明
算法笔记刷题笔记算法笔记数据结构链表
文章目录Contest100000607-《算法笔记》7.3小节——数据结构专题(1)->链表处理7.3链表处理7.3.1链表的概念7.3.2使用malloc函数或new运算符为链表结点分配内存空间7.3.3链表的基本操作链表的函数代码整理7.3.4静态链表PAT例题A1032SharingCodeup习题1326-ProblemA-算法2-8~2-11:链表的基本操作1870-ProblemB-
- 《算法笔记》7.3小节——数据结构专题(1)->链表处理
学代码不会秃
算法笔记数据结构链表算法
《算法笔记》7.3小节——数据结构专题(1)->链表处理问题A:算法2-8~2-11:链表的基本操作题目描述链表是数据结构中一种最基本的数据结构,它是用链式存储结构实现的线性表。它较顺序表而言在插入和删除时不必移动其后的元素。现在给你一些整数,然后会频繁地插入和删除其中的某些元素,会在其中某些时候让你查找某个元素或者输出当前链表中所有的元素。下面给你基本的算法描述:输入输入数据只有一组,第一行有n
- mongodb数据库索引介绍与优化选择
c+猿辅导
数据库学习从入门到精通数据库mongodbnosql
数据库开发系列文章目录数据库开发系列前言一、基础篇二、提高篇总结前言数据库的演进随着计算机的发展,越来越多的数据需要被处理,数据库是为处理数据而产生。从概念上来说,数据库是指以一定的方式存储到一起,能为多个用户共享,具有更可能小的冗余,与应用程序彼此独立的数据集合。从功能上来说,就是数据管理软件。到了2000年随着互联网的发展,数据量呈现爆发式增长。海量数据的诞生,传统的关系型数据库在应对大规模,
- 如何创建一个OJ,搭建一个自己的OJ系统
dllglvzhenfeng
创新计算机考研机试信息技术c++算法信息学竞赛中的数学信奥中的数学程序员的数学GESPCSP-J
创建一个OJ、HydroOJ搭建、部署Hydro创建一个OJ、HydroOJ搭建、部署Hydro-CSDN博客课课通、一本通、提高篇、算法竞赛进阶指南测试数据课课通、一本通、提高篇、算法竞赛进阶指南测试数据-CSDN博客二次开发qduoj部署前端修改记录二次开发qduoj部署前端修改记录_qduoj搭建-CSDN博客OJ搭建详细https://jianche.blog.csdn.net/artic
- 仿真机器人-深度学习CV和激光雷达感知(项目2)day8【作业2与答案2】
辰chen
考研#复试项目机器人ROS深度学习CV考研项目launch
文章目录前言作业2答案2代码详解前言你好,我是辰chen,本文旨在准备考研复试或就业本文内容是我为复试准备的第二个项目欢迎大家的关注,我的博客主要关注于考研408以及AIoT的内容预置知识:基本Python语法,基本linux命令行使用以下的几个专栏是本人比较满意的专栏(大部分专栏仍在持续更新),欢迎大家的关注:ACM-ICPC算法汇总【基础篇】ACM-ICPC算法汇总【提高篇】AIoT(人工智能
- 绘图提高篇 | Python/R 双Y轴绘制
数据魅力(DataCharm)
数据可视化pythonr语言开发语言数据可视化考研数据分析人工智能
最近有很多小伙伴私信我关于双Y轴图的绘制方法?这里我就直接给出Python-matplotlib绘制方法和R-ggplot2的绘制方法,主要的知识点如下:Matplotlib-Axes.twinx()方法添加副轴ggplot2-sec.axis()绘制双轴所有内容都已免费新增到我们的系统可视化课程中,有需要可以咨询呀!Matplotlib-Axes.twinx()方法添加副轴这里我们直接就给出数据
- 信息学奥赛书籍 提高篇 --- 2022.01.30
dllglvzhenfeng
程序猿的数学计算机考研机试《信息学奥赛一本通提高篇》算法信奥IOINOINOIP
1、信息学奥赛一本通提高篇2、算法训练营:海量图解+竞赛刷题(进阶篇)-2021.043、算法竞赛进阶指南(第六版)4、《算法竞赛入门经典(第2版)》(推荐指数:5颗星)---2014-065、算法竞赛入门经典——训练指南--2012-10-16、算法竞赛入门经典——习题与解答(2018-01)7、算法竞赛入门经典——算法实现(2021.05)刘汝佳经典系列(C++)--6本(其中一本电子书),还
- 课课通、一本通、提高篇、算法竞赛进阶指南 测试数据
dllglvzhenfeng
创新科普信息技术算法信息学竞赛中的数学信奥中的数学程序员的数学GESPCSP-JNOIP
信息学奥赛一本通题目数据https://download.csdn.net/download/esjiang/13090176信息学奥赛一本通(提高篇)测试数据.rarhttps://download.csdn.net/download/hudyge/11348434第1章贪心算法测试数据https://download.csdn.net/download/zlin2005/12009274信息学
- Scratch 编程学习笔记
秃突兔兔突秃
学习
Scratch编程学习笔记1、聊一聊编程1.1-编程是什么2、Scratch3.02.1Scratch3.0安装2.2Scratch3.0介绍一、界面二、角色三、舞台四、指令积木介绍3、Scratch基础篇4、Scratch提高篇4.1、10以内的加减法学习与练习4.2、一级for循环--求1-10的和4.3、二进制转十进制4.4、冒泡排列法图解4.5、奥运五环4.6、坦克大战自制地图5、Scra
- 绘图提高篇 | Python - IDW插值计算及可视化绘制
数据魅力(DataCharm)
数据可视化python数据可视化论文阅读r语言
前面几篇推文我们分辨介绍了使用Python和R绘制了二维核密度空间插值方法,并使用了Python可视化库plotnine、Basemap以及R的ggplot2完成了相关可视化教程的绘制推文,详细内容如下:Python-plotnine核密度空间插值可视化绘制Python-Basemap核密度空间插值可视化绘制R-ggplot2+sf核密度空间插值可视化绘制接下来,我们将继续介绍空间插值的其他方法,
- 绘图提高篇 | ggplot2+sf 核密度空间插值可视化绘制
数据魅力(DataCharm)
数据可视化人工智能数据可视化论文阅读考研数据分析r语言
上篇推文我们介绍了使用Python的plotnine、Basemap包对空间kde插值结果进行了可视化绘制,当然也包括了具体的插值过程,详细内容大家可以点击下方链接查看:Python-plotnine核密度空间插值可视化绘制、Python-Basemap核密度空间插值可视化绘制。本期推文我们就介绍下使用R进行核密度估计、空间插值计算以及ggplot2+sf的可视化绘制操作。涉及的主要知识点如下:R
- 绘图提高篇 | Plotnine 核密度空间插值可视化绘制
数据魅力(DataCharm)
数据可视化数据可视化r语言python论文阅读
从本期开始,我会陆续推出系列空间插值的推文教程,包括常见的「Kriging(克里金插值法)、NearestNeighbor(最近邻点插值法)、PolynomialRegression(多元回归法)、RadialBasisFunction(径向基函数法)」等多种空间插值方法。探索空间可视化带给我们的视觉魅力。由于自己摸索前进(好在已经走通全程),更新进度可能会有延迟。还会继续推出R-Python的基
- 绘图提高篇 | R-gstat-ggplot2 IDW计算及空间插值可视化
数据魅力(DataCharm)
数据可视化r语言开发语言数据可视化python
上一篇文章,我们使用了Python自定义IDW插值函数进行了IDW空间插值及可视化的plotnine、Basemap的绘制方法,本期推文我们将使用R-gstat进行IDW插值计算和使用ggplot2进行可视化绘制,主要涉及的知识点如下:R-gstat包IDW插值计算R-ggplot2IDW插值结果可视化绘制R-gstat包IDW插值计算得益于优秀且丰富的R语言第三方包,我们可以直接使用空间统计计算
- 仿真机器人-深度学习CV和激光雷达感知(项目2)day5【作业1与答案1】
辰chen
考研#复试项目机器人考研深度学习ROSCV项目智能驾驶
文章目录前言作业1答案1前言你好,我是辰chen,本文旨在准备考研复试或就业本文内容是我为复试准备的第二个项目欢迎大家的关注,我的博客主要关注于考研408以及AIoT的内容预置知识:基本Python语法,基本linux命令行使用以下的几个专栏是本人比较满意的专栏(大部分专栏仍在持续更新),欢迎大家的关注:ACM-ICPC算法汇总【基础篇】ACM-ICPC算法汇总【提高篇】AIoT(人工智能+物联网
- Arduino提高篇(十五)摇杆操作OLED多级菜单
柚 屿
Arduino算法arduino
随着越来越多的人机交互需求,带有屏幕的嵌入式设备需要展示的信息也越来越多,多种菜单随着按键输入进行各种深入、各种切换操作。如何方便的管理不同菜单之间的切换操作呢?本篇通过实验来介绍多级菜单的实现思路。1.多级菜单介绍在各种屏幕操作中,多级菜单其实是一种思路或者说是一种固定的编程框架。简单来说就是当按键触发时,根据按键定义从数组中取出当前按键需要跳转的界面索引,然后根据索引去执行响应的界面函数。2.
- CentOS8提高篇8:CentOS制作U盘启动盘
北方的流星
服务器搭建服务器linuxcentos
一、准备相关软件1、8G以上U盘2、UltraISO虚拟光驱(试用版即可)最新版下载地址:最新UltraISO官方免费下载-UltraISO软碟通中文官方网站点击下载试用3、CentOS7镜像:http://mirrors.bupt.edu.cn/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-DVD-2009.iso4、CentOS8镜像:https://
- 怎么样赚到更多的钱?--《财务自由之路》收入提高篇
心有萌虎
文/心有萌虎图片来源于微信读书,侵删今天要分享的是《财务自由之路》,作者还是博多·舍费尔。有关作者的介绍可以看我的上一篇读书笔记《小狗钱钱》-不要让你的穷人思维毁掉下一代。《财务自由之路》相当于是《小狗钱钱》的进阶版。《小狗钱钱》能触动你的内心引发你想要改变自己理财方式的欲望,但是毕竟只是一段简单的故事,为了故事情节的需要,没有办法给出一系列的解决具体问题的解决方法。作为补充,《财务自由之路》就是
- 使用Spring Boot集成中间件:Elasticsearch基础->提高篇
KingDol_MIni
springboot前后端技术springboot中间件elasticsearch
使用SpringBoot集成中间件:Elasticsearch基础->提高篇导言Elasticsearch是一个开源的分布式搜索和分析引擎,广泛用于构建实时的搜索和分析应用。在本篇博客中,我们将深入讲解如何使用SpringBoot集成Elasticsearch,实现数据的索引、搜索和分析。一、Elasticsearch一些基本操作和配置1.准备工作在开始之前,确保已经完成以下准备工作:安装并启动E
- ANDROID物联网开发从入门到实战附源码
银狐游戏开发资源2
androidlinuxjava编程语言物联网
本书从获取源码和搭建应用开发环境开始讲起,依次讲解了基础知识篇、数据传输篇、信息识别篇、传感器应用篇和技术提高篇这5大部分内容。目录第1篇基础知识篇第1章Android系统介绍21.1纵览智能设备系统21.1.1Symbian(塞班)21.1.2Android(安卓)21.1.3iOS(苹果系统)31.1.4WindowsPhone(微软系统)41.1.5BlackBerryOS(黑莓)41.2分
- 算法笔记 晴神(胡凡等著) 完整pdf下载
数据与人
C/C++快速入门、入门模拟、算法初步、数学问题、C++标准模板库(STL)、数据结构专题(二章)、搜索专题、图算法专题、动态规划专题、字符串专题、专题扩展。《算法笔记》印有二维码,用来实时更新、补充内容及发布勘误的。获取链接:http://www.shujuyr.com/1328.html
- 零基础学Python网络爬虫案例实战全流程详解(入门与提高篇)
怪我冷i
机器学习python爬虫开发语言
零基础学Python网络爬虫案例实战全流程详解入门与提高篇零基础学Python网络爬虫案例实战全流程详解高级进阶篇内容简介在大数据时代的今天,无论是产品开始还是精准化营销越来越离不开大数据的支持,如何从浩瀚的网络中获取自己想要的大数据?这就需要网络爬虫,而是世界上80%的爬虫都是基于Python开发出来的,所以python爬虫技术是大数据挖掘、分析与可视化的基础。本书面向零基础读者,从如何合法使用
- 零基础学Python网络爬虫案例实战 全流程详解 高级进阶篇
怪我冷i
机器学习python爬虫开发语言
零基础学Python网络爬虫案例实战全流程详解入门与提高篇零基础学Python网络爬虫案例实战全流程详解高级进阶篇编辑推荐本书讲解了Python爬虫技术的高级进阶知识,帮助有一定爬虫基础的读者进一步提高爬虫技术。本书详解了突破反爬机制的常用手段以及Scrapy和Flask两大商业级框架,并囊括了30个爬虫实战案例,包含2800余行代码,涉及10个网站和App的数据爬取。内容简介网络爬虫是当今获取数
- c++学习笔记-提高篇-STL-函数对象
喏喏心
c++learningnotes学习笔记
目录一、函数对象二、函数对象使用三、谓词1、概念2、一元谓词3、二元谓词插入一条sort函数源码四、内建函数对象1.基本概念2、算数仿函数3、关系仿函数4、逻辑仿函数一、函数对象函数对象概念(1)重载函数调用操作符的类,其对象常称为函数对象;(2)函数对象使用重载的()时,行为类似函数调用,也叫仿函数。本质:函数对象(仿函数)是一个类,不是一个函数二、函数对象使用特点:函数对象在使用时,可以像普通
- c++学习笔记-提高篇-STL-常用六大算法(遍历、查找、排序、拷贝和替换、算术生成、集合算法)
喏喏心
c++learningnotesc++学习笔记
目录概述一、常用遍历算法(1)for_each(2)transform二、常用查找算法(1)find(2)find_if(3)adjacent_find(4)binary_search(5)count(6)count_if三、常用排序算法(1)sort(2)random_shuffle(3)reverse(4)merge四、常用拷贝和替换算法(1)copy(2)replace(3)replace_
- 硬件工程师桥——互动篇笔记
半两八斤
Hardware笔记嵌入式硬件
知识体系无论是做硬件还是软件,都最好看看基础篇,软件到了一定程度,如果硬件懂一些才会走的更远基础篇的电路不建议在实际中使用基础篇建议从头到尾都看,前后都有关联提高篇讲EMC和高速电路的东西,属于硬件工程师进阶的必备技能,如果是做确定软件哪就不需要看了。提高篇不要纠结于计算,粗算有个大概思路就行。想要高工资,提高篇是需要掌握的!先学完基础篇和提高篇才能更好的理解器件篇,器件篇中的内容有关质量安全等出
- 2018-09-27
_然而
考研倒计时86天图片发自App今日任务8:00-10:30专业课第五章总结10:30-12:20英语阅读两篇+翻译2:30-6:30高数提高篇第三章题目题+查漏补缺建立系统的知识体系7:30-8:00背英语作文8:00-9:00专业课知识点背诵9:00-10:30近代史第七章1000题+第七章视频10:30-11:00背单词明日计划8:00-10:30专业课第五章总结+第六章知识点二刷10:30-
- JAVA基础
灵静志远
位运算加载Date字符串池覆盖
一、类的初始化顺序
1 (静态变量,静态代码块)-->(变量,初始化块)--> 构造器
同一括号里的,根据它们在程序中的顺序来决定。上面所述是同一类中。如果是继承的情况,那就在父类到子类交替初始化。
二、String
1 String a = "abc";
JAVA虚拟机首先在字符串池中查找是否已经存在了值为"abc"的对象,根
- keepalived实现redis主从高可用
bylijinnan
redis
方案说明
两台机器(称为A和B),以统一的VIP对外提供服务
1.正常情况下,A和B都启动,B会把A的数据同步过来(B is slave of A)
2.当A挂了后,VIP漂移到B;B的keepalived 通知redis 执行:slaveof no one,由B提供服务
3.当A起来后,VIP不切换,仍在B上面;而A的keepalived 通知redis 执行slaveof B,开始
- java文件操作大全
0624chenhong
java
最近在博客园看到一篇比较全面的文件操作文章,转过来留着。
http://www.cnblogs.com/zhuocheng/archive/2011/12/12/2285290.html
转自http://blog.sina.com.cn/s/blog_4a9f789a0100ik3p.html
一.获得控制台用户输入的信息
&nbs
- android学习任务
不懂事的小屁孩
工作
任务
完成情况 搞清楚带箭头的pupupwindows和不带的使用 已完成 熟练使用pupupwindows和alertdialog,并搞清楚两者的区别 已完成 熟练使用android的线程handler,并敲示例代码 进行中 了解游戏2048的流程,并完成其代码工作 进行中-差几个actionbar 研究一下android的动画效果,写一个实例 已完成 复习fragem
- zoom.js
换个号韩国红果果
oom
它的基于bootstrap 的
https://raw.github.com/twbs/bootstrap/master/js/transition.js transition.js模块引用顺序
<link rel="stylesheet" href="style/zoom.css">
<script src=&q
- 详解Oracle云操作系统Solaris 11.2
蓝儿唯美
Solaris
当Oracle发布Solaris 11时,它将自己的操作系统称为第一个面向云的操作系统。Oracle在发布Solaris 11.2时继续它以云为中心的基调。但是,这些说法没有告诉我们为什么Solaris是配得上云的。幸好,我们不需要等太久。Solaris11.2有4个重要的技术可以在一个有效的云实现中发挥重要作用:OpenStack、内核域、统一存档(UA)和弹性虚拟交换(EVS)。
- spring学习——springmvc(一)
a-john
springMVC
Spring MVC基于模型-视图-控制器(Model-View-Controller,MVC)实现,能够帮助我们构建像Spring框架那样灵活和松耦合的Web应用程序。
1,跟踪Spring MVC的请求
请求的第一站是Spring的DispatcherServlet。与大多数基于Java的Web框架一样,Spring MVC所有的请求都会通过一个前端控制器Servlet。前
- hdu4342 History repeat itself-------多校联合五
aijuans
数论
水题就不多说什么了。
#include<iostream>#include<cstdlib>#include<stdio.h>#define ll __int64using namespace std;int main(){ int t; ll n; scanf("%d",&t); while(t--)
- EJB和javabean的区别
asia007
beanejb
EJB不是一般的JavaBean,EJB是企业级JavaBean,EJB一共分为3种,实体Bean,消息Bean,会话Bean,书写EJB是需要遵循一定的规范的,具体规范你可以参考相关的资料.另外,要运行EJB,你需要相应的EJB容器,比如Weblogic,Jboss等,而JavaBean不需要,只需要安装Tomcat就可以了
1.EJB用于服务端应用开发, 而JavaBeans
- Struts的action和Result总结
百合不是茶
strutsAction配置Result配置
一:Action的配置详解:
下面是一个Struts中一个空的Struts.xml的配置文件
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
&quo
- 如何带好自已的团队
bijian1013
项目管理团队管理团队
在网上看到博客"
怎么才能让团队成员好好干活"的评论,觉得写的比较好。 原文如下: 我做团队管理有几年了吧,我和你分享一下我认为带好团队的几点:
1.诚信
对团队内成员,无论是技术研究、交流、问题探讨,要尽可能的保持一种诚信的态度,用心去做好,你的团队会感觉得到。 2.努力提
- Java代码混淆工具
sunjing
ProGuard
Open Source Obfuscators
ProGuard
http://java-source.net/open-source/obfuscators/proguardProGuard is a free Java class file shrinker and obfuscator. It can detect and remove unused classes, fields, m
- 【Redis三】基于Redis sentinel的自动failover主从复制
bit1129
redis
在第二篇中使用2.8.17搭建了主从复制,但是它存在Master单点问题,为了解决这个问题,Redis从2.6开始引入sentinel,用于监控和管理Redis的主从复制环境,进行自动failover,即Master挂了后,sentinel自动从从服务器选出一个Master使主从复制集群仍然可以工作,如果Master醒来再次加入集群,只能以从服务器的形式工作。
什么是Sentine
- 使用代理实现Hibernate Dao层自动事务
白糖_
DAOspringAOP框架Hibernate
都说spring利用AOP实现自动事务处理机制非常好,但在只有hibernate这个框架情况下,我们开启session、管理事务就往往很麻烦。
public void save(Object obj){
Session session = this.getSession();
Transaction tran = session.beginTransaction();
try
- maven3实战读书笔记
braveCS
maven3
Maven简介
是什么?
Is a software project management and comprehension tool.项目管理工具
是基于POM概念(工程对象模型)
[设计重复、编码重复、文档重复、构建重复,maven最大化消除了构建的重复]
[与XP:简单、交流与反馈;测试驱动开发、十分钟构建、持续集成、富有信息的工作区]
功能:
- 编程之美-子数组的最大乘积
bylijinnan
编程之美
public class MaxProduct {
/**
* 编程之美 子数组的最大乘积
* 题目: 给定一个长度为N的整数数组,只允许使用乘法,不能用除法,计算任意N-1个数的组合中乘积中最大的一组,并写出算法的时间复杂度。
* 以下程序对应书上两种方法,求得“乘积中最大的一组”的乘积——都是有溢出的可能的。
* 但按题目的意思,是要求得这个子数组,而不
- 读书笔记-2
chengxuyuancsdn
读书笔记
1、反射
2、oracle年-月-日 时-分-秒
3、oracle创建有参、无参函数
4、oracle行转列
5、Struts2拦截器
6、Filter过滤器(web.xml)
1、反射
(1)检查类的结构
在java.lang.reflect包里有3个类Field,Method,Constructor分别用于描述类的域、方法和构造器。
2、oracle年月日时分秒
s
- [求学与房地产]慎重选择IT培训学校
comsci
it
关于培训学校的教学和教师的问题,我们就不讨论了,我主要关心的是这个问题
培训学校的教学楼和宿舍的环境和稳定性问题
我们大家都知道,房子是一个比较昂贵的东西,特别是那种能够当教室的房子...
&nb
- RMAN配置中通道(CHANNEL)相关参数 PARALLELISM 、FILESPERSET的关系
daizj
oraclermanfilespersetPARALLELISM
RMAN配置中通道(CHANNEL)相关参数 PARALLELISM 、FILESPERSET的关系 转
PARALLELISM ---
我们还可以通过parallelism参数来指定同时"自动"创建多少个通道:
RMAN > configure device type disk parallelism 3 ;
表示启动三个通道,可以加快备份恢复的速度。
- 简单排序:冒泡排序
dieslrae
冒泡排序
public void bubbleSort(int[] array){
for(int i=1;i<array.length;i++){
for(int k=0;k<array.length-i;k++){
if(array[k] > array[k+1]){
- 初二上学期难记单词三
dcj3sjt126com
sciet
concert 音乐会
tonight 今晚
famous 有名的;著名的
song 歌曲
thousand 千
accident 事故;灾难
careless 粗心的,大意的
break 折断;断裂;破碎
heart 心(脏)
happen 偶尔发生,碰巧
tourist 旅游者;观光者
science (自然)科学
marry 结婚
subject 题目;
- I.安装Memcahce 1. 安装依赖包libevent Memcache需要安装libevent,所以安装前可能需要执行 Shell代码 收藏代码
dcj3sjt126com
redis
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make
前面3步应该没有问题,主要的问题是执行make的时候,出现了异常。
异常一:
make[2]: cc: Command not found
异常原因:没有安装g
- 并发容器
shuizhaosi888
并发容器
通过并发容器来改善同步容器的性能,同步容器将所有对容器状态的访问都串行化,来实现线程安全,这种方式严重降低并发性,当多个线程访问时,吞吐量严重降低。
并发容器ConcurrentHashMap
替代同步基于散列的Map,通过Lock控制。
&nb
- Spring Security(12)——Remember-Me功能
234390216
Spring SecurityRemember Me记住我
Remember-Me功能
目录
1.1 概述
1.2 基于简单加密token的方法
1.3 基于持久化token的方法
1.4 Remember-Me相关接口和实现
- 位运算
焦志广
位运算
一、位运算符C语言提供了六种位运算符:
& 按位与
| 按位或
^ 按位异或
~ 取反
<< 左移
>> 右移
1. 按位与运算 按位与运算符"&"是双目运算符。其功能是参与运算的两数各对应的二进位相与。只有对应的两个二进位均为1时,结果位才为1 ,否则为0。参与运算的数以补码方式出现。
例如:9&am
- nodejs 数据库连接 mongodb mysql
liguangsong
mongodbmysqlnode数据库连接
1.mysql 连接
package.json中dependencies加入
"mysql":"~2.7.0"
执行 npm install
在config 下创建文件 database.js
- java动态编译
olive6615
javaHotSpotjvm动态编译
在HotSpot虚拟机中,有两个技术是至关重要的,即动态编译(Dynamic compilation)和Profiling。
HotSpot是如何动态编译Javad的bytecode呢?Java bytecode是以解释方式被load到虚拟机的。HotSpot里有一个运行监视器,即Profile Monitor,专门监视
- Storm0.9.5的集群部署配置优化
roadrunners
优化storm.yaml
nimbus结点配置(storm.yaml)信息:
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional inf
- 101个MySQL 的调节和优化的提示
tomcat_oracle
mysql
1. 拥有足够的物理内存来把整个InnoDB文件加载到内存中——在内存中访问文件时的速度要比在硬盘中访问时快的多。 2. 不惜一切代价避免使用Swap交换分区 – 交换时是从硬盘读取的,它的速度很慢。 3. 使用电池供电的RAM(注:RAM即随机存储器)。 4. 使用高级的RAID(注:Redundant Arrays of Inexpensive Disks,即磁盘阵列
- zoj 3829 Known Notation(贪心)
阿尔萨斯
ZOJ
题目链接:zoj 3829 Known Notation
题目大意:给定一个不完整的后缀表达式,要求有2种不同操作,用尽量少的操作使得表达式完整。
解题思路:贪心,数字的个数要要保证比∗的个数多1,不够的话优先补在开头是最优的。然后遍历一遍字符串,碰到数字+1,碰到∗-1,保证数字的个数大于等1,如果不够减的话,可以和最后面的一个数字交换位置(用栈维护十分方便),因为添加和交换代价都是1