- 误落尘网中,一去三十年
不会功夫的谭大侠
图片发自App图片发自App图片发自App《财富自由之路》中开篇就讲述了财富自由的目的是为了时间自由,高中觉得每个月一千块是财富自由,大学觉得每个月两千块是财富自由,毕业时觉得每个月五千是财富自由,现在感觉每个月一万都不一定自由。思来想去,货币贬值也没有这么快,还是自己欲望太大了,欲壑难填。大学有一个梦想去西藏,当时觉得两千块就能去,现在感觉有一万都不够。膨胀了啊!曾经想过时间自由了干什么,我就半
- 使用datepicker和uploadify的冲突解决(IE双击才能打开附件上传对话框)
zhanglb12
在开发的过程当中,IE的兼容无疑是我们的一块绊脚石,在我们使用的如期的datepicker插件和使用上传附件的uploadify插件的时候,两者就产生冲突,只要点击过时间的插件,uploadify上传框要双才能打开ie浏览器提示错误Missinginstancedataforthisdatepicker解决方案//if(.browser.msie&&'9.0'===.browser.version
- 真正对你好的人,一辈子不会遇到几个!
正午日光
真正对你好的人,一辈子不会遇到几个;人生路上,有些人常常在短暂并肩过后,便会匆匆擦肩。即便是数十载感情,也终难敌过时间侵袭岁月迁移,不是情分不够深,也并非用心不够真,只是缘来缘去不由人,渐行渐远才是世间常态。而我们唯一能做的,就是对那些还留在你身边的人更好,耐守人生平淡与热闹!
- 做一生的朋友
精品文章推荐
我们永远是朋友,在你人生的旅途上,无论跋涉的脚步多么遥远,我愿为你在暗夜里点燃一盏灯火,为你在风雨中擎起一方蓝天,在你孤寂时送去贴心的问候,在你痛苦时送去温情的抚慰,在你难过时送去阳光般的微笑,在你寒冷时送去暖暖热流,在你脆弱时送去真诚的鼓励,在你勇敢时为你鼓劲加油。我们永远是朋友,在你累了倦了的时候,我愿做你停泊的港湾,让你的心灵小憩,为你充电加油。在你遇到坎坷,寂寞孤独想流泪的时候,送给你我支
- 深圳疫情最新情况—龙岗坂田全员核酸检测
苌疏
一早上就看到群消息关于疫情的事,我工作的附近出现了一起病历,消息一出来,工作群都炸了,都在议论纷纷,没过多久,又出现了坂田地区全员核酸检测的消息。一时之间,人心惶惶,居家隔离的隔离,在辖区上班的我也开始一出小区门口就带上了口罩。像往常一样去上班坐地铁,依旧拥挤,没有异常,但是在小区路过时,看见排着的长队,突然意识到疫情离我这么近,有点慌,他就像一只蟑螂,突然就出现你面前,让你猝不及防。发此文没有别
- 使用You.com API进行LLM输出的事实性增强
aehrutktrjk
python开发语言
使用You.comAPI进行LLM输出的事实性增强引言大型语言模型(LLM)在生成人类可读的文本方面表现出色,但它们可能会产生过时或不准确的信息。You.comAPI是一套工具,旨在帮助开发者将LLM的输出与最新、最准确、最相关的信息相结合,这些信息可能不包含在LLM的训练数据集中。本文将介绍如何使用You.comAPI来增强LLM的输出,提高其事实性和时效性。You.comAPI的设置和使用安装
- 怎么选择适合的服务器
666IDCaaa
服务器运维
大家都知道,不管是公司还是个人,在数字化浪潮已经席卷全球的环境下,大家对服务器的需求是日渐增长的。很多人在买服务器的时候,多少都有点选择困难,今天我们就来对比下物理服务器和弹性云服务器,看看选哪个更省心。物理服务器:老牌实力派,稳定可靠想象一下,物理服务器就像你家的老式冰箱,虽然样子有点过时,但性能稳定,用起来心里踏实。优点:完全控制,性能强悍,安全感十足。缺点:价格小贵,升级麻烦,维护还得自己来
- 《高效能人士的7个习惯》01:如何对待一只下金蛋的鹅
0xBenjam
今天开启一本新书,是一本工具书,我们选择看工具书的时候,会考虑这么一个问题,这本书讲的东西是不是已经过时了,如果没有过时,到底什么时候会过时,值不值得我现在去看。作者史蒂芬·柯维在书中给了我们答案,今后10年、20年、50年甚至100年,《高效能人士的七个习惯》依然有效,而且变化越彻底,挑战越严峻,这七个习惯对人们越重要。这个史蒂芬·柯维那是个了不起的人物,他被评为美国学界的「思想巨匠」,入选了「
- python之requests模块详解
Vibe~
python语言python爬虫
目录requests使用requests请求方法requests响应对象属性Requests模块是一个用于网络请求的模块,主要用来模拟浏览器发请求。其实类似的模块有很多,比如urllib,urllib2,httplib,httplib2,他们基本都提供相似的功能。但是这些模块都复杂而且差不多过时了,requests模块简单强大高效,使得其在众多网络请求模块中脱引而出。requests使用环境安装:
- 男女之间有纯友谊吗?
爱吃樱桃de小丸子
昨晚看到一档节目谈论到“男女之间是否有纯友谊”,大家意见各不相同。睡前我又想到这个问题,其实这已经是个很老掉牙的话题了,但是它却好像永远都不会过时,异性之间的关系真的是一种很巧妙的存在,单身的时候,过于亲密,会遭受白眼,恋爱的时候,过于亲密,更会惹来非议,而异性交往这个度,对于不同人又有不同的定义。也许程又青和李大仁让很多人认为所谓纯友谊其实是为了掩饰内心那一份早已超出友情的情感,但其实感情里面是
- 希望的田野上
他叫马建华
文/马建华酣眠了一整个冬经了霜吸食了春雨在一个明净的清晨你在春风拂面时抻了个懒腰往后在云烟袅袅中总能沐泽你沁脾的芳香我轻嗅你的芬芳把我的思念甜甜地荡漾你着淡白素雅的妆媲美待嫁的新娘当风经过时你羞涩的摆弄云裳我猜想是那崭新的朝阳在邀你深情款款出场陌上百花竞香圆了少年清梦一场你是灿烂在田野上的芙蕖悬在枝头上的月光那开出的漫野春色在等秋时会结出一树一树的甘饴收获金橙橙的热望
- 2023-07-22
陈锐锋
支付未休年休假工资报酬的时效是多久?举个例子,员工是2020年1月1日入职,员工在2023年1月离职,员工可以要求2021年和2022年的年休假工资吗?是否过了时效?2022年的年休假工资肯定没有过时效,关键在于2021年的年休假工资是否过了时效?这里关键在于未休年休假工资是否属于劳动报酬范畴。有伙伴会认为,年休假工资是针对公司与员工协商一致不安排或少安排年休假的情形设定的补偿性报酬,员工获得该补
- 关于健身挺不错的建议
快乐天使_快乐飞翔
练上肢的,这更需要腹肌的力量,继续练仰卧起坐,配合着练,还有蹬轮子的动作,都可以紧致肌肉练你家这个器械时发力点在腹部你再觉察一下,有什么负面的情绪受影响了,肚子也会大的原因之一可以考虑在路上是否可以同步做些运动,即省下了时间做了某项值得的运动,又是双收获哦,也不错哈,站着也可以做一呼一吸的发力动作,不枯燥,还能快速度过时间我做运动起初也是为了减轻,现在是为了健康食量控制住就好,运动大过进食量就没问
- 浮萍(四)
Derek的爹
杨凡刚转身离开,又转过身走过来,“杨叔,再拿一包红塔山给我,这次我付钱。”他拎着袋子走到家时,苏惠珠正在收拾桌子,“你去哪儿了?儿子上学去没见你人影。”她一脸愠色地说道。杨凡没有回答,他先到东厢房内找了一个蛇皮袋,把礼袋放进蛇皮袋内,再用麻绳扎紧。然后从厅堂里推上自己的自行车,把蛇皮袋绑在龙头上。从村头经过时,他没有看永祥杂货店一眼,哧溜一下就骑过去了。骑上一个矮矮的土坡,就是一条又宽又长的河港。
- Go中更安全的枚举
jzpfbpx
golang安全开发语言
iotaGo让你用iota来使用枚举。const(Guest=iotaMemberModeratorAdmin)虽然Go是明确的,但iota似乎相对模糊。如果你以任何其他方式对const组进行排序,你会引入副作用。在上面的例子中,你仅仅对第一个参数Guest赋值了。你可以显式地给每个值分配一个数字来避免这个问题,但这使iota变得过时。iota对于用位运算定义的参数也很有效。const(Guest
- Android面试题
1b16bebb1c3c
ListView和RecyclerView区别参考链接:https://blog.csdn.net/shu_lan...既然RecyclerView在很多方面能取代ListView,Google为什么没把ListView划上一条过时的横线?答案:可以沿着回收机制来回答。ListView采用的是RecyclerBin的回收机制在一些轻量级的List显示时效率更高你用过MVP和MVVM的区别参考链接:
- qt 创建随机数
入梦游
qt
qt中有两种创建随机数的方法,一种是旧方法,一种是新方法目录旧方法:已过时intqrand()voidqsrand(uintseed)Example新方法QRandomGenerator::global()->bouned(inthighest)QRandomGenerator::global()->generate()更多旧方法:已过时intqrand()生成一个伪随机数,可以使用qsrand(
- 书香气
薄荷的午后休闲时光
图片发自App昨日,趁着等书友的空,可是将在溪书屋里里外外、上上下下逛了个遍。穿行在书架间的通道中,看着那在一个个在书架中辟出的一方小天地,瞅着窝在其中执书的少年,还有一个个那伏案苦读的女孩,或者是被宝妈牵了手疾步在书堆里的大小孩,小小孩,有如我一样闲庭阔步的,有流连忘返的,中间还穿插了谦和的工作人员引领,若大的空间里,除了窃窃私语,除了路过时书迷们哗啦啦翻书的声音,就是与书共舞共氧自由呼吸的惬意
- 理由
漪叶子
你,扔出去的每块石头,最终都会准确地砸中你自己很想脑补一下,做个教训单但是你不知道一旦血流在地上就再也收不回就像错过的人一样只能相忘于江湖再怎么刻骨铭心跌的跟头,自己承受那些无足轻重的经过时间的打磨成了勇敢往事中废弃的一行泪
- Leetcode363. 矩形区域不超过 K 的最大数值和
wyyzds
Leetcodeleetcode
Leetcode363.矩形区域不超过K的最大数值和题目思路结果与不足之处新知识自己的代码官方代码题目链接:363.题目描述:给你一个mxn的矩阵matrix和一个整数k,找出并返回矩阵内部矩形区域的不超过k的最大数值和。题目数据保证总会存在一个数值和不超过k的矩形区域。提示: m=matrix.length n=matrix[i].length 1>(会超过时间限制)。自己的代码class
- 【 WPF 中常用的 `Effect` 类的介绍、使用示例和适用场景】
TIF星空
WPF分享wpf经验分享笔记
WPF中常用的`Effect`类的介绍、使用示例和适用场景使用场景解释示例代码示例代码解释Effect类描述使用示例适用场景DropShadowEffect为元素应用投影效果。xml为控件、文本、图像添加阴影效果,增加立体感和视觉层次。BlurEffect为元素应用模糊效果。xml模糊背景、图像或文本,常用于突出前景内容或创建模糊背景效果。BitmapEffect通过位图管道为元素应用特效(已过时
- 新年古言第一推:《嫣语赋》定档!
季月十三
无论是什么时代,自强自立的人总是会被人高看一眼。因为人总是对强者心怀敬佩,无论性别。这可能也是大男主大女主剧永不过时的原因之一吧~这不,正月初五,也就是2月5日定档的这部剧,大家一定也会感兴趣。古装小甜剧《嫣语赋》定档,是惊喜还是会被吐槽?喜欢看古装小甜剧的海外朋友们记得及时启动快帆,它会带你第一时间穿梭回国,解除腾讯视频的播放限制。一起来期待《嫣语赋》的精彩内容~《嫣语赋》由徐正溪、乔欣、刘芮麟
- 管理兵法:确保流程管理的持续优化
aa2261feb7bf
流程需要持续维护,不断优化,就像人的血液需要不断更新一样。如果这个过程停了下来,流程迟早会变得过时。归根到底,管理是一种实践,其本质不在于“知”,而在于“行”,其验证不在于逻辑,而在于成果,其唯一权威就是成就。持续优化的流程是有生命力的,它是建立在逻辑和现实之上的成果。商战经典|华为的管理和改革关于管理流程,华为的创始人任正非先生说过这样一段话:“先进的武器,并不一定代表战斗力,战斗力还是来自管理
- 《少有人走的路》摘要七
Rogerchan2018
01移情:过时的地图抱着残缺的人生地图不放,与现实世界处处脱节,这是不少人的通病,也是造成诸多心理疾病的根源。心理学家把这种情形称为“移情”。有多少心理学家,就有多少种关于移情的定义。我的定义是,把产生和适用于童年时期的那些感知世界、对世界做出反应的方式,照搬到成年后的环境中,尽管这些方式已经不再适用于新的环境。尽管移情极具普遍性和破坏性,但其表现往往不明显。02我曾接待过一个30多岁的患者,他总
- 如何衡量一个算法的好坏
Bro_cat
数据结构与算法数据结构算法
衡量算法的好坏主要通过时间复杂度和空间复杂度这两个指标。时间复杂度反映了算法执行所需的时间,空间复杂度则衡量了算法运行过程中所需的内存空间。今天我们将详细探讨这两个概念,并通过几个示例进行比较。时间复杂度时间复杂度通常用大O符号表示,描述了算法的运行时间与输入规模之间的关系。常见的时间复杂度有:O(1):常数时间复杂度。例如,访问数组中的某个元素。O(n):线性时间复杂度。例如,遍历一个长度为n的
- 市井人生——流浪汉
文雨洁
普通人的生活都平淡如水。每日上班,相近的时间里走过相同的路,日复一日,年复一年,于是有了一些熟悉的陌生人。流浪汉他应该算是流浪汉吧!瘦干的样子,穿着一身过时而分不清颜色的衣裤,就是那种农村里七、八十年代人们常穿的式样,衣服四个兜,一排扣子系到脖颈,裤子是直筒裤平脚。他的裤子有点短,露出的脚踝显出一层厚厚的污垢,可以想象是很多年没洗过脚的缘故。鞋子有时是露出脚趾头的手工布鞋,有时是破旧、肮脏的运动鞋
- pythongui入门实例大全详细教程全_python简单进阶之GUI:PySimpleGUI案例
weixin_39779739
python简单进阶之GUI:PySimpleGUI案例雁陎•2020年04月23日Loading...请注意,本文编写于217天前,最后修改于217天前,其中某些信息可能已经过时。>这是简单进阶教程系列第二篇,本系列文章主要介绍那些可以很快上手的进阶库。阅读本文前,请确保你对PySimpleGUi库有基本了解如果没有的话,请参考*使用教程:[https://www.sitstars.com/ar
- 那年初夏
瑾言_lw999
人世间,酸甜苦辣,若长良川。感情就像自己特别喜欢的笔记本,不去触碰,便是不去写,一直珍藏在那里,干干净净,初恋依在。一旦动笔,便再也不是新笔记本,你已经开始记录,有了自己的感情生活,丰富亦无趣,取决于你自己怎么去书写。其实吧,如果一直在珍藏之中,也不好,时间流逝,当时美丽现已过时,就像青春期,不谈恋爱已然滑逝,哪能回头?可叹呀!——2020.06.08随笔世上之事无奇不有,形形色色,物欲横生,人们
- 遇见未来的你
阳光依然_7184
当光阴迈着一成不变的脚步不疾不缓地走着,走过春、走过夏、走过秋、走过冬,走过一个个月阴日晴,走过时光的每一个角落......未来的我是否在某一个瞬间,坐在昨天的记忆中,静静地回忆着往昔图片发自App我总是畅想未来,缅怀过去,人们总说时间会处理掉一切,父母总说“我吃过的盐比你吃过的米还多”,不知道未来的你是否吃了那么多盐了......时间也会淡化掉许多,包括年少的狂妄与懵懂,也不知道你会不会为没有狂
- mysql雪花算法主键_分布式主键 SNOWFLAKE (雪花算法)
ag獭
mysql雪花算法主键
SNOWFLAKE雪花算法是由Twitter公布的分布式主键生成算法,它能够保证不同进程主键的不重复性,以及相同进程主键的有序性。在同一个进程中,它首先是通过时间位保证不重复,如果时间相同则是通过序列位保证。同时由于时间位是单调递增的,且各个服务器如果大体做了时间同步,那么生成的主键在分布式环境可以认为是总体有序的,这就保证了对索引字段的插入的高效性。例如MySQL的Innodb存储引擎的主键。使
- C/C++Win32编程基础详解视频下载
择善Zach
编程C++Win32
课题视频:C/C++Win32编程基础详解
视频知识:win32窗口的创建
windows事件机制
主讲:择善Uncle老师
学习交流群:386620625
验证码:625
--
- Guava Cache使用笔记
bylijinnan
javaguavacache
1.Guava Cache的get/getIfPresent方法当参数为null时会抛空指针异常
我刚开始使用时还以为Guava Cache跟HashMap一样,get(null)返回null。
实际上Guava整体设计思想就是拒绝null的,很多地方都会执行com.google.common.base.Preconditions.checkNotNull的检查。
2.Guava
- 解决ora-01652无法通过128(在temp表空间中)
0624chenhong
oracle
解决ora-01652无法通过128(在temp表空间中)扩展temp段的过程
一个sql语句后,大约花了10分钟,好不容易有一个结果,但是报了一个ora-01652错误,查阅了oracle的错误代码说明:意思是指temp表空间无法自动扩展temp段。这种问题一般有两种原因:一是临时表空间空间太小,二是不能自动扩展。
分析过程:
既然是temp表空间有问题,那当
- Struct在jsp标签
不懂事的小屁孩
struct
非UI标签介绍:
控制类标签:
1:程序流程控制标签 if elseif else
<s:if test="isUsed">
<span class="label label-success">True</span>
</
- 按对象属性排序
换个号韩国红果果
JavaScript对象排序
利用JavaScript进行对象排序,根据用户的年龄排序展示
<script>
var bob={
name;bob,
age:30
}
var peter={
name;peter,
age:30
}
var amy={
name;amy,
age:24
}
var mike={
name;mike,
age:29
}
var john={
- 大数据分析让个性化的客户体验不再遥远
蓝儿唯美
数据分析
顾客通过多种渠道制造大量数据,企业则热衷于利用这些信息来实现更为个性化的体验。
分析公司Gartner表示,高级分析会成为客户服务的关键,但是大数据分析的采用目前仅局限于不到一成的企业。 挑战在于企业还在努力适应结构化数据,疲于根据自身的客户关系管理(CRM)系统部署有效的分析框架,以及集成不同的内外部信息源。
然而,面对顾客通过数字技术参与而产生的快速变化的信息,企业需要及时作出反应。要想实
- java笔记4
a-john
java
操作符
1,使用java操作符
操作符接受一个或多个参数,并生成一个新值。参数的形式与普通的方法调用不用,但是效果是相同的。加号和一元的正号(+)、减号和一元的负号(-)、乘号(*)、除号(/)以及赋值号(=)的用法与其他编程语言类似。
操作符作用于操作数,生成一个新值。另外,有些操作符可能会改变操作数自身的
- 从裸机编程到嵌入式Linux编程思想的转变------分而治之:驱动和应用程序
aijuans
嵌入式学习
笔者学习嵌入式Linux也有一段时间了,很奇怪的是很多书讲驱动编程方面的知识,也有很多书将ARM9方面的知识,但是从以前51形式的(对寄存器直接操作,初始化芯片的功能模块)编程方法,和思维模式,变换为基于Linux操作系统编程,讲这个思想转变的书几乎没有,让初学者走了很多弯路,撞了很多难墙。
笔者因此写上自己的学习心得,希望能给和我一样转变
- 在springmvc中解决FastJson循环引用的问题
asialee
循环引用fastjson
我们先来看一个例子:
package com.elong.bms;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import co
- ArrayAdapter和SimpleAdapter技术总结
百合不是茶
androidSimpleAdapterArrayAdapter高级组件基础
ArrayAdapter比较简单,但它只能用于显示文字。而SimpleAdapter则有很强的扩展性,可以自定义出各种效果
ArrayAdapter;的数据可以是数组或者是队列
// 获得下拉框对象
AutoCompleteTextView textview = (AutoCompleteTextView) this
- 九封信
bijian1013
人生励志
有时候,莫名的心情不好,不想和任何人说话,只想一个人静静的发呆。有时候,想一个人躲起来脆弱,不愿别人看到自己的伤口。有时候,走过熟悉的街角,看到熟悉的背影,突然想起一个人的脸。有时候,发现自己一夜之间就长大了。 2014,写给人
- Linux下安装MySQL Web 管理工具phpMyAdmin
sunjing
PHPInstallphpMyAdmin
PHP http://php.net/
phpMyAdmin http://www.phpmyadmin.net
Error compiling PHP on CentOS x64
一、安装Apache
请参阅http://billben.iteye.com/admin/blogs/1985244
二、安装依赖包
sudo yum install gd
- 分布式系统理论
bit1129
分布式
FLP
One famous theory in distributed computing, known as FLP after the authors Fischer, Lynch, and Patterson, proved that in a distributed system with asynchronous communication and process crashes,
- ssh2整合(spring+struts2+hibernate)-附源码
白糖_
eclipsespringHibernatemysql项目管理
最近抽空又整理了一套ssh2框架,主要使用的技术如下:
spring做容器,管理了三层(dao,service,actioin)的对象
struts2实现与页面交互(MVC),自己做了一个异常拦截器,能拦截Action层抛出的异常
hibernate与数据库交互
BoneCp数据库连接池,据说比其它数据库连接池快20倍,仅仅是据说
MySql数据库
项目用eclipse
- treetable bug记录
braveCS
table
// 插入子节点删除再插入时不能正常显示。修改:
//不知改后有没有错,先做个备忘
Tree.prototype.removeNode = function(node) {
// Recursively remove all descendants of +node+
this.unloadBranch(node);
// Remove
- 编程之美-电话号码对应英语单词
bylijinnan
java算法编程之美
import java.util.Arrays;
public class NumberToWord {
/**
* 编程之美 电话号码对应英语单词
* 题目:
* 手机上的拨号盘,每个数字都对应一些字母,比如2对应ABC,3对应DEF.........,8对应TUV,9对应WXYZ,
* 要求对一段数字,输出其代表的所有可能的字母组合
- jquery ajax读书笔记
chengxuyuancsdn
jQuery ajax
1、jsp页面
<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()
- JWFD工作流拓扑结构解析伪码描述算法
comsci
数据结构算法工作活动J#
对工作流拓扑结构解析感兴趣的朋友可以下载附件,或者下载JWFD的全部代码进行分析
/* 流程图拓扑结构解析伪码描述算法
public java.util.ArrayList DFS(String graphid, String stepid, int j)
- oracle I/O 从属进程
daizj
oracle
I/O 从属进程
I/O从属进程用于为不支持异步I/O的系统或设备模拟异步I/O.例如,磁带设备(相当慢)就不支持异步I/O.通过使用I/O 从属进程,可以让磁带机模仿通常只为磁盘驱动器提供的功能。就好像支持真正的异步I/O 一样,写设备的进程(调用者)会收集大量数据,并交由写入器写出。数据成功地写出时,写入器(此时写入器是I/O 从属进程,而不是操作系统)会通知原来的调用者,调用者则会
- 高级排序:希尔排序
dieslrae
希尔排序
public void shellSort(int[] array){
int limit = 1;
int temp;
int index;
while(limit <= array.length/3){
limit = limit * 3 + 1;
- 初二下学期难记忆单词
dcj3sjt126com
englishword
kitchen 厨房
cupboard 厨柜
salt 盐
sugar 糖
oil 油
fork 叉;餐叉
spoon 匙;调羹
chopsticks 筷子
cabbage 卷心菜;洋白菜
soup 汤
Italian 意大利的
Indian 印度的
workplace 工作场所
even 甚至;更
Italy 意大利
laugh 笑
m
- Go语言使用MySQL数据库进行增删改查
dcj3sjt126com
mysql
目前Internet上流行的网站构架方式是LAMP,其中的M即MySQL, 作为数据库,MySQL以免费、开源、使用方便为优势成为了很多Web开发的后端数据库存储引擎。MySQL驱动Go中支持MySQL的驱动目前比较多,有如下几种,有些是支持database/sql标准,而有些是采用了自己的实现接口,常用的有如下几种:
http://code.google.c...o-mysql-dri
- git命令
shuizhaosi888
git
---------------设置全局用户名:
git config --global user.name "HanShuliang" //设置用户名
git config --global user.email "
[email protected]" //设置邮箱
---------------查看环境配置
git config --li
- qemu-kvm 网络 nat模式 (四)
haoningabc
kvmqemu
qemu-ifup-NAT
#!/bin/bash
BRIDGE=virbr0
NETWORK=192.168.122.0
GATEWAY=192.168.122.1
NETMASK=255.255.255.0
DHCPRANGE=192.168.122.2,192.168.122.254
TFTPROOT=
BOOTP=
function check_bridge()
- 不要让未来的你,讨厌现在的自己
jingjing0907
生活 奋斗 工作 梦想
故事one
23岁,他大学毕业,放弃了父母安排的稳定工作,独闯京城,在家小公司混个小职位,工作还算顺手,月薪三千,混了混,混走了一年的光阴。 24岁,有了女朋友,从二环12人的集体宿舍搬到香山民居,一间平房,二人世界,爱爱爱。偶然约三朋四友,打扑克搓麻将,日子快乐似神仙; 25岁,出了几次差,调了两次岗,薪水涨了不过百,生猛狂飙的物价让现实血淋淋,无力为心爱银儿购件大牌
- 枚举类型详解
一路欢笑一路走
enum枚举详解enumsetenumMap
枚举类型详解
一.Enum详解
1.1枚举类型的介绍
JDK1.5加入了一个全新的类型的”类”—枚举类型,为此JDK1.5引入了一个新的关键字enum,我们可以这样定义一个枚举类型。
Demo:一个最简单的枚举类
public enum ColorType {
RED
- 第11章 动画效果(上)
onestopweb
动画
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- Eclipse中jsp、js文件编辑时,卡死现象解决汇总
ljf_home
eclipsejsp卡死js卡死
使用Eclipse编辑jsp、js文件时,经常出现卡死现象,在网上百度了N次,经过N次优化调整后,卡死现象逐步好转,具体那个方法起到作用,不太好讲。将所有用过的方法罗列如下:
1、取消验证
windows–>perferences–>validation
把 除了manual 下面的全部点掉,build下只留 classpath dependency Valida
- MySQL编程中的6个重要的实用技巧
tomcat_oracle
mysql
每一行命令都是用分号(;)作为结束
对于MySQL,第一件你必须牢记的是它的每一行命令都是用分号(;)作为结束的,但当一行MySQL被插入在PHP代码中时,最好把后面的分号省略掉,例如:
mysql_query("INSERT INTO tablename(first_name,last_name)VALUES('$first_name',$last_name')");
- zoj 3820 Building Fire Stations(二分+bfs)
阿尔萨斯
Build
题目链接:zoj 3820 Building Fire Stations
题目大意:给定一棵树,选取两个建立加油站,问说所有点距离加油站距离的最大值的最小值是多少,并且任意输出一种建立加油站的方式。
解题思路:二分距离判断,判断函数的复杂度是o(n),这样的复杂度应该是o(nlogn),即使常数系数偏大,但是居然跑了4.5s,也是醉了。 判断函数里面做了3次bfs,但是每次bfs节点最多