谈谈团队

关于团队一直在捉摸观察中,什么才算团队?怎么做才是好团队?今天有些冲动想谈谈我对团队的认识和理解。所幸把握住这次冲动来谈谈,不谈对错,仅是我此时的一些想法

最近看了几部早期冷兵器时代的战争片《巴霍巴利王》、《天朝王国》、《勇敢的心》,给我最震撼的不仅是场面浩瀚和模仿的真实性,更重要的是信仰… 一个王国为了信仰可以放弃自己的城池(战术?),为了信仰是坦然面对..  为了信仰生死看淡.. 为了信仰团结一致..为了信仰一国之君不杀一国之君(协议?..)…

利益交换、价值交换

兵种与兵器:***

团队与信仰:***

职场与战场:***

登录预览全文

Error establishing a database connection

最近经常遇到Error establishing a database connection问题,db问题经排查顺利解决

本站用的是amh云主机面板,通常也用作每天数据备份。同时aliyun也有每天快照备份

此问题有很多情况导致

排查1:磁盘使用情况 df-h  Use100%, 解决磁盘扩容和删除一些tmp文件(之前天天一直有一堆堆的垃圾评论现在基本算是解决http://shengshui.com/?p=23073删除tmp文件 :

df -h  Use80%

排查2:开启WordPress内置的数据库修复功能进行修复,默认是禁止的在wp-config.php添加(WordPress就会自动尝试去修复数据库。修复&重启后,请务必记得删除下面添加的代码!!)

然后访问 http://域名/wp-admin/maint/repair.php  点击Repair Database

总结:本站出现这个问题(数据库服务器无响应,数据库已损坏、拒绝远程连接、权限、网站流量过大)相对是最简单的一种情况,经过大量的垃圾评论和后台攻击导致磁盘容量爆满,后续在扩容和数据库修复重启ECS这样本站问题就解决了, 记得一定要备份


20190920更新

最近几天有连续遇到mysql链接失败,经排查这次出现了磁盘爆满 (etc , usr,home)

du -sh *发现数据备份占了一半空间,这里用的amh每天自动备份,并且每天备份自增4-5G空间。删除一些老备份数据 rm -f ** .另外果断改变备份策略amh备份关键重要数据,另外对磁盘扩容

怎么看待跳槽频繁的员工?

前几天从网上看到的一个话题,感觉很有意思和身边很多同事也聊过。今天闲聊,在发了博文后又整理了下…

0-5年跳槽频繁是以成长为主,因为这个阶段可谓是初生牛犊不怕虎,对技术也保持好奇心… 如果没成长、没贡献 在一个公司为了所谓的稳定硬生生的待几年 基本废了(排除也会遇到属于”你的“团队)

5年+是稳定性,因为有经历、有感悟 更需要去一个公司付出和收获…   跳槽频繁来看核心是技术能力 再看薪资(本人暂时不看好任何所谓的纯管理上的领导,这么多年唯一遇到一个纯管理的移动总监让我心服口服:1)背景IBM、摩托罗拉等知名公司真正经历过  2)给下属抗压力  3)你的付出是有所收获和回报的。这里肯定有很多人拿网上某企业家的毒鸡汤来说事,我还是站在个人角度稍微反驳一下,你和他们的经历背景、能力、圈子是不一样的,先认清自己 因为真正你的精力、时间都是有限的,完全靠消耗时间、碰运气是玩不起的 (经常有人拿牛人在自己圈子说事,这里有一点我要说的:如果多么牛的人,多么励志的人 如果没有影响到你,其实你和他是没有一毛钱关系(在牛人圈子里都没有影响自我完善,自己没有超越的野心 规划))。我不相信所谓的站在巨人的肩膀上的话,你能站在巨人肩膀上 至少你自己也是个小巨人吧,差距太大的话,小心把自己摔死)

