- 2019-07-26
王梓言
2019年7月26日星期五晴我吃了一个卤菜之后,看见了三个新都巡逻的阿姨来写东西。走过去看了看,就被一个阿姨叫过去拍照。我当时不知道阿姨叫我干什么?就走过去了,原来,阿姨是叫我的,目的是拍照,我站在她身旁,就和他拍照了,我现在都不知道为什么拍照。后来妈妈教育了我,在没有搞清楚的情况下要懂得拒绝。
- 2019-07-26
泰优汇车GPS房抵小唐1316
1.付出不亚于任何人的努力2.要谦虚,不要骄傲3.要每天反省4.活着,就要感谢5.积善行,思利他6.不要有感性的烦恼今日分享:今天在公司等宾利客户,来了,把车况和额度大概得评估好回去准备资料,下星期来,下星期加油帮客户把资料准备齐全进件
- 2019-07-26
严银华
如何不被割韭菜及其希望被割韭菜之我见——致广大创业者的一封信老严看天下2019.07.26创业者都知道我说的韭菜是什么意思。肯定不是我们家里吃的那个东东。并且提起来心里都很有那么点别扭。辣辣的凉凉的。既羡慕收割者无所不能的魄力,又痛恨收割者冷漠无情的作为。既有那种恨得牙痒痒,又有那种爱的欲罢不能的感觉。因为我们绝大多数创业者都被或多或少或大或小的收割过。小到几十几百,大到几千几万,甚至几十万上百万
- 时间戳转换2019-07-26
LookForandPersi
dateFormat(r){returnthis.$moment(r.createTime).format("YYYY-MM-DD");},
- 2019-07-26
小小轩35
姓名:沈微微公司名称:承迪文具感谢二组成员【日精进打卡第190天】一:【知~学习】1:《六项精进》1遍,共123遍2:《大学》1遍,共123遍3:【经典名句分享】唯有光明才可以点亮黑暗二:【行及践行】1:修身(对自己)1.1多喝水,多吃水果;1.2睡前喝杯牛奶;1.3保证充足的睡眠;1.4好累早点睡觉;2:齐家(对家人)2.1洗衣服;2.22.33:建功(对工作)3.1日常行政;3.2登记请假、加
- 2019-07-26 周五 多云有雷阵雨 28-35°C
寄居蟹rugao
实在时热。老弟一早去上班了。想着阿妹会回来,所以买了螃蟹。阿妹没在家里吃,想好晚上早点做六月黄给她吃。妈妈牙疼,很遭罪。脾气也大。洗晒好了就早早做饭,十一点前开饭,果然下午又打牌的来。睡了午觉,被老妈电话来吵醒,天气变了。下去妈妈已经收好衣物。做了六月黄,让阿妹先吃。现在让自己调整心态,这样很好。老爸下午被老妈逼着再家里跑了八个来回。我采了小花给他,让他送给老妈,他大声说,老伴,我爱你!就像老鼠爱
- 2019-07-26
阿Q读书馆
原生家庭是打在我们身上的一个最结实的烙印,它会时不时跳出来,提醒着你与家某种的联系。后天我们通过接受教育和自我修炼,会修正这种烙印,但永远都无法完全消除。都说了解自己最难,但很多时候还是自己最了解自己,懂你敏感背后的脆弱,懂你骄傲背后的自卑,更懂你打拼背后的怯懦。周公,我来也!
- 2019-07-26
李昀初
在第15章至第18章中,虎妞与他的父亲彻底闹翻了。两人在聚会上大吵大闹。刘四爷发誓就当没有虎妞这个女儿,两人也因此顺利成章的结为夫妻。住在了一个全是穷人的小院子里。虎妞每天都喜欢向他人显摆自己的富裕。直到有一天,祥子去车厂门口看了看发现车场的牌子都换了,一问才知道原来是刘四爷把车还有车厂都卖了。至此,虎妞依靠父亲的理想彻底破灭了。只得同意了祥子拉车的意见。同意咱院儿的二强子,因为打死了自己的妻子。
- 2019-07-26 练习题
昇昇不息
1.如何查看当前所在的目录?pwd2.如何快速从当前目录切换到家目录?cdcd~3.如何快速返回上一次所在的目录?cd..4.在oldboy目录下进入根目录下的etc目录下的yum.repos.d目录cd/etc/yum.repos.d/5.在当前所在的yum.repos.d目录快速返回到当前目录的上级目录(根目录下的etc目录)[
[email protected]/etc/yum.r
- 2019-07-26
杨选兴
《牛顿发现万有引力审美诗一首》杨选兴《万有引力传佳话》地球围绕太阳转,烈日辐射热气扬。大树耸立好乘凉,苹果掉落费思量。外甥玩球拴皮筋,牛顿动脑涌锦囊。万有引力传佳话,一无挂碍拨迷茫。《爱迪生发明白炽灯审美诗一首》杨选兴《实验发明白炽灯》试验千材寻电线,排除万难觅钨丝。保持真空防氧化,充满惰气延亮时。玻璃壳体避风雨,塑料灯头绝电磁。实验发明白炽灯,耕耘结出硕果实。
- 2019-07-26
chen晨辰
企业版《奔跑吧!兄弟!》团建哈哈!感谢点击我的文章。虽然“雨我无瓜”!嘻嘻(此时游乐哭晕在厕所)如题,小编今天科普一个新型的团建方式——综艺型体验式团建这是一种19年最新兴起的团建方式,在某音上也是爆火一时。活动全程有摄影师跟拍,给你一种明星般的体验,而且针对企业不同需求,剧组会有针对性的策划活动。无疑的是一种即好玩又能达到团建效果的新型团建!小编的公司上周举办了一次这种新型的团建,一起来看吧!哈
- 2019-07-26
伽蓝214
图片发自App【每日清单】956/1000次记录,20190726,晴x2【今天约定三件事(to-do)】1.[]沟通优化需求第5次2.[]副卡需求3.[]欢送聚餐【今天的小确幸】一起吃个饭【想说】很多当下觉得解决不了、难以面对的事,放到1年后、10年后来看其实都不会有情绪,甚至记不住。【昨天的约定】1.[x]沟通优化需求第4次2.[x]沟通汇报3.[x]项目跟进
- 2019-07-26 得到大学电话面试准备内容(自带吹水)
拾柒個瞬间
自我介绍三句话古典程序员出身,经历传统软件行业、网络游戏行业,因好奇人类心理的神秘,加上数据挖掘的专长转型用户研究,进而成为游戏制作人;担当3款网络游戏的制作,均以失败告终,心灰意冷之际遇到“罗辑思维”,找到人生的坐标:做时间的朋友。以及曾国藩讲的三句话:既往不恋,当下不杂,未来不迎。回归传统互联网行业,服务教育、新能源产业,目前是九里桩能源科技的技术合伙人。(一)企业/行业方向:如果得到大学请您
- 2019-07-26
苹果皮好多皮
R语言--字符串处理一、正则表达式(regex):用于描述/匹配一个文本集合的表达式1、所有英文字母、数字和很多可显示的字符本身就是正则表达式,用于匹配它们自己。比如“a”就是匹配字母“a”的正则表达式2、一些特殊的字符在正则表达式中不再用来描述它自身,它们在正则表达式中已经被“转义”,这些字符称为“元字符”。被转义的字符有:.\|()[]{}^$*+?1).表示任意字符;2)\\或?表示查找;3
- 2019-07-26
碧海晴天_f257
20190726读书分享NO.51今日读书内容:巜幸福从接纳开始》23.过程无法超越,经历无法代替。上帝造物让蝴蝶经历破蛹,春蚕经历破蛹,螃蟹脱几次壳才能长大,否则只能原地踏步。野生动物经过直接喂养没法回归自然,因为他失去了捕猎的能力。代替型的父母会让孩子不能自立。有智慧的父母喜欢让孩子去经历过程,有一种爱叫无情,含着眼泪,看着孩子长大。而于我自己我不再着急,因为我相信我只要出发了就好,每一步的出
- 2019-07-26
悠悠的人生果实
真是没有想到看《小孩不笨2》自己能哭成这样。我想不仅仅是有些实际例子非常有代入感,很借底气,还有一点也是因为在里面可以找到自己成长中遇到问题的那些影子吧。尤其是在结尾成才的爸爸说:“我从小被打到大,我也不知道应该如何去爱一个人。”所以哪怕他深深爱着成才,自己连ABC都不会写,为了这个问题少年能够有学校收留,硬生生手抄了163份英文信给163个学校的家长,挨个地上门去恳求可以收留成才;可是面对成才的
- 2019-07-26
Dathan
mac+vscode+cmake配置强大的c++开发环境长期做c++服务器开发,以前一直使用Windows,习惯了vs操作,刚刚转到ma开发对于xcode用的各种不爽,打算配置vscode作为开发环境,折腾了一阵,记录一下.环境配置过过程安装c/c++插件image.png配置环境一.lunch.json调试环境{//UseIntelliSensetolearnaboutpossibleattri
- 2019-07-26
79d182f5e0a9
焦老师和女儿聊聊生命中的四个底线。1.关于身体的底线。对于女孩子来说,女孩子一生最重要的功课,就是先学会珍爱自己的身体;没有任何一样东西值得你用身体去交换;不要为任何事去出卖和伤害自己的身体;身体底线这道盔甲,一定要自己来守。2.关于生活的底线。只要你肯努力,你想要的东西一定是可以通过自己的双手去争取的。根本没有必要去指望别人。女儿,妈妈希望你可以活成自己最喜欢、最欣赏的样子。你的安全感和底气,应
- 2019-07-26
功能美
今天孩子哭,也很巧合,5点开始叫吃的,而我也起来,刚好可以忙一下,但发现,自己起来后,想干点什么却不知赶不上什么,从哪里开始,目标是什么等等。想起《大学》里说,物有本末,事有终始,知所先后,则近道矣。这句话,可以说是儒家的所有思想的基本原理,说的是先后次序,事情有终有始,有主有次,有先有后。先后次序,就是选择、决策的原则,定下原则后,接下来就是最容易却也最难的——始终按原则去做。华杉老师讲,要想做
- 2019-07-26
大概我也不懂
酒传承谱漫天璀璨著名诗人余光中曾赞叹诗仙李白说:“酒入豪肠,七分酿成了月光。”自古至今诗与酒便融为一体,诗有酒气,自显乾坤。美酒入口,绵香醇润,一股胸中气自下而上直冲天灵,恍然间,便透彻了一切,了然中自有一番悠长。那日,走在“诗酒大道”大道上,天气不尽人意,似意与人作对。阴沉灰暗,丝丝细雨敲打在身上,人躲在伞下,向前走去,总有些怯懦。如诗本状的花岗岩雕刻,坦荡在路中央,沿着道路向前方延去,清水波动
- 2019-07-26
无名的迷失
Day3—文件管理1、Linux系统目录结构windows:以多根的方式组织文件c:\d:\e:\linux:以单根的方式组织文件/1.存放命令相关的目录/bin,普通用户的命令/bin/ls,/bin/date/sbin,管理员使用的命令、sbin/service2.存放用户相关数据的家目录,比如:windows不同的用户登录系统显示的桌面背景不一样/home普通用户的家目录,默认为/home/
- 2019-07-26
为自己生活_f735
夏天的一个午后,小青蛙蹲在圆圆的荷叶上呱呱地放声歌唱,当它唱得正高兴时。忽然,天空下起了倾盆大雨,小青蛙急得四处张望,找不到躲雨的地方,它左思右想,灵机一动,我可以用荷叶当雨伞啊!它马上摘下一片荷叶挡在头上。呀!这下雨淋不到我了。小青蛙真高兴啊,眼睛都笑眯成了一条缝了。雨点儿像珍珠似地落在荷叶上,发出咚咚咚的声音,好像弹着动听的小曲,小青蛙又高兴地唱起歌来。
- 2019-07-26 用户权限说明
麟之趾a
linux启动流程centos61)加电自检(bios)检测硬件是否正常2)读取MBR分区前512分区,读取分区表概念3)读取GRUB菜单,选择内核(可以进入单用户模式,破解密码)4)加载内核5)启动init程序(PID为1)6)读取/etc/inittab确定运行级别默认级别为37)初始化系统/etc/rc.d/rc.sysint设置主机名,加载网卡地址8)确定开机启动服务/etc/rc.d/r
- 2019-07-26
bfa8da9780e8
《焦点第八节课反思》田靖16期焦点学员分享小时候的儿子是多么可爱,再看看这时候,跟之前简直是判若两人。经过刘老师的引导,我才知道我是那个剪掉孩子翅膀的人,剪掉了孩子的翅膀,还一个劲儿的抱怨他飞得没达到自己的高度,幸亏接触了焦点课,认识到自己犯下的错误,还有修正的机会,很庆幸没把孩子所有的翅膀剪掉,就像刘老师说的,我要自救,长出自己想要的翅膀,避免剪掉孩子更多的翅膀。
- 2019-07-26
沉默惹的祸
今天团建还不错,也没让我感觉到压抑,虽然游戏玩的有点过火。也使我成长了不少,有些时候人是一瞬间成长的,有时候是环境使然,逼得你不得不成长。但是当你走过这段路的时候你会觉得这是必然。即使所有的必然都是无数次偶然的结果
- 2019-07-26
apple_cai
日精进打卡第237天姓名:蔡雪萍325期学员公司:上海缘缀包装材料有限公司【知~学习】《六项精进》遍,共115遍;《大学》遍,共114遍;【经典名句分享】我觉得人的脆弱和坚强都超乎自己的想象。有时,我可能脆弱得一句话就泪流满面,有时,也发现自己咬着牙走了很长的路。勇敢吧,前方会有太阳!一、修身:(对自己个人)胃窦炎,吃药调理二、齐家买菜三、建功:(对工作)1、账目登记,收款发布,报销费用、网银打款
- 2019-07-26
海边的桃源
图片发自App现在早上总是醒的早,很想再睡会却没了睡意,只是眼睛有点干涩,玩玩手机时间过的也快,到点起床去上班。每天的活干的越来越麻利,只是天气太热,一下子就会汗流浃背。昨天中午做了皮蛋瘦肉粥,今天中午做了香菇鸡丝粥和煎饺,味道还是妥妥的。人要是认真起来,真的是什么都不会怕的,脚踏实地的感觉很好。明天想做状元及第粥,就是怕买不到好的猪肝。你发了讯息给我,当时有点不敢相信,愚蠢的回复令自己也是醉了。
- 2019-07-26
俞贞竹
今天可以记流水账吗?因为今天太热了,需要流水解暑……这是重庆今年温度最高的一天啊!偏偏我今天在来回跑,而且遭不住空调了,穿的遮住膝盖和手肘的衣服。热得我几次想哭,怕热啊胖子怕热!朋友说心静自然凉,这太玄乎了。打车轻轨打车核磁打车去找约定的地方怎么饭点都不来人出来吃面仔细一看原来去早了。再去等了一会同伴迟到了没等来又打车去取核磁报告,(那个舱感觉好高级的样子),骨骼没事,甲状腺有个结节又要彩超,怕怕
- 2019-07-26
流水无恒
【指数走势状态】上证指数,上行。连续3个交易日小阳终于把周一的阴线给收复了,这个在K线技术里就是典型的红三兵,相对来说这个位置偏涨的概率大些。一般这种温和上涨,如果周末有什么利好信息来个催化,那么下周一或二大涨的可能性就很大,而且会放量,因为持续2周的地量,说明短期市场内情绪积压比较厉害了,只要市场有个刺激就会爆发,当然涨跌的爆发力度都不会小。科创板今日表现显示短线停滞,周五,有些从主板转至科创板
- 2019-07-26王凤云美学分享 - 草稿
6454efe722d4
单品解说图片发自App这款浅黄色的针织上衣,看上去面料比较柔软给人一种舒适的感觉,修身版给人一种女人味的感觉。V领的设计给人一种女人味的感觉。面前加了一排扣给人一种年轻时尚的感觉。加了一点白给人一种年轻活力的感觉,带有黄色底调属于暖色调,除了可以搭配黑白灰以外,还可以搭配深深浅浅的黄绿橘和咖啡色的下装,以及配饰之类的,可以在休闲的场合春夏秋三个季节穿不挑肤色,不挑体型,年龄偏年轻。搭配一图片发自A
- jQuery 跨域访问的三种方式 No 'Access-Control-Allow-Origin' header is present on the reque
qiaolevip
每天进步一点点学习永无止境跨域众观千象
XMLHttpRequest cannot load http://v.xxx.com. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access. test.html:1
- mysql 分区查询优化
annan211
java分区优化mysql
分区查询优化
引入分区可以给查询带来一定的优势,但同时也会引入一些bug.
分区最大的优点就是优化器可以根据分区函数来过滤掉一些分区,通过分区过滤可以让查询扫描更少的数据。
所以,对于访问分区表来说,很重要的一点是要在where 条件中带入分区,让优化器过滤掉无需访问的分区。
可以通过查看explain执行计划,是否携带 partitions
- MYSQL存储过程中使用游标
chicony
Mysql存储过程
DELIMITER $$
DROP PROCEDURE IF EXISTS getUserInfo $$
CREATE PROCEDURE getUserInfo(in date_day datetime)-- -- 实例-- 存储过程名为:getUserInfo-- 参数为:date_day日期格式:2008-03-08-- BEGINdecla
- mysql 和 sqlite 区别
Array_06
sqlite
转载:
http://www.cnblogs.com/ygm900/p/3460663.html
mysql 和 sqlite 区别
SQLITE是单机数据库。功能简约,小型化,追求最大磁盘效率
MYSQL是完善的服务器数据库。功能全面,综合化,追求最大并发效率
MYSQL、Sybase、Oracle等这些都是试用于服务器数据量大功能多需要安装,例如网站访问量比较大的。而sq
- pinyin4j使用
oloz
pinyin4j
首先需要pinyin4j的jar包支持;jar包已上传至附件内
方法一:把汉字转换为拼音;例如:编程转换后则为biancheng
/**
* 将汉字转换为全拼
* @param src 你的需要转换的汉字
* @param isUPPERCASE 是否转换为大写的拼音; true:转换为大写;fal
- 微博发送私信
随意而生
微博
在前面文章中说了如和获取登陆时候所需要的cookie,现在只要拿到最后登陆所需要的cookie,然后抓包分析一下微博私信发送界面
http://weibo.com/message/history?uid=****&name=****
可以发现其发送提交的Post请求和其中的数据,
让后用程序模拟发送POST请求中的数据,带着cookie发送到私信的接入口,就可以实现发私信的功能了。
- jsp
香水浓
jsp
JSP初始化
容器载入JSP文件后,它会在为请求提供任何服务前调用jspInit()方法。如果您需要执行自定义的JSP初始化任务,复写jspInit()方法就行了
JSP执行
这一阶段描述了JSP生命周期中一切与请求相关的交互行为,直到被销毁。
当JSP网页完成初始化后
- 在 Windows 上安装 SVN Subversion 服务端
AdyZhang
SVN
在 Windows 上安装 SVN Subversion 服务端2009-09-16高宏伟哈尔滨市道里区通达街291号
最佳阅读效果请访问原地址:http://blog.donews.com/dukejoe/archive/2009/09/16/1560917.aspx
现在的Subversion已经足够稳定,而且已经进入了它的黄金时段。我们看到大量的项目都在使
- android开发中如何使用 alertDialog从listView中删除数据?
aijuans
android
我现在使用listView展示了很多的配置信息,我现在想在点击其中一条的时候填出 alertDialog,点击确认后就删除该条数据,( ArrayAdapter ,ArrayList,listView 全部删除),我知道在 下面的onItemLongClick 方法中 参数 arg2 是选中的序号,但是我不知道如何继续处理下去 1 2 3
- jdk-6u26-linux-x64.bin 安装
baalwolf
linux
1.上传安装文件(jdk-6u26-linux-x64.bin)
2.修改权限
[root@localhost ~]# ls -l /usr/local/jdk-6u26-linux-x64.bin
3.执行安装文件
[root@localhost ~]# cd /usr/local
[root@localhost local]# ./jdk-6u26-linux-x64.bin&nbs
- MongoDB经典面试题集锦
BigBird2012
mongodb
1.什么是NoSQL数据库?NoSQL和RDBMS有什么区别?在哪些情况下使用和不使用NoSQL数据库?
NoSQL是非关系型数据库,NoSQL = Not Only SQL。
关系型数据库采用的结构化的数据,NoSQL采用的是键值对的方式存储数据。
在处理非结构化/半结构化的大数据时;在水平方向上进行扩展时;随时应对动态增加的数据项时可以优先考虑使用NoSQL数据库。
在考虑数据库的成熟
- JavaScript异步编程Promise模式的6个特性
bijian1013
JavaScriptPromise
Promise是一个非常有价值的构造器,能够帮助你避免使用镶套匿名方法,而使用更具有可读性的方式组装异步代码。这里我们将介绍6个最简单的特性。
在我们开始正式介绍之前,我们想看看Javascript Promise的样子:
var p = new Promise(function(r
- [Zookeeper学习笔记之八]Zookeeper源代码分析之Zookeeper.ZKWatchManager
bit1129
zookeeper
ClientWatchManager接口
//接口的唯一方法materialize用于确定那些Watcher需要被通知
//确定Watcher需要三方面的因素1.事件状态 2.事件类型 3.znode的path
public interface ClientWatchManager {
/**
* Return a set of watchers that should
- 【Scala十五】Scala核心九:隐式转换之二
bit1129
scala
隐式转换存在的必要性,
在Java Swing中,按钮点击事件的处理,转换为Scala的的写法如下:
val button = new JButton
button.addActionListener(
new ActionListener {
def actionPerformed(event: ActionEvent) {
- Android JSON数据的解析与封装小Demo
ronin47
转自:http://www.open-open.com/lib/view/open1420529336406.html
package com.example.jsondemo;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
impor
- [设计]字体创意设计方法谈
brotherlamp
UIui自学ui视频ui教程ui资料
从古至今,文字在我们的生活中是必不可少的事物,我们不能想象没有文字的世界将会是怎样。在平面设计中,UI设计师在文字上所花的心思和功夫最多,因为文字能直观地表达UI设计师所的意念。在文字上的创造设计,直接反映出平面作品的主题。
如设计一幅戴尔笔记本电脑的广告海报,假设海报上没有出现“戴尔”两个文字,即使放上所有戴尔笔记本电脑的图片都不能让人们得知这些电脑是什么品牌。只要写上“戴尔笔
- 单调队列-用一个长度为k的窗在整数数列上移动,求窗里面所包含的数的最大值
bylijinnan
java算法面试题
import java.util.LinkedList;
/*
单调队列 滑动窗口
单调队列是这样的一个队列:队列里面的元素是有序的,是递增或者递减
题目:给定一个长度为N的整数数列a(i),i=0,1,...,N-1和窗长度k.
要求:f(i) = max{a(i-k+1),a(i-k+2),..., a(i)},i = 0,1,...,N-1
问题的另一种描述就
- struts2处理一个form多个submit
chiangfai
struts2
web应用中,为完成不同工作,一个jsp的form标签可能有多个submit。如下代码:
<s:form action="submit" method="post" namespace="/my">
<s:textfield name="msg" label="叙述:">
- shell查找上个月,陷阱及野路子
chenchao051
shell
date -d "-1 month" +%F
以上这段代码,假如在2012/10/31执行,结果并不会出现你预计的9月份,而是会出现八月份,原因是10月份有31天,9月份30天,所以-1 month在10月份看来要减去31天,所以直接到了8月31日这天,这不靠谱。
野路子解决:假设当天日期大于15号
- mysql导出数据中文乱码问题
daizj
mysql中文乱码导数据
解决mysql导入导出数据乱码问题方法:
1、进入mysql,通过如下命令查看数据库编码方式:
mysql> show variables like 'character_set_%';
+--------------------------+----------------------------------------+
| Variable_name&nbs
- SAE部署Smarty出现:Uncaught exception 'SmartyException' with message 'unable to write
dcj3sjt126com
PHPsmartysae
对于SAE出现的问题:Uncaught exception 'SmartyException' with message 'unable to write file...。
官方给出了详细的FAQ:http://sae.sina.com.cn/?m=faqs&catId=11#show_213
解决方案为:
01
$path
- 《教父》系列台词
dcj3sjt126com
Your love is also your weak point.
你的所爱同时也是你的弱点。
If anything in this life is certain, if history has taught us anything, it is
that you can kill anyone.
不顾家的人永远不可能成为一个真正的男人。 &
- mongodb安装与使用
dyy_gusi
mongo
一.MongoDB安装和启动,widndows和linux基本相同
1.下载数据库,
linux:mongodb-linux-x86_64-ubuntu1404-3.0.3.tgz
2.解压文件,并且放置到合适的位置
tar -vxf mongodb-linux-x86_64-ubun
- Git排除目录
geeksun
git
在Git的版本控制中,可能有些文件是不需要加入控制的,那我们在提交代码时就需要忽略这些文件,下面讲讲应该怎么给Git配置一些忽略规则。
有三种方法可以忽略掉这些文件,这三种方法都能达到目的,只不过适用情景不一样。
1. 针对单一工程排除文件
这种方式会让这个工程的所有修改者在克隆代码的同时,也能克隆到过滤规则,而不用自己再写一份,这就能保证所有修改者应用的都是同一
- Ubuntu 创建开机自启动脚本的方法
hongtoushizi
ubuntu
转载自: http://rongjih.blog.163.com/blog/static/33574461201111504843245/
Ubuntu 创建开机自启动脚本的步骤如下:
1) 将你的启动脚本复制到 /etc/init.d目录下 以下假设你的脚本文件名为 test。
2) 设置脚本文件的权限 $ sudo chmod 755
- 第八章 流量复制/AB测试/协程
jinnianshilongnian
nginxluacoroutine
流量复制
在实际开发中经常涉及到项目的升级,而该升级不能简单的上线就完事了,需要验证该升级是否兼容老的上线,因此可能需要并行运行两个项目一段时间进行数据比对和校验,待没问题后再进行上线。这其实就需要进行流量复制,把流量复制到其他服务器上,一种方式是使用如tcpcopy引流;另外我们还可以使用nginx的HttpLuaModule模块中的ngx.location.capture_multi进行并发
- 电商系统商品表设计
lkl
DROP TABLE IF EXISTS `category`; -- 类目表
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `category` (
`id` int(11) NOT NUL
- 修改phpMyAdmin导入SQL文件的大小限制
pda158
sqlmysql
用phpMyAdmin导入mysql数据库时,我的10M的
数据库不能导入,提示mysql数据库最大只能导入2M。
phpMyAdmin数据库导入出错: You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
- Tomcat性能调优方案
Sobfist
apachejvmtomcat应用服务器
一、操作系统调优
对于操作系统优化来说,是尽可能的增大可使用的内存容量、提高CPU的频率,保证文件系统的读写速率等。经过压力测试验证,在并发连接很多的情况下,CPU的处理能力越强,系统运行速度越快。。
【适用场景】 任何项目。
二、Java虚拟机调优
应该选择SUN的JVM,在满足项目需要的前提下,尽量选用版本较高的JVM,一般来说高版本产品在速度和效率上比低版本会有改进。
J
- SQLServer学习笔记
vipbooks
数据结构xml
1、create database school 创建数据库school
2、drop database school 删除数据库school
3、use school 连接到school数据库,使其成为当前数据库
4、create table class(classID int primary key identity not null)
创建一个名为class的表,其有一