- 博客(80)
- 收藏
- 关注
转载 php和Apache
我们可以把服务器看成一间餐馆,apache是店面的传菜员,php是厨房的厨师。有些饮料之类的(静态资源,如:HTML、CSS、JS、Images等),不用经过厨师,直接由传菜员传递给顾客(Client)。如果需要厨师烹饪的菜式(例如:*.PHP等),就需要先等厨师把原始食材(php)烹饪完变成可以吃用的饭菜(静态资源)...
2021-11-14 21:21:15
277
原创 【操作系统&&计算机组成原理】你真的了解“hello world“吗
故事要王师傅初学c语言说起。有一天,兢兢业业勤勤恳恳的程序员王师傅在Devc++里编写了一份“王师傅nb.cpp”文件#include<iostream>int main(){int a=0;a=a+1;print("hello world");return 1;}这是计算机入门代码,准备好,3 !2 !1!下面是门后面的世界:计算机无法直接读懂c语言,看过黑客帝国的小学二年级学生都知道的事情是:计算机里面只有二进制串,也就是常说的机器语言。c语言到机器语言的全过程是:
2021-11-08 17:32:59
334
原创 sql基本操作和数据类型
插入insert into 表名 values ('数据1','数据2'....'数据n')修改update 表名 set 属性1='值' where 属性2='值'删除delete from 表名 where 属性1='值'左连接select * from 表名1 left join 表名2 on 表1属性=表2属性
2021-04-02 15:21:48
293
原创 数据分析面试
一、什么是p值P值是用来判定假设检验结果的一个参数,P值就是当原假设为真时,比所得到的样本观察结果更极端的结果出现的概率。当p值很小的时候要拒绝原假设,一般取p值为0.01或0.05。二、常用的数据分析步骤收集数据、数据预处理、数据分析、数据可视化、报告撰写。...
2021-03-29 18:01:37
311
原创 leetcode中c++常用函数
string类转整形(题号150)int a=atoi(string[i].c_str())定义栈(题号150)stack stk;出栈、取栈顶、入栈(题号150)stk.pop();stk.top();stk.push();定义二维数组、一维数组(题号59)vector<vector> matrix(n, vector(m));vector(n)定义新链表节点(题号92)ListNode *L = new ListNode(-1);...
2021-03-20 10:39:33
403
原创 离散数学复试/面试
一、平面图平面图:可以画在平面上,除端点外任意两边都不相交。欧拉公式:n-m+r=2,n:顶点个数。m:边个数。r:面个数。重要公式:m ≤\leq≤ 3n-6二、二元关系对称的二元关系:每当(a,b)∈\in∈R,则必有(b,a)∈\in∈R自反的二元关系:任意a,有(a,a)∈\in∈R传递的二元关系:每当(a,b)∈\in∈R,(b,c)∈\in∈R则必有(a,c)∈\in∈R等价关系:同时满足对称、自反、传递三、群半群:代数系统的二元运算是封闭、可结合的。独异点:代数系统的二元
2021-03-06 17:35:59
5707
原创 数据库复试/面试
一、数据库故障①事务故障事务在运行过程中由于种种原因,如输入数据的错误、运算溢出、违反了某些完整性限制、某些应用程序的错误以及并行事务发生死锁等,使事务未运行至正常终止点就夭折了,这种情况称为事务故障。 发生事务故障时,夭折的事务可能已把对数据库的部分修改写磁盘。恢复程序要在不影响其他事务运行的情况下,强行回滚(ROLLBACK)该事务,即清除该事务对数据库的所有修改,使得这个事务像根本没有启动过一样。这类恢复操作称为事务撤销(UNDO)。②系统故障系统故障是指系统在运行过程中,由于某种原因,如
2021-02-02 11:04:44
940
原创 【英语词组】恋恋不忘Day7-6
look out ofThink of those fleeting moments when you look out of an aeroplane window and realise that you are flying,higher than a bird.想想当你坐在飞机上,眼望窗外时,突然意识到自己正在飞翔,飞得比鸟儿还要高。fleet 舰队;快速的in one wayNone of these tricks will help you understand them,their
2020-09-02 21:02:11
730
1
原创 【英语词组】恋恋不忘Day7-5
这篇文章摘要涵盖了多个英语短语和词汇的实际应用场景。主要内容包括:不同阅读环境的差异(differ from)、自动化取代繁琐工作(put up with)、考古发现(hundreds of)、关注内在品质(look to)、未来规划(in the future)、天气影响(on account of)、资金利用(do with)、罢工后果(in the way of)、留学准备(be going to)、危机处理(be busy doing)、行为研究(an array of)等等
2020-08-29 00:00:06
3655
原创 【英语词组】恋恋不忘Day7-4
eat upSince technology has such an insatiable appetite for eating up human jobs,this phenomenon will continue to restructure our economy in ways we cannot immediately foresee.因为科技总是贪得无厌的吞噬着人们的工作,这种现象也将继续以我们无法立刻预见的方式重新构建我们的经济。satiate =sa(傻子)ti(提)ate(使)=傻
2020-08-27 23:01:30
1621
原创 【英语词组】恋恋不忘Day7-3
pose sth.toRyan Hooper remarks that significant moves may pose challenges to children.xxx说重大的变迁可能会给孩子带来挑战。enter intoHer writing,just like her works in other media,lets us enter into something like the fullness of her life experience.她的写作,正如她在其他媒体上的作品,
2020-08-25 00:26:26
1385
原创 【英语词组】恋恋不忘Day7-2
at the start ofAt the start of this century,about one-third of crop workers were over the age of 35.在本世纪初,种植农作物的工人约有三分之一在35岁以上。want toThis advice is more relevant now than ever before,even as more parents want to embrace the ideas of their children,des
2020-08-22 00:34:48
1064
原创 【英语词组】恋恋不忘Day7-1
owing toMonarchs are kept as heads of state in Europe mostly owing to their undoubted and respectable status.在欧洲,君主之所以被保留为国家元首,主要是因为他们的地位不容置疑且令人尊敬。be meant toThis rule is meant to address the difficulty that students from impoverished or chaotic homes
2020-08-20 00:00:12
4084
原创 【英语词组】恋恋不忘Day6-3
a big dealLet’s not forget sports——in male-dominated corporate America,it’s still a big deal.让我们不要忘记运动——在男性为主导的美国公司中,运动依旧是一件大事情。拓 a good/great deal of 很多;大量switch toAt Boston College,for example,you would have to complete an extra year were you to swi
2020-08-16 00:06:10
3165
原创 【计算机组成原理】cache和主存的映射
1、直接映射直接映射的地址结构:标记chache行号块内地址直接映射模式:组相联映射组相连映射的地址结构:标记chache组号块内地址全相联映射全相联映射的地址结构:标记块内地址...
2020-08-13 23:13:30
4702
原创 【英语词组】恋恋不忘Day6-2
本文摘要: 本文呈现了一系列英语短语和例句,涵盖不同场景下的常用表达。包括"lose control of"(失去控制)、"in prison"(在监狱)、"make up for"(弥补)、"a string of"(一连串)等短语,每个短语都配有中英双语例句和相关拓展表达。通过学习这些短语及其实际应用,可以提升英语表达能力,掌握更地道的表达方式。
2020-08-10 23:35:34
1658
原创 【英语词组】恋恋不忘Day6-1
at the momentAlmost everyone who was interviewed for this special report said that the biggest problem at the moment is not a lack of demand but a lack of good work to sell.几乎每一个接受这个报道访问的人都说,现在这个时期最大的问题不在于缺少需求,而在于缺少可供销售的好作品。拓 for now 目前,暂时temporary 暂时的
2020-08-05 21:41:25
4074
原创 【英语词组】恋恋不忘Day5-4
lack ofStereotypes associated with obesity include laziness,lack of will power,and lower prospects for success.与肥胖有关的成见包括懒惰、意志力薄弱和成功的可能性比较低。prospect =向前看=prospect前景;预期approve ofMy mother doesn’t approve of my going abroad for further education.我母亲不同意
2020-08-03 00:00:01
2952
原创 【英语词组】恋恋不忘Day5-2
英语短语学习摘要 本文总结了20个常用英语短语,包括"free from"(解放)、"sign on"(登记)、"at times"(有时)、"come out"(说出)、"be parallel with/to"(相同)等。这些短语对提高英语表达能力具有实用价值,尤其适合需要准确使用英语的学习者。
2020-07-30 01:02:24
4422
原创 【英语词组】恋恋不忘Day5-1
drop back toIt is difficult for me to drop back to business after a 7-day foreign holiday.我去国外度了7天假后,很难回归到工作状态中。go againstThe jury’s verdict went against her.陪审团的裁定对她不利。verdict =ver(每一个)dict(说)=每一个人都指责两句=verdict裁定make the best ofHe made the best of
2020-07-27 23:12:49
3809
原创 【英语词组】恋恋不忘Day4-7
be about toEven he,however,might tremble at the though of what he is about to do.然而,一想到接下来将要做的事情,甚至连他自己也会感觉到不寒而栗。tremble 战栗;发抖lure sb.into(doing)sthThe supermarket is designed to lure customers into spending as much time as possible within its doors.
2020-07-26 01:32:38
4470
原创 【英语词组】恋恋不忘Day4-6
a bitToday,the virtue of work may be a bit overblown.如今,工作的优点可能有些被夸大了。virtue=vi(四个)+rtue(true真实)=真实就是美德=virtue美德overblown = over(过于)blow(吹)=overblown 夸大seek…fromThose suffering from persistent nightmares should seek help from a therapist.那些长期受到噩梦困扰的
2020-07-25 02:30:40
1216
原创 【计算机组成原理】第二章 数据的表示和运算
BCD码8421是最常见的BCD码,其中1010~1111是不使用的。校验码——奇偶校验码奇(偶)校验码:所有数(包括校验位)加在一起是奇数(偶数)。校验码——循环冗余码CRC(主要用来检错)商不重要!!数据+余数是最终的CRC码。CRC的特点:具有r检测位的多项式能够检测出所有小于或等于r的突发错误。长度大于r+1的错误逃脱率是1/2r1/2^r1/2r校验码——海明码(有一位纠错能力)(n,k)海明码中n是加上码之后的总长度,k是数据位数。冗余位=n-k=r重要不等式:2r&
2020-07-24 20:00:16
495
原创 【英语词组】恋恋不忘Day4-5
evolve fromHuman indignation evolved from an uncertain source.人类的义愤来源不明。revolution 革命evolution 进化dignity =di(弟弟)g(哥哥)ni(你)=哥哥要教弟弟尊严=dignity尊严=indignation=没有尊严=indignation义愤a fewMost of the women she interviewed——but only a few of the men——gave lack
2020-07-23 00:38:15
1879
原创 【计算机组成原理】第一章 计算机系统概述笔记
一、计算机的硬件组成运算器+控制器=cpucpu+主存=主机I/O设备=外部设备二、冯.诺依曼计算机特点由控制器、存储器、运算器、输入设备和输出设备构成指令和数据以同等地位存储在存储器中,并可以按地址访问存储器。cpu根据指令执行周期的不同阶段区分它们。指令和数据均用二进制代码表示。指令用操作码和地址码组成,操作码用来表示操作的性质,地址码用来表示操作数在存储器中的位置。指令在存储器中按顺序存放。通常指令顺序执行,在特定情况下,可以根据运算结果或设定的条件改变执行顺序。机器以运算器为中
2020-07-22 13:21:33
1046
1
原创 【英语词组】恋恋不忘Day4-4
文章摘要:本文通过多个英语短语的实用例句,展示了不同场景下的语言应用。从"outside of"(在...之外)到"all of sudden"(突然),每个短语都配有生动例句和记忆技巧,如"bankrupt"(银行输破它=破产)。记忆方法融合联想(如"composure"联想写作需静心)和对比(second to none=不亚于任何人),帮助理解复杂词汇。这些内容既适合语言学习,也展现了英语表达的丰富性。
2020-07-22 01:02:00
1518
1
原创 【英语词组】恋恋不忘Day4-3
英语短语学习摘要 本文整理了多个实用英语短语及例句,包括: specialist(专家):指仅在专业领域知名的人士 come along(出现):指不常发生的事物 be concerned with(关注):侧重道德与社会问题 by chance(偶然):同义短语by accident struggle against/struggle to(争斗/费力):分别表示对抗与艰难完成 通过形象记忆法(如"hail=嗨=致敬")和对比学习(select/elect区别),帮助掌握这些短语的实际用法。
2020-07-21 00:26:37
2849
原创 【英语词组】恋恋不忘Day4-2
insist onIn the real world,as in school,we insist on choosing our own friends.在现实生活中,就像在学校一样,我们都坚持自己选择朋友。persist in 坚持deal withThey should know how to deal with setback and stresses.他们应该知道如何应对挫折和压力。peculiar toBut the force of geographic condition p
2020-07-20 02:37:35
484
原创 【英语词组】恋恋不忘Day4-1
proceed toXXX and his team modeled what would happen if three passenger jets departing from xxx and xxx were to assemble over xxx,assume an inverted V-formation,occasionally change places so all could have a turn in the most favourable position,and procee
2020-07-19 01:47:52
1131
原创 【英语词组】恋恋不忘Day 3-4
这篇英语学习笔记整理了多个常用短语和词汇,包括"in silence"(沉默)、"fend off"(抵御)、"prove to be"(被证明)等实用表达。通过联想记忆法帮助掌握单词,如"silence=安静的骑着四轮车"。这些内容涵盖了日常交流、学术写作等场景,适合英语学习者系统积累实用表达。
2020-07-17 09:53:35
1231
原创 【英语词组】恋恋不忘Day 3-3
这篇英语学习笔记整理了18个常用短语的用法及例句,展示了英语中表达因果关系、对比关系和条件关系的多样方式。每个短语都配有典型例句和记忆技巧,如通过词根联想帮助理解"mute"(木讷)和"shelter"(栖身之所)等词汇。
2020-07-15 00:18:59
2373
原创 【英语词组】恋恋不忘Day 3-2
come to terms withProfessor Balch points out that fire is something man should come to terms with.鲍尔奇教授指出,人类应该接受火这一事实。come to terms with =和谁一起去上学=接受了他=come to terms with接受拓 compromise =com互联网+promise许诺=互联网的许诺=compromise妥协make a compromise 做出让步concede
2020-07-13 02:11:30
2826
原创 【英语词组】恋恋不忘Day 3-1
本文总结了一系列英语短语的用法及记忆技巧。关键短语包括:表示敌意的"be hostile to"、表示关联的"be linked to"、表示包含的"be packed with"、表示坚持的"stick with"每个短语都配有例句和联想记忆法,如用"不可"记"buck(钱)",用"吵死"记"chaos(混乱)"等。这些短语适用于多种语境,从政治评论到日常交流,帮助学习者更自然地使用英语表达。
2020-07-12 02:23:52
1964
原创 【英语词组】恋恋不忘Day 2-4
in exchange(for)In the world of capuchins, grapes are luxury goods(and much preferable to cucumbers).So when one monkey was handed a grape in exchange for her token,the second was reluctant to hand hers over for a mere piece of cucumber.在卷尾猴的世界里,葡萄是奢侈品(也
2020-07-07 01:26:51
5236
原创 【英语词组】恋恋不忘Day 2-3
invest inTransicent investors,who demand high quarterly profits from conpanies,can hinder a firm’s efforts to invest in long-term research or to build up customer loyalty.那些要求从公司获得高额季度利润的短期投资者可能会阻碍公司努力投资于长期研究或建立客户忠诚度。transient =tran(转移)sient(silence沉默)=
2020-07-05 03:01:56
1688
原创 【英语词组】恋恋不忘Day 2-2
engage withToyota Motor,for example,alleviated some of the damage from its recall crisis earlier this year with a relatively quick and well-orchestrated social-media response campaign,which included efforts to engage with consumers directly on sites such
2020-07-03 00:31:19
1987
原创 【英语词组】恋恋不忘Day 2-1
account toWhile the conversation around our environment and our responsibility toward it remains centered on shopping bags and straws,we are ignoring the balance of power that implies that as “consumers” we must shop sustainably,rather than as “citizens”
2020-06-27 01:03:51
1762
原创 【英语词组】恋恋不忘Day 1-4
be under wayNew research on transportation biofuels is already under way.有关交通工具生物燃料的新研究已经在进行中。拓 in motion 在运转中;在进行中in the first placeAnd yet,John Hagel,author of The Power of Pull and other books,says Brynjolfsson and McAfee miss the reason why these
2020-06-25 01:29:14
2353
原创 【leetcode】剑指 Offer 46. 把数字翻译成字符串
题目给定一个数字,我们按照如下规则把它翻译为字符串:0 翻译成 “a” ,1 翻译成 “b”,……,11 翻译成 “l”,……,25 翻译成 “z”。一个数字可能有多个翻译。请编程实现一个函数,用来计算一个数字有多少种不同的翻译方法。示例 1:输入: 12258输出: 5 解释: 12258有5种不同的翻译,分别是"bccfi", “bwfi”, “bczi”,“mcfi"和"mzi”解题思路这是一道动态规划的题目,难点在写出状态转移方程。即Sn−1S_{n-1}Sn−1如何到SnS_{n
2020-06-22 15:48:43
220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