- Windows .NET8 实现 远程一键部署,几秒完成发布,提高效率 - CICD
安得权
CICDwindows.net
1.前言场景(工作环境一键部署到远端服务器[阿里云])CICD基本步骤回顾https://blog.csdn.net/CsethCRM/article/details/1416046382.环境准备服务器端IP:106.15.74.25(阿里云服务器)客户端:工作电脑/开发电脑2.1安装7z服务器和客户端(工作电脑)均需安装安装目录:C:\ProgramFiles\7-Zip\7z.exe2.2安
- 7z 命令行详解
shankusu2017
linux
语法格式:(详细情况见7-zip帮助文件,看得头晕可以跳过,用到再学)7z[...][...]7z.exe的每个命令都有不同的参数,请看帮助文件为压缩包名称为文件名称,支持通配符或文件列表a:添加文件的压缩包,或者创建新的压缩包。d:从压缩包中删除文件。e:从压缩包中提取。t:测试压缩包的是否出错。u:更新压缩包中的文件。其中,7z是至命令行压缩解压程序7z.exe,是7z.exe包含的命令,列举
- 【全网首发】2024数学建模国赛C题39页word版成品论文【附带py+matlab双版本解题代码+可视化图表】
2024数学建模国赛比赛资料分享
2024全国大学生数学建模国赛2024数学建模国赛2024数学建模国赛C题数学建模matlab开发语言2024数学建模国赛2024数学建模国赛C题
基于优化模型的农作物的种植策略完整版成品+py(matlab)代码解题在下面获取:点击链接加入群聊【2024数学建模国赛资料汇总】:http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=lZncBILk30DuPRI1Bd8X-3Djv7ZVZyAv&authKey=kKqNSSEbbZN%2FVKn%2BICOqJGahEHfhJEe7BSxK5IMua%2BYQq
- Ubuntu 22.04 镜像自定义制作
Wielun
运维ubuntuubuntu22.04镜像自定义封装subiquity封装镜像
Centos封装镜像>LinuxCentosISO镜像自定义制作Ubuntu20.04封装镜像>Ubuntu20.04镜像自定义制作1、下载镜像系统环境:ubuntu22.04镜像地址:https://mirrors.aliyun.com/ubuntu-releasesroot@ubuntu:~#aptinstall-yp7zipxorrisoroot@ubuntu:~#mkdirubuntu&&
- MyZip--专业mac压缩软件
爱吃涩柿子
MyZip是一款非常好用的解压、压缩软件,它支持多种格式的文件,例如7Z,ZIP,RAR,TAR,GZIP,BZIP2,XZ,LZIP,ACE,ISO,CAB,PAX,JAR,AR,CPIO等常见所有格式解压,而且MyZip的功能不简单!功能1:加密压缩、分卷压缩众所周知,加密文件是为了更好地保护我们的隐私或者是工作中的特殊文件,那么怎么设置加密文件呢?右击选中压缩文件-点击自定义压缩-勾选加密压
- 7ZIP 常见使用问题解决办法
eqa11
7-zip
文章目录7ZIP常见使用问题解决办法一、引言二、设置7ZIP为默认压缩软件1、设置关联格式2、添加右键菜单3、语言设置三、解决7ZIP无法打开某些压缩包的问题四、提升7ZIP压缩比率五、安静模式安装7ZIP六、恢复受损的7z压缩包四、总结7ZIP常见使用问题解决办法一、引言7ZIP作为一款功能强大的免费压缩软件,深受广大用户的喜爱。然而在使用过程中,用户可能会遇到一些常见问题。本文将结合官方FAQ
- MySQL——连接查询(sql92和sql99)
cqu_shuai
数据分析数据库mysqlsqlDBMS连接查询
参考链接https://www.bilibili.com/video/BV12b411K7Zu?p=69连接查询含义连接查询,又称多表查询,当查询的字段来自于多个表时,就会用到连接查询笛卡尔乘积现象如果表1有m行,表2有n行,结果=m*n行。发生原因是没有有效的连接条件。分类按年代分类sql92标准:仅仅支持内连接sql99标准【推荐】:支持内连接+外连接(左外和右外)+交叉连接按功能分类内连接等
- STM32F407ZGT6 CAN笔记
AI_SEED
STM32stm32can单片机
学习CAN协议、参考野火的开发手册和代码随记2020年7月30日09:22:01一、CAN1.简介控制器局域网络(ControllerAreaNetwork),由德国的BOSCH公司开发的,并最终成为国际标准。2.特点异步通讯半双工两线CAN_High&&CAN_Low所谓的差分信号线ISO11898标准的高速、短距离------闭环网络闭环总线最大长度为40M最高速度为1Mbps总线两端接120
- 2024年目标检测数据集大合集所有下载地址汇总
FL1623863129
数据集目标检测人工智能计算机视觉
序号数据集名称下载地址1远距离小目标仰拍无人机检测数据集VOC+YOLO格式10672张1类别.7z点我下载2电力工地场景下的人头检测数据集VOC+YOLO格式7035张1类别.7z点我下载3塑料纸张垃圾袋检测数据集VOC+YOLO格式1.5w张3类别.7z点我下载440种飞机检测数据集VOC+YOLO格式15199张40类别.7z点我下载5芒果害虫检测数据集VOC+YOLO格式3575张10类别
- [数据集][图像分类]河道污染分类数据集1923张4类别
FL1623863129
数据集分类数据挖掘人工智能
数据集类型:图像分类用,不可用于目标检测无标注文件数据集格式:仅仅包含jpg图片,每个类别文件夹下面存放着对应图片图片数量(jpg文件个数):1922分类类别数:4类别名称:["lianghao","qingwei","yanzhong","zhongdu"]每个类别图片数:lianghao图片数:435qingwei图片数:423yanzhong图片数:577zhongdu图片数:487重要说明
- centos7安装docker-compose
haidi8
docker容器运维
1、下载docker-compose网盘下载:链接:https://pan.baidu.com/s/1pltG3aWiN9zMqYt7ZVyLng提取码:7awd--来自百度网盘超级会员V5的分享2、上传docker-compose文件到/usr/local/bin目录[root@192bin]#ll总用量53892-rwxrwxrwx1rootroot5445384710月1617:27dock
- 半导体物理基础-笔记
uestc_Venn
学术研究半导体物理半导体笔记半导体学术研究半导体物理
源内容参考:https://www.bilibili.com/video/BV11U4y1k7zn/?spm_id_from=333.337.search-card.all.click&vd_source=61654d4a6e8d7941436149dd99026962半导体物理要解决的四个问题载流子在哪里;如何获得足够多的载流子;载流子如何运动;哪些因素影响载流子的运动。载流子可移动的条件有电子
- 搭建SVN服务端和客户端
yrx020307
stm32f103svn
参考博客:https://zhuanlan.zhihu.com/p/428552058先下载这两个文件:链接:链接:https://pan.baidu.com/s/1_1v_jKm3h7ZDSYEsgYyovA?pwd=11ku提取码:11ku–来自百度网盘超级会员V5的分享第一个压缩包里有客户端安装包+汉化包;两个包都要双击打开;第二个安装包是服务端安装包为了方便后续工作,补充一下如何搭建SVN
- -bash: lsof: command not found解决办法
YZF_Kevin
知识积累lsof详解安装lsofcentos安装lsof
简言centos系统,检测端口时使用lsof命令发现lsof功能未开启,如下图[root@iZwz9501p9hnysn92hpx27Ztnt_game]#lsof-bash:lsof:commandnotfound安装lsofcentos系统下可以直接使用yum安装lsof功能,如下图yum可自动完成安装lsoflsof的常用格式:lsof-i:端口号以80端口为例,测试如下图[root@iZw
- STM32F407通过STM32CubeMX建立工程、移植驱动
ElderLongLive
STM32stm32单片机arm
一.建立STM32CubeMX工程(1)根据型号选择芯片(2)配置RCC,如果板载外部高速/低速晶振,HighSpeedClock(HSE)/LowSpeedClock(HSE)选择Crystal/CeramicResonator。(3)配置时钟频率,ClockConfiguration。选择HSE,STM32F407ZETx最高支持168M(4)保存和配置工程,ProjectManager。保存
- STM32CubeMX快速生成STM32F407ZG芯片寄存器初始化
僚机武士
STM32学习单片机stm32
STM32CubeMX快速生成STM32F407ZG芯片寄存器初始化STM32CubeMX对于一些使用STM32比较多的开发者比较熟悉,但对于刚接触STM32系列单片机的开发者就可能显得陌生一些。STM32CubeMX是一款由ST公司推出的帮助STM32开发者快速搭建STM32工程文件的图形编程软件。STM32CubeMX的好处在于,开发者不用像以前一样自己编程来对单片机的寄存器进行操作,该过程不
- 单片机01天---stm32基本信息了解
向_北ei
单片机单片机
下载数据手册以STM32F407ZG为例网站:www.st.com,搜索芯片型号,下载“数据手册”使用数据手册使用查看芯片型号信息芯片资源信息时钟框图芯片资源表格下方GPIO口表格一般位于下图后面的位置①工作电压:1.8V–3.6V,VSS/GND(电源负极0)、VDD/VCC/V3.3(电源正极1),VREF(参考电压)②STM32:芯片内部包含了一个RC振荡器(内部时钟:内部高速时钟/内部低速
- STM32F407ZGT6单片机连接ST_LINK和USB转TTL的接线方法+舵机接线方法
菜只因C
STM32stm32单片机接线方法ST_LINKUSB转TTL
目录1.STM32F407ZG单片机连接ST_LINK2.STM32F407ZG单片机连接USB转TTL(用于串口通信)3舵机1.STM32F407ZG单片机连接ST_LINK单片机ST_LINK9--------------------67--------------------220------------------3/41--------------------7/8这里附上具体的接线图片
- STM32F407ZG TIM通用定时器
八个细胞
STM32学习stm32单片机arm
STM32F407ZG开发板学习(6)通用定时器简介TIM2~TIM5TIM9~TIM14原理TIMx控制寄存器1(TIMx_CR1)DMA/中断使能寄存器(TIMx_DIER)预分频寄存器(TIMx_PSC)计数器(TIMx_CNT)自动重载寄存器(TIMx_ARR)状态寄存器(TIMx_SR)实验配置步骤代码通用定时器简介STM32F4的定时器功能十分强大,有TIME1和TIME8等高级定时器
- 单片机01天_stm32f407zg_创建新工程
向_北ei
单片机单片机stm32嵌入式硬件
创建“寄存器版工程”1、创建工程文件夹创建工程文件夹“Project”,内部包含文件夹“CMSIS”&&“USER”。CMSIS:Cortex系列内核接口驱动文件。USER:存放用户编写的程序文件。“USER”文件夹内包含“Inc”&&“Src”。在“存放用户自己编写的程序文件”的文件夹下再建立两个分类文件夹并自定义命名,Src:用于存放“C源程序文件”Inc:存放“源程序文件对应的头文件”2、准
- linux磁盘操作 压缩 解压
Denzel张
linuxlinux运维centos
xz文件解压xz-d***linux-tar分巻压缩linux-tar分卷压缩与解压缩_六号码头的博客-CSDN博客如何把文件压缩到最小先压缩成.tar再将tar压缩为.xzxz**(此时会很慢)7zapt-getinstallp7zip-full解压7zx解压zip文件乱码ubuntu16.04系统解压zip文件文件名乱码_howell-CSDN博客_ubuntu解压zip乱码sudoapt-g
- Jlink+OpenOCD+STM32 Vscode 下载和调试环境搭建
JoYER_cc
stm32vscode嵌入式硬件单片机
对于Mingw的安装比较困难,国内的网无法正常在线下载组件,需要手动下载x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z版本的软件包,添加环境变量,并将mingw32-make.exe名字改成make.exe。对于OpenOCD,需要使用Zadig工具安装Jlink驱动。Vscode工程的Makefile也要更改:#省略INTERFACE_CFG="D:\w
- zabbix监控Linux
她的名字叫李承利
zabbixlinuxzabbix运维
1.环境配置:主机名主机地址操作系统角色zabbix192.168.188.201RockyLinuxrelease8.6zabbix-servernode1192.168.188.111CentOS7zabbix-agent2.配置zabbix客户端:1>.下载并安装zabbix客户端:[root@node1~]#wgethttps://mirrors.tuna.tsinghua.edu.cn/
- 从零起步 系统入门Python爬虫工程师
YAHOHOHOO
Python爬虫工程师视频资料下载密码7zxc从零起步的系统化教程,课程内容从理论到实践,一层一层深入讲解,尤其是课程实战环节:一步一步带你进行多场景项目实践,让你能够举一反三从容面对以后的数据抓取问题,最后关于就业部分,重点,难点,针对性讲解,轻松应对面试,最终达到就业水准。学习目标1:彻底解决让人头疼的环境搭建问题如何在windows/linux/mac下安装和配置python、pycharm
- 【Tauri】(2):使用Tauri应用开发,使用开源的Chatgpt-web应用做前端,使用rust 的candle做后端,本地运行小模型桌面应用
fly-iot
candlerust大模型chatgpttaurirustcandle
视频演示地址https://www.bilibili.com/video/BV17j421X7Zc/【Tauri】(2):使用Tauri应用开发,使用开源的Chatgpt-web应用做前端,使用rust的candle做后端,本地运行小模型桌面应用1,做一个免费的桌面端的gpt软件方案使用CPU运行小模型运行qwen1.8Bhttps://www.modelscope.cn/models/qwen/
- cximage在vs2013下使用方法
云博士的AI课堂
c++Cximageopencvvisualstudiovs2013
1.下载源码Cximage源码官网CxImagedownload|SourceForge.net下载最新版本702版本Downloadcximage702_full.7z(CxImage)2.编译vs2013打开CxImageFull_vc10.sln这个源码版本是vc10的版本,所以vs2013会自动更新项目因为cximage需要在后面的项目中使用x64平台,这里选择这个平台编译如果使用cxim
- 解压7z
年少懵懂丶流年梦
build.gradle//un7zcompile'org.apache.commons:commons-compress:1.15'compile'org.tukaani:xz:1.8'packagecom.jdsoft.util;importorg.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry;importorg.apa
- 隧道穿透:文件传输技术
未知百分百
ATT&CK安全web安全安全windows文件传输压缩解压
目录windows文件传输技巧1.Makecab文件压缩命令(1)单文件压缩和解压(2)多个文件压缩和解压2.Rar文件解压缩工具(1)单个文件压缩和解压(2)忽略指定后缀文件压缩(3)分卷压缩和解压(4)分卷压缩加解密3.7z文件压缩工具(1)常见参数(2)压缩文件(3)解压文件(4)分卷压缩加解密Linux文件传输技巧1.常用的参数2.单个文件夹打包3.多个文件夹打包4.解包文件5.压缩文件6
- 自然语言学习nlp 六
wangqiaowq
学习
https://www.bilibili.com/video/BV1UG411p7zv?p=118DeltaTuning,尤其是在自然语言处理(NLP)和机器学习领域中,通常指的是对预训练模型进行微调的一种策略。这种策略不是直接更新整个预训练模型的权重,而是仅针对模型的一部分权重进行微小的调整,这部分权重通常被称为“delta权重”或“微调参数”。具体到NLP任务中,DeltaTuning可以应用
- 【从Python基础到深度学习】2. Ubuntu及插件安装
风筝超冷
ubuntulinux运维
本期所有软件安装包:链接:https://pan.baidu.com/s/1UVEYm-12FivAnrE5NUXevg?pwd=um60一、安装Ubuntu1.1软件安装包:下载VMwareWorkstationPro|CN一直点下一步即可1.2双击运行软件:输入密钥1、VMware15密钥UY758-0RXEQ-M81WP-8ZM7Z-Y3HDAVF750-4MX5Q-488DQ-9WZE9-
- 微信开发者验证接口开发
362217990
微信 开发者 token 验证
微信开发者接口验证。
Token,自己随便定义,与微信填写一致就可以了。
根据微信接入指南描述 http://mp.weixin.qq.com/wiki/17/2d4265491f12608cd170a95559800f2d.html
第一步:填写服务器配置
第二步:验证服务器地址的有效性
第三步:依据接口文档实现业务逻辑
这里主要讲第二步验证服务器有效性。
建一个
- 一个小编程题-类似约瑟夫环问题
BrokenDreams
编程
今天群友出了一题:
一个数列,把第一个元素删除,然后把第二个元素放到数列的最后,依次操作下去,直到把数列中所有的数都删除,要求依次打印出这个过程中删除的数。
&
- linux复习笔记之bash shell (5) 关于减号-的作用
eksliang
linux关于减号“-”的含义linux关于减号“-”的用途linux关于“-”的含义linux关于减号的含义
转载请出自出处:
http://eksliang.iteye.com/blog/2105677
管道命令在bash的连续处理程序中是相当重要的,尤其在使用到前一个命令的studout(标准输出)作为这次的stdin(标准输入)时,就显得太重要了,某些命令需要用到文件名,例如上篇文档的的切割命令(split)、还有
- Unix(3)
18289753290
unix ksh
1)若该变量需要在其他子进程执行,则可用"$变量名称"或${变量}累加内容
什么是子进程?在我目前这个shell情况下,去打开一个新的shell,新的那个shell就是子进程。一般状态下,父进程的自定义变量是无法在子进程内使用的,但通过export将变量变成环境变量后就能够在子进程里面应用了。
2)条件判断: &&代表and ||代表or&nbs
- 关于ListView中性能优化中图片加载问题
酷的飞上天空
ListView
ListView的性能优化网上很多信息,但是涉及到异步加载图片问题就会出现问题。
具体参看上篇文章http://314858770.iteye.com/admin/blogs/1217594
如果每次都重新inflate一个新的View出来肯定会造成性能损失严重,可能会出现listview滚动是很卡的情况,还会出现内存溢出。
现在想出一个方法就是每次都添加一个标识,然后设置图
- 德国总理默多克:给国人的一堂“震撼教育”课
永夜-极光
教育
http://bbs.voc.com.cn/topic-2443617-1-1.html德国总理默多克:给国人的一堂“震撼教育”课
安吉拉—默克尔,一位经历过社会主义的东德人,她利用自己的博客,发表一番来华前的谈话,该说的话,都在上面说了,全世界想看想传播——去看看默克尔总理的博客吧!
德国总理默克尔以她的低调、朴素、谦和、平易近人等品格给国人留下了深刻印象。她以实际行动为中国人上了一堂
- 关于Java继承的一个小问题。。。
随便小屋
java
今天看Java 编程思想的时候遇见一个问题,运行的结果和自己想想的完全不一样。先把代码贴出来!
//CanFight接口
interface Canfight {
void fight();
}
//ActionCharacter类
class ActionCharacter {
public void fight() {
System.out.pr
- 23种基本的设计模式
aijuans
设计模式
Abstract Factory:提供一个创建一系列相关或相互依赖对象的接口,而无需指定它们具体的类。 Adapter:将一个类的接口转换成客户希望的另外一个接口。A d a p t e r模式使得原本由于接口不兼容而不能一起工作的那些类可以一起工作。 Bridge:将抽象部分与它的实现部分分离,使它们都可以独立地变化。 Builder:将一个复杂对象的构建与它的表示分离,使得同
- 《周鸿祎自述:我的互联网方法论》读书笔记
aoyouzi
读书笔记
从用户的角度来看,能解决问题的产品才是好产品,能方便/快速地解决问题的产品,就是一流产品.
商业模式不是赚钱模式
一款产品免费获得海量用户后,它的边际成本趋于0,然后再通过广告或者增值服务的方式赚钱,实际上就是创造了新的价值链.
商业模式的基础是用户,木有用户,任何商业模式都是浮云.商业模式的核心是产品,本质是通过产品为用户创造价值.
商业模式还包括寻找需求
- JavaScript动态改变样式访问技术
百合不是茶
JavaScriptstyle属性ClassName属性
一:style属性
格式:
HTML元素.style.样式属性="值";
创建菜单:在html标签中创建 或者 在head标签中用数组创建
<html>
<head>
<title>style改变样式</title>
</head>
&l
- jQuery的deferred对象详解
bijian1013
jquerydeferred对象
jQuery的开发速度很快,几乎每半年一个大版本,每两个月一个小版本。
每个版本都会引入一些新功能,从jQuery 1.5.0版本开始引入的一个新功能----deferred对象。
&nb
- 淘宝开放平台TOP
Bill_chen
C++c物流C#
淘宝网开放平台首页:http://open.taobao.com/
淘宝开放平台是淘宝TOP团队的产品,TOP即TaoBao Open Platform,
是淘宝合作伙伴开发、发布、交易其服务的平台。
支撑TOP的三条主线为:
1.开放数据和业务流程
* 以API数据形式开放商品、交易、物流等业务;
&
- 【大型网站架构一】大型网站架构概述
bit1129
网站架构
大型互联网特点
面对海量用户、海量数据
大型互联网架构的关键指标
高并发
高性能
高可用
高可扩展性
线性伸缩性
安全性
大型互联网技术要点
前端优化
CDN缓存
反向代理
KV缓存
消息系统
分布式存储
NoSQL数据库
搜索
监控
安全
想到的问题:
1.对于订单系统这种事务型系统,如
- eclipse插件hibernate tools安装
白糖_
Hibernate
eclipse helios(3.6)版
1.启动eclipse 2.选择 Help > Install New Software...> 3.添加如下地址:
http://download.jboss.org/jbosstools/updates/stable/helios/ 4.选择性安装:hibernate tools在All Jboss tool
- Jquery easyui Form表单提交注意事项
bozch
jquery easyui
jquery easyui对表单的提交进行了封装,提交的方式采用的是ajax的方式,在开发的时候应该注意的事项如下:
1、在定义form标签的时候,要将method属性设置成post或者get,特别是进行大字段的文本信息提交的时候,要将method设置成post方式提交,否则页面会抛出跨域访问等异常。所以这个要
- Trie tree(字典树)的Java实现及其应用-统计以某字符串为前缀的单词的数量
bylijinnan
java实现
import java.util.LinkedList;
public class CaseInsensitiveTrie {
/**
字典树的Java实现。实现了插入、查询以及深度优先遍历。
Trie tree's java implementation.(Insert,Search,DFS)
Problem Description
Igna
- html css 鼠标形状样式汇总
chenbowen00
htmlcss
css鼠标手型cursor中hand与pointer
Example:CSS鼠标手型效果 <a href="#" style="cursor:hand">CSS鼠标手型效果</a><br/>
Example:CSS鼠标手型效果 <a href="#" style=&qu
- [IT与投资]IT投资的几个原则
comsci
it
无论是想在电商,软件,硬件还是互联网领域投资,都需要大量资金,虽然各个国家政府在媒体上都给予大家承诺,既要让市场的流动性宽松,又要保持经济的高速增长....但是,事实上,整个市场和社会对于真正的资金投入是非常渴望的,也就是说,表面上看起来,市场很活跃,但是投入的资金并不是很充足的......
 
- oracle with语句详解
daizj
oraclewithwith as
oracle with语句详解 转
在oracle中,select 查询语句,可以使用with,就是一个子查询,oracle 会把子查询的结果放到临时表中,可以反复使用
例子:注意,这是sql语句,不是pl/sql语句, 可以直接放到jdbc执行的
----------------------------------------------------------------
- hbase的简单操作
deng520159
数据库hbase
近期公司用hbase来存储日志,然后再来分析 ,把hbase开发经常要用的命令找了出来.
用ssh登陆安装hbase那台linux后
用hbase shell进行hbase命令控制台!
表的管理
1)查看有哪些表
hbase(main)> list
2)创建表
# 语法:create <table>, {NAME => <family&g
- C语言scanf继续学习、算术运算符学习和逻辑运算符
dcj3sjt126com
c
/*
2013年3月11日20:37:32
地点:北京潘家园
功能:完成用户格式化输入多个值
目的:学习scanf函数的使用
*/
# include <stdio.h>
int main(void)
{
int i, j, k;
printf("please input three number:\n"); //提示用
- 2015越来越好
dcj3sjt126com
歌曲
越来越好
房子大了电话小了 感觉越来越好
假期多了收入高了 工作越来越好
商品精了价格活了 心情越来越好
天更蓝了水更清了 环境越来越好
活得有奔头人会步步高
想做到你要努力去做到
幸福的笑容天天挂眉梢 越来越好
婆媳和了家庭暖了 生活越来越好
孩子高了懂事多了 学习越来越好
朋友多了心相通了 大家越来越好
道路宽了心气顺了 日子越来越好
活的有精神人就不显
- java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Tim
feiteyizu
mysql
数据表中有记录的time字段(属性为timestamp)其值为:“0000-00-00 00:00:00”
程序使用select 语句从中取数据时出现以下异常:
java.sql.SQLException:Value '0000-00-00' can not be represented as java.sql.Date
java.sql.SQLException: Valu
- Ehcache(07)——Ehcache对并发的支持
234390216
并发ehcache锁ReadLockWriteLock
Ehcache对并发的支持
在高并发的情况下,使用Ehcache缓存时,由于并发的读与写,我们读的数据有可能是错误的,我们写的数据也有可能意外的被覆盖。所幸的是Ehcache为我们提供了针对于缓存元素Key的Read(读)、Write(写)锁。当一个线程获取了某一Key的Read锁之后,其它线程获取针对于同
- mysql中blob,text字段的合成索引
jackyrong
mysql
在mysql中,原来有一个叫合成索引的,可以提高blob,text字段的效率性能,
但只能用在精确查询,核心是增加一个列,然后可以用md5进行散列,用散列值查找
则速度快
比如:
create table abc(id varchar(10),context blog,hash_value varchar(40));
insert into abc(1,rep
- 逻辑运算与移位运算
latty
位运算逻辑运算
源码:正数的补码与原码相同例+7 源码:00000111 补码 :00000111 (用8位二进制表示一个数)
负数的补码:
符号位为1,其余位为该数绝对值的原码按位取反;然后整个数加1。 -7 源码: 10000111 ,其绝对值为00000111 取反加一:11111001 为-7补码
已知一个数的补码,求原码的操作分两种情况:
- 利用XSD 验证XML文件
newerdragon
javaxmlxsd
XSD文件 (XML Schema 语言也称作 XML Schema 定义(XML Schema Definition,XSD)。 具体使用方法和定义请参看:
http://www.w3school.com.cn/schema/index.asp
java自jdk1.5以上新增了SchemaFactory类 可以实现对XSD验证的支持,使用起来也很方便。
以下代码可用在J
- 搭建 CentOS 6 服务器(12) - Samba
rensanning
centos
(1)安装
# yum -y install samba
Installed:
samba.i686 0:3.6.9-169.el6_5
# pdbedit -a rensn
new password:123456
retype new password:123456
……
(2)Home文件夹
# mkdir /etc
- Learn Nodejs 01
toknowme
nodejs
(1)下载nodejs
https://nodejs.org/download/ 选择相应的版本进行下载 (2)安装nodejs 安装的方式比较多,请baidu下
我这边下载的是“node-v0.12.7-linux-x64.tar.gz”这个版本 (1)上传服务器 (2)解压 tar -zxvf node-v0.12.
- jquery控制自动刷新的代码举例
xp9802
jquery
1、html内容部分 复制代码代码示例: <div id='log_reload'>
<select name="id_s" size="1">
<option value='2'>-2s-</option>
<option value='3'>-3s-</option