- Python自动化办公——3个Excel表格中每个门店物品不同,想要汇总在一起(方法一)
皮皮_f075
大家好,我是皮皮。一、前言前几天在Python白银交流群【上海新年人】问了一个Python自动化办公处理的问题,一起来看看吧。image.png原始数据如下所示:image.png二、实现过程这里【猫药师Kelly】给了一个代码和思路,如下所示:image.png顺利地解决了粉丝的问题。下一篇文章,我们一起来看看另外一种方法。三、总结大家好,我是皮皮。这篇文章主要盘点了一个Python自动化办公处
- 圈妈带我重新认识我自己——圈妈讲堂正面管教家长课PD40学员Kelly
Kelly俏
图片发自App2018年11月我第一次认识段段,也第一次认识圈妈。可能是因为吸引力法则,同频的人、事、物,哪怕不在一个城市,都能因某种原因相聚在一起。11月30日参加了圈妈讲堂组织的台湾姚以婷老师美国正面管教家长讲师认证班;12月22日参加圈妈第40期家长课;已预定2019年1月12日圈妈线下思维导图课和暑假期间的非暴力沟通工作坊……在参加圈妈讲堂“逼自己一把”的线上读书会中,我被《被讨厌的勇气》
- 创造力自信:打造设计思维的方法论--Tom Kelly
木子米拉
学习笔记(摘录):《MadetoStick》汤姆·凯利(TomKelley)是全球顶尖的设计咨询公司IDEO的联合创始人和总经理。IDEO成立于1991年,曾经帮助苹果公司设计出第一只可量产的鼠标。在汤姆·凯利的努力下,IDEO从最初的15名设计师发展为如今拥有700多名员工的超人气企业。汤姆·凯利极力推进创新文化的发展,并致力于挖掘组织的创意潜能。他著有《创新自信力》一书,认为创新是一种思维方式
- 多点智慧,少点烦恼
暖暖皮猴
图片发自App图片发自App520已过去,521也离开了,朋友圈里占满了鲜花和红包,一片幸福和谐。我给老公要求,送我书吧,我的最爱️️!海豚训练法在亲子中的智慧运用️海豚是一种非常受欢迎的动物,它们对人类很友善,也很聪明。海豚Kelly生活在美国的一家海洋馆中,训练员教海豚们清理水池中的垃圾,每次它们衔回垃圾,就能得到一条鱼作为奖励,Kelly是其中成绩最好的。训练员一直认为它听话又勤劳,直到有一
- Kelly感恩日记Day21
Z娅彤
感恩曼迪老师今晨分享《魔力支票》,深度认知到金钱是帮我实现愿望的手段,而不是最终的目标。学习魔力支票的方法:可以写下我们真正想得到某件东西的具体价值,因为当我们明白这笔钱的具体用途时,我们一定会对这笔钱更加感激。如果我们的注意力是集中在了金钱上,我们或许就无法产生太多的感恩,当我们想象自己获得了真正想要的东西,或是完成了一件真正想要完成的事,也因此产生了感恩情绪,一定会比我们对金钱的感恩要强烈得多
- 珍惜每一天!
Kelly_能量使者
挑战1000天写作打卡,第64天!大家晚上好,我是你们的好朋友赵翎汐Kelly!今天是我挑战1000天演讲打卡的第十八天!时间过得真快当我们去记录的时候才发现一天一天是很真实的在过去真的要好好珍惜无比的感恩宇宙总是无条件给予我所有的一切最近真的感觉一切都是那么的顺流一切都是那么的轻而易举为什么会这样呢我想是因为我在种下感恩,喜悦,富足,健康的种子,人的能量层级决定人生的成败,信念,动机,精神世界,
- 人妻少母5
婪血人
老乡认老乡,孩子来帮忙。众里寻她千百度,Kelly芝士费工夫。后来的事儿更加证明,孩子的眼光,比父母往往毒辣多了!以至于我一度经常问Kelly:你觉得他好吗?你觉得这人比你爸帅吗?你觉得谁家有钱?……童言成了迷信老母的社交风向标。和林妹纸大概是因为同款混血血缘的关系,心里距离一下子拉近了好多!但那时候我们见面还保持着贤妻良母的人设标准,尤其是我,谈吐举止都彰显着淘宝店小二的风格。她呢?更别提了,活
- Kelly感恩日记Day15
Z娅彤
1.感恩今天阳光明媚的日子,清晨喝着鲜榨豆浆(小米+黄豆),甜甜的暖暖的,开启了美美的一天。(谢谢谢谢谢谢)2.感恩客户如约入账,又是一个进账的日子,好运光临的日子,福气满满的日子。(谢谢谢谢谢谢)3.感恩培训负责人组织,给大家分享了1个半小时的新政策规则和利好福利,为接下来的促成带来更多的便利,以及提升整体回收率。(谢谢谢谢谢谢)4.感恩自己把有效的时间和100%目标达成安排至前,可以踏实的休整
- Kelly感恩日记Day18
Z娅彤
1.感恩昨夜美梦一觉到清晨,没有记忆的梦是期待已久的高质量睡眠。(幸福的感恩)2.感恩温良付出的先生,一早给我准备了丰盛的午餐便当,今天吃得很舒心入胃。(愛你哟感恩)3.感恩今天的培训老师--陶老师,为大家分享和剖析了3个案例,采用了八大策略的运用,所谓“自古深情留不住,唯有套路得人心。”一环套一环的使客户从内心和根本上得以重视以及真正为自己解决问题,早日上岸迎接更美好的未来。(谢谢谢谢谢谢)4.
- 茯翁堂:“真假名媛”傻傻分不清,那真假近视你分的清吗?
茯翁堂眼健康
最近,一条微博火了!有博主在网上爆料,他花了500块钱进了一个上海“名媛”群,本以为在这里他可以和名媛们畅聊事业、聊奢侈品,没想到彷佛进了一个拼夕夕群,3个人合租一个月的爱马仕kelly包,6个人拼单一份丽思卡尔顿双人下午茶,40个人拼单一间宝格丽酒店的顶级商务套房,也可以300块拼个二手丝袜,只有你想不到,没有她们拼不到。除了女版名媛,也有男版名媛。去淘宝上搜索高端朋友圈等词汇,就会跳出一大堆商
- 《金刚经说什么》南怀瑾 第20品 离色离相分
cakellyli
Kelly自言自语:所以不可以以貌取人。仙风道骨的可能是高人,而朴实平平得也可能是是圣贤,总之,懂得谦逊有礼、感恩戴德就好。《金刚经说什么》第20品离色离相分(01)须菩提。于意云何。佛可以具足色身见不。不也。世尊。如来不应以具足色身见。何以故。如来说具足色身。即非具足色身。是名具足色身。须菩提。于意云何。如来可以具足诸相见不。不也。世尊。如来不应以具足诸相见。何以故。如来说诸相具足。即非具足。是
- 关于信仰
奚帅粑粑
世界从来不会因为你很惨了,对你更好一点。我总是能记得熙熙攘攘的上海外滩,Kelly淡漠的看着前方,说道:“每天都是这么多人,你开心,他们是开心的;你不开心,他们还是开心的;你为什么要不开心呢?”图片发自AppKelly是个基督教徒,我小弟的母亲也是一个基督教徒,我的舅母也是一个基督教徒,他们都有一个纯粹的信仰,觉得人生下来就是去赎罪的。所以,但凡经历了再痛苦再难熬的事情,仅仅只是赎罪而已,带着虔诚
- Kelly感恩日记Day9
Z娅彤
1.感恩今天晨读分享的主题《魔力金钱》,感恩曾拥有过的金钱和金钱带来的所有快乐体验和享受,未来将拥有更多。2.感恩今天社群举办的《感恩社群周会》,多个流程下来对社群的大部分伙伴有了更深的认识,本次周会谈的话题最多最深切的是关于脱单问题。通过几位伙伴的主动自我介绍和各自需求的分享,让我看到整个社会的现状,不论男女关注的都是情感中的安全感,以及经济基础带来的踏实感。更重要的是能够互相彼此理解和支持对方
- 《金刚经说什么》南怀瑾谨第24品 福智无比分
cakellyli
Kelly自言自语:佛学的传播是一种慧命教育,智慧寿命的教育,真的可以是啊。真正有智慧的人不多,而对于生命真正理解的人也不多,我也不多,所以我也在求索。《金刚经说什么》第24品福智无比分(01)须菩提。若三千大千世界中。所有诸须弥山王。如是等七宝聚。有人持用布施。若人以此般若波罗密经。乃至四句偈等。受持读诵。为他人说。于前福德。百分不及一。百千万亿分。乃至算数譬喻。所不能及。现在连接上一次的第二十
- Kelly感恩日记Day20
Z娅彤
1.感恩曼迪老师今天晨读分享《健康的魔力和奇迹》,感恩的神奇魔力,促使健康的能量向身体的心灵流动,并帮助身体迅速康复。这是许多研究已经证实过的。感恩的魔力也需要从精心的照顾、营养搭配,以及医疗护理等方面相互配合,才能发挥作用。如果最近你总是感觉身体不适或者精神不佳,那么很可能你的心里总是积聚着负面情绪,例如焦虑、沮丧或者恐惧。对于疾病的悲观情绪并不利于身体的康复,事实上,这只会起反作用,让你的病情
- 《荒岛余生》观后
睁眼看世界的陈
故事梗概:《荒岛余生》说了这样的一个故事,联邦快递的时间效率系统管理工程师chuck,是一个非常讲究时间效率和很有时间观念的工作狂,他有一个马上就要结婚的未婚妻kelly。在圣诞夜前夕,chuck因为工作的需要要从孟菲斯老家飞去菲律宾处理新年货物运送问题,在飞往菲律宾的的飞机上,飞机发生意外事故,仅留他一个人活了下来。他经过种种的努力,克服各种困难最终在一个荒无人烟的小岛生存下来。经过四年的挣扎,
- 凸包法--体积计算
圆嘟嘟2019
算法python开发语言
文章目录环境:1.1凸包法介绍:2.1python代码3.1可视化4.1体积/表面积Calculation环境:Open3D1.1凸包法介绍:用于找到包围给定点集的最小凸多边形或凸多面体常用的凸包算法:Grabam扫描法(适用三维层面)Jarvis卷包裹法(不适用三维层面)Clarkson-ShorQuickHull2.1python代码condaactivetedeeplabv3plus(环境名
- 俄勒冈:寻味之路(Day5)
寰球世界
到海边去KELLY'SBRIGHTONMarina店内的凯利.拉维奥莱特站在码头上,身着荧光渔夫服,背靠灰沉沉的天空,让人一眼就能认出。他演绎着一出独角戏:时而出租渔船和捕蟹的金属网圈,时而与客人交谈,或是徒手从外边院子热气腾腾的大锅里拎起珍宝蟹。一条大狗和几只小猫正在屋外的长椅和火塘附近转悠。“再没有比这儿更好的气氛了。”凯利说。位于波特兰正西面的罗卡韦滩恰好位于俄勒冈海岸公路的转弯处,公路另一
- 《金刚经说什么》南怀瑾 第30品 一合理相分
cakellyli
Kelly自言自语:但凡夫之人,贪著其事。想要抓什么,其实什么也抓不住,走的时候还被形容成撒手人寰。为后代抓,几代之后没人记得你。于是真正看得明白的人就捐捐捐,如比尔盖茨、巴菲特等,还有更说出“裹尸布上没有口袋”的亿万富豪查克·费尼。他已76歲,和妻子居住在美國舊金山的一套一居室的出租屋裏。他從來沒有穿過名牌衣服,眼鏡破舊不堪,佩戴的手表是地攤上的塑料手表。他不愛美食,最喜歡的是價格低廉的烤奶酪西
- 感恩日记(2018.11.18)
Ruby_1696
图片发自App1.Kelly要回澳门去PwC面试,每天早上和我一起运动,让我的运动时间都很准时了。难得的同节奏的搭档。2.因临时准备一个重要的面试,放弃了去日本交流的机会。不过现在准备工作慢慢有了节奏,也是不遗憾了。3.昨晚睡觉中莫名的脑洞大开,感觉论文突然开窍了,思路泉涌。很是开心。一个好的睡眠真的是更有利于激发人的创作性的。4.昨天做了意大利面,很好吃。刘小厨上线。5.朋友从湖区帮我带了一个我
- 校长对我说了什么
6cb7978288f9
如果你平常犯错了,会怎么办?今天刚睁开眼,一开机,立马接到校区主管的电话:Kelly赶紧给你们班群里发停课通知,今天有家长来上课了,看到门口的停课通知,特别生气,还骂了校长一通。赶紧看微信,赶紧通知。原来这个体验学生家长在八点多就给我发微信,问上不上课?图片描述我一下子睡到了9点,才看到。完全忘记了发通知。只是想着孩子们今天都开学了。我们放假休息两天。完全忘记这个家长孩子在外地上学,现在休学了,回
- 细节决定成败
Kelly_能量使者
热爱演讲1000天,打卡第2天2021年4月19日大家好,我是你的好朋友赵翎汐kelly今天我演讲的题目是细节决定成败。《道德经》中有言:天下难事,必作于易;天下大事,必作于细。是以圣人终不为大,故能成其大。意思是说:天下的难事必须从容易处做起;天下的大事首先从小事着手。圣人始终不做大事,所以才能完成大事。细节决定成败,重视度高低决定结果好坏。人的精力是有限的,将有限的精力分散到各处,与集中精力干
- Kelly感恩日记Day10
Z娅彤
1.感恩这个赐予父亲温暖的伟大节日,也是接收父亲能量的日子。多数父亲不善表达,只会默默的承担着,今天特别且深情的向三位父亲表达了自己的祝福和感恩之情,他们都很开心喜悦!2.感恩孩子陪我度过本周悠闲遐逸时光,一起做了一顿午餐,完成作业后也满足了他们玩电子游戏的约定。3.感恩爷爷奶奶、外婆外公、父母亲的亲密关系和对情感正三观的传承。所谓的恩恩愛愛,始于初见,止于终老,冷暖有相知,喜乐有分享,同量天地宽
- 2019-03-18
西西读书123
今后每当你感受到压力,试试Kelly教授的“压力思维三步曲”:第一步:承认压力的存在。也就是说当你感受到压力时,不逃避它,允许自己感知到压力,包括它是如何影响身体的。观察自己面对压力时的生理和心理反应,以及自己所处的环境。记录下来,慢慢你就能总结出自己和压力的相处规律。第二步:欢迎压力。有压力,说明眼下你面对的事情和人,是你在意的,珍惜的,对你很有价值的。这不仅很正常,还是好事啊!研究表明,压力会
- 克拉克松Clarkson Research情报网注册登录及进行数据查询(以世界造船厂分布为例)
lys_828
python科研数据处理及绘图克拉克松世界造船厂地图分布Clarksons造船三大指标
克拉克松ClarksonResearch情报网注册登录及进行数据查询步骤梳理(以世界造船厂分布为例)1克拉克松介绍2克拉克松情报网3账户注册登录4信息查询手动反爬虫,禁止转载:原博地址https://blog.csdn.net/lys_828/article/details/121486723(CSDN博主:Be_melting)知识梳理不易,请尊重劳动成果,文章仅发布在CSDN网站上,在其他网站
- Kelly感恩日记Day12
Z娅彤
1.感恩曼迪老师今日晨读分享《魔力配方》,如想要感受感恩对食物和水的魔力作用,其中一个方法是仔细品味口中的食物和水。当我们对任何一件事物都心存感恩时,一切的内在心境都会变化,从而具有向上(善)心和上(善)进心,修正品德!(谢谢谢谢谢谢)2.感恩先生晨跑结束后,善于发现美的同时不忘拍照分享于我,使我即刻意会到女孩子、女人不管在哪个阶段,始终有她自己独特的美和魅力,所以只要保持喜悦和无限绽放就好!(谢
- 《知识付费从割韭菜到打造品牌认知》
知行缓缓
From简知Kelly分享简知打造关键词:女性、陪伴、学习、成长,让女性遇到这些问题,就能想到简知女性——有所为,有所不为书院产品数据:90%消费者为女性,其中90%为30-45岁,所以K12、英语等内容再热再好,不会为其偏离主航道,“有所不为”陪伴——调性:听书就像听音乐,注重背景音乐+主播声音,在做家务或在路上,都能享受到舒缓的陪伴情感社区:女性偏感性,需要倾诉的抒发口,其他的用户也能增强“陪
- 专访王凯丽Kelly Wang:甜心董事长的艺术旅程
暮雨寒天阁
人物介绍王凯丽(KellyWang):毕业于维多利亚大学,出品人、收藏家、暨南大学特聘导师,丽安文化董事长,中西文化交流大使。凯丽回忆起童年时光,感叹是妈妈让她把生命中的缺点变成骄傲。“小时候我不爱写作文,还曾经因为不及格让爸爸妈妈被老师批评。”在一段时间里凯丽对作文就抱有紧张之情。“可是妈妈会亲自辅导我的写作,告诉我如何去发现生活中的美。”就是这样不断摸索和鼓励,让写作成为凯丽的兴趣,更成了一种
- 慧读父母沙龙11【《正面管教》(1)】
徐琴娜
——第1章正面的方法;第2章几个基本概念时间2019年3月10日下午1:00到4:00地点未有书吧带领人徐琴娜记录袁剑英拍照片醉醉场地布置Kelly、冷月茶水点心虞如鹏、琴娜、小小一、同伴连接1.从“花、动物、水果、颜色、交通工具、树”这些物品中选择最喜欢的,用以下句式说“我喜欢……是因为……”如:我喜欢太阳花,是因为它阳光,向上……我喜欢小狗,是因为它忠诚……我喜欢桔子,是因为它吃着方便,酸甜可
- Kelly感恩日记Day11
Z娅彤
1.感恩今天阳光明媚的日子,迎着晨光起了个早,做了一顿丰盛的早餐,看着孩子们吃的香香的样子非常开心。2.感恩我们家大少帅等候我一同出门上学、上班。今天一路交流了许多,发现孩子内心渐渐成熟起来,开始询问爸爸妈妈上大学的情景…看来已开始展望未来,呼呼~小家伙打小上学起就养成了走读习惯,一直很独立,像个小男子汉。感恩一路的陪伴和激发我不断学习成长,让妈妈学会了从无知到如何成为一个良好的母亲!3.感恩在这
- java类加载顺序
3213213333332132
java
package com.demo;
/**
* @Description 类加载顺序
* @author FuJianyong
* 2015-2-6上午11:21:37
*/
public class ClassLoaderSequence {
String s1 = "成员属性";
static String s2 = "
- Hibernate与mybitas的比较
BlueSkator
sqlHibernate框架ibatisorm
第一章 Hibernate与MyBatis
Hibernate 是当前最流行的O/R mapping框架,它出身于sf.net,现在已经成为Jboss的一部分。 Mybatis 是另外一种优秀的O/R mapping框架。目前属于apache的一个子项目。
MyBatis 参考资料官网:http:
- php多维数组排序以及实际工作中的应用
dcj3sjt126com
PHPusortuasort
自定义排序函数返回false或负数意味着第一个参数应该排在第二个参数的前面, 正数或true反之, 0相等usort不保存键名uasort 键名会保存下来uksort 排序是对键名进行的
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8&q
- DOM改变字体大小
周华华
前端
<!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/1999/xhtml&q
- c3p0的配置
g21121
c3p0
c3p0是一个开源的JDBC连接池,它实现了数据源和JNDI绑定,支持JDBC3规范和JDBC2的标准扩展。c3p0的下载地址是:http://sourceforge.net/projects/c3p0/这里可以下载到c3p0最新版本。
以在spring中配置dataSource为例:
<!-- spring加载资源文件 -->
<bean name="prope
- Java获取工程路径的几种方法
510888780
java
第一种:
File f = new File(this.getClass().getResource("/").getPath());
System.out.println(f);
结果:
C:\Documents%20and%20Settings\Administrator\workspace\projectName\bin
获取当前类的所在工程路径;
如果不加“
- 在类Unix系统下实现SSH免密码登录服务器
Harry642
免密ssh
1.客户机
(1)执行ssh-keygen -t rsa -C "
[email protected]"生成公钥,xxx为自定义大email地址
(2)执行scp ~/.ssh/id_rsa.pub root@xxxxxxxxx:/tmp将公钥拷贝到服务器上,xxx为服务器地址
(3)执行cat
- Java新手入门的30个基本概念一
aijuans
javajava 入门新手
在我们学习Java的过程中,掌握其中的基本概念对我们的学习无论是J2SE,J2EE,J2ME都是很重要的,J2SE是Java的基础,所以有必要对其中的基本概念做以归纳,以便大家在以后的学习过程中更好的理解java的精髓,在此我总结了30条基本的概念。 Java概述: 目前Java主要应用于中间件的开发(middleware)---处理客户机于服务器之间的通信技术,早期的实践证明,Java不适合
- Memcached for windows 简单介绍
antlove
javaWebwindowscachememcached
1. 安装memcached server
a. 下载memcached-1.2.6-win32-bin.zip
b. 解压缩,dos 窗口切换到 memcached.exe所在目录,运行memcached.exe -d install
c.启动memcached Server,直接在dos窗口键入 net start "memcached Server&quo
- 数据库对象的视图和索引
百合不是茶
索引oeacle数据库视图
视图
视图是从一个表或视图导出的表,也可以是从多个表或视图导出的表。视图是一个虚表,数据库不对视图所对应的数据进行实际存储,只存储视图的定义,对视图的数据进行操作时,只能将字段定义为视图,不能将具体的数据定义为视图
为什么oracle需要视图;
&
- Mockito(一) --入门篇
bijian1013
持续集成mockito单元测试
Mockito是一个针对Java的mocking框架,它与EasyMock和jMock很相似,但是通过在执行后校验什么已经被调用,它消除了对期望 行为(expectations)的需要。其它的mocking库需要你在执行前记录期望行为(expectations),而这导致了丑陋的初始化代码。
&nb
- 精通Oracle10编程SQL(5)SQL函数
bijian1013
oracle数据库plsql
/*
* SQL函数
*/
--数字函数
--ABS(n):返回数字n的绝对值
declare
v_abs number(6,2);
begin
v_abs:=abs(&no);
dbms_output.put_line('绝对值:'||v_abs);
end;
--ACOS(n):返回数字n的反余弦值,输入值的范围是-1~1,输出值的单位为弧度
- 【Log4j一】Log4j总体介绍
bit1129
log4j
Log4j组件:Logger、Appender、Layout
Log4j核心包含三个组件:logger、appender和layout。这三个组件协作提供日志功能:
日志的输出目标
日志的输出格式
日志的输出级别(是否抑制日志的输出)
logger继承特性
A logger is said to be an ancestor of anothe
- Java IO笔记
白糖_
java
public static void main(String[] args) throws IOException {
//输入流
InputStream in = Test.class.getResourceAsStream("/test");
InputStreamReader isr = new InputStreamReader(in);
Bu
- Docker 监控
ronin47
docker监控
目前项目内部署了docker,于是涉及到关于监控的事情,参考一些经典实例以及一些自己的想法,总结一下思路。 1、关于监控的内容 监控宿主机本身
监控宿主机本身还是比较简单的,同其他服务器监控类似,对cpu、network、io、disk等做通用的检查,这里不再细说。
额外的,因为是docker的
- java-顺时针打印图形
bylijinnan
java
一个画图程序 要求打印出:
1.int i=5;
2.1 2 3 4 5
3.16 17 18 19 6
4.15 24 25 20 7
5.14 23 22 21 8
6.13 12 11 10 9
7.
8.int i=6
9.1 2 3 4 5 6
10.20 21 22 23 24 7
11.19
- 关于iReport汉化版强制使用英文的配置方法
Kai_Ge
iReport汉化英文版
对于那些具有强迫症的工程师来说,软件汉化固然好用,但是汉化不完整却极为头疼,本方法针对iReport汉化不完整的情况,强制使用英文版,方法如下:
在 iReport 安装路径下的 etc/ireport.conf 里增加红色部分启动参数,即可变为英文版。
# ${HOME} will be replaced by user home directory accordin
- [并行计算]论宇宙的可计算性
comsci
并行计算
现在我们知道,一个涡旋系统具有并行计算能力.按照自然运动理论,这个系统也同时具有存储能力,同时具备计算和存储能力的系统,在某种条件下一般都会产生意识......
那么,这种概念让我们推论出一个结论
&nb
- 用OpenGL实现无限循环的coverflow
dai_lm
androidcoverflow
网上找了很久,都是用Gallery实现的,效果不是很满意,结果发现这个用OpenGL实现的,稍微修改了一下源码,实现了无限循环功能
源码地址:
https://github.com/jackfengji/glcoverflow
public class CoverFlowOpenGL extends GLSurfaceView implements
GLSurfaceV
- JAVA数据计算的几个解决方案1
datamachine
javaHibernate计算
老大丢过来的软件跑了10天,摸到点门道,正好跟以前攒的私房有关联,整理存档。
-----------------------------华丽的分割线-------------------------------------
数据计算层是指介于数据存储和应用程序之间,负责计算数据存储层的数据,并将计算结果返回应用程序的层次。J
&nbs
- 简单的用户授权系统,利用给user表添加一个字段标识管理员的方式
dcj3sjt126com
yii
怎么创建一个简单的(非 RBAC)用户授权系统
通过查看论坛,我发现这是一个常见的问题,所以我决定写这篇文章。
本文只包括授权系统.假设你已经知道怎么创建身份验证系统(登录)。 数据库
首先在 user 表创建一个新的字段(integer 类型),字段名 'accessLevel',它定义了用户的访问权限 扩展 CWebUser 类
在配置文件(一般为 protecte
- 未选之路
dcj3sjt126com
诗
作者:罗伯特*费罗斯特
黄色的树林里分出两条路,
可惜我不能同时去涉足,
我在那路口久久伫立,
我向着一条路极目望去,
直到它消失在丛林深处.
但我却选了另外一条路,
它荒草萋萋,十分幽寂;
显得更诱人,更美丽,
虽然在这两条小路上,
都很少留下旅人的足迹.
那天清晨落叶满地,
两条路都未见脚印痕迹.
呵,留下一条路等改日再
- Java处理15位身份证变18位
蕃薯耀
18位身份证变15位15位身份证变18位身份证转换
15位身份证变18位,18位身份证变15位
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
蕃薯耀 201
- SpringMVC4零配置--应用上下文配置【AppConfig】
hanqunfeng
springmvc4
从spring3.0开始,Spring将JavaConfig整合到核心模块,普通的POJO只需要标注@Configuration注解,就可以成为spring配置类,并通过在方法上标注@Bean注解的方式注入bean。
Xml配置和Java类配置对比如下:
applicationContext-AppConfig.xml
<!-- 激活自动代理功能 参看:
- Android中webview跟JAVASCRIPT中的交互
jackyrong
JavaScripthtmlandroid脚本
在android的应用程序中,可以直接调用webview中的javascript代码,而webview中的javascript代码,也可以去调用ANDROID应用程序(也就是JAVA部分的代码).下面举例说明之:
1 JAVASCRIPT脚本调用android程序
要在webview中,调用addJavascriptInterface(OBJ,int
- 8个最佳Web开发资源推荐
lampcy
编程Web程序员
Web开发对程序员来说是一项较为复杂的工作,程序员需要快速地满足用户需求。如今很多的在线资源可以给程序员提供帮助,比如指导手册、在线课程和一些参考资料,而且这些资源基本都是免费和适合初学者的。无论你是需要选择一门新的编程语言,或是了解最新的标准,还是需要从其他地方找到一些灵感,我们这里为你整理了一些很好的Web开发资源,帮助你更成功地进行Web开发。
这里列出10个最佳Web开发资源,它们都是受
- 架构师之面试------jdk的hashMap实现
nannan408
HashMap
1.前言。
如题。
2.详述。
(1)hashMap算法就是数组链表。数组存放的元素是键值对。jdk通过移位算法(其实也就是简单的加乘算法),如下代码来生成数组下标(生成后indexFor一下就成下标了)。
static int hash(int h)
{
h ^= (h >>> 20) ^ (h >>>
- html禁止清除input文本输入缓存
Rainbow702
html缓存input输入框change
多数浏览器默认会缓存input的值,只有使用ctl+F5强制刷新的才可以清除缓存记录。
如果不想让浏览器缓存input的值,有2种方法:
方法一: 在不想使用缓存的input中添加 autocomplete="off";
<input type="text" autocomplete="off" n
- POJO和JavaBean的区别和联系
tjmljw
POJOjava beans
POJO 和JavaBean是我们常见的两个关键字,一般容易混淆,POJO全称是Plain Ordinary Java Object / Pure Old Java Object,中文可以翻译成:普通Java类,具有一部分getter/setter方法的那种类就可以称作POJO,但是JavaBean则比 POJO复杂很多, Java Bean 是可复用的组件,对 Java Bean 并没有严格的规
- java中单例的五种写法
liuxiaoling
java单例
/**
* 单例模式的五种写法:
* 1、懒汉
* 2、恶汉
* 3、静态内部类
* 4、枚举
* 5、双重校验锁
*/
/**
* 五、 双重校验锁,在当前的内存模型中无效
*/
class LockSingleton
{
private volatile static LockSingleton singleton;
pri