对于管理者我特别想送上的一句话”夫道德仁义礼,得者,人之所得,使万物各得其所欲“来自黄石公送给张良的一本书《素书》一共1360字,在中国谋略史上占重要地位,民间称为”天书“、”神书“
我不太喜欢太稳定的员工… 在一家公司待4年 如果不真正的牛x,没有完整的走过来 没有提升 对公司也没太多产出那么他就几乎完全废了(但是不可否认,特别创业公司领导可能很喜欢这样的人 第一活能干  第二稳定听话 )…

技术迭代需要经常洞察前线、经常学习、经常打磨、经常感悟…  (经历过太多所谓稳定员工,一家公司待4、5年甚至更久,但回到现实大多数是废了…所谓稳定员工现实情况是大多数很不理想的,不要拿稳定来说事,也要认清自己和公司的情况,就像一些前辈说的如果公司真的值得你…)

总结:0-5年频繁跳槽是看成长(产出和收获)。5年+如果还在频繁跳槽,可能意味着自己没有核心技术、没有规划和眼光…所以圈子、自我激励、规划很重要…
稳定同时也是一把双刃剑,我也相信几乎没有一个员工是不希望自己公司能乘风破浪强大起来,另外也有就是稳定能让你升职加薪达到人生巅峰(这句话笑笑就算了) ,一切的一切都是利益,如果没有核心价值就不要喝太多鸡汤了。

如果自己还在学习状态的话,就好好利用此时找到自我最佳状态努力加油..把自己变成一个更优秀的人(拒绝一切还未到来的毒鸡汤,即使它是现实)#频繁跳槽##跳槽#

2019年上半场的自我总结

【2019年上半场的自我总结】:今年给自己的计划是在技术上提升一个级别.. 说说是很简单的…因为各种情况 ,比如加班..自我状态不好等情况,总是没能顺利完成。不过我庆幸自己依然拥有一颗进取的心,一颗不服输的心…一直在强迫自己前进…

不过最近的一些感悟让我不得不去调整自己内心状态,比如怎么高效又快速的学习? 怎么才能快速吸取优秀人的精髓? 怎么拥有自己未来的后援团? 怎么自身变强大?

我现在很羡慕常青藤高校人才,老天总是不能再给机会重来… 虽不晚..但是屁话。我常常激励身边朋友和学弟学妹们,但不得不走的弯路是存在的,废物也是存在的…

不和时间赛跑真的来不及的,此时我已完全感觉到时间分分秒秒的重要性…

我暴躁过、着急过…我身在此时,我很焦虑,很害怕…我一直在折磨自己….我也一直在让自己缓和下来,不要着急… 我常常很担心我这一代和下一代会是什么样?我想让家人过好日子…我想帮助那些需要帮助的朋友们

我会一如既往的感悟并优化自己….

下半场我想过的轻松些、快乐些、并有所收益… #自我总结#

黑客常用小伎俩

以下技术简单,仅做分析使用

需求:

  1. 临时邮箱,注册和验证邮箱?
  2. 临时url消息,比如给朋友发一个消息,怎么双方通信?
  3. 临时手机号码收国内外短信验证码?

解决:

1.临时邮箱(只能用10分钟)(⚠️有关信息安全和财务相关请不要使用,不安全)

比如:最近我的网站收到了几万个评论(广告评论),和邮箱收到一堆咨询域名和广告链接等,他们是怎么做的?几乎不可能是真实邮箱,并且你回复是没用的。

还有就是微博刷粉丝和抖音刷粉丝这些账号他们怎么获得的邮箱电话注册的?

如用TempMail给的fojejob@fast-mail.one注册github账号(随意平台)可以直接验证使用,如下:

2.临时url消息

如果连接特别长,可以直接用短链转下(长连接转短连接) https://bitly.com/

3.临时电话号码,接受国内外短信(全球共享,不要收取重要的信息,别人也能看到)

