- 2018年12月23日 星期日 晴
刘一鸣妈妈
早晨舒舒服服睡个懒觉,睁开眼已经快八点了。简单洗漱之后,准备吃早饭。嫂子给煎的牛排,七成熟,孩子吃的津津有味。我只能吃十二分熟的,可以外焦,不要里嫩。早饭后到世纪金源给然然选照片,几番挣扎后忍痛割爱删掉近百张,最后只保留三十张做相册。下午然然继续拍一套影楼赠送的台历照片,商家看到我带着孩子,也赠送了一套作为体验。拍照的过程特别欢乐,孩子很享受穿着帅气的衣服摆出帅帅的动作。然然拍过一套照片后明显找到
- 微信小程序使用canvas画图保存图片到手机相册
岩岩很哇塞!
微信小程序微信小程序小程序canva可画
微信小程序要实现使用canvas绘制一个图,然后保存到手机相册**最终效果:**实现生成以下图片一、初始化canvas//wxml页面设置canvas标签//js页面初始化canvasdata:{ctx:'',details:'',windowW:375*3,windowH:265*3,ratio:3,showCanvas:false},onLoad(options){this.setData({
- 2020-12-06
大白的好朋友
01检查2020年心愿完成度。最容易,莫过于许下一个又一个心愿。而最难,莫过于逐一实现这些愿望。是时候,回想你在年初立下的心愿,实现了多少?是扎心还是安心?别把那些本该在2020年了却的你在2019年就信誓旦旦要完成的2018年写下的心愿,再拖到2021。若有未了心愿,2020最后20来天,再拼一把!泰山日出见者好运配图|@乐漫小窝泰山日出见者好运配图|@乐漫小窝02整理相册,让记忆成册、时光含情
- 计算机视觉—照相机(下)
zidea
封面焦距(FieldofView)同一位置相机用不同焦距,28mmFieldofView就变小,85mm时候的Fieldofview也就是只有28度视野,每一个物体在通常尺寸的胶片上像素也就是越多,chromaticAberration焦距和是波长相关,不同颜色光聚焦在不同位置。这种现象在物体边缘尤为明显。颜色颜色说简单也简单,说复杂也复杂,我们在高中物理已经知道可见光是电磁波,不同颜色对应不同波
- 生命中无法弥补的遗憾系列(一)(那碗到嘴也没吃到的炒面)
颜歌
曾经在出租车上看到这样一段话:如果以前有一种机器如同照相机留住影像、录音机录下声音那样,把滋味记录下来。大家就能知道传统川菜是什么味道了。(当然,这是一段川菜馆的广告词。后来我知道了)但对着这段话,不知为何,突然沉思起来,对啊,味道,其实真是一件很主观的事情,不但不能记录而且更难复制,谁也说不准,这一碗跟那一碗,到底是不是一模一样的味道。同一道菜,不同人品尝起来,尚且差别千里,有人说太辣,有人说太
- 一个月的师生缘
zero007
文/zero007图片发自App收拾旧物时,整理到一些相册。不由得坐下来,一册一册地翻开来细看,满满都是旧时光的回忆。其中一册,首页就是一张我和五十六个孩子们的合影,我和孩子们开心地笑着,我的眼睛都快眯起来了。我用手指轻轻地抚摸着照片中那一张张稚气未脱的小脸庞,脑子里默念着他们的名字。几个孩子的名字一时怎么也想不起来了,我有些着急,讨厌起自己这不给力的健忘的脑子来。轻轻地抽出照片来,在背面找到他们
- 做了一个视频,已经是将近凌晨两点了
思念不断
想要继续学习做短视频,十点左右女儿睡觉,我开始做新的视频,这几天不管是在骑车还是在做其他事情,头脑里出现很多想说的话。可是真正静下来想要写文案,却没有头绪。最近看了一些宝妈发的短视频,发现文案不一定跟视频一致,于是在相册里找了前些天拍的,没有发的视频,编辑剪辑成一个视频。之前几次都是晚上编辑完就直接发,今天学习了如何看数据分析,看自己的短视频播放时间段,选择在那个时间段前三四个小时发布,因为审核需
- 2023-04-11高考倒计时56天:做相册
不舍札记
依然不舒服,计划去宜家买桌椅也只得作罢。幸好楼上的装修这两天停了,可以清净休息。睡了半日,起来做点事。整理花花姐的照片,制作成人礼相册。十八年,从刚出生到牙牙学语蹒跚学步,到幼儿园到小学、初中、高中,满满的回忆。幸有留下的一张张照片,去过的地方,做过的事,难忘的事,十八年的生命徐徐展开,皆是美好。刚出生时嚎啕大哭的小婴儿;幼儿园的毕业照,花花姐带着可爱的博士帽;在琅勃拉邦光西瀑布前戏水,阳光刚好照
- 比淘宝便宜的购物软件有哪些?2023哪个app买东西质量好又便宜?
全网优惠分享
比淘宝便宜的购物软件有哪些?2023哪个app买东西质量好又便宜?下面我们一起来瞅瞅!1.高省高省目前对接了淘宝天猫、京东、拼多多、苏宁、唯品会、抖音、快手等电商平台,同时对接了饿了么外卖商超、美团外卖、优选、商超和酒店红包返利业务,不但购物能省钱,分享给朋友购物还能赚钱首先在手机应用商店搜索「高省」下载,注册时填写邀请码:666766或者保存下方图片到相册,用微信扫一扫下载「高省」注册时填写邀请
- iPhoneX壁纸:苹果高清壁纸
苹果高清壁纸
iPhone手机壁纸(苹果(安卓)壁纸)保存方法:点击图片-长按图片-保存图片,保存完毕返回相册即可设置为手机壁纸!由于均为高清壁纸,加载较慢,请耐心等待!
- 电子相册视频制作教程,怎么样制作添加音乐的视频相册
xb妖铃铃七
如今随着网络科技的突飞猛进,电子相册制作软件也随之越来越多。现在相册制作可以分为大概两类:软件制作和在线制作。我个人比较看好,在线制作,操作简单上手容易,制作完成的作品不比专业制作软件做的效果差。那么怎么样给做好的视频加背景音乐?可以在电脑上给视频添加,也可以在手机上给视频添加的,不过还是电脑上编辑比较方便,不过手机上页可以查看。方法/步骤:首先电脑浏览器打开创视网,页面有几种不同类型的场景模板,
- 办事要点
楠楠家的莹小宝
幸福日志2019-11-07周四晴书看的多,但是吸收也是一个问题,必须实践起来,化真知为真金白银一周办事要点1、整理基金账户。工资真的少的可怜,存钱+理财,留给我的时间真是不多。2、制作孩子的相册。3、恩仔英语启蒙的资源,整理出时间表。4、注电学习计划表。和老公一起上下班,我们聊天的时间也变多,我换了新岗位,真的觉着上运行的应该早点跳出这个圈子。而从现在看将来,我们也应该早点跳脱出来这个圈子。因为
- 惜
阳光雨露观自在
图片发自App时间,总是把我们的经历无情地刻成了回忆;岁月,总是把我们的点滴融化在浓浓的血液里;只有翻看着标志着记忆的相册,才重温一下曾经熟悉而又陌生的自己!请温柔以待,生命中的缘分和自己,也许,一转身,就是一辈子;也许,一转身,就变成了下一世!/p>
- 2018-01-16判断相机
super_2e20
pragmamark-摄像头和相册相关的公共类//判断设备是否有摄像头-(BOOL)isCameraAvailable{return[UIImagePickerControllerisSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera];}//前面的摄像头是否可用-(BOOL)isFrontCameraAvailable{retu
- HTML5生日祝福蛋糕页面(生日蛋糕树) HTML+CSS+JS 求婚 html生日快乐祝福代码网页 520情人节告白代码 程序员表白源码 抖音3D旋转相册 js烟花代码 css爱心
@秋天的笔记
生日祝福网页html520情人节告白网页制作七夕情人节表白网页源代码HTML5七夕情人节动画网页HTML生日快乐代码3D旋转电子相册
HTML5七夕情人节表白网页❤生日蛋糕(蛋糕树)❤HTML+CSS+JS求婚html生日快乐祝福代码网页520情人节告白代码程序员表白源码抖音3D旋转相册js烟花代码css爱心表白这是程序员表白系列中的100款网站表白之一,旨在让任何人都能使用并创建自己的表白网站给心爱的人看。此波共有100个表白网站,可以任意修改和使用,源码已上传,演示网址如下。文章末尾-已经附上源码下载地址作者主页-更多源码1
- Web 应用开源项目大全
时空潮汐
巴比达内网穿透web应用巴比达巴比达内网穿透web公共访问web远程访问
Web应用开源项目大全结合巴比达内网穿透实现WEB公开访问。下面是一个Web应用的开源列表。没什么可说的,太疯狂了。尤其是Web2.0那一堆。我不知道你怎么想,有些开源项目的源码写得挺不好的,尤其是性能方面。或许你会以为改一改他们就可以成为为自己所用,不过,改这些开源的项目还真不容易。玩玩还可以。数字媒体相册(Flickr,Picasa)Gallery,基于PHP+MySQL的Web相册。非常易于
- uniapp小程序专栏六:图片保存本地
熊猫眼程序媛
小程序javascript开发语言
上代码:(写的好累啊…)//微信小程序保存到相册saveEwm(e){varthat=this//获取相册授权uni.getSetting({success(res){if(!res.authSetting['scope.writePhotosAlbum']){uni.authorize({scope:'scope.writePhotosAlbum',success(){//这里是用户同意授权后的
- 别致如你
守望幸福_a029
很久以前为你拍的照片静静的躺在我的手机相册里久至不语。今天无意之中打开一看,看着虎头虎脑的你,想起与你有关的往事觉得特别有趣。借着回忆,借着你给予我的动力,为你写点什么吧。图片发自App记得去年春天的时候,我们在阅读与写作的路途上遇见。当时就被你聚光的小眼睛所吸引。刚开始你与别的同学相比较而言在课堂上的话不多,我一提问你就更是沉默寡言,甚至低着头生怕我发现你的存在了。当我讲到什么有趣的事情你偶尔为
- 感恩2018,喜迎2019
石成玉_d24e
新年伊始,合十问暖,淡茶一杯,相逢皆缘。图片发自App心作道场,不垢不净,聚散从容,不执去来。图片发自App岁月如流,道不尽人生的欢笑和悲伤。一道道风景,一段段故事,见证着我们的成长,书写着每一个人的不平凡。图片发自App翻开手机相册,满满的记忆,满满的幸福感,足以告诉我们,只有美好的才是值得我们去记忆的。那些忧伤烦恼,不必回望,该删除就删除吧。记录美好,学会珍惜和感恩。感恩所有的相遇和陪伴、关心
- h5 调用手机摄像头/相册
苦茶_12138
html部分js部分getBase64:function(file,callback){varmaxWidth=640if(file.files&&file.files[0]){varthisFile=file.files[0]//if(thisFile.size>524288){//this.showToast("图片不能超过512k!");//return;//}varreader=newFi
- 全职妈妈偶尔的悲伤
热爱的萝卜
想拍个全身照却发现没有人可以帮你相册里都是孩子们各种开心搞怪情绪不好不想给孩子读绘本可是没有人可以替你你要继续语态夸张开心的读想哭要先躲到厕所因为那里没人可以看到尤其是孩子发现厕所真的很棒的天堂很羡慕别人有人可以分担共同面对和解决每天很忙但是内心很孤单为什么就不可以负能量呢你看到的优秀和能干都不过是内心的强撑罢了谁不希望有个同伴但是亲爱的你的身后没有人只有你自己不可能改变别人但是可以足够取悦自己—
- 昨日青空,已是昨日
与烟
你有真心喜欢的东西,真好。图片发自App青春像是一场有去无回的风景,一页一页都印刻在我们脑海的相册之中,有欢乐,有悲伤。当我们身在其中时,会放任自己的情绪,不去珍惜,不去感受,肆意妄为。我们伤害了很多人,又或许在不经意间帮助了很多人,可能是一句话,一个动作,都为某些默默站在我们背后的目光留下了图片。那时的我们,放任时光流逝,明明我们都在,却没有过分地注意到,后来没有了后来。图片发自App回不去的风
- python计算机视觉第四章----照相机模型与增强现实
weixin_45154388
文章目录1、针孔照相机模型1.1照相机矩阵1.2三维点的投影1.3照相机矩阵的分解1.4照相机中心2、照相机标定3、以平面和标记物进行姿态估计4、增强现实4.1PyGame和PyOpenGL4.2从照相机矩阵到OpenGL格式4.3在图像中放置物体1、针孔照相机模型针孔照相机模型(有时称为射影照相机模型)是计算机视觉中广泛使用的照相机模型。对于大多数应用来说,针孔照相机模型简单,并且具有足够的精确
- 小狗钱钱3~自信怎样帮助你赚到钱?
快乐苹果_c94d
我又来了。昨天我们说到,第一步要为赚钱准备三样东西。一个是想变富的清单,梦想储蓄罐,梦想相册。并要在梦想相册里贴上你梦想的照片,每天看几次。梦想储蓄罐上贴上梦想标签,每天放进你的梦想基金。每天看几遍你的的梦想相册和变富清单,让你的梦想视觉化,并让你想变富的愿望更强烈。这些操作的要点是,一定要立即完成,最晚也要在72小时内完成。不要带着尝试的想法去做,你只有两个选择,做或者不做。这些只是初步的准备工
- 2个办法解决苹果手机怎么恢复删除30天以上的照片
m0_70960708
笔记智能手机
怎么恢复苹果手机30天内删除的照片为了防止苹果用户误删照片,iPhone公司为用户提供了一个反悔的机会,30天内可以恢复苹果手机删除的照片,在iOS8以上包括iOS8的系统中,相册里面有一个「最近删除」的相簿,可以在这里面恢复30天以内删除的照片。步骤1.打开苹果手机的相册,点击「相簿」,然后点击「最近删除」文件夹,查找不小心删除的照片。步骤2.选择需要恢复的照片,可以放大预览。步骤3.点击下方「
- 鸿蒙 如何将base64的图片保存到相册
艾勇杰
鸿蒙ArkTSharmonyos华为ArkTsbase64相册鸿蒙
把一个base64图片保存到鸿蒙手机相册中怎么实现呢?下面有2中方法方案一:可以通过安全控件「保存控件(SaveButton)」实现。该控件对应媒体库写入特权。应用集成保存控件后,用户点击该控件,应用会获取10秒内单次访问媒体库特权接口的授权。参考代码:import{photoAccessHelper}from'@kit.MediaLibraryKit';importfsfrom'@ohos.fi
- 【HarmonyOS NEXT】网络图片存储到相册中碰到的问题
Mayism123
harmonyos
【关键字】网络图片/存储到相册/fs.copyFile【问题描述】实现网络图片保存到相册推荐用什么API?已申请ohos.permission.WRITE_IMAGEVIDEO和ohos.permission.READ_IMAGEVIDEO权限。目前尝试的方案:第一步:下载图片到本地沙盒路径为:filePath方案一:leturi=awaitphAccessHelper.createAsset(p
- 抖音视频如何下载保存到相册:详细教程
Java搬砖组长
音视频
随着抖音的风靡,越来越多的人沉浸在短视频的世界中,观看各种搞笑、有趣、甚至感人的视频。很多用户都希望能够将喜欢的抖音视频保存到自己的手机相册中,方便随时观看或分享给朋友。本文将详细介绍如何下载抖音视频并保存到相册的方法。一、官方直接下载方法抖音本身就提供了一种简单直接的保存视频的方法,但仅适用于部分公开视频。打开抖音:确保你已经安装了最新版本的抖音应用,并登录你的账户。寻找你想下载的视频:在抖音的
- flutter之image_picker上传图片
执念1012
flutterflutterjavascript前端iosandroid
原文地址image_picker安装image_picker:^1.1.2使用我们获取到上传的照片后,将其转为base64编码的格式,方便后续使用//source:接收两种模式,相册和拍照finalpickedImage=await
- 给手机瘦身
千禾随笔
2019年12月9日星期一晴自从换了华为手机后,每次锁屏和相册里都会有很多自动更新的图片,刚开始还觉得蛮漂亮的,省了自己去搜罗那些美图,所以就没咋注意。随着手机内存逐渐减少,手机运行就会慢下来;加之每次在图库里找自己拍的照片,都要翻阅好一会儿,看的眼花缭乱的才能找到,感觉手机里都是那些和我无关的也不知哪儿来的那些美图。图片很漂亮,可是对我来说没啥意义,反而影响自己调取图库里自己需要的图片。两年多了
- 数据采集高并发的架构应用
3golden
.net
问题的出发点:
最近公司为了发展需要,要扩大对用户的信息采集,每个用户的采集量估计约2W。如果用户量增加的话,将会大量照成采集量成3W倍的增长,但是又要满足日常业务需要,特别是指令要及时得到响应的频率次数远大于预期。
&n
- 不停止 MySQL 服务增加从库的两种方式
brotherlamp
linuxlinux视频linux资料linux教程linux自学
现在生产环境MySQL数据库是一主一从,由于业务量访问不断增大,故再增加一台从库。前提是不能影响线上业务使用,也就是说不能重启MySQL服务,为了避免出现其他情况,选择在网站访问量低峰期时间段操作。
一般在线增加从库有两种方式,一种是通过mysqldump备份主库,恢复到从库,mysqldump是逻辑备份,数据量大时,备份速度会很慢,锁表的时间也会很长。另一种是通过xtrabacku
- Quartz——SimpleTrigger触发器
eksliang
SimpleTriggerTriggerUtilsquartz
转载请出自出处:http://eksliang.iteye.com/blog/2208166 一.概述
SimpleTrigger触发器,当且仅需触发一次或者以固定时间间隔周期触发执行;
二.SimpleTrigger的构造函数
SimpleTrigger(String name, String group):通过该构造函数指定Trigger所属组和名称;
Simpl
- Informatica应用(1)
18289753290
sqlworkflowlookup组件Informatica
1.如果要在workflow中调用shell脚本有一个command组件,在里面设置shell的路径;调度wf可以右键出现schedule,现在用的是HP的tidal调度wf的执行。
2.designer里面的router类似于SSIS中的broadcast(多播组件);Reset_Workflow_Var:参数重置 (比如说我这个参数初始是1在workflow跑得过程中变成了3我要在结束时还要
- python 获取图片验证码中文字
酷的飞上天空
python
根据现成的开源项目 http://code.google.com/p/pytesser/改写
在window上用easy_install安装不上 看了下源码发现代码很少 于是就想自己改写一下
添加支持网络图片的直接解析
#coding:utf-8
#import sys
#reload(sys)
#sys.s
- AJAX
永夜-极光
Ajax
1.AJAX功能:动态更新页面,减少流量消耗,减轻服务器负担
2.代码结构:
<html>
<head>
<script type="text/javascript">
function loadXMLDoc()
{
.... AJAX script goes here ...
- 创业OR读研
随便小屋
创业
现在研一,有种想创业的想法,不知道该不该去实施。因为对于的我情况这两者是矛盾的,可能就是鱼与熊掌不能兼得。
研一的生活刚刚过去两个月,我们学校主要的是
- 需求做得好与坏直接关系着程序员生活质量
aijuans
IT 生活
这个故事还得从去年换工作的事情说起,由于自己不太喜欢第一家公司的环境我选择了换一份工作。去年九月份我入职现在的这家公司,专门从事金融业内软件的开发。十一月份我们整个项目组前往北京做现场开发,从此苦逼的日子开始了。
系统背景:五月份就有同事前往甲方了解需求一直到6月份,后续几个月也完
- 如何定义和区分高级软件开发工程师
aoyouzi
在软件开发领域,高级开发工程师通常是指那些编写代码超过 3 年的人。这些人可能会被放到领导的位置,但经常会产生非常糟糕的结果。Matt Briggs 是一名高级开发工程师兼 Scrum 管理员。他认为,单纯使用年限来划分开发人员存在问题,两个同样具有 10 年开发经验的开发人员可能大不相同。近日,他发表了一篇博文,根据开发者所能发挥的作用划分软件开发工程师的成长阶段。
初
- Servlet的请求与响应
百合不是茶
servletget提交java处理post提交
Servlet是tomcat中的一个重要组成,也是负责客户端和服务端的中介
1,Http的请求方式(get ,post);
客户端的请求一般都会都是Servlet来接受的,在接收之前怎么来确定是那种方式提交的,以及如何反馈,Servlet中有相应的方法, http的get方式 servlet就是都doGet(
- web.xml配置详解之listener
bijian1013
javaweb.xmllistener
一.定义
<listener>
<listen-class>com.myapp.MyListener</listen-class>
</listener>
二.作用 该元素用来注册一个监听器类。可以收到事件什么时候发生以及用什么作为响
- Web页面性能优化(yahoo技术)
Bill_chen
JavaScriptAjaxWebcssYahoo
1.尽可能的减少HTTP请求数 content
2.使用CDN server
3.添加Expires头(或者 Cache-control) server
4.Gzip 组件 server
5.把CSS样式放在页面的上方。 css
6.将脚本放在底部(包括内联的) javascript
7.避免在CSS中使用Expressions css
8.将javascript和css独立成外部文
- 【MongoDB学习笔记八】MongoDB游标、分页查询、查询结果排序
bit1129
mongodb
游标
游标,简单的说就是一个查询结果的指针。游标作为数据库的一个对象,使用它是包括
声明
打开
循环抓去一定数目的文档直到结果集中的所有文档已经抓取完
关闭游标
游标的基本用法,类似于JDBC的ResultSet(hasNext判断是否抓去完,next移动游标到下一条文档),在获取一个文档集时,可以提供一个类似JDBC的FetchSize
- ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法
白糖_
ORA-12514
今天通过Oracle SQL*Plus连接远端服务器的时候提示“监听程序当前无法识别连接描述符中请求服务”,遂在网上找到了解决方案:
①打开Oracle服务器安装目录\NETWORK\ADMIN\listener.ora文件,你会看到如下信息:
# listener.ora Network Configuration File: D:\database\Oracle\net
- Eclipse 问题 A resource exists with a different case
bozch
eclipse
在使用Eclipse进行开发的时候,出现了如下的问题:
Description Resource Path Location TypeThe project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.&
- 编程之美-小飞的电梯调度算法
bylijinnan
编程之美
public class AptElevator {
/**
* 编程之美 小飞 电梯调度算法
* 在繁忙的时间,每次电梯从一层往上走时,我们只允许电梯停在其中的某一层。
* 所有乘客都从一楼上电梯,到达某层楼后,电梯听下来,所有乘客再从这里爬楼梯到自己的目的层。
* 在一楼时,每个乘客选择自己的目的层,电梯则自动计算出应停的楼层。
* 问:电梯停在哪
- SQL注入相关概念
chenbowen00
sqlWeb安全
SQL Injection:就是通过把SQL命令插入到Web表单递交或输入域名或页面请求的查询字符串,最终达到欺骗服务器执行恶意的SQL命令。
具体来说,它是利用现有应用程序,将(恶意)的SQL命令注入到后台数据库引擎执行的能力,它可以通过在Web表单中输入(恶意)SQL语句得到一个存在安全漏洞的网站上的数据库,而不是按照设计者意图去执行SQL语句。
首先让我们了解什么时候可能发生SQ
- [光与电]光子信号战防御原理
comsci
原理
无论是在战场上,还是在后方,敌人都有可能用光子信号对人体进行控制和攻击,那么采取什么样的防御方法,最简单,最有效呢?
我们这里有几个山寨的办法,可能有些作用,大家如果有兴趣可以去实验一下
根据光
- oracle 11g新特性:Pending Statistics
daizj
oracledbms_stats
oracle 11g新特性:Pending Statistics 转
从11g开始,表与索引的统计信息收集完毕后,可以选择收集的统信息立即发布,也可以选择使新收集的统计信息处于pending状态,待确定处于pending状态的统计信息是安全的,再使处于pending状态的统计信息发布,这样就会避免一些因为收集统计信息立即发布而导致SQL执行计划走错的灾难。
在 11g 之前的版本中,D
- 快速理解RequireJs
dengkane
jqueryrequirejs
RequireJs已经流行很久了,我们在项目中也打算使用它。它提供了以下功能:
声明不同js文件之间的依赖
可以按需、并行、延时载入js库
可以让我们的代码以模块化的方式组织
初看起来并不复杂。 在html中引入requirejs
在HTML中,添加这样的 <script> 标签:
<script src="/path/to
- C语言学习四流程控制if条件选择、for循环和强制类型转换
dcj3sjt126com
c
# include <stdio.h>
int main(void)
{
int i, j;
scanf("%d %d", &i, &j);
if (i > j)
printf("i大于j\n");
else
printf("i小于j\n");
retu
- dictionary的使用要注意
dcj3sjt126com
IO
NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:
user.user_id , @"id",
user.username , @"username",
- Android 中的资源访问(Resource)
finally_m
xmlandroidStringdrawablecolor
简单的说,Android中的资源是指非代码部分。例如,在我们的Android程序中要使用一些图片来设置界面,要使用一些音频文件来设置铃声,要使用一些动画来显示特效,要使用一些字符串来显示提示信息。那么,这些图片、音频、动画和字符串等叫做Android中的资源文件。
在Eclipse创建的工程中,我们可以看到res和assets两个文件夹,是用来保存资源文件的,在assets中保存的一般是原生
- Spring使用Cache、整合Ehcache
234390216
springcacheehcache@Cacheable
Spring使用Cache
从3.1开始,Spring引入了对Cache的支持。其使用方法和原理都类似于Spring对事务管理的支持。Spring Cache是作用在方法上的,其核心思想是这样的:当我们在调用一个缓存方法时会把该方法参数和返回结果作为一个键值对存放在缓存中,等到下次利用同样的
- 当druid遇上oracle blob(clob)
jackyrong
oracle
http://blog.csdn.net/renfufei/article/details/44887371
众所周知,Oracle有很多坑, 所以才有了去IOE。
在使用Druid做数据库连接池后,其实偶尔也会碰到小坑,这就是使用开源项目所必须去填平的。【如果使用不开源的产品,那就不是坑,而是陷阱了,你都不知道怎么去填坑】
用Druid连接池,通过JDBC往Oracle数据库的
- easyui datagrid pagination获得分页页码、总页数等信息
ldzyz007
var grid = $('#datagrid');
var options = grid.datagrid('getPager').data("pagination").options;
var curr = options.pageNumber;
var total = options.total;
var max =
- 浅析awk里的数组
nigelzeng
二维数组array数组awk
awk绝对是文本处理中的神器,它本身也是一门编程语言,还有许多功能本人没有使用到。这篇文章就单单针对awk里的数组来进行讨论,如何利用数组来帮助完成文本分析。
有这么一组数据:
abcd,91#31#2012-12-31 11:24:00
case_a,136#19#2012-12-31 11:24:00
case_a,136#23#2012-12-31 1
- 搭建 CentOS 6 服务器(6) - TigerVNC
rensanning
centos
安装GNOME桌面环境
# yum groupinstall "X Window System" "Desktop"
安装TigerVNC
# yum -y install tigervnc-server tigervnc
启动VNC服务
# /etc/init.d/vncserver restart
# vncser
- Spring 数据库连接整理
tomcat_oracle
springbeanjdbc
1、数据库连接jdbc.properties配置详解 jdbc.url=jdbc:hsqldb:hsql://localhost/xdb jdbc.username=sa jdbc.password= jdbc.driver=不同的数据库厂商驱动,此处不一一列举 接下来,详细配置代码如下:
Spring连接池  
- Dom4J解析使用xpath java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
xp9802
用Dom4J解析xml,以前没注意,今天使用dom4j包解析xml时在xpath使用处报错
异常栈:java.lang.NoClassDefFoundError: org/jaxen/JaxenException异常
导入包 jaxen-1.1-beta-6.jar 解决;
&nb