- Designing Data-Intensive Application《数据密集型应用系统设计》笔记
我想唱歌给你听
杂
DesigningData-IntensiveApplication中译《设计数据密集型应用》又名《数据密集型应用系统设计》,我看的是冯若航在gitbook开源的翻译版本,地址是https://vonng.gitbooks.io/ddia-cn/content/。以下为读书笔记。第一部分第三章开始阅读英文原版。参考文献可见https://github.com/ept/ddia-references
- vmware中,虚拟化Intel VT-x/EPT或AMD-V/RVI(v)的作用是什么?启用会带来什么效果?
lnsyyj
虚拟化IntelVT-x/EPT或AMD-V/RVI(v)是虚拟化平台中的硬件虚拟化扩展技术,其作用和启用效果如下:改善性能:启用虚拟化扩展技术可以提高虚拟机的性能。它们允许虚拟机直接访问物理处理器的功能,并提供硬件辅助的虚拟化支持,降低虚拟机对物理处理器的访问开销,提高运行效率。提升安全性:虚拟化扩展技术提供硬件级别的隔离和保护机制,可以有效防止恶意虚拟机对宿主机或其他虚拟机的干扰和攻击。它们通
- KVM Vcpu概述
看-是灰机
linux
KVMVcpu概述IntelVTSMP系统CPU过载使用CPU模型CPU绑定和亲和性CPU优化IntelVTIntel的硬件虚拟化技术大致分为3类:1、VT-x技术:是指Intel处理器中的一些虚拟化技术支持,包括CPU中最基础的VMX技术,也包括内存虚拟化的硬件支持EPT、VPID等。2、VT-d技术:是指Intel的芯片组的虚拟化技术支持,通过IntelIOMMU可实现对设备直接分配的支持。3
- KVM 内存概述
看-是灰机
linux运维
KVM内存概述CPU缓存基本概念内存基本概念EPT和VPID内存过载使用大页透明大页透明大页使用KSMNUMACPU缓存基本概念CPU工作过程中会直接读取内存的数据,而大部分同学对内存的感觉是内存条的一个概念,其实CPU中也有内存的概念,称之为L1-L3缓存。L1,L2,L3指的都是CPU的缓存,速度快,成本高,CPU查找数据时首先在L1,然后L2,最后L3,如果没有,才到内存中,设计的主要目的也
- QEMU源码全解析 —— 内存虚拟化(1)
蓝天居士
QEMUKVMQEMUKVM
接前一篇文章:本文内容参考:《趣谈Linux操作系统》——刘超,极客时间《QEMU/KVM》源码解析与应用——李强,机械工业出版社内存虚拟化硬件基础——EPT特此致谢!内存虚拟化简介内存是计算机必不可少的组成部分之一,因此内存的虚拟化也是各类虚拟化方案必须要解决的问题。从CPU的视角来看,物理机上的内存是一段从0开始的连续可用的物理内存。在虚拟化中,每个虚拟机都需要这么一段从0开始的、连续的、属于
- VMware虚拟机安装kvm
雪花凌落的盛夏
kvm
测试环境:VMware15.5.6Linux版本:CentOSLinuxrelease7.8.2003打开VMware的虚拟化引擎IntelVT-x/EPT或AMD-V/RVI,我下面都开了下面是VMware官方文档安装kvm查看CPU是否支持虚拟化技术cat/proc/cpuinfo|egrep'vmx|svm'有这个表示支持虚拟化技术,没有的话如果是虚拟机,就在虚拟机上开启虚拟化技术,如果用的
- 云计算底层技术、磁盘技术揭秘虚拟化管理、公有云概述
CN_HW
云计算
查看本机是否具备虚拟化支持硬件辅助虚拟化处理器里打开虚拟化InterVT-x/EPT或AMD-V构建虚拟化平台工具软件包yum与dnfYum和DNF都是用于管理Linux系统中的软件包的工具,但它们在许多方面存在一些差异。以下是一些可能的区别:依赖解决机制:DNF使用了一个名为libsolv的库,该库提供了基于SAT解决器的依赖解决机制,允许更精确和高效地解决包依赖问题。而YUM的依赖解决则较为传
- 关于近期虚拟化学习遇到的问题总结
望 望
学习linux
一、关于IntelVT-x/EPT.不使用虚拟化的IntelVT-x/EPT因为需要在Linux中使用kvm做虚拟化因此需要开放宿主虚拟机的虚拟权限但是打开报错首先想要开启虚拟化,你的cpu是一定要支持虚拟化的如何查看呢,可以ctrl+alt+del打开任务管理器点击性能可以看到我们cpu是否开启虚拟化如果没有开启,可以按照这个博主的方法开启Windows电脑如何开启CPU虚拟化_董酷酷的博客-C
- KVM实战系列之内存
CCKQi
EPT和VPID介绍EPT(ExtendedPageTables,扩展页表),属于Intel的第二代硬件虚拟化技术,它是针对内存管理单元(MMU)的虚拟化扩展。EPT降低了内存虚拟化的难度(与影子页表相比),也提升了内存虚拟化的性能。从基于Intel的Nehalem[1]架构的平台开始,EPT就作为CPU的一个特性加入CPU硬件中了。和运行在真实物理硬件上的操作系统一样,在客户机操作系统看来,客户
- vmware创建嵌套虚拟机
Jessica_1409573408
操作系统虚拟化技术linux
嵌套虚拟机的搭建在vmware虚拟机设置中,打开处理器的虚拟化IntelVT-x/EPT或AMD-V/RVI(v)配置虚拟机yum源,安装qemu、qemu-kvm、libvirt从阿里镜像源下载centosiso阿里源centos-7-x86准备虚拟机创建所需xml,centos.xmlcentos-test838860883886084hvmdestroyrestartrestart/usr/
- QEMU源码全解析 —— PCI设备模拟(7)
蓝天居士
QEMUKVMQEMUKVMPCI
接前一篇文章:上一回讲解了pci_edu_realize函数中的pci_register_bar函数,本回开始对于edu设备的MMIO读写函数进行解析。操作系统与PCI设备交互的主要方式是PIO和MMIO。MMIO虽然是一段内存,但是其没有EPT映射,在虚拟机访问设备的MMIO时,会产生VMExit;KVM识别此MMIO访问并且将该访问分派到应用层QEMU中;QEMU根据内存虚拟化的步骤进行分派,
- 解决虚拟机卡顿、卡死、待机后不动的情况(真实有效
hero_th
TipsubuntuVMware
本人环境:VMworkstation17.5+ubuntu22.04虚拟机配置:4核4gissue:出现开机卡死不动运行一段时间,可能半小时不到,就页面卡死不动经常需要关机重启才解决,可能没有解决1.配置虚拟化引擎这一步我称为最重要的一步,也是解决待机后卡死的关键步骤。打开虚拟机设置勾选虚拟化IntelVT-x/EPT或AMD-V/RVI(V),如图它有助于提高虚拟机性能、安全性和兼容性2.如上图
- 我们和小i的故事—第5天
爱文远
第5天—2019/09/27如果是真心感受,每天都会有不同的故事。今天依旧是先玩两次EPT单词游戏,再开始读书。其实游戏时间也就几分钟,但那些小对手着实是厉害,40多秒就能在那么复杂的一张图中,把隐蔽的那么高深的九种物品找出来,对于新手简文来讲有时得花上两分多钟,不过我相信用不了多久,简文的游戏成绩就会扶摇直上的,这点毋庸置疑,哈哈。iEnglish的原版书籍真的是很吸引人,匹配的难易程度让人感觉
- Oracle VM VirtualBox使用——备赛笔记——2024全国职业院校技能大赛“大数据应用开发”赛项——任务2:离线数据处理
Stitch .
我的大学笔记ubuntu笔记大数据oracle
简述:OracleVMVirtualBox是一款开源虚拟机软件,由德国Innotek公司开发,后被SunMicrosystems公司收购,并最终被甲骨文公司收购。它支持在Windows、MacOSX、Linux、OpenBSD、Solaris、IBMOS2甚至Android等操作系统上创建虚拟机。VirtualBox具有丰富的特色和卓越的性能,它简单易用,支持多种虚拟化技术,包括VT-x和EPT。
- 此主机不支持“Intel EPT”硬件辅助的 MMU 虚拟化。。
莫邪博客
学习记录笔记linux
启动虚拟机Vmware报错为此主机不支持IntelVT-x。如下图试了百度上很多方法:1.关于虚拟机的打开:如果提示"此主机支持IntelVT-x,但IntelVT-x处于禁用状态"那么就先进bios芯片然后设置IntelVirtualizationTechnology为Enabled即可如果此时还是不能打开而显示模块cpuidearly启动失败那么可以更改C:\ProgramData\VMwar
- EPT-Net:用于3D医学图像分割的边缘感知转换器
火柴狗
算法学习计算机视觉
EPT-Net:EdgePerceptionTransformerfor3DMedicalImageSegmentationEPT-Net:用于3D医学图像分割的边缘感知转换器背景贡献实验方法DualPositionalTransformer(双位置Transformer)LearnablePatchEmbeddingVoxelSpacialPositionalEmbeddingEdgeWeigh
- centos7中使用virt-manager制作openstack的win7云镜像
散人KK
运维云计算linux
centos7中使用virt-manager制作openstack云镜像1.配置虚拟机centos7查看虚机是否支持虚拟化,有输出就说明支持虚拟化:[root@localhost~]#egrep"svm|vmx"/proc/cpuinfo没有的话,在VMware设置中打开虚拟化IntelVT-x/EPT或AMD-V/RVI。2.因为virt-manager需要图形化界面,没有界面的需要给cento
- MTK手机平台充电原理
SEP5010
PMIC-ChgrMTK手机平台充电原理
EPTGPIO初始化文件@bsp_gpio_ept_config.c1知识点总结1.1Official参考充电电路Figure1-1参考电路VCHG:USB正极VCDT:VCHGChargerDetect充电电压检测脚ISENSE:充电电流检测电阻的正极BATSNS:充电电流检测电阻的负极BAT:电池正极引脚BAT_ON:电池NTC(热敏电阻)引脚RECHARGING_VOLTAGE:回充电压1.
- Ubuntu虚拟机频繁卡死
MengYiKeNan
Linuxubuntulinux运维
进入控制面板,打开Windows功能,关闭Hyper-V、Windows虚拟机程序监控平台、虚拟机平台,重启电脑。进入虚拟机的CPU设置,打开IntelVT-x/EPT,启动虚拟机,静静的等待。不再出现卡死的情况,完结撒花!
- 异常信息 : Failed to read candidate component class
lol155
异常信息java
1.异常信息org.springframework.beans.factory.BeanDefinitionStoreException:Failedtoreadcandidatecomponentclass:URL[jar:file:/home/export/App/ept.cate.cache/WEB-INF/lib/ept-worker-services-1.0-SNAPSHOT.jar!/
- 王学岗机载开发(一)———————系统配置
qczg_wxg
车机android
1,安装VMwareWorkstation,然后安装虚拟机VMware下载地址Ubuntu镜像2,点击虚拟机,设置按钮选择处理器,勾选虚拟化IntelVT-x/EPT或AMD-V/RVI(V)选项(因为我们是再虚拟机里跑虚拟机)3,Linux的交换分区在内存这里设置为16GLinux的交换分区(swap),或者叫内存置换空间(swapspace),是磁盘上的一块区域,可以是一个分区,也可以是一个文
- window10 ware解决“此平台不支持虚拟化的Intel VT-x/EPT”
相逢一笑与君行
Ubuntu电脑学习电脑故障vmware虚拟化VMware虚拟化Win10
下面几种方法旨在提供解决问题的方式,解决的CPU类型是Intel,AMD的也可以参考此方法方法一:查看电脑是否开启虚拟化,大部分电脑默认是开启的(查看:任务管理器——性能——CPU)没有开启虚拟化的可以在电脑启动的时候进入BIOS里面开启,网上教程不计其数,百度一下方法二:卸载电脑上的hyper-V控制面板——程序和功能——启用或关闭Windows服务取消hyper-V的勾选,点击确定,重启电脑c
- Ubuntu 虚拟化中Android Studio 不支持HAXM(CPU不支持问题)
相逢一笑与君行
Ubuntuvmware虚拟化AndroidStudioandroidstudioandroidide
Ubuntu虚拟机中AndroidStudiovirtualdevice安装弹出如图1所示的内容时,解决办法就是VMware中对处理器开启虚拟化引擎(图2)(此方式是在物理设备CPU是Intel环境测试的,AMD的可以参考是否可行)查看我的文章:window10ware解决“此平台不支持虚拟化的IntelVT-x/EPT”擎图1图2
- 虚拟化技术
zeloas
车载虚拟化hyperviserkvmvirtualboxqemuarm
cpu虚拟化内存虚拟化VMM内存虚拟化的实现软件方式:通过软件实现内存地址的翻译,比如Shadowpagetable(影子页表)技术硬件实现:基于CPU的辅助虚拟化功能,比如AMD的NPT和Intel的EPT技术IO虚拟化全虚拟化:宿主机截获客户机对I/O设备的访问请求,然后通过软件模拟真实的硬件。这种方式对客户机而言非常透明,无需考虑底层硬件的情况,不需要修改操作系统。半虚拟化:通过前端驱动/后
- Zstack 打开控制台报错
Tom Ma.
KVM
本例是在VMware下的装的Zstack错误:SeaBIOS(version1.11.0-2.el7),原因可能CPU型号过早,无法创建云主机或者创建的云主机不能显示console界面的问题官方解决方法:1、配置vim/etc/modprobe.d/kvm-nested.conf#修改如下optionskvm_intelnested=1ept=02、移除kvm_intel,这里可能操作不成功,先操
- 深入了解OpenStack:创建定制化QCOW2格式镜像的完全指南
Cloud Traveler
openstack云计算linux运维
OpenStack创建自定义的QCOW2格式镜像前言建议虚机网络配置为NAT或桥接,因为未来KVM虚机需要借助虚机的外网能力进行联网安装软件包虚机在启动前,必须在VMwareWorkstation上为其开启虚拟化引擎虚拟化IntelVT-x/EPT或AMD-V安装kvm虚拟机安装虚拟化软件包#挂载光盘[root@localhost~]#mount/dev/cdrom/mntmount:/dev/s
- linux没有支持虚拟化的处理,virt-install error,主机不支持任何虚拟化选项
柯恩
linux没有支持虚拟化的处理
该楼层疑似违规已被系统折叠隐藏此楼查看此楼1.联想b460笔记本,i3370m+8G,bios开启虚拟化vt-x2.win7+vmwareworkstation14(处理器设定:虚拟化intelvt-x/ept,虚拟化cpu性能计数器,虚拟化IOMMU三项都打勾),3.安装CentOS7.3x64版本,网络配置完全都没有问题4.grep-E-o'vmx|svm'/proc/cpuinfo,返回结果
- 【经验】VMware|Win11的Ubuntu虚拟机启动虚拟化,报错此平台不支持虚拟化的 Intel VT-x/EPT(方案汇总+自己的解决方案)
shandianchengzi
#琐碎小记录vmware
我开虚拟化是为了在虚拟机中运行VirtualBox,如果不开CPU虚拟化,会报错VBoxManageerror:VT-xisnotavailable(VERR_VMX_NO_VMX)。文章目录1检查虚拟机的虚拟化是否启用2开启虚拟化引擎3检查主机CPU是否开启虚拟化4关闭Window的内核隔离5关闭有冲突的windows虚拟化功能6禁用Deviceguard1检查虚拟机的虚拟化是否启用参考:VBo
- Windows自动虚拟机WSL和VMware虚拟机兼容问题(此平台不支持虚拟化的 Intel VT-x/EPT)
][1!
linuxlinux运维服务器
问题背景与原因分析在安装了WSL2之后,忽然发现VMwareWorkstation无法正常启动了。就是在开启虚拟机时遇到了这种情况:“此平台不支持虚拟化的IntelVT-x/EPT”问题描述:出现以上问题,发现WSL2和VMwareWorkstation是不兼容的,所以需要降级到WSL上,因为WSL和VMwareWorkstation是兼容的。第一步配置windows的启动和关闭功能。按照图中红色
- 如何计算虚拟化vcpu_FusionCompute计算虚拟化
weixin_39745345
如何计算虚拟化vcpu
文章目录计算虚拟化相关概念及技术计算虚拟化概念什么是虚拟化?虚拟化的本质计算虚拟化技术分类根据虚拟化对象分类:根据虚拟化过程分类:CPU虚拟化首先我们要考虑,CPU虚拟化需要解决哪些问题?CPU与vCPU对应关系内存虚拟化内存虚拟化需要解决的问题?影子页表EPT(扩展页表)透明大页(THP)I/O虚拟化I/O虚拟化需要解决的问题在QEMU/KVM中,客户机可以使用的设备大致可分为三类模拟设备Vir
- 项目中 枚举与注解的结合使用
飞翔的马甲
javaenumannotation
前言:版本兼容,一直是迭代开发头疼的事,最近新版本加上了支持新题型,如果新创建一份问卷包含了新题型,那旧版本客户端就不支持,如果新创建的问卷不包含新题型,那么新旧客户端都支持。这里面我们通过给问卷类型枚举增加自定义注解的方式完成。顺便巩固下枚举与注解。
一、枚举
1.在创建枚举类的时候,该类已继承java.lang.Enum类,所以自定义枚举类无法继承别的类,但可以实现接口。
- 【Scala十七】Scala核心十一:下划线_的用法
bit1129
scala
下划线_在Scala中广泛应用,_的基本含义是作为占位符使用。_在使用时是出问题非常多的地方,本文将不断完善_的使用场景以及所表达的含义
1. 在高阶函数中使用
scala> val list = List(-3,8,7,9)
list: List[Int] = List(-3, 8, 7, 9)
scala> list.filter(_ > 7)
r
- web缓存基础:术语、http报头和缓存策略
dalan_123
Web
对于很多人来说,去访问某一个站点,若是该站点能够提供智能化的内容缓存来提高用户体验,那么最终该站点的访问者将络绎不绝。缓存或者对之前的请求临时存储,是http协议实现中最核心的内容分发策略之一。分发路径中的组件均可以缓存内容来加速后续的请求,这是受控于对该内容所声明的缓存策略。接下来将讨web内容缓存策略的基本概念,具体包括如如何选择缓存策略以保证互联网范围内的缓存能够正确处理的您的内容,并谈论下
- crontab 问题
周凡杨
linuxcrontabunix
一: 0481-079 Reached a symbol that is not expected.
背景:
*/5 * * * * /usr/IBMIHS/rsync.sh
- 让tomcat支持2级域名共享session
g21121
session
tomcat默认情况下是不支持2级域名共享session的,所有有些情况下登陆后从主域名跳转到子域名会发生链接session不相同的情况,但是只需修改几处配置就可以了。
打开tomcat下conf下context.xml文件
找到Context标签,修改为如下内容
如果你的域名是www.test.com
<Context sessionCookiePath="/path&q
- web报表工具FineReport常用函数的用法总结(数学和三角函数)
老A不折腾
Webfinereport总结
ABS
ABS(number):返回指定数字的绝对值。绝对值是指没有正负符号的数值。
Number:需要求出绝对值的任意实数。
示例:
ABS(-1.5)等于1.5。
ABS(0)等于0。
ABS(2.5)等于2.5。
ACOS
ACOS(number):返回指定数值的反余弦值。反余弦值为一个角度,返回角度以弧度形式表示。
Number:需要返回角
- linux 启动java进程 sh文件
墙头上一根草
linuxshelljar
#!/bin/bash
#初始化服务器的进程PId变量
user_pid=0;
robot_pid=0;
loadlort_pid=0;
gateway_pid=0;
#########
#检查相关服务器是否启动成功
#说明:
#使用JDK自带的JPS命令及grep命令组合,准确查找pid
#jps 加 l 参数,表示显示java的完整包路径
#使用awk,分割出pid
- 我的spring学习笔记5-如何使用ApplicationContext替换BeanFactory
aijuans
Spring 3 系列
如何使用ApplicationContext替换BeanFactory?
package onlyfun.caterpillar.device;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import
- Linux 内存使用方法详细解析
annan211
linux内存Linux内存解析
来源 http://blog.jobbole.com/45748/
我是一名程序员,那么我在这里以一个程序员的角度来讲解Linux内存的使用。
一提到内存管理,我们头脑中闪出的两个概念,就是虚拟内存,与物理内存。这两个概念主要来自于linux内核的支持。
Linux在内存管理上份为两级,一级是线性区,类似于00c73000-00c88000,对应于虚拟内存,它实际上不占用
- 数据库的单表查询常用命令及使用方法(-)
百合不是茶
oracle函数单表查询
创建数据库;
--建表
create table bloguser(username varchar2(20),userage number(10),usersex char(2));
创建bloguser表,里面有三个字段
&nbs
- 多线程基础知识
bijian1013
java多线程threadjava多线程
一.进程和线程
进程就是一个在内存中独立运行的程序,有自己的地址空间。如正在运行的写字板程序就是一个进程。
“多任务”:指操作系统能同时运行多个进程(程序)。如WINDOWS系统可以同时运行写字板程序、画图程序、WORD、Eclipse等。
线程:是进程内部单一的一个顺序控制流。
线程和进程
a. 每个进程都有独立的
- fastjson简单使用实例
bijian1013
fastjson
一.简介
阿里巴巴fastjson是一个Java语言编写的高性能功能完善的JSON库。它采用一种“假定有序快速匹配”的算法,把JSON Parse的性能提升到极致,是目前Java语言中最快的JSON库;包括“序列化”和“反序列化”两部分,它具备如下特征:  
- 【RPC框架Burlap】Spring集成Burlap
bit1129
spring
Burlap和Hessian同属于codehaus的RPC调用框架,但是Burlap已经几年不更新,所以Spring在4.0里已经将Burlap的支持置为Deprecated,所以在选择RPC框架时,不应该考虑Burlap了。
这篇文章还是记录下Burlap的用法吧,主要是复制粘贴了Hessian与Spring集成一文,【RPC框架Hessian四】Hessian与Spring集成
 
- 【Mahout一】基于Mahout 命令参数含义
bit1129
Mahout
1. mahout seqdirectory
$ mahout seqdirectory
--input (-i) input Path to job input directory(原始文本文件).
--output (-o) output The directory pathna
- linux使用flock文件锁解决脚本重复执行问题
ronin47
linux lock 重复执行
linux的crontab命令,可以定时执行操作,最小周期是每分钟执行一次。关于crontab实现每秒执行可参考我之前的文章《linux crontab 实现每秒执行》现在有个问题,如果设定了任务每分钟执行一次,但有可能一分钟内任务并没有执行完成,这时系统会再执行任务。导致两个相同的任务在执行。
例如:
<?
//
test
.php
- java-74-数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
bylijinnan
java
public class OcuppyMoreThanHalf {
/**
* Q74 数组中有一个数字出现的次数超过了数组长度的一半,找出这个数字
* two solutions:
* 1.O(n)
* see <beauty of coding>--每次删除两个不同的数字,不改变数组的特性
* 2.O(nlogn)
* 排序。中间
- linux 系统相关命令
candiio
linux
系统参数
cat /proc/cpuinfo cpu相关参数
cat /proc/meminfo 内存相关参数
cat /proc/loadavg 负载情况
性能参数
1)top
M:按内存使用排序
P:按CPU占用排序
1:显示各CPU的使用情况
k:kill进程
o:更多排序规则
回车:刷新数据
2)ulimit
ulimit -a:显示本用户的系统限制参
- [经营与资产]保持独立性和稳定性对于软件开发的重要意义
comsci
软件开发
一个软件的架构从诞生到成熟,中间要经过很多次的修正和改造
如果在这个过程中,外界的其它行业的资本不断的介入这种软件架构的升级过程中
那么软件开发者原有的设计思想和开发路线
- 在CentOS5.5上编译OpenJDK6
Cwind
linuxOpenJDK
几番周折终于在自己的CentOS5.5上编译成功了OpenJDK6,将编译过程和遇到的问题作一简要记录,备查。
0. OpenJDK介绍
OpenJDK是Sun(现Oracle)公司发布的基于GPL许可的Java平台的实现。其优点:
1、它的核心代码与同时期Sun(-> Oracle)的产品版基本上是一样的,血统纯正,不用担心性能问题,也基本上没什么兼容性问题;(代码上最主要的差异是
- java乱码问题
dashuaifu
java乱码问题js中文乱码
swfupload上传文件参数值为中文传递到后台接收中文乱码 在js中用setPostParams({"tag" : encodeURI( document.getElementByIdx_x("filetag").value,"utf-8")});
然后在servlet中String t
- cygwin很多命令显示command not found的解决办法
dcj3sjt126com
cygwin
cygwin很多命令显示command not found的解决办法
修改cygwin.BAT文件如下
@echo off
D:
set CYGWIN=tty notitle glob
set PATH=%PATH%;d:\cygwin\bin;d:\cygwin\sbin;d:\cygwin\usr\bin;d:\cygwin\usr\sbin;d:\cygwin\us
- [介绍]从 Yii 1.1 升级
dcj3sjt126com
PHPyii2
2.0 版框架是完全重写的,在 1.1 和 2.0 两个版本之间存在相当多差异。因此从 1.1 版升级并不像小版本间的跨越那么简单,通过本指南你将会了解两个版本间主要的不同之处。
如果你之前没有用过 Yii 1.1,可以跳过本章,直接从"入门篇"开始读起。
请注意,Yii 2.0 引入了很多本章并没有涉及到的新功能。强烈建议你通读整部权威指南来了解所有新特性。这样有可能会发
- Linux SSH免登录配置总结
eksliang
ssh-keygenLinux SSH免登录认证Linux SSH互信
转载请出自出处:http://eksliang.iteye.com/blog/2187265 一、原理
我们使用ssh-keygen在ServerA上生成私钥跟公钥,将生成的公钥拷贝到远程机器ServerB上后,就可以使用ssh命令无需密码登录到另外一台机器ServerB上。
生成公钥与私钥有两种加密方式,第一种是
- 手势滑动销毁Activity
gundumw100
android
老是效仿ios,做android的真悲催!
有需求:需要手势滑动销毁一个Activity
怎么办尼?自己写?
不用~,网上先问一下百度。
结果:
http://blog.csdn.net/xiaanming/article/details/20934541
首先将你需要的Activity继承SwipeBackActivity,它会在你的布局根目录新增一层SwipeBackLay
- JavaScript变换表格边框颜色
ini
JavaScripthtmlWebhtml5css
效果查看:http://hovertree.com/texiao/js/2.htm代码如下,保存到HTML文件也可以查看效果:
<html>
<head>
<meta charset="utf-8">
<title>表格边框变换颜色代码-何问起</title>
</head>
<body&
- Kafka Rest : Confluent
kane_xie
kafkaRESTconfluent
最近拿到一个kafka rest的需求,但kafka暂时还没有提供rest api(应该是有在开发中,毕竟rest这么火),上网搜了一下,找到一个Confluent Platform,本文简单介绍一下安装。
这里插一句,给大家推荐一个九尾搜索,原名叫谷粉SOSO,不想fanqiang谷歌的可以用这个。以前在外企用谷歌用习惯了,出来之后用度娘搜技术问题,那匹配度简直感人。
环境声明:Ubu
- Calender不是单例
men4661273
单例Calender
在我们使用Calender的时候,使用过Calendar.getInstance()来获取一个日期类的对象,这种方式跟单例的获取方式一样,那么它到底是不是单例呢,如果是单例的话,一个对象修改内容之后,另外一个线程中的数据不久乱套了吗?从试验以及源码中可以得出,Calendar不是单例。
测试:
Calendar c1 =
- 线程内存和主内存之间联系
qifeifei
java thread
1, java多线程共享主内存中变量的时候,一共会经过几个阶段,
lock:将主内存中的变量锁定,为一个线程所独占。
unclock:将lock加的锁定解除,此时其它的线程可以有机会访问此变量。
read:将主内存中的变量值读到工作内存当中。
load:将read读取的值保存到工作内存中的变量副本中。
- schedule和scheduleAtFixedRate
tangqi609567707
javatimerschedule
原文地址:http://blog.csdn.net/weidan1121/article/details/527307
import java.util.Timer;import java.util.TimerTask;import java.util.Date;
/** * @author vincent */public class TimerTest {
 
- erlang 部署
wudixiaotie
erlang
1.如果在启动节点的时候报这个错 :
{"init terminating in do_boot",{'cannot load',elf_format,get_files}}
则需要在reltool.config中加入
{app, hipe, [{incl_cond, exclude}]},
2.当generate时,遇到:
ERROR