SMSReceiveFree:https://smsreceivefree.com/
z-sms: http://www.z-sms.com/
Receive SMS Online for FREE:https://www.receive-sms-online.info/
Receive a SMS Online:https://receive-a-sms.com/
Free SMS Numbers Online:https://smsnumbersonline.com/
Receive SMS online for Free:https://sms-online.co/receive-free-sms
Receive-SMS:https://receive-sms.com/
Receive FREE SMS online:http://receivefreesms.com/
RECEIVE SMS ONLINE:https://www.receivesmsonline.net/
Free Online Phone:https://www.freeonlinephone.org/
Receive SMS Online:http://receive-sms-online.com/
TextNow:https://www.textnow.com/
Textfree:https://www.pinger.com/text-free/
SELLAITE:http://sms.sellaite.com/
Twilio:https://www.twilio.com/
国内接码:https://www.pdflibr.com/

比如点击看这个+12605824284 下面是全球人使用的情况:可以用这个号码和验证码登录下面账号(验证码有效期情况下),这些手机号码注册的别人也能通过验证码登录(如果验证码登录功能开通的话)现在也有很多在卖各种账号,其实大多数也是临时的,像刷粉丝,要有很多账号做…

技术实现:twilio全球最大的发收短信,语音短信等,可以直接使用它的api(收费的,可以免费使用几天)代码就能简单实现上面的功能了

https://www.twilio.com/

注:以上仅做市场技术分析,不承担任何法律相关责任,解释权归’圣水笔记’本站所有!

Google搜索必须要懂

1.精准搜索特定的词加上””
“词”

2.关键词

基本查询语法:[intitle]+[:]+[关键字1]+[空格]+[关键字2]
intitle:关键词 关键字2

2.1.allintitle:搜索返回的是页面标题中包含多组关键词的文件

例如:allintitle:taobao jd za
就相当于:
intitle:taobao intitle:jd intitle:za

3.查询词的意思以及定义
define: 词

4.查询特定格式
论文 filetype:pdf

5.排除特定词
搜索词 -避开的词

6.查询特定网的资料Site(⚠️不要写http/www)
汇编 site:shengshui.com

7.学术搜索
author :”keynes”

8.数字转特定语言
32872378=english

9.OR, AND (⚠️OR, AND 必须是大写)

OR: 两边的一个,比如: taobao OR dangdang
AND: 包含2个,比如: taobao AND dangdang

10.用 * 星号搜索指定关键词

“taobao *books”

11.inurl 在url中包含你要的词

基本查询语法:[inurl]+[:]+[关键字1]+[空格]+[关键字2]
inurl:taobao book (url中包含taobao和book)

12.intext: 指返回的正文中包含关键词的页面

intext:taobao jd wish

12.1.allintext:搜索返回的是页面正文中包含多组关键词的页面

例如:allintext:taobao jd za
就相当于:

intext:taobao intext:jd intext:za

13.查询与某个网站相关联或者相类似的页面

related:taobao.com

wordpress访问空白页面❓

最近发现一个问题,就是登录wp后,部分页面访问空白并且访问超级慢,差点备份数据重新安转… 不过慢慢还是分析出来原因了具体如下:

1、WooCommerce电商插件所导致.停用好了(前几天升级了所有插件导致)

2、垃圾评论上万导致

  • 这里wordpress一次只能删除20个评论左右,所有安装Delete All Comments of wordpress 批量删除垃圾评论 然后在工具/Delete comments 就可以
  • 评论开启只有登录才能评论,或者禁止评论在 设置/讨论
  • 开启评论人工审核并加入IP黑名单
  • 过滤国外全英文评论代码如下:

将以下代码放到当前主题的 functions.php 文件最后一个 ?> 前面就可以:

总结:

  1. 一定要备份,我用的是amh云主机面板,每天都会自动备份自保留最近15天的(非常赞,同时也感谢它帮我节省很大精力)(之前阿里云快照也收费了,现在放弃了)
  2. 如果遇到页面访问不了问题,首先关闭所有插件,再去检查下评论 。
  3. 一般访问慢除了google等一些被墙地址所导致外,还有就是插件问题
  4. 把图片压缩https://tinypng.com/后再去上传

