- 2023-11-07
生生ovo
残阳退幕,我们披上星光指尖划动别样的梦。青春不止于黑笔答案,红笔批改,大胆些,我们在操场挥洒汗水,浸透衬衫,抓一把云彩填满自己彩色的梦,揽一袋群星,照亮夜晚屋内的挑灯夜读,自私点,若嫌星星不够亮,肆意去争夺月亮,它不属于任何人,它属于任何青春正轻狂,年少正狂妄的才子佳人。
- 2023-11-07
老隋头
《故事里的人生》263“煮豆燃豆萁”与“种瓜黄台下”“煮豆燃豆萁”的故事,发生在三国时代。故事说,魏武帝曹操去世后,其长子曹丕继位,称魏文帝。文帝是一个疑心很重的人,他非常嫉妒三弟曹植的才华并担心他会篡夺自己的皇位,因此,总想找个借口除掉他。有一天,文帝把曹植叫到朝堂上,对他说:“都说你才思敏捷,能随口吟诗,今天你就让众大臣见识见识,展示一下你的才华。我命你以兄弟关系为题做一首诗,但诗中不能有哥兄
- 2023-11-07
我就是女王822
见鬼,我已经不会写文章了。前两天给帅宝下载小时候的照片,打开五年前的朋友圈,那时候刚开始写公号,且不说公号里面的文章,就是日常发朋友圈的文字也很有灵气,但现在除了广告,好久不发朋友圈了,公号的更新更是荒废了。这中间发生了一些事情,有些是险些要了老命的,有些是鸡毛蒜皮的,但都很消耗人。为了生活,重返过职场,又几进几出,后来发现,你逃无可逃,只要你活着,不管在哪里,都会遇到你不喜欢的人和事。转型之路很
- 2023-11-07【15901】张驰
850d7ede848f
1.一段时间的紧张后,要放松下来,让各器官能有个放松的过程,全程紧了,很容易失去弹性,失去应有的功能,工作也一样,10月来到23号一直都是在紧张的工作,明显地感觉身体提出的抗议,后缓了几天才觉得缓过来,放松,是为了更好的工作。2.看到好看的风景照时,就想出去转转,心灵也是一样,时常放下风,让灵气进来3.生活有诸多不易,不管怎样,还得继续,抓住自已想要的,不要太在意别人的评价,去做想做的事,见想见的
- 2023-11-07
岁月静好_9afd
焦点解决短期治疗强调,治疗师与当事人是共同建构解决之前的。也就是说我们一直在述说的,当事人是自身问题的专家,而咨询师是协助当事人成为他自身问题专家的专家,所以焦点解决的咨询师是双专家模式,共同合作的模式,我们陪着他,让他成为自身问题的专家,让他能更好的解决自身问题,所以是共同建构,而非是单方面助人者给他出主意,给他支招想办法,不是这样的。
- 2023-11-07
西西弗斯推煤球
如果30岁的你还在为30块钱的打车费而犹豫不决的时候,你需要反思一下自己。这么些年努力工作了吗?有赚到钱吗?当看到这则营销号洗脑般的问话时,我知道自己应该放下手机了。30块钱、30岁,到底应该过怎样的人生,才算是正确的,或者说时应该的。财富焦虑,年龄焦虑,就像一颗射出来的子弹,正中眉心。我质疑、质疑这些不符合当下现状咄咄逼人的荒谬言论,让身心不自觉的陷入焦虑之中。我怀疑,这些营销号上说的是不是真正
- 2023-11-07
桂亘
对于,我是又爱又恨。爱的是我已经日更了600多天,记下了好多年的文章和日记,洗出了许多反思的文章。恨的是链接有卡顿,我昨天在电脑上写了日更,点了发布,本以为发布成功了,可是,到今天才发现我发布失败,日更失败了。可是我明明是写了文章的,怎么会日更失败呢。我们一看,文章还保存有私密文章里。我就明白了。有时点发布文章迟迟没有反映,有时点多了,发表成两篇!有点点了,又说明文章不存在!所以,这就是的问题。我
- 2023-11-07
张奉哲
「黄金蝉蜕丨35」辣个人™果然是放假就病恹恹,上班就精神抖擞的人。周六日的那种BD应该是已经过去了,周一的上午是丰富而惬意的,下午是繁忙而焦躁的。不管怎样一切就绪,周二要更加努力的工作。™刚刚捋了一下第10教学周的工作,工作量还是比较大的。除了基础工作和常规工作,其他工作才是大头,包括宣传、学科竞赛、心理健康教育,一个头两个大的还有个人发展。™在工作中慢慢的变得豁达而随意了,不那么较真了,是没什么
- 2023-11-07
倪俊卿
“鞭照猴打”之说(中)自从上游有了边楼、南赵庄,下游有了达庄以后,侯庄想不到的不利事情经常发生,人丁不旺,没有像别的地方那样出人才,和周边村子因为争土地、争山林、争水源等常常发生械斗,侯庄人总是输多赢少。尤其是和边楼多次发生械斗,屡屡吃亏,边楼人才辈出,在外面做官经商的也多,要人有人,要钱有钱,侯庄和边搂发生争斗本来是侯庄人占理,可一打官司,边楼人又使钱又上面找人,到最后侯庄人老是输。边楼人去阳翟
- 2023-11-07
胡诌文学
早安❤到了一定的年龄,你要做的是有料,而不是一味的少吃盯着体重,没人去看你的体重,大家更在意的,是你呈现在人前的整体状态。人的一生是自己的一生,不要为了迎合别人而耽误了提升自己,只有自己能力上去了,你才能活出真正的自己
- 2023-11-07
莫忘小寒
金钱会大幅度降低沟通成本沟通成本:金钱会降低沟通成本,沟通能力下了决心要做的事,要保持不动声色,却心潮澎湃。林帝浣很多时候并不是遇不到对的人,而是思路错了,思路错了,想遇到爱情那就是大海捞针了......不要到处诉说,你要学会安静下来,自我消化。——默离不是所有遇见的人都需要链接,即使遇见很多次2023.11.6读书会总结人脉的爆发力-结缘链接人脉有没有主动的行为。主动很重要领导者不一定有领导力当
- 2023-11-07
碎碎念念的每一天
忽然开始自卑了,感觉自己无论各个方面都太平平,读书不多,家务做不好,体重控制的不好,早起也困难,起来又不知道该做什么,没有一个可以为之奋斗的目标,也没有很好的交际圈,感觉自己就像一只在笼子里的鸟,想飞也飞不高……我想改变这样的现状,可该如何呢?其实都是我不够努力,没有争分夺秒,没有自律,这些都是我未来跟人拉开差距的原因,所以,我不应该只是自卑,自卑过头会变成焦虑,我应该努力去改变,哪怕改变一小点,
- 袁登华如何侦破【雍正帝被杀】案?——对【红楼梦研究】的杰出贡献-2023-11-07
秋高气爽_10b3
袁登华如何侦破【雍正帝被杀】案?——对【红楼梦研究】的杰出贡献2023年11月5日2021年9月,我在【知乎】网发了一篇短文,标题是《郑重推荐一位红学家-袁登华》。文章写道——为了考证红楼梦这本书,古先生花了十多年时间,至今还在继续。我认为,他的主要贡献有这样两项:1,雍正帝是他杀;2,曹寅比史书上多活了二十八年。这两点,是颠覆性的重大突破。前者,史书上是空白;后者,史书上写错了。这里的【古先生】
- 2023-11-07新教师要不要为评职称准备论文?该怎么准备?
爱读书二
一、教师评职称要不要发论文?在过去,几乎所有的教师在评中高级职称的时候都需要发表论文,但随着这两年国家对职称评审制度的调整,一些地方或已放松对相关评职称发论文的相关规定和要求。至于你当地有没有规定评职称要发论文,我建议等你到了时候(具体到什么时候,我下面会讲)然后再去研究相关的文件。别准备过早,也别准备太晚。需要特别指出的是,论文发表目前在多地已经不是教师评职称必须拿到的一项成果。如《内蒙古自治区
- EKF与UKF对比,三维状态量滤波
Evand J
人工智能matlab
扩展卡尔曼滤波EKF与无迹卡尔曼滤波UKF的MATLAB程序,程序源码:%EKF+UKF效果对比%author:Evand%作者联系方式:
[email protected](除前期达成一致外,付费咨询)%date:2023-11-07%Ver1clear;clc;closeall;%%滤波模型初始化t=1:1:1000;Q=1*
- 风骚榜(2023-11-07更新短词榜)
张成昱
二十一世纪旧体诗词风骚榜上榜絮语:徒费三生遇秋水,何曾一步到长安。山花子·初冬永定洲漫步作者:铨斋两点闲心走走停。尘嚣搁置自天晴。永定洲头飘落叶,掌中轻。霜湿崎岖沙石路,烟含断续鹧鸪声。欲学此间仙气象,慢些行。短词榜第一蝶戀花•戲作•論己之詞/王少軒(流觞诗刊)自遣新詞多少事。縷縷愁煙,依舊無終始。數筆難拋傷別味。一行料理遙山翠。寫遍新涼還月墜。看似無心,卻似眞憔悴。君且閒觀無一似。我知心事都成字
- 2023-11-07
智慧青莲862
喻世明言像兔子看到苍鹰般恐慌,如耗子见了猫那惊悚模样,似鸡儿看见黄鼠狼时的迷惘,好比小鬼遭遇钟馗戚惶神伤。…………此乃中外敌人见到毛泽东思想的症状。为什么会这样?因为毛泽东思想是明镜,能照出祸国殃民的魑魅魍魉,能照见蛀蚀共和国大厦的走狗豺狼。因为毛泽东思想是战无不胜的法宝,能把中外一切亡我中华者埋葬!不要无端打压限流屏蔽正能量!莫猖狂,美日翻不了天,注定要灭亡,洋奴舔狗,必被正义洪流埋葬!
- 663心流2023-11-07
干中学
所谓于心无事,于事无心,要真正做到,绝对不是一件容易的事情。以前以为自己做到了,但是真正遇到事情的时候,其实还是会不由自主,被思绪和情绪所干扰,无法保持冷静和专注。表面也许不会表露太多情绪,但是思绪其实已经翻滚,无法保持自持和专心。表面冷其实内心热,表面稳实则心绪乱。唯一能做的,还是王阳明所言,事上练,继续修炼,继续观。定境观心。近来身体锻炼也疏忽了,需要注意加强。
- 2023-11-07
琴剑书生
上午八点半到新房。等到谢厂长。他把所有的房门都看了,记了下去。等他走了,我返回来。隔音没有全部贴完。就快中午了。骑车回家,路过寒中食堂。点的一荤两素一汤,吃了一碗,吃了中午饭。回家顺便把昨天晚上在多多买菜上的牛腩带回家。可是又没有时间烧。下午上睡了会儿,两点钟。去啃帝亚地板借了。激光测距仪。到房子里。把所有的。已做好的面积。重新的拍了拍。准备明天。和马师傅摊牌。要不继续做,要不就。先把这边做到什么
- 2023-11-07
健康正能量
手抖是一种常见的神经症状,可以通过多种方法来缓解它。以下是一些通过改善生活方式和接受治的建议。1.做适当的运动。运动能够增加肌肉的控制力和协调性,降低手抖的程度。建每周进行至少150分钟的有氧运动,如快步行走、跑步、骑自行车或游泳等。2.保持充足的睡眠。将睡眠时间延长到每晚7-8小时,保持良好的睡眠质量有助于减轻手抖和改善生活质量。3.饮食健康。饮食中应保持适当含量的维生素、矿物质和氨基酸等有益元
- 2023-11-07
Eltonpeople
文化通史133今日启发:Elton:第八章中世文化的初兴第四节连歌的盛行“地下连歌”当时的连歌会,还有以寺院为中心举行的,其中昆沙门堂、法胜寺、清水寺、法轮寺、鹫尾神社、北野神社等由道生、寂忍、京月、无生等僧人连歌师频繁地主持的连歌会,最引人注目。他们按照古代的宗教仪式在寺社院内的樱花树下举行,即兴连作,并由先驱者道生始创趋于庶民化的“地下风体”,也称“地下派”。他们的连歌会称“地下连歌会”(又称
- 2023-11-07
心灵渡客
每当我放下忧愁,抬起头看天的时候,心中总涌出莫名的喜悦,湛蓝的天空白云,肆意的挥洒,挥洒出无尽的魅力权利,金钱,欲望……只能给你带来无尽的烦恼,唯有独自一人,走在寂静的秋风里,吹吹凉爽的风,看看洒脱的云,听听花开的声音,什么都法挡住你内心的喜悦。
- 2023-11-07
心怡水
昨天晚上返回学校上自习,我轻轻地走进班里,学生一抬头看到我,都高兴地大喊:“老师,你终于回来了!我们可想你了!”听到这些声音,似乎所有的疲惫都消失了。我提前进班是想趁着课间把我带给学生的文创小礼物一一发到每一个孩子手里,他们拿着都开心极了。看到他们高兴,我的心里也很开心。接下来我布置任务,那些平日里一点儿不学的孩子也开始背起来了。这些孩子啊,虽然有各种各样的毛病,可是他们都渴望被看到。他们好像一下
- 2023-11-07跟随趋势是一直持仓好,还是沿途加仓好?
0d92e3c96619
以大多数人的认知,一开始是无法识别什么是趋势,所谓跟随趋势,只是一个理论上跟随趋势,大多数人跟随的是趋势的“形”、趋势的外表。这种问题其实有一个诀窍,实在搞不懂该怎么做的时候,想想大众是怎么做的,逆着大众来做就对了大众是怎么做的?有了点利润就想早早的落袋,忍受不了浮盈的回吐能忍受浮盈回吐了,一直持仓不动,却不敢加仓。为什么?还不是怕到手的浮盈又没了中途加仓的人段位比一直持仓不动的段位高。因为他离大
- 2023-11-07
健康正能量
手抖是指手部肌肉不自主地发生不规则的抖动或震颤。手抖的原因可以是多种多样的。以下是一些可能导致手抖的常见原因:1.神经紧张或焦虑:焦虑、紧张或压力过大时,身体会释放出激素,导致手部肌肉出现抖动。2.药物或毒素作用:某些药物(如抗焦虑药、抗精神病药物)、酒精或毒素(如镇静剂、咖啡因过量)可以引起手部肌肉抖动。3.神经系统疾病:某些神经系统疾病,如帕金森病、震颤性脑瘫等,会导致手部及其他部位的震颤4.
- 2023-11-07
念南风
凌晨四点,我从梦里醒来。梦很长,我只说记忆最清楚的和最感动的部分,因为梦如烟似雾,很快就会飘散了。我梦见老妈躺在我怀里,往下滑了一下,然后我感觉到她的心跳加速,又极其混乱。那一刻我害怕极了。我说赶紧打120,赶紧叫救护车。爸爸和弟弟语无伦次,我接过电话说了妈妈的反应,医生说是脑出血。在等救护车的时候,我要给妈穿衣服,翻来覆去看全是破旧的衣服,衣服上还有大大小小的洞,好像一碰就碎。我心里想,怎么就找
- 资治通鉴2023-11-07
荒原苍狼
太和六年,壬子,公元832年1、春正月壬子,诏以水旱降系囚。群臣上尊号曰太和文武至德皇帝。右补阙韦温上疏,以为:“今水旱为灾,恐非崇饰徽称之时。”上善之,辞不受。李湛倒不是喜欢虚名的皇帝2、李听之前镇武宁也,有苍头为牙将。至是,听先遣亲吏至徐州慰劳将士,苍头不欲听复来,说军士杀其亲吏,脔食之。听惧,以疾固辞。辛酉,以前忠武节度使高瑀为武陵节度使。被下属吓得不敢去赴任的节度使还是不多见3、十一月乙卯
- 2023-11-07 意象
春雪ChunXue
娱乐有什么意义呢?不过是浪费时间的别称而已。别人用娱乐你的时间增加自己的财富,你却在那娱乐的时间里浪费着自己的生命。你看不清那意象,年轻的时光里,你的纠结纷呈而出。还以为世界是繁复多彩的,你的自制力有限。你在娱乐中寻找自己心中想要的意义,纷乱的意象没有办法给你一个具体的答案。你以为只有做完了自己不愿意做的事情,仿佛才给了自己以交待;至于自己那喜欢做的事情,仿佛存在的意义的抹糊……你不喜欢浪费时间,
- 2023-11-07
乐_70b9
乱花渐欲迷人眼,太多人被短期奶头乐迷失了方向。长期在虚拟的世界是可以低成本的过日子,但终究要回归到现实生活中。这个世界被某些人蒙上一层面纱,就像在黑暗中行走。眼见不一定为实,耳听不一定为虚,你所看到的听到的有可能是别人故意为之。说出来你可能不信,我有近两年没看电视剧了,因为我知道自己的时间很值钱,不会把时间花在这些不能提升自己的事情上。再来说一下当下非常火的短视频,五分钟三分钟几十秒一个视频,看多
- 2023-11-07自由写作
嘿_羊
今天5点54分醒来。第二天要早起有事,我的心里总是记挂着,所以一般都会比闹钟早醒。昨晚设置了6点30的闹钟。果真。躺在床上,习惯性思惟法义。迷迷糊糊,半睡半醒。6点10分正式起床。坐在电脑桌前,两肩感觉到犹如有东西压着,有些僵硬和沉重。昨晚做了一套肩颈后背的操,做完流了很多汗,人是很舒服的。今早的酸痛感,意味着我的肩颈的确需要多多运动。今天感觉到降温了,有些凉意。我所坐的窗户不敢打开。我打了几个哈
- Spring4.1新特性——综述
jinnianshilongnian
spring 4.1
目录
Spring4.1新特性——综述
Spring4.1新特性——Spring核心部分及其他
Spring4.1新特性——Spring缓存框架增强
Spring4.1新特性——异步调用和事件机制的异常处理
Spring4.1新特性——数据库集成测试脚本初始化
Spring4.1新特性——Spring MVC增强
Spring4.1新特性——页面自动化测试框架Spring MVC T
- Schema与数据类型优化
annan211
数据结构mysql
目前商城的数据库设计真是一塌糊涂,表堆叠让人不忍直视,无脑的架构师,说了也不听。
在数据库设计之初,就应该仔细揣摩可能会有哪些查询,有没有更复杂的查询,而不是仅仅突出
很表面的业务需求,这样做会让你的数据库性能成倍提高,当然,丑陋的架构师是不会这样去考虑问题的。
选择优化的数据类型
1 更小的通常更好
更小的数据类型通常更快,因为他们占用更少的磁盘、内存和cpu缓存,
- 第一节 HTML概要学习
chenke
htmlWebcss
第一节 HTML概要学习
1. 什么是HTML
HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,它规定了自己的语法规则,用来表示比“文本”更丰富的意义,比如图片,表格,链接等。浏览器(IE,FireFox等)软件知道HTML语言的语法,可以用来查看HTML文档。目前互联网上的绝大部分网页都是使用HTML编写的。
打开记事本 输入一下内
- MyEclipse里部分习惯的更改
Array_06
eclipse
继续补充中----------------------
1.更改自己合适快捷键windows-->prefences-->java-->editor-->Content Assist-->
Activation triggers for java的右侧“.”就可以改变常用的快捷键
选中 Text
- 近一个月的面试总结
cugfy
面试
本文是在学习中的总结,欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46753275
前言
打算换个工作,近一个月面试了不少的公司,下面将一些面试经验和思考分享给大家。另外校招也快要开始了,为在校的学生提供一些经验供参考,希望都能找到满意的工作。 
- HTML5一个小迷宫游戏
357029540
html5
通过《HTML5游戏开发》摘抄了一个小迷宫游戏,感觉还不错,可以画画,写字,把摘抄的代码放上来分享下,喜欢的同学可以拿来玩玩!
<html>
<head>
<title>创建运行迷宫</title>
<script type="text/javascript"
- 10步教你上传githib数据
张亚雄
git
官方的教学还有其他博客里教的都是给懂的人说得,对已我们这样对我大菜鸟只能这么来锻炼,下面先不玩什么深奥的,先暂时用着10步干净利索。等玩顺溜了再用其他的方法。
操作过程(查看本目录下有哪些文件NO.1)ls
(跳转到子目录NO.2)cd+空格+目录
(继续NO.3)ls
(匹配到子目录NO.4)cd+ 目录首写字母+tab键+(首写字母“直到你所用文件根就不再按TAB键了”)
(查看文件
- MongoDB常用操作命令大全
adminjun
mongodb操作命令
成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令,只是MongoDB没有创建数据库的命令,但有类似的命令 如:如果你想创建一个“myTest”的数据库,先运行use myTest命令,之后就做一些操作(如:db.createCollection('user')),这样就可以创建一个名叫“myTest”的数据库。
一
- bat调用jar包并传入多个参数
aijuans
下面的主程序是通过eclipse写的:
1.在Main函数接收bat文件传递的参数(String[] args)
如: String ip =args[0]; String user=args[1]; &nbs
- Java中对类的主动引用和被动引用
ayaoxinchao
java主动引用对类的引用被动引用类初始化
在Java代码中,有些类看上去初始化了,但其实没有。例如定义一定长度某一类型的数组,看上去数组中所有的元素已经被初始化,实际上一个都没有。对于类的初始化,虚拟机规范严格规定了只有对该类进行主动引用时,才会触发。而除此之外的所有引用方式称之为对类的被动引用,不会触发类的初始化。虚拟机规范严格地规定了有且仅有四种情况是对类的主动引用,即必须立即对类进行初始化。四种情况如下:1.遇到ne
- 导出数据库 提示 outfile disabled
BigBird2012
mysql
在windows控制台下,登陆mysql,备份数据库:
mysql>mysqldump -u root -p test test > D:\test.sql
使用命令 mysqldump 格式如下: mysqldump -u root -p *** DBNAME > E:\\test.sql。
注意:执行该命令的时候不要进入mysql的控制台再使用,这样会报
- Javascript 中的 && 和 ||
bijian1013
JavaScript&&||
准备两个对象用于下面的讨论
var alice = {
name: "alice",
toString: function () {
return this.name;
}
}
var smith = {
name: "smith",
- [Zookeeper学习笔记之四]Zookeeper Client Library会话重建
bit1129
zookeeper
为了说明问题,先来看个简单的示例代码:
package com.tom.zookeeper.book;
import com.tom.Host;
import org.apache.zookeeper.WatchedEvent;
import org.apache.zookeeper.ZooKeeper;
import org.apache.zookeeper.Wat
- 【Scala十一】Scala核心五:case模式匹配
bit1129
scala
package spark.examples.scala.grammars.caseclasses
object CaseClass_Test00 {
def simpleMatch(arg: Any) = arg match {
case v: Int => "This is an Int"
case v: (Int, String)
- 运维的一些面试题
yuxianhua
linux
1、Linux挂载Winodws共享文件夹
mount -t cifs //1.1.1.254/ok /var/tmp/share/ -o username=administrator,password=yourpass
或
mount -t cifs -o username=xxx,password=xxxx //1.1.1.1/a /win
- Java lang包-Boolean
BrokenDreams
boolean
Boolean类是Java中基本类型boolean的包装类。这个类比较简单,直接看源代码吧。
public final class Boolean implements java.io.Serializable,
- 读《研磨设计模式》-代码笔记-命令模式-Command
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* GOF 在《设计模式》一书中阐述命令模式的意图:“将一个请求封装
- matlab下GPU编程笔记
cherishLC
matlab
不多说,直接上代码
gpuDevice % 查看系统中的gpu,,其中的DeviceSupported会给出matlab支持的GPU个数。
g=gpuDevice(1); %会清空 GPU 1中的所有数据,,将GPU1 设为当前GPU
reset(g) %也可以清空GPU中数据。
a=1;
a=gpuArray(a); %将a从CPU移到GPU中
onGP
- SVN安装过程
crabdave
SVN
SVN安装过程
subversion-1.6.12
./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache2/bin/apxs --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --with-openssl=/
- sql 行列转换
daizj
sql行列转换行转列列转行
行转列的思想是通过case when 来实现
列转行的思想是通过union all 来实现
下面具体例子:
假设有张学生成绩表(tb)如下:
Name Subject Result
张三 语文 74
张三 数学 83
张三 物理 93
李四 语文 74
李四 数学 84
李四 物理 94
*/
/*
想变成
姓名 &
- MySQL--主从配置
dcj3sjt126com
mysql
linux下的mysql主从配置: 说明:由于MySQL不同版本之间的(二进制日志)binlog格式可能会不一样,因此最好的搭配组合是Master的MySQL版本和Slave的版本相同或者更低, Master的版本肯定不能高于Slave版本。(版本向下兼容)
mysql1 : 192.168.100.1 //master mysq
- 关于yii 数据库添加新字段之后model类的修改
dcj3sjt126com
Model
rules:
array('新字段','safe','on'=>'search')
1、array('新字段', 'safe')//这个如果是要用户输入的话,要加一下,
2、array('新字段', 'numerical'),//如果是数字的话
3、array('新字段', 'length', 'max'=>100),//如果是文本
1、2、3适当的最少要加一条,新字段才会被
- sublime text3 中文乱码解决
dyy_gusi
Sublime Text
sublime text3中文乱码解决
原因:缺少转换为UTF-8的插件
目的:安装ConvertToUTF8插件包
第一步:安装能自动安装插件的插件,百度“Codecs33”,然后按照步骤可以得到以下一段代码:
import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a30980927
- 概念了解:CGI,FastCGI,PHP-CGI与PHP-FPM
geeksun
PHP
CGI
CGI全称是“公共网关接口”(Common Gateway Interface),HTTP服务器与你的或其它机器上的程序进行“交谈”的一种工具,其程序须运行在网络服务器上。
CGI可以用任何一种语言编写,只要这种语言具有标准输入、输出和环境变量。如php,perl,tcl等。 FastCGI
FastCGI像是一个常驻(long-live)型的CGI,它可以一直执行着,只要激活后,不
- Git push 报错 "error: failed to push some refs to " 解决
hongtoushizi
git
Git push 报错 "error: failed to push some refs to " .
此问题出现的原因是:由于远程仓库中代码版本与本地不一致冲突导致的。
由于我在第一次git pull --rebase 代码后,准备push的时候,有别人往线上又提交了代码。所以出现此问题。
解决方案:
1: git pull
2:
- 第四章 Lua模块开发
jinnianshilongnian
nginxlua
在实际开发中,不可能把所有代码写到一个大而全的lua文件中,需要进行分模块开发;而且模块化是高性能Lua应用的关键。使用require第一次导入模块后,所有Nginx 进程全局共享模块的数据和代码,每个Worker进程需要时会得到此模块的一个副本(Copy-On-Write),即模块可以认为是每Worker进程共享而不是每Nginx Server共享;另外注意之前我们使用init_by_lua中初
- java.lang.reflect.Proxy
liyonghui160com
1.简介
Proxy 提供用于创建动态代理类和实例的静态方法
(1)动态代理类的属性
代理类是公共的、最终的,而不是抽象的
未指定代理类的非限定名称。但是,以字符串 "$Proxy" 开头的类名空间应该为代理类保留
代理类扩展 java.lang.reflect.Proxy
代理类会按同一顺序准确地实现其创建时指定的接口
- Java中getResourceAsStream的用法
pda158
java
1.Java中的getResourceAsStream有以下几种: 1. Class.getResourceAsStream(String path) : path 不以’/'开头时默认是从此类所在的包下取资源,以’/'开头则是从ClassPath根下获取。其只是通过path构造一个绝对路径,最终还是由ClassLoader获取资源。 2. Class.getClassLoader.get
- spring 包官方下载地址(非maven)
sinnk
spring
SPRING官方网站改版后,建议都是通过 Maven和Gradle下载,对不使用Maven和Gradle开发项目的,下载就非常麻烦,下给出Spring Framework jar官方直接下载路径:
http://repo.springsource.org/libs-release-local/org/springframework/spring/
s
- Oracle学习笔记(7) 开发PLSQL子程序和包
vipbooks
oraclesql编程
哈哈,清明节放假回去了一下,真是太好了,回家的感觉真好啊!现在又开始出差之旅了,又好久没有来了,今天继续Oracle的学习!
这是第七章的学习笔记,学习完第六章的动态SQL之后,开始要学习子程序和包的使用了……,希望大家能多给俺一些支持啊!
编程时使用的工具是PLSQL