- OC语言多界面传值五大方式
Magnetic_h
iosui学习objective-c开发语言
前言在完成暑假仿写项目时,遇到了许多需要用到多界面传值的地方,这篇博客来总结一下比较常用的五种多界面传值的方式。属性传值属性传值一般用前一个界面向后一个界面传值,简单地说就是通过访问后一个视图控制器的属性来为它赋值,通过这个属性来做到从前一个界面向后一个界面传值。首先在后一个界面中定义属性@interfaceBViewController:UIViewController@propertyNSSt
- UI学习——cell的复用和自定义cell
Magnetic_h
ui学习
目录cell的复用手动(非注册)自动(注册)自定义cellcell的复用在iOS开发中,单元格复用是一种提高表格(UITableView)和集合视图(UICollectionView)滚动性能的技术。当一个UITableViewCell或UICollectionViewCell首次需要显示时,如果没有可复用的单元格,则视图会创建一个新的单元格。一旦这个单元格滚动出屏幕,它就不会被销毁。相反,它被添
- 2019-3-23晨间日记
红红火火小耳朵
今天是什么日子起床:7点40就寝:23点半天气:有太阳,不过一会儿出来一会儿进去特别清爽的凉意,还蛮舒服的心情:小激动要给女朋友过生日啦纪念日:田田女士过生日任务清单昨日完成的任务,最重要的三件事:1.英语一对一2.运动计划3.认真护肤习惯养成:调整状态周目标·完成进度英语七天打卡(5/7)轻课阅读(87/180)音标课(25/30)读书(福尔摩斯一章)学习·信息·阅读#英语课#Cookingte
- 2020-8-19晨间日记:看过的电影
盐大虾
今天是周三起床:6点半就寝:11点天气:晴心情:正常纪念日:周三任务清单今日完成的任务,最重要的三件事:1.整理写过的文档2.电影《电灯泡》3.这就是街舞第三季第五期改进:早睡早起习惯养成:早睡早起,看书周目标·完成进度两篇文章学习·信息·阅读电影艺术发展史相关教材健康·饮食·锻炼吃了挺多零食,还喝了果粒橙,还是得少吃,多锻炼,不然会慢慢死掉的。人际·家人·朋友淡定交流,不放在心上。工作·思考专心
- 2023-4-6晨间日记
百里清风柏年醉
今天是什么日子起床:7:00就寝:10:30天气:阳光明媚心情:沉闷,忧心忡忡纪念日:无任务清单昨日完成的任务,最重要的三件事:看咨询工程师的书锻炼身体记75个单词改进:自己做饭习惯养成:看纸质书籍不刷抖音每天日更周目标·完成进度学习·信息·阅读健康·饮食·锻炼人际·家人·朋友保持与朋友交流,多认识、结交新的朋友工作·思考怎么做好向上管理该学习什么新的技能怎么与同事更好相处,更好地开展工作最美好的
- 【86】喜欢“折腾”的余老师
亲亲鱼老师
“我们的进度会比其他班级慢一点,因为我们的实践作业会多一些,希望你们能够明白老师要求做的一切……第三单元学习写观察日记,为了学生体验感再强一些,我让孩子们种植大蒜,每天再写一篇观察日记。原本想着连续让孩子们观察六天就好,结果是六天结束了,孩子们因各种各样的原因,小蒜苗的生长各不相同,关键是真正长出绿色叶子的没几个,于是决定再继续观察几天……要问我为什么喜欢如此折腾?我想我能给的答案一定是为了所有的
- 使用Python和Playwright破解滑动验证码
asfdsgdf
python开发语言
滑动验证码是一种常见的验证码形式,通过拖动滑块将缺失的拼图块对准原图中的空缺位置来验证用户操作。本文将介绍如何使用Python中的OpenCV进行模板匹配,并结合Playwright实现自动化破解滑动验证码的过程。所需技术OpenCV模板匹配:用于识别滑块在背景图中的正确位置。Python:主要编程语言。Playwright:用于浏览器自动化,模拟用户操作。破解过程概述获取验证码图像:下载背景图和
- 2019-1-27晨间日记
将军将离
今天是什么日子起床:十点就寝:十二点天气:阴心情:时好时坏纪念日:追番又追不下去的一天任务清单昨日完成的任务,最重要的三件事:和我妈聊天,吃好多肉改进:早睡习惯养成:不能熬夜周目标·完成进度坚持不下来学习·信息·阅读看小说健康·饮食·锻炼吃了好多肉人际·家人·朋友被我妈嫌工作·思考果然是三分钟热度,海贼王看了三十多集看不下去了,好长啊最美好的三件事1.吃饭2.睡觉3.看动漫思考·创意·未来坚持
- 2020.5.20【第三十八天打卡】
CY的好运很哇塞呦
2020.5.20【第三十八天打卡】:一、今日进度:1.会计直播课程:《经济法基础》两个小时,主要内容:经济法基础相关理论知识~纯理论的课程,加上心里的烦躁,完整地听完一节课,真的是太难为自己了,需要明天重新看一遍回放。2.读其他书7章。二、今日待进步:1.练字0%2.表格学习0%3.TED0%三、明日安排:(一)每日常规三件事:1.读书半小时2.练字半小时3.学习半小时(二)每日新增一事(兴趣工
- 用PCTS理念做好项目管理规划(优秀项目管理者必知)
青暖
谈到项目管理的理念,很多人所熟知的大概是项目管理的三重约束——质量、时间和成本。每一个管理者当然都希望自己的项目可以质量好,时间花费少以及成本低,然而事实往往不尽人意,你必须选择其中一个作为变量来保证其他两者的定量,才能保证项目获得尽可能大的利益。就在小编也一直以三重约束进行此项目管理规划时,读到了另外一种理念,也就是第四重约束——范围。这个观点来自詹姆斯·刘易斯的《项目计划、进度与控制》这本书,
- 2021-7-30晨间日记
江湖微冷
离家倒计时启动起床:6.00就寝:22.30天气:晴好下午阵雨心情:抑郁纪念日:离家倒计时任务清单昨日完成的任务,最重要的三件事:1.与亲人聚餐2.与家人谈心3.取回资格证改进:少吃少说话习惯养成:继续坚持运动月目标·完成进度挑战月100公里完成
- 2018-03-19
灼灼2015
和很久没联系的朋友联系了,每个小人物都有自己牛的特质,当没有偏见时就会觉得那样也挺好,一个自由的灵魂。两天没读书,这周进度落后。每日英语阅读每日理财课程
- 《我的单一饮食之路》前言——纵深阅读引领提纲
末号义工
所谓纵深阅读,就是把大本“前言”与小本“手册”的内容相联系,巩固印象,加深理解。每个题目都包含“前言”阅读点+“手册”阅读点+思考题三项内容,希望大家按进度要求联系阅读,思考答题,然后把自己对思考题的理解,在群里公开分享。一、思考题(四大题13小题)第一题、《前言》“思路3”对健康四基石的补充,以及“思路6”中“一一对健康要素进行排查”的提法,与《手册》问5“什么是生活方式?健康生活方式包括哪些要
- 2020-6-9晨间日记
那畔千浔
今天是什么日子起床:六点就寝:十点天气:阴心情:很好纪念日:小萌来到家里的第三天任务清单昨日完成的任务,最重要的三件事:一。值班二。申请表三。完成局里面的培训申请表改进:想到事就去做习惯养成:不拖拉周目标·完成进度买席子。明天早去看学习·信息·阅读读了晚报。难忘樱花写的比较美,复习了火烧云。健康·饮食·锻炼走路半小时。吃了四个杏子,吃了蛋挞,面包,牛奶,西瓜等。人际·家人·朋友联系了张老师,联系了
- 文字输出:大脑运作的核动力
观博家旺仔
关于文字对于思考的意义,是自己写过很多字后,慢慢的浮现到眼前的。一、记录思维来催化思考:(无笔记不思考)①记录开始就是思考的开始,督促大脑不能总找借口偷闲,迅速进入思考状态很重要。②免去频繁回溯上一步的思考(内容),保持流畅的思考进度。(让思考时就单纯的思考)③通过记录思考的结构,帮助自己关注结构化的思考,以达到更全面和完善。④抓住瞬间大脑的灵感,绝对是笔记的拿手好戏,否则那些灵感只能是流星一般划
- 于工作、生活与爱好之间做好时间的平衡,真是技术活
迷途且恐惧的羔羊
由于工作上项目赶进度,实在挤不出时间,快一周未在头条号上写点字。今天登录一看,粉丝都掉了一个,很是心疼。深有感触,在工作、生活与爱好之间做好时间管理,不容易,也确实是一个技术活!图片取自网络一张时间清单起床:6:50出门:7:00上车:7:10到公司:8:30~9:00午餐:12:30下班:6:30加班:9:30回到住处(晚上路较畅通):10:30洗漱后上床:11:30入睡:12:00~第二天1:
- 复盘2019-09-20
飞翔的毛毛虫lh
昨日计划:1.学审核的知识,审核两个小时√(心得:审核规范里只是关于审核的基本规则,具体详细的还需要自己摸索。)2.锻炼一次,公园健走半小时;仰卧起坐30个3.跟进PDCA的进程,催促各个环节的进度。√4.完成每日复盘√5.每日听书10分钟打卡√6.每日读书10分钟√(读书半个小时)7.背单词百词斩8.给二子做早教,每天至少讲一本书,√学数数1-10,√识字卡片2个,(大、人、小)五官的英文单词,
- 放慢我的脚步,等待你们成长
吴永菊
三、沉下心下来,潜心研究学生实况。孩子们讲故事时的精彩表现,与老师协作阅读绘本故事后的回答反响。及学习识字单元的消化能力,学习数学时的思维敏捷。舞蹈时的动感。这一切都充分说明了孩子的学习天赋是非常棒的。也正是看到孩子们的这些优势,让我高估孩子们的接受能力。错误的安排的拼音教学进度,当教拼音教到两拼音节的拼音时,我才感到从未有过的挫败感,当教学了两节课后,孩子们几乎不敢开口尝试拼读时,我几乎要崩溃了
- groupby 中如何显示 tqdm 的进度条?
domodo2020
在循环时调用tqdm显示进度已经是一个常规操作,常见的方式是foriiintqdm(...):...while循环的情况类似,whileicntintqdm(range(n)):...icnt+=1这里记录没有显式循环时,在groupby中的用法:importpandasaspdimportnumpyasnpfromtqdmimporttqdmdf=pd.DataFrame(np.random.r
- 渴望与救赎
心然517
王佳薇家里五个孩子,她是老大。自小她就被耳提面命:你是姐姐,要照顾好弟弟妹妹。也因此,她一项惯为他人考虑,凡事都为家人设想周全。在自己的渴望和家人的利益之间有冲突时,几乎是毫不犹豫地,她都会舍弃自己的荣耀。她甚至没有觉得委屈,这么多年来她一直都是这么做的,这已经成为了一种习惯。刚毕业时,工资虽没多少,但是每月她都会汇款给家里。妹妹的恋情发展,弟弟的学业进度,她都时刻放到心上。倒是在自己身上,她不舍
- 2020-7-12晨间日记
似水流年_a98c
今天是什么日子起床:6:15就寝:22:30天气:晴心情:开心纪念日:每天任务清单昨日完成的任务,最重要的三件事:1.早起晨跑2.副业小有收入3.和朋友聚聚聊天改进:英语口语需坚持习惯养成:阅读需养成习惯周目标·完成进度本周计划每天站墙十分钟,已完成三天,小小习惯源于坚持。本周计划每天画画半小时,坚持不够,需改进。学习·信息·阅读本周阅读完脱胎换骨的人生整理。看电影丹麦女孩健康·饮食·锻炼要好好吃
- 2021-6-20晚间日记
Miss亚姐聊职业生涯成长
今天是什么日子起床:09:30就寝:23:30天气:晴心情:晴纪念日:阳历生日啦~任务清单昨日完成的任务,最重要的三件事:1.放肆吃喝:圣代、奶茶、蛋糕、小龙虾、烤鱼…2.坚持运动一小时3.跟妹妹、幺姑、舅妈等亲朋好友联系,与亲爱的人们感情加深~周目标·完成进度得到听书~健康·饮食·锻炼今日很放肆,往后需注意节制!最美好的三件事1.吃想吃的,充分理由无可反驳2.对家庭、闺蜜会有更多关系处理的经验和
- 2023-6-30晨间日记
Tiya陈天添
今天是什么日子起床:就寝:天气:心情:纪念日:任务清单昨日完成的任务,最重要的三件事:复访改进:清醒习惯养成:无周目标·完成进度-学习·信息·阅读健康·饮食·锻炼人际·家人·朋友工作·思考最美好的三件事1.2.3.思考·创意·未来
- 谈谈你对多线程开发的理解?ios中有几种实现多线程的方法?
充满活力的早晨
好处:1.使用线程可以把占据时间长的程序中的任务放到后台去处理2.用户界面可以更加吸引人,这样比如用户点击了一个按钮去触发某些事件的处理,可以弹出一个进度条来显示处理的进度3.程序的运行速度可能加快4·在一些等待的任务实现上如用户输入、文件读写和网络收发数据等,线程就比较有用了。缺点:1.如果有大量的线程,会影响性能,因为操作系统需要在它们之间切换。2.更多的线程需要更多的内存空间。3.线程的中止
- 2020-7-23晨间日记
京京1991
今天是什么日子起床:5:00就寝:10:30天气:晴心情:好纪念日:第一天早起任务清单昨日完成的任务,最重要的三件事:1.编辑公众号2.阅读一本书3.晨锻改进:高效阅读习惯养成:每天阅读一本书周目标·完成进度一周看七本书日更读书笔记学习·信息·阅读学习《小步在家早教》家长大学认知学院考试阅读《外婆的道歉信》健康·饮食·锻炼跑步半小时三餐按时吃饭练孕妇瑜伽人际·家人·朋友1.陪家公办保险事宜2.和好
- 2023-1-11晨间日记
伊蕾漫游
今天是什么日子起床:9:50就寝:23:10天气:阴心情:开心纪念日:任务清单昨日完成的任务,最重要的三件事:1、陪老妈喝茶聊天2、和同学约好2月去海南3、和哥确定好时间,去看老爸改进:事情要慢慢的做习惯养成:坚持日更周目标·完成进度什么事都不想做,也不想定计划学习·信息·阅读健康·饮食·锻炼人际·家人·朋友工作·思考最美好的三件事1.好多年没见的同学约见面,准备这几天找给时间见见2.最近几天冷,
- 2022-8-23今日计划及昨日复盘
菲雨桐520
今日计划起床:6点20分就寝:24点00分天气:多云心情:平稳任务清单今日需要完成的任务,最重要的三件事:开始刑法第三轮复习;坚持写作日更晨间日记和每日复盘;坚持锻炼身体。改进:及时调整心态,做好本职工作,努力学习,稳步打好基础。习惯养成:学习,写作,阅读,锻炼。周目标·完成进度按计划推进。健康·饮食·锻炼一日三餐按时吃饭,注意劳逸结合,加强锻炼:步行半小时,静蹲3,俯卧撑60,端腹3。工作·思考
- 2022-10-9晨间日记
d71b44dee52f
今天是什么日子起床:5:45就寝:9:45天气:阴天心情:开心任务清单昨日完成的任务,最重要的三件事:1.上课2.写作业3.复习改进:昨天我没有拖延,也算是有进步吧习惯养成:1.早上起来就跑步,背书2.很早起床周目标·完成进度已完成
- 2021-8-23晨间日记
宋会兵
今天是什么日子起床:6:55就寝:天气:昨天下午又开始下了小雨。今天还下雨吗?心情:纪念日:任务清单昨日完成的任务,最重要的三件事:改进:习惯养成:把知识转化成画面,再沟通联想。右脑喜欢图像趣味画面,记得快准久。所以学习要掌握方法。小孩子爱听故事,就是要的那种画面感。记忆宫殿,思维导图,都是要把大量的知识点有序归整,便于提取,编码代码是基础。周目标·完成进度学习·信息·阅读健康·饮食·锻炼人际·家
- Redis Sentinel(哨兵)详解
dlwlrma ⥳
Java八股框架redissentinel数据库
目录一:什么是Sentinel(哨兵)二:Sentinel有什么用1.监控2.故障转移3通知4.配置提供三:Sentinel如何检测master节点宕机1.主观下线2.客观下线四:Sentinel是如何选举出新的master1.slave的优先级2.复制进度3.runid五:如何在sentinel集群中选择出Leader前言:有关Redis的基础知识可以参照我之前写的文章Redis必知必会的知识在
- Maven
Array_06
eclipsejdkmaven
Maven
Maven是基于项目对象模型(POM), 信息来管理项目的构建,报告和文档的软件项目管理工具。
Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,所以常常用两三行 Maven 构建脚本就可以构建简单的项目。由于 Maven 的面向项目的方法,许多 Apache Jakarta 项目发文时使用 Maven,而且公司
- ibatis的queyrForList和queryForMap区别
bijian1013
javaibatis
一.说明
iBatis的返回值参数类型也有种:resultMap与resultClass,这两种类型的选择可以用两句话说明之:
1.当结果集列名和类的属性名完全相对应的时候,则可直接用resultClass直接指定查询结果类
- LeetCode[位运算] - #191 计算汉明权重
Cwind
java位运算LeetCodeAlgorithm题解
原题链接:#191 Number of 1 Bits
要求:
写一个函数,以一个无符号整数为参数,返回其汉明权重。例如,‘11’的二进制表示为'00000000000000000000000000001011', 故函数应当返回3。
汉明权重:指一个字符串中非零字符的个数;对于二进制串,即其中‘1’的个数。
难度:简单
分析:
将十进制参数转换为二进制,然后计算其中1的个数即可。
“
- 浅谈java类与对象
15700786134
java
java是一门面向对象的编程语言,类与对象是其最基本的概念。所谓对象,就是一个个具体的物体,一个人,一台电脑,都是对象。而类,就是对象的一种抽象,是多个对象具有的共性的一种集合,其中包含了属性与方法,就是属于该类的对象所具有的共性。当一个类创建了对象,这个对象就拥有了该类全部的属性,方法。相比于结构化的编程思路,面向对象更适用于人的思维
- linux下双网卡同一个IP
被触发
linux
转自:
http://q2482696735.blog.163.com/blog/static/250606077201569029441/
由于需要一台机器有两个网卡,开始时设置在同一个网段的IP,发现数据总是从一个网卡发出,而另一个网卡上没有数据流动。网上找了下,发现相同的问题不少:
一、
关于双网卡设置同一网段IP然后连接交换机的时候出现的奇怪现象。当时没有怎么思考、以为是生成树
- 安卓按主页键隐藏程序之后无法再次打开
肆无忌惮_
安卓
遇到一个奇怪的问题,当SplashActivity跳转到MainActivity之后,按主页键,再去打开程序,程序没法再打开(闪一下),结束任务再开也是这样,只能卸载了再重装。而且每次在Log里都打印了这句话"进入主程序"。后来发现是必须跳转之后再finish掉SplashActivity
本来代码:
// 销毁这个Activity
fin
- 通过cookie保存并读取用户登录信息实例
知了ing
JavaScripthtml
通过cookie的getCookies()方法可获取所有cookie对象的集合;通过getName()方法可以获取指定的名称的cookie;通过getValue()方法获取到cookie对象的值。另外,将一个cookie对象发送到客户端,使用response对象的addCookie()方法。
下面通过cookie保存并读取用户登录信息的例子加深一下理解。
(1)创建index.jsp文件。在改
- JAVA 对象池
矮蛋蛋
javaObjectPool
原文地址:
http://www.blogjava.net/baoyaer/articles/218460.html
Jakarta对象池
☆为什么使用对象池
恰当地使用对象池化技术,可以有效地减少对象生成和初始化时的消耗,提高系统的运行效率。Jakarta Commons Pool组件提供了一整套用于实现对象池化
- ArrayList根据条件+for循环批量删除的方法
alleni123
java
场景如下:
ArrayList<Obj> list
Obj-> createTime, sid.
现在要根据obj的createTime来进行定期清理。(释放内存)
-------------------------
首先想到的方法就是
for(Obj o:list){
if(o.createTime-currentT>xxx){
- 阿里巴巴“耕地宝”大战各种宝
百合不是茶
平台战略
“耕地保”平台是阿里巴巴和安徽农民共同推出的一个 “首个互联网定制私人农场”,“耕地宝”由阿里巴巴投入一亿 ,主要是用来进行农业方面,将农民手中的散地集中起来 不仅加大农民集体在土地上面的话语权,还增加了土地的流通与 利用率,提高了土地的产量,有利于大规模的产业化的高科技农业的 发展,阿里在农业上的探索将会引起新一轮的产业调整,但是集体化之后农民的个体的话语权 将更少,国家应出台相应的法律法规保护
- Spring注入有继承关系的类(1)
bijian1013
javaspring
一个类一个类的注入
1.AClass类
package com.bijian.spring.test2;
public class AClass {
String a;
String b;
public String getA() {
return a;
}
public void setA(Strin
- 30岁转型期你能否成为成功人士
bijian1013
成功
很多人由于年轻时走了弯路,到了30岁一事无成,这样的例子大有人在。但同样也有一些人,整个职业生涯都发展得很优秀,到了30岁已经成为职场的精英阶层。由于做猎头的原因,我们接触很多30岁左右的经理人,发现他们在职业发展道路上往往有很多致命的问题。在30岁之前,他们的职业生涯表现很优秀,但从30岁到40岁这一段,很多人
- [Velocity三]基于Servlet+Velocity的web应用
bit1129
velocity
什么是VelocityViewServlet
使用org.apache.velocity.tools.view.VelocityViewServlet可以将Velocity集成到基于Servlet的web应用中,以Servlet+Velocity的方式实现web应用
Servlet + Velocity的一般步骤
1.自定义Servlet,实现VelocityViewServl
- 【Kafka十二】关于Kafka是一个Commit Log Service
bit1129
service
Kafka is a distributed, partitioned, replicated commit log service.这里的commit log如何理解?
A message is considered "committed" when all in sync replicas for that partition have applied i
- NGINX + LUA实现复杂的控制
ronin47
lua nginx 控制
安装lua_nginx_module 模块
lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenResty
Centos和debian的安装就简单了。。
这里说下freebsd的安装:
fetch http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxvf lua-5.1.4.tar.gz
cd lua-5.1.4
ma
- java-14.输入一个已经按升序排序过的数组和一个数字, 在数组中查找两个数,使得它们的和正好是输入的那个数字
bylijinnan
java
public class TwoElementEqualSum {
/**
* 第 14 题:
题目:输入一个已经按升序排序过的数组和一个数字,
在数组中查找两个数,使得它们的和正好是输入的那个数字。
要求时间复杂度是 O(n) 。如果有多对数字的和等于输入的数字,输出任意一对即可。
例如输入数组 1 、 2 、 4 、 7 、 11 、 15 和数字 15 。由于
- Netty源码学习-HttpChunkAggregator-HttpRequestEncoder-HttpResponseDecoder
bylijinnan
javanetty
今天看Netty如何实现一个Http Server
org.jboss.netty.example.http.file.HttpStaticFileServerPipelineFactory:
pipeline.addLast("decoder", new HttpRequestDecoder());
pipeline.addLast(&quo
- java敏感词过虑-基于多叉树原理
cngolon
违禁词过虑替换违禁词敏感词过虑多叉树
基于多叉树的敏感词、关键词过滤的工具包,用于java中的敏感词过滤
1、工具包自带敏感词词库,第一次调用时读入词库,故第一次调用时间可能较长,在类加载后普通pc机上html过滤5000字在80毫秒左右,纯文本35毫秒左右。
2、如需自定义词库,将jar包考入WEB-INF工程的lib目录,在WEB-INF/classes目录下建一个
utf-8的words.dict文本文件,
- 多线程知识
cuishikuan
多线程
T1,T2,T3三个线程工作顺序,按照T1,T2,T3依次进行
public class T1 implements Runnable{
@Override
 
- spring整合activemq
dalan_123
java spring jms
整合spring和activemq需要搞清楚如下的东东1、ConnectionFactory分: a、spring管理连接到activemq服务器的管理ConnectionFactory也即是所谓产生到jms服务器的链接 b、真正产生到JMS服务器链接的ConnectionFactory还得
- MySQL时间字段究竟使用INT还是DateTime?
dcj3sjt126com
mysql
环境:Windows XPPHP Version 5.2.9MySQL Server 5.1
第一步、创建一个表date_test(非定长、int时间)
CREATE TABLE `test`.`date_test` (`id` INT NOT NULL AUTO_INCREMENT ,`start_time` INT NOT NULL ,`some_content`
- Parcel: unable to marshal value
dcj3sjt126com
marshal
在两个activity直接传递List<xxInfo>时,出现Parcel: unable to marshal value异常。 在MainActivity页面(MainActivity页面向NextActivity页面传递一个List<xxInfo>): Intent intent = new Intent(this, Next
- linux进程的查看上(ps)
eksliang
linux pslinux ps -llinux ps aux
ps:将某个时间点的进程运行情况选取下来
转载请出自出处:http://eksliang.iteye.com/admin/blogs/2119469
http://eksliang.iteye.com
ps 这个命令的man page 不是很好查阅,因为很多不同的Unix都使用这儿ps来查阅进程的状态,为了要符合不同版本的需求,所以这个
- 为什么第三方应用能早于System的app启动
gqdy365
System
Android应用的启动顺序网上有一大堆资料可以查阅了,这里就不细述了,这里不阐述ROM启动还有bootloader,软件启动的大致流程应该是启动kernel -> 运行servicemanager 把一些native的服务用命令启动起来(包括wifi, power, rild, surfaceflinger, mediaserver等等)-> 启动Dalivk中的第一个进程Zygot
- App Framework发送JSONP请求(3)
hw1287789687
jsonp跨域请求发送jsonpajax请求越狱请求
App Framework 中如何发送JSONP请求呢?
使用jsonp,详情请参考:http://json-p.org/
如何发送Ajax请求呢?
(1)登录
/***
* 会员登录
* @param username
* @param password
*/
var user_login=function(username,password){
// aler
- 发福利,整理了一份关于“资源汇总”的汇总
justjavac
资源
觉得有用的话,可以去github关注:https://github.com/justjavac/awesome-awesomeness-zh_CN 通用
free-programming-books-zh_CN 免费的计算机编程类中文书籍
精彩博客集合 hacke2/hacke2.github.io#2
ResumeSample 程序员简历
- 用 Java 技术创建 RESTful Web 服务
macroli
java编程WebREST
转载:http://www.ibm.com/developerworks/cn/web/wa-jaxrs/
JAX-RS (JSR-311) 【 Java API for RESTful Web Services 】是一种 Java™ API,可使 Java Restful 服务的开发变得迅速而轻松。这个 API 提供了一种基于注释的模型来描述分布式资源。注释被用来提供资源的位
- CentOS6.5-x86_64位下oracle11g的安装详细步骤及注意事项
超声波
oraclelinux
前言:
这两天项目要上线了,由我负责往服务器部署整个项目,因此首先要往服务器安装oracle,服务器本身是CentOS6.5的64位系统,安装的数据库版本是11g,在整个的安装过程中碰到很多的坑,不过最后还是通过各种途径解决并成功装上了。转别写篇博客来记录完整的安装过程以及在整个过程中的注意事项。希望对以后那些刚刚接触的菜鸟们能起到一定的帮助作用。
安装过程中可能遇到的问题(注
- HttpClient 4.3 设置keeplive 和 timeout 的方法
supben
httpclient
ConnectionKeepAliveStrategy kaStrategy = new DefaultConnectionKeepAliveStrategy() {
@Override
public long getKeepAliveDuration(HttpResponse response, HttpContext context) {
long keepAlive
- Spring 4.2新特性-@Import注解的升级
wiselyman
spring 4
3.1 @Import
@Import注解在4.2之前只支持导入配置类
在4.2,@Import注解支持导入普通的java类,并将其声明成一个bean
3.2 示例
演示java类
package com.wisely.spring4_2.imp;
public class DemoService {
public void doSomethin