25个面试问题

Being prepared is half the battle.

If you are one of those executive types unhappy at your present post and embarking on a New Year’s resolution to find a new one, here’s a helping hand. The job interview is considered to be the most critical aspect of every expedition that brings you face-to- face with the future boss. One must prepare for it with the same tenacity and quickness as one does for a fencing tournament or a chess match.

This article has been excerpted from “PARTING COMPANY: How to Survive the Loss of a Job and Find Another Successfully” by William J. Morin and James C. Cabrera. Copyright by Drake Beam Morin, inc. Publised by Harcourt Brace Jovanovich.

Morin is chairman and Cabrera is president of New York-based Drake Beam Morin, nation’s major outplacement firm, which has opened offices in Philadelphia.

1. Tell me about yourself.

Since this is often the opening question in an interview, be extracareful that you don’t run off at the mouth. Keep your answer to a minute or two at most. Cover four topics: early years, education, work history, and recent career experience. Emphasize this last subject. Remember that this is likely to be a warm-up question. Don’t waste your best points on it.

2. What do you know about our organization?

You should be able to discuss products or services, revenues, reputation, image, goals, problems, management style, people, history and philosophy. But don’t act as if you know everything about the place. Let your answer show that you have taken the time to do some research, but don’t overwhelm the interviewer, and make it clear that you wish to learn more.

You might start your answer in this manner: “In my job search, I’ve investigated a number of companies.

Yours is one of the few that interests me, for these reasons…”

Give your answer a positive tone. Don’t say, “Well, everyone tells me that you’re in all sorts of trouble, and that’s why I’m here”, even if that is why you’re there.

3. Why do you want to work for us?

The deadliest answer you can give is “Because I like people.” What else would you like-animals?

Here, and throughout the interview, a good answer comes from having done your homework so that you can speak in terms of the company’s needs. You might say that your research has shown that the company is doing things you would like to be involved with, and that it’s doing them in ways that greatly interest you. For example, if the organization is known for strong management, your answer should mention that fact and show that you would like to be a part of that team. If the company places a great deal of emphasis on research and development, emphasize the fact that you want to create new things and that you know this is a place in which such activity is encouraged. If the organization stresses financial controls, your answer should mention a reverence for numbers.

If you feel that you have to concoct an answer to this question – if, for example, the company stresses research, and you feel that you should mention it even though it really doesn’t interest you- then you probably should not be taking that interview, because you probably shouldn’t be considering a job with that organization.

Your homework should include learning enough about the company to avoid approaching places where you wouldn’t be able -or wouldn’t want- to function. Since most of us are poor liars, it’s difficult to con anyone in an interview. But even if you should succeed at it, your prize is a job you don’t really want.

4. What can you do for us that someone else can’t?

Here you have every right, and perhaps an obligation, to toot your own horn and be a bit egotistical. Talk about your record of getting things done, and mention specifics from your resume or list of career accomplishments. Say that your skills and interests, combined with this history of getting results, make you valuable. Mention your ability to set priorities, identify problems, and use your experience and energy to solve them.

5. What do you find most attractive about this position? What seems least attractive about it?

List three or four attractive factors of the job, and mention a single, minor, unattractive item.

6. Why should we hire you?

Create your answer by thinking in terms of your ability, your experience, and your energy. (See question 4.)

7. What do you look for in a job?

Keep your answer oriented to opportunities at this organization. Talk about your desire to perform and be recognized for your contributions. Make your answer oriented toward opportunity rather than personal security.

8. Please give me your defintion of [the position for which you are being interviewed].

Keep your answer brief and taskoriented. Think in in terms of responsibilities and accountability. Make sure that you really do understand what the position involves before you attempt an answer. If you are not certain. ask the interviewer; he or she may answer the question for you.

9. How long would it take you to make a meaningful contribution to our firm?

