- 继续《时光音乐会》
湘梅子
平安夜,与我无关。晚饭后陪孙子玩,直到他入睡。回家,看期待的周五《时光音乐会》。今天的庄主是郁可唯。出道十多年,竟然为影视唱了八十多首歌。她的歌声很温暖,有时还很空灵,声音处理很细腻,听起来很享受。原来《知否,知否》是她原唱,当时电视剧很火,歌我也学会了。我也喜欢她的《路过人间》歌友们谈笑风生,我这个观众也不时会心笑着。每次看完这个节目,总是意犹未尽。也只有这个节目,我先生有兴趣跟我一起看完,还总
- 红手套节 马小媛为中国城市环卫者公益发声:今天我手红
疏狂君
#红手套节#公益活动,线头公益以及同多方资源的共同努力我们邀请到了线头公益大使马小媛马小媛,1993年5月3日出生于江苏省南京市,中国内地新生代女演员。2015年马小媛参演网剧《余罪》,饰演警校校花安嘉璐的闺蜜。2016年马小媛主演系列电影《丽人保镖》中女一号林欢馨,正式出道。此后,马小媛陆续接演了电视剧《警花与警犬2》,在网剧《你美丽李美丽》中担任女主角李美丽。拂晓,当你还在睡梦中时,这座城跟你
- 2023.5.10 周三 早7:38
努力逆流而上
榜样的力量前一段时间追一个《一生一世》的电视剧,脑残剧,但居中的周生辰,稳重。润玉一般的性格,坚持着10年如一日的自律习惯,养成的性格也是这样温文尔雅,虽然是剧中塑造,但我感觉现实中一定是有的,让我觉得人生就是这样的修行,自律不是强迫自己,是形成的习惯,坚持的习惯!结果五一回家,太无聊,看了韩剧的《继承者》让孩子也跟着一起看手机,昨天跑了步,但发现没有很快乐,不知道起的太晚还是怎么着,7点的大街上
- 改变的魔力
墨泉书院
我的师父王金宪教导我说:“我们总是在努力创造一个自己所认为的世界。”昨天下午紫羽轩会员课前,有一个妈妈满脸幸福的给我们分享了她改变,老公跟着改变的故事。她说她跟老公特别相爱,但是在教育孩子的问题上分歧不断,他认为做为父亲,老公就应该成为孩子的榜样,晚上下班回到家,不能看电视,而是去学习读书,提升自己,让孩子看到自己的爸爸是一个多么积极向上的人,这样子当爸爸才合格么。听了她的分享,我在心里说,曾经我
- 记录幸福(三月)
杨芸
3月6日中午,匆匆忙忙与老爸和三妹在高铁站候车厅见了一面,两个南瓜包传递了亲人间的爱,那一刻好幸福好满足。他们进站后,我带着离别的忧伤,走到出口,突然想起朵儿喜欢吃的奥尔良鸡腿煲,便折回去,买了她和我,还有朵爸各自喜爱的。以前和亲人每次分开,都要难过许久,那天我竟然突然明白了一个道理,正因为爱家人,所以要让自己过的更开心更舒适,才能长寿,有更多的时间去爱他们。而不是忧心忡忡的过日子哦。最爱的家人回
- 抱怨很廉价,别做空想家
Fang2023
今天在整理浏览器收藏夹的时候,看到一个很多年前保存的一个网页,上面是一支央视公益广告的视频,《我创故我在》。思绪一下子回到了好几年前。还记得第一次无意中在电视上看到这支广告,喜悦之情溢于言表。抱怨很廉价,别做空想家,这句歌词尤其喜欢。听着歌曲,仿佛那时候的潮气蓬勃、意气风发,又回来了,即使此时感到疲惫。【公益】央视公益广告歌曲《我创故我在》_腾讯视频
- 当你看不惯的东西越来越多时,证明你老了!
书影斑斓的简书
看国产电视剧,看到那些小鲜肉扮嫩耍酷面瘫的演技时,我总有一种冲进屏幕痛打对方一顿的冲动。什么玩意儿?!但是,多年训练出来的对方视角看问题的能力,又让我可以理智下来,思考其中的合理性。一部影视剧的投资人、导演不是看不出这些小鲜肉的白痴演技,但之所以依然启用这些油头粉面的小鲜肉,就是因为他们能带来无数年轻粉丝的追捧,进而带来收视率和收益。资本天然逐利,影视剧本来就是资本运作的产物罢了。你看不惯这些小鲜
- 黄丽红日精进98/105
做自己小太阳
感恩感恩今日份的拍照ing感恩今日份电视重新可以看感恩妹妹帮忙晾衣服感恩在路上的自己感恩我的朋友们和家人见1.今日份看了胡歌的一个节目,2010年的,10年之前,他的真实和有爱感动了我,不愧是我喜欢的胡歌2.今日份每日一练终于自己开始了调整后计划,流行病也开始复习,一切在路上3.妆容精致心情没好,在家注意收拾自己,画个淡妆最起码要精神面貌佳,回村后的我已经很像大妈了!!!感1.自己也是一个温暖的人
- DVBS 卫星波段 设置
晨春计
TVAndroidTVandroid
目录背景DVBS介绍LNB(LowNoiseBlock)LNBC(LowNoiseBlockController)Tuner接收频率范围卫星波段范围卫星波段降频Ku波段降频C波段降频码流机和DVBS菜单设置背景不经常使用DVBS频率设置,容易忘记,整理如下。DVBS介绍在DVBS/S2信号通过同轴线进入电视/机顶盒的同时,LNBC会通过同轴线向外输出0/22K,13V/18V等信号,以控制LNB的
- 《教育信息化2.0素养提升》思考与总结———2019兴成长4⃣️班
宁都5940李娟
迎来了美好的假期生活。你可以放松。但是不可以向自己的惰性妥协。你决定不了太阳几点升起,但你可以决定你何时起床。暑假前一个星期很喜欢这样的生活。上午逛逛超市,中午陪爸妈吃饭。下午午觉或者看看书。洗洗衣服干干活。晚上七点钟开始去上课。晚上回来看看电视。熬夜、这样的生活。没有压力。没有目的。没有成果。看似乎一切都可以。这样的生活最多只能过一个星期。暑假的第一个星期学校就开始安排个为教师的素养提升以及自身
- 独家收藏:《咬文嚼字》“十大语文差错”3
海滨公园
独家收藏:《咬文嚼字》“十大语文差错”32008年版《咬文嚼字》“十大语文差错”目录1.电视中引用名言经常读错的字是:“有朋自远方来,不亦乐乎”的“乐”。2.社会热词容易读错的是:三聚氰胺。3.高考作文中的高频别字是:“震撼”误为“震憾”。4.旅游景点说明牌的常见别字是:“故里”误为“故裏”。5.新闻报道中容易混淆的词是:狙击/阻击。6.社会机构称谓中容易混淆的词是:营利/盈利。7.出版物上容易用
- 等待是一种煎熬
静待花开202004
老妈住院4天了,整天到处疼,让她做个全面检查。自己在医院待了4天了,想想她也挺煎熬的,不让陪护,病房就她自己,而且她又笨,不会开电视。也挺无聊的。预约今天下午做胃肠镜,因为今天省里专家来坐诊。大早上6点就开始清肠,6点到10点4个小时,每隔一小时喝一大碗泻药。泻的昏天暗地的。11点多给她打电话,问她怎么样。她说泻完了,没事了。刚才晕得不行,一量血压高,吃了降压药就没事了。下午两点半开始做胃肠镜,我
- 周末和孩子说的
被抛在地球的脑洞星人
一般家长说的最多的就是:作业写完了没有?怎么又在看手机(电脑、电视、小说等)搞快点,搞完了周日要去学校了上周考试没成绩咋样?
- 《女子监狱》系列,Netflix自此走上牛B之路
IMTVS_cc
文|温水排版|不二今天小编要给大家推荐的是让Netflix大方打上“原创剧集”这个牛气标签,也让HBO这些老牌电视网倒吸一口凉气的美剧《女子监狱》。剧集播出后,IMDB得分在9分徘徊,媒体评价持续走高。从收视率及口碑上来看,《女子监狱》是网飞当之无愧的王牌,自上线以来斩获金球奖等重要奖项6次、提名19次,网络话题数不胜数。《女子监狱》的英文原名是“Orangeisthenewblack”,直译过来
- 一份特殊的礼物–日记 041
艳艳秦
非常时期,无法走出门回娘家,但电话聊天是每天必不可少的项目之一。早饭后,跟老娘电话聊天了近半个小时,老娘是一个七十多岁、身体硬朗、意志坚定的老太太,是一个生活非常规律的人。每天三顿饭,虽是简简单单,但都是按正常就餐点吃,每天都要看会书、磕会瓜子,晚上看会电视,这几天迷恋诗词大会,告诉我虽然记不住多少,但整个观看的过程是非常的开心,坐在家里浏览祖国的大好河山(因为今年的诗词大会上添加了身临其境题)。
- 一路有你的美好Day525
果果儿guoguo132328
我的赞美日记:1.赞美自己完成早读后有多余时间就独自读了会儿书,早晨的时光可真宝贵呀!2.赞美自己开完一个会马不停蹄开下一个,这一天就开了四个会,我的腰还蛮坚强的。3.赞美自己对我的办公室特别有感情,上班时间一天不去就会想念。4.赞美自己难得和先生有一起下班的时光,于是去永辉超市各种买买买,久哥一直督促我们买买买,豪气。5.赞美自己和家人一起看了看电视。我的感恩日记:1.感恩公公悄悄就把久哥送去上
- 无法重来的一生
chun子
人的一生,是生不带来死不带去的一生。我们在亲人的欢笑声中诞生,又在亲人的悲伤中离去。我们无法控制自己的生与死,多数人到了年迈的时候才能体会到健康长寿比荣华富贵更重要。人就一生,我们都希望自己有个幸福的家,每天都是个快乐的人。但在生活中,不是一切都尽人意,可是有什么好看不开的?烦恼忧愁,恩恩怨怨几十年后都会随生命而烟消云散。人的一生,只要我们不丧失对生活的信心,对理想的追求,做你想做的,爱你想爱的。
- 时光再快,也不如你笑靥如花!
安安萌
老婆,你怎么又在看《父母爱情》,看了多少遍了有意思吗?”老公风尘仆仆下班回家之后看见我又边吃边看电视剧就开始絮絮叨叨的没完。而我呢,他说他的,我看我的,被逼无奈他也只能坐下来陪我一起看!我喜欢这个电视剧,记有深刻印象的是,在《父母爱情》中郭涛饰演的江德福,梅婷饰演的安杰,在决定送大儿子卫国去当兵后,江德福和安杰两个人散步去海边的时候,海风吹拂着安杰恬静的脸庞,江德福眼中满含爱意说:“老婆子还是老婆
- 吃不了读书的苦,只能吃更多生活的苦
海一样的脾气
《少年派》即将大结局,电视也真真实实的还原了高考前学生冲刺的状态,全力以赴的学子们为了上课不瞌睡,自觉站在教室后排听课,课间走廊里走动着背书的人群,看到这些画面我眼睛有些湿润,曾经的高三生活重现眼前,艺术来源于生活而高于生活,演的很好,曾经刻苦学习的同学获得了相应的回报,进入更高更好的学府深造,进而开启不一样的人生,曾经不知学习为何物的同学们,而今也许在用生活的苦偿还曾经的偷过的懒。早几年的时候网
- 2021-09-19
涵子妈
结缘“”第一天:2021.09.19(泰山脚下)今天是中秋放假第一天,从早晨醒来窗外就在下雨,几个小时了依旧不紧不慢在下,无法外出,只能闷在家。在天津上大三的儿子只有三天假,在学校过节了,我们七零后几乎家家是独生子,孩子不在家,老两口也无话,一个看电视,一个玩手机,各忙各的,雨天让人诗意,想写点东西,忽然想到喜欢写作,能否靠此挣点零花?百度后,结识选择了“”,上面的挑战日更正适合,一来能满足我爱写
- 俄罗斯双城游记2——涅瓦河畔的漫步
NostalgiaFe
冬宫的奢靡的确是让我瞠目结舌,无法想象曾经的沙皇贵族过着多么纸醉金迷的生活,但是,当这电视上、媒体上出现过无数次的绿色宫殿开始直接冲击我的视野的时候,我心中竟然涌现出一股莫名的陌生感。毕竟,自己亲眼看见,才能够真正体会到每一个细节带来的心灵的涤荡。最为直击心灵的,想必是那个书房了吧,一见钟情的感觉,就是这样。我第一眼看到这个书房,我就想将来在自己的家中,复刻出来,让自己拥有一个自己的书籍的宫殿,自
- 懒人油泼面,治愈一切
惠顾星辰
图片发自App说起油泼面,自然会想到电视剧《白鹿原》里的一个场景,一个和主线剧情关系不大的小细节,这个细节的主角就是一碗热气腾腾的油泼面。剧情中,秦海璐下厨为张嘉译做油泼面,做面的过程应该是正宗的陕西古法,面宽油香,热油泼在面上的一刹那,随着“刺啦”的一声,香气仿佛冲破屏幕,萦绕在观众身旁,让观众们纷纷在弹幕中留下:“油泼面来了,流口水啊”、“看饿了想吃”等留言。一部《白鹿原》,连带着火了陕西油泼
- 2019.12.29
3edc4fc38269
今天周日终于可以懒床了,八点了,小淏淏自己穿衣服起来了,还给我说你再睡会吧,我睡不着了,我自己起来玩。可捞着周末了,玩具现在全部进柜子里了,自己不知道玩什么了。时间长了电视都不知道看了。让他默写拼音,到现在韵母竟然还能掉两三个,这马上要期末考试了,还丢三落四的,我对他的期末考试没有信心了。就睡觉比较听话,趟床上一会就睡着了,上学时候还不懒床,一叫就起来,这个习惯挺好。今天从舞蹈课回来,看我打针还问
- 远离导致贫穷的习惯
小强聊成长
书籍:富有的习惯01.投机追求不劳而获的人,及时获得了一时的运气,长期来看,还是会陷入贫穷状态。那些长期买彩票的都是没钱的人。02.过度饮酒醉酒会影响脑细胞中神经传导接收器的工作,长期过度饮酒,会导致反应迟钝。影响人的记忆力和思考能力。03.过度沉迷于电视节目穷人靠电视剧打发时间,现在互联网时代,刷手机视频,就像是毒品,吸引着人们不断的刷。大量的时间都花在上面。04.消极心态想法消极的人,很难正视
- 那些口口声声说自己没要求的大龄女性,才是真正“要求高”的人!
早安收信人
本文由【早安收信人】原创点击右上角加“关注”,每天都能收到文章推送!还记得《亲爱的,热爱的》热播时,很多女生被李现饰演的韩商言圈粉,除了他英俊多金的身份外,他对佟年的一往情深和专一,尤其在他说:“我的小孩,我担待时”,那种肯定跟宠溺,会让每个情窦初开的女生沦陷。电视剧中有很多细节,代表了韩商言对佟年的爱,这个不太会表达甚至表面冷冰冰的男人用他自己的方式,守护他喜欢的女孩。韩商言之所以被“追捧”,就
- 心得随笔小记
GuangHui
1.人要想把一件事情做好,往往需要分两步,第一步是让自己处于可以把事情做好的状态,第二步才是把事情做好。当你不在状态,不想做事时,你此时需要做的不是硬着头皮继续做,而是应该调整一下姿势,做一些放松休息的事情,以让自己的状态重新在线。唯有这样,你才能持续做好一件事。2.遇见一个正确的远远高于你认知的人,就像是为自己的世界开了一个天窗一样。电视剧《天道》里面,肖亚文关于丁元英如是说,不求和他做朋友,但
- 2019-08-27
苏苏女孩
时常会想起童年时的天真无邪,更多的是感慨少年时的懵懂无知。从我的少年时期就开始我这一生叛逆的行事和代价。那时候的电视播放的电影是蛊惑仔,最火的电视剧是流星花园。我和我的朋友时常羡慕古惑仔里面的主角,他们放浪不羁,无拘无束。也幻想自己跟杉菜一样有个高大帅气的富二代男友。蹦迪、喝酒、抽烟让我们的生活充满伪激情,夜不归宿成了家常便饭。父母的苦口婆心让我们厌烦,父母的苛责打骂成了我们离家出走的借口,不懂反
- 我与新媒体
小富yyd
1.我对新媒体的认识我对新媒体的认识就是比如传统媒体、网络媒体、移动端媒体、数字电视、数字报刊。新媒体则是通过现代化移动互联网手段,通过微信、微博等新兴媒体平台进行营销、宣传、推广等的一系列运营活动。新媒体可分为广义和狭义两个方面来理解。广义:新媒体可以看作在各种数字技术和网络技术支持下,以互联网、宽带局域网和无线通信网等为渠道,利用计算机、手机和数字电视等各种网络终端,向用户提供信息和娱乐服务的
- 11.20晨间感恩日记
夜宁
1.今天周六,但是其实也没有什么周末的概念了,无非是早上起来冥想,洗漱,喂猫,吃饭,刷碗,扫地墩地,顺便看看最近热播的电视剧,然后就10点钟了。虽然日常流程是这个样子,仿若每天都是一个样子,但是生活还是可以觉得很有意思。比如冥想的时候,虽然断了一阵子,但是再度开始的时候会清晰的发现冥想会让自己静下来,也更能明了自己想要的是什么,不至于浑浑噩噩,什么都想抓到。早上的空气很是清凉,出了院子,不自觉的就
- 重启生活从剃胡子开始
往后余生_77dc
熬到凌晨两三点睡觉,一觉醒来已是中午。吃完午饭回房间,游戏、短视频、电视剧,总之各种嗨。到六点吃过晚饭回房间继续。已经记不得多久没吃过早饭了,吃早饭这件事已经成了很久以前的事情。在封闭的空间里自闭。只有游戏、热剧才能让我兴奋,再此之外只有漠然,对一切的漠然。有种自己不是自己的感觉,无力又茫然失措。眼睛发红发肿,胡子长到不好意思外出示人的地步。桌上满是灰尘,还有各种死去的无名小虫的或绿或黑的尸骸。垃
- 矩阵求逆(JAVA)初等行变换
qiuwanchi
矩阵求逆(JAVA)
package gaodai.matrix;
import gaodai.determinant.DeterminantCalculation;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* 矩阵求逆(初等行变换)
* @author 邱万迟
*
- JDK timer
antlove
javajdkschedulecodetimer
1.java.util.Timer.schedule(TimerTask task, long delay):多长时间(毫秒)后执行任务
2.java.util.Timer.schedule(TimerTask task, Date time):设定某个时间执行任务
3.java.util.Timer.schedule(TimerTask task, long delay,longperiod
- JVM调优总结 -Xms -Xmx -Xmn -Xss
coder_xpf
jvm应用服务器
堆大小设置JVM 中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制;系统的可用虚拟内存限制;系统的可用物理内存限制。32位系统下,一般限制在1.5G~2G;64为操作系统对内存无限制。我在Windows Server 2003 系统,3.5G物理内存,JDK5.0下测试,最大可设置为1478m。
典型设置:
java -Xmx
- JDBC连接数据库
Array_06
jdbc
package Util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class JDBCUtil {
//完
- Unsupported major.minor version 51.0(jdk版本错误)
oloz
java
java.lang.UnsupportedClassVersionError: cn/support/cache/CacheType : Unsupported major.minor version 51.0 (unable to load class cn.support.cache.CacheType)
at org.apache.catalina.loader.WebappClassL
- 用多个线程处理1个List集合
362217990
多线程threadlist集合
昨天发了一个提问,启动5个线程将一个List中的内容,然后将5个线程的内容拼接起来,由于时间比较急迫,自己就写了一个Demo,希望对菜鸟有参考意义。。
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
public c
- JSP简单访问数据库
香水浓
sqlmysqljsp
学习使用javaBean,代码很烂,仅为留个脚印
public class DBHelper {
private String driverName;
private String url;
private String user;
private String password;
private Connection connection;
privat
- Flex4中使用组件添加柱状图、饼状图等图表
AdyZhang
Flex
1.添加一个最简单的柱状图
? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?xml version=
"1.0"&n
- Android 5.0 - ProgressBar 进度条无法展示到按钮的前面
aijuans
android
在低于SDK < 21 的版本中,ProgressBar 可以展示到按钮前面,并且为之在按钮的中间,但是切换到android 5.0后进度条ProgressBar 展示顺序变化了,按钮再前面,ProgressBar 在后面了我的xml配置文件如下:
[html]
view plain
copy
<RelativeLa
- 查询汇总的sql
baalwolf
sql
select list.listname, list.createtime,listcount from dream_list as list , (select listid,count(listid) as listcount from dream_list_user group by listid order by count(
- Linux du命令和df命令区别
BigBird2012
linux
1,两者区别
du,disk usage,是通过搜索文件来计算每个文件的大小然后累加,du能看到的文件只是一些当前存在的,没有被删除的。他计算的大小就是当前他认为存在的所有文件大小的累加和。
- AngularJS中的$apply,用还是不用?
bijian1013
JavaScriptAngularJS$apply
在AngularJS开发中,何时应该调用$scope.$apply(),何时不应该调用。下面我们透彻地解释这个问题。
但是首先,让我们把$apply转换成一种简化的形式。
scope.$apply就像一个懒惰的工人。它需要按照命
- [Zookeeper学习笔记十]Zookeeper源代码分析之ClientCnxn数据序列化和反序列化
bit1129
zookeeper
ClientCnxn是Zookeeper客户端和Zookeeper服务器端进行通信和事件通知处理的主要类,它内部包含两个类,1. SendThread 2. EventThread, SendThread负责客户端和服务器端的数据通信,也包括事件信息的传输,EventThread主要在客户端回调注册的Watchers进行通知处理
ClientCnxn构造方法
&
- 【Java命令一】jmap
bit1129
Java命令
jmap命令的用法:
[hadoop@hadoop sbin]$ jmap
Usage:
jmap [option] <pid>
(to connect to running process)
jmap [option] <executable <core>
(to connect to a
- Apache 服务器安全防护及实战
ronin47
此文转自IBM.
Apache 服务简介
Web 服务器也称为 WWW 服务器或 HTTP 服务器 (HTTP Server),它是 Internet 上最常见也是使用最频繁的服务器之一,Web 服务器能够为用户提供网页浏览、论坛访问等等服务。
由于用户在通过 Web 浏览器访问信息资源的过程中,无须再关心一些技术性的细节,而且界面非常友好,因而 Web 在 Internet 上一推出就得到
- unity 3d实例化位置出现布置?
brotherlamp
unity教程unityunity资料unity视频unity自学
问:unity 3d实例化位置出现布置?
答:实例化的同时就可以指定被实例化的物体的位置,即 position
Instantiate (original : Object, position : Vector3, rotation : Quaternion) : Object
这样你不需要再用Transform.Position了,
如果你省略了第二个参数(
- 《重构,改善现有代码的设计》第八章 Duplicate Observed Data
bylijinnan
java重构
import java.awt.Color;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Label;
import java.awt.TextField;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusE
- struts2更改struts.xml配置目录
chiangfai
struts.xml
struts2默认是读取classes目录下的配置文件,要更改配置文件目录,比如放在WEB-INF下,路径应该写成../struts.xml(非/WEB-INF/struts.xml)
web.xml文件修改如下:
<filter>
<filter-name>struts2</filter-name>
<filter-class&g
- redis做缓存时的一点优化
chenchao051
redishadooppipeline
最近集群上有个job,其中需要短时间内频繁访问缓存,大概7亿多次。我这边的缓存是使用redis来做的,问题就来了。
首先,redis中存的是普通kv,没有考虑使用hash等解结构,那么以为着这个job需要访问7亿多次redis,导致效率低,且出现很多redi
- mysql导出数据不输出标题行
daizj
mysql数据导出去掉第一行去掉标题
当想使用数据库中的某些数据,想将其导入到文件中,而想去掉第一行的标题是可以加上-N参数
如通过下面命令导出数据:
mysql -uuserName -ppasswd -hhost -Pport -Ddatabase -e " select * from tableName" > exportResult.txt
结果为:
studentid
- phpexcel导出excel表简单入门示例
dcj3sjt126com
PHPExcelphpexcel
先下载PHPEXCEL类文件,放在class目录下面,然后新建一个index.php文件,内容如下
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
if (PHP_SAPI == 'cli')
die('
- 爱情格言
dcj3sjt126com
格言
1) I love you not because of who you are, but because of who I am when I am with you. 我爱你,不是因为你是一个怎样的人,而是因为我喜欢与你在一起时的感觉。 2) No man or woman is worth your tears, and the one who is, won‘t
- 转 Activity 详解——Activity文档翻译
e200702084
androidUIsqlite配置管理网络应用
activity 展现在用户面前的经常是全屏窗口,你也可以将 activity 作为浮动窗口来使用(使用设置了 windowIsFloating 的主题),或者嵌入到其他的 activity (使用 ActivityGroup )中。 当用户离开 activity 时你可以在 onPause() 进行相应的操作 。更重要的是,用户做的任何改变都应该在该点上提交 ( 经常提交到 ContentPro
- win7安装MongoDB服务
geeksun
mongodb
1. 下载MongoDB的windows版本:mongodb-win32-x86_64-2008plus-ssl-3.0.4.zip,Linux版本也在这里下载,下载地址: http://www.mongodb.org/downloads
2. 解压MongoDB在D:\server\mongodb, 在D:\server\mongodb下创建d
- Javascript魔法方法:__defineGetter__,__defineSetter__
hongtoushizi
js
转载自: http://www.blackglory.me/javascript-magic-method-definegetter-definesetter/
在javascript的类中,可以用defineGetter和defineSetter_控制成员变量的Get和Set行为
例如,在一个图书类中,我们自动为Book加上书名符号:
function Book(name){
- 错误的日期格式可能导致走nginx proxy cache时不能进行304响应
jinnianshilongnian
cache
昨天在整合某些系统的nginx配置时,出现了当使用nginx cache时无法返回304响应的情况,出问题的响应头: Content-Type:text/html; charset=gb2312 Date:Mon, 05 Jan 2015 01:58:05 GMT Expires:Mon , 05 Jan 15 02:03:00 GMT Last-Modified:Mon, 05
- 数据源架构模式之行数据入口
home198979
PHP架构行数据入口
注:看不懂的请勿踩,此文章非针对java,java爱好者可直接略过。
一、概念
行数据入口(Row Data Gateway):充当数据源中单条记录入口的对象,每行一个实例。
二、简单实现行数据入口
为了方便理解,还是先简单实现:
<?php
/**
* 行数据入口类
*/
class OrderGateway {
/*定义元数
- Linux各个目录的作用及内容
pda158
linux脚本
1)根目录“/” 根目录位于目录结构的最顶层,用斜线(/)表示,类似于
Windows
操作系统的“C:\“,包含Fedora操作系统中所有的目录和文件。 2)/bin /bin 目录又称为二进制目录,包含了那些供系统管理员和普通用户使用的重要
linux命令的二进制映像。该目录存放的内容包括各种可执行文件,还有某些可执行文件的符号连接。常用的命令有:cp、d
- ubuntu12.04上编译openjdk7
ol_beta
HotSpotjvmjdkOpenJDK
获取源码
从openjdk代码仓库获取(比较慢)
安装mercurial Mercurial是一个版本管理工具。 sudo apt-get install mercurial
将以下内容添加到$HOME/.hgrc文件中,如果没有则自己创建一个: [extensions] forest=/home/lichengwu/hgforest-crew/forest.py fe
- 将数据库字段转换成设计文档所需的字段
vipbooks
设计模式工作正则表达式
哈哈,出差这么久终于回来了,回家的感觉真好!
PowerDesigner的物理数据库一出来,设计文档中要改的字段就多得不计其数,如果要把PowerDesigner中的字段一个个Copy到设计文档中,那将会是一件非常痛苦的事情。