Be realistic. Say that, while you would expect to meet pressing demands and pull your own weight from the first day, it might take six months to a year before you could expect to know the organization and its needs well enough to make a major contribution.

10. How long would you stay with us?

Say that you are interested in a career with the organization, but admit that you would have to continue to feel challenged to remain with any organization. Think in terms of, “As long as we both feel achievement-oriented.”

11. Your resume suggests that you may be over-qualified or too experienced for this position. What’s Your opinion?

Emphasize your interest in establishing a long-term association with the organization, and say that you assume that if you perform well in his job, new opportunities will open up for you. Mention that a strong company needs a strong staff. Observe that experienced executives are always at a premium. Suggest that since you are so wellqualified, the employer will get a fast return on his investment. Say that a growing, energetic company can never have too much talent.

12. What is your management style?

You should know enough about the company’s style to know that your management style will complement it. Possible styles include: task oriented (I’ll enjoy problem-solving identifying what’s wrong, choosing a solution and implementing it”), results-oriented (“Every management decision I make is determined by how it will affect the bottom line”), or even paternalistic (“I’m committed to taking care of my subordinates and pointing them in the right direction”).

A participative style is currently quite popular: an open-door method of managing in which you get things done by motivating people and delegating responsibility.

As you consider this question, think about whether your style will let you work hatppily and effectively within the organization.

13. Are you a good manager? Can you give me some examples? Do you feel that you have top managerial potential?

Keep your answer achievementand ask-oriented. Rely on examples from your career to buttress your argument. Stress your experience and your energy.

14. What do you look for when You hire people?

Think in terms of skills. initiative, and the adaptability to be able to work comfortably and effectively with others. Mention that you like to hire people who appear capable of moving up in the organization.

15. Have you ever had to fire people? What were the reasons, and how did you handle the situation?

Admit that the situation was not easy, but say that it worked out well, both for the company and, you think, for the individual. Show that, like anyone else, you don’t enjoy unpleasant tasks but that you can resolve them efficiently and -in the case of firing someone- humanely.

16. What do you think is the most difficult thing about being a manager or executive?

Mention planning, execution, and cost-control. The most difficult task is to motivate and manage employess to get something planned and completed on time and within the budget.

17. What important trends do you see in our industry?

Be prepared with two or three trends that illustrate how well you understand your industry. You might consider technological challenges or opportunities, economic conditions, or even regulatory demands as you collect your thoughts about the direction in which your business is heading.

18. Why are you leaving (did you leave) your present (last) job?

Be brief, to the point, and as honest as you can without hurting yourself. Refer back to the planning phase of your job search. where you considered this topic as you set your reference statements. If you were laid off in an across-the-board cutback, say so; otherwise, indicate that the move was your decision, the result of your action. Do not mention personality conflicts.

The interviewer may spend some time probing you on this issue, particularly if it is clear that you were terminated. The “We agreed to disagree” approach may be useful. Remember hat your references are likely to be checked, so don’t concoct a story for an interview.

19. How do you feel about leaving all your benefits to find a new job?

Mention that you are concerned, naturally, but not panicked. You are willing to accept some risk to find the right job for yourself. Don’t suggest that security might interest you more than getting the job done successfully.

20. In your current (last) position, what features do (did) you like the most? The least?

Be careful and be positive. Describe more features that you liked than disliked. Don’t cite personality problems. If you make your last job sound terrible, an interviewer may wonder why you remained there until now.

21. What do you think of your boss?

Be as positive as you can. A potential boss is likely to wonder if you might talk about him in similar terms at some point in the future.

22. Why aren’t you earning more at your age?

Say that this is one reason that you are conducting this job search. Don’t be defensive.

23. What do you feel this position should pay?

Salary is a delicate topic. We suggest that you defer tying yourself to a precise figure for as long as you can do so politely. You might say, “I understand that the range for this job is between $______ and $______. That seems appropriate for the job as I understand it.” You might answer the question with a question: “Perhaps you can help me on this one. Can you tell me if there is a range for similar jobs in the organization?”

If you are asked the question during an initial screening interview, you might say that you feel you need to know more about the position’s responsibilities before you could give a meaningful answer to that question. Here, too, either by asking the interviewer or search executive (if one is involved), or in research done as part of your homework, you can try to find out whether there is a salary grade attached to the job. If there is, and if you can live with it, say that the range seems right to you.

If the interviewer continues to probe, you might say, “You know that I’m making $______ now. Like everyone else, I’d like to improve on that figure, but my major interest is with the job itself.” Remember that the act of taking a new job does not, in and of itself, make you worth more money.

If a search firm is involved, your contact there may be able to help with the salary question. He or she may even be able to run interference for you. If, for instance, he tells you what the position pays, and you tell him that you are earning that amount now and would Like to do a bit better, he might go back to the employer and propose that you be offered an additional 10%.

If no price range is attached to the job, and the interviewer continues to press the subject, then you will have to restpond with a number. You cannot leave the impression that it does not really matter, that you’ll accept whatever is offered. If you’ve been making $80,000 a year, you can’t say that a $35,000 figure would be fine without sounding as if you’ve given up on yourself. (If you are making a radical career change, however, this kind of disparity may be more reasonable and understandable.)

Don’t sell yourself short, but continue to stress the fact that the job itself is the most important thing in your mind. The interviewer may be trying to determine just how much you want the job. Don’t leave the impression that money is the only thing that is important to you. Link questions of salary to the work itself.

But whenever possible, say as little as you can about salary until you reach the “final” stage of the interview process. At that point, you know that the company is genuinely interested in you and that it is likely to be flexible in salary negotiations.

24. What are your long-range goals?

Refer back to the planning phase of your job search. Don’t answer, “I want the job you’ve advertised.” Relate your goals to the company you are interviewing: ‘in a firm like yours, I would like to…”

25. How successful do you you’ve been so far?

Say that, all-in-all, you’re happy with the way your career has progressed so far. Given the normal ups and downs of life, you feel that you’ve done quite well and have no complaints.

Present a positive and confident picture of yourself, but don’t overstate your case. An answer like, “Everything’s wonderful! I can’t think of a time when things were going better! I’m overjoyed!” is likely to make an interviewer wonder whether you’re trying to fool him . . . or yourself. The most convincing confidence is usually quiet confidence.

来源:http://www.datsi.fi.upm.es/%7Efrosal/docs/25mdq.html

丹麦的翻译 : http://www.autoteiledirekt.de/science/de vanskelige Mest – – – – – – – 杜 sporgsmal VIL blive BEDT – – OM – EN – jobsamtale
哈萨克翻译 http://13motors.com/myblog/25mdq/ :
俄语翻译 http://kreedle.com/blog/25 最困难的问题 : – / – –
斯洛伐克语的翻译 http://elelur.com/job – / 访谈 :

Docker笔记

https://hub.docker.com/

1.查看docker信息

2.查看版本

3.运行第一个容器

4.下载镜像

5.列出本地镜像

6.删除镜像

7.查看容器(已经启动的容器)

8.查看所有的容器

8.1停止一个容器

8.2启动一个容器

8.3重启一个容器

8.4删除一个容器

8.5获取容器的输出信息

9.通过一个镜像创建一个容器并启动

10.容器端口和本地端口映像

11.后台运行

12. 进入centos系统

13.进入容器

14.容器copy到本地桌面

14.1本地桌面copy到容器

15.把本地文件映射到某个容器中

16.下载镜像使用 https://cr.console.aliyun.com/cn-hangzhou/images

16.1 使用别的镜像 和本地挂载

16.2创建镜像

16.3上传阿里云镜像

brew安转node问题❓

 

1、mac上安转npm

通过npm可以协助开发者安装、卸载、删除、更新Node并且可以通过npm发布自己的插件。现在node中已经包含了npm,所有安转node就行

如果没有安转Homebrew的话:

在这一步可能会出现问题❓

sudo brew install node

解决: