Yongqi's Blog


  • 首页

  • 分类

  • 归档

  • 标签

影响力的武器

发表于 2016-10-17   |   分类于 Life   |  
最近在看 Robert B. Cialdini 的《影响力》,该书讲的是顺从心理学,探究到底是什么因素让一个人对另一个人说”行“?作者总结了六个心理原则对人们顺从一个要求的倾向性,并讨论了如何利用这些心理原则,发挥其影响力。六个心理原则包括互惠、承诺和一致、社会认同、喜好、权威、稀缺。 影响力的武器 ...
阅读全文 »

Permutation

发表于 2016-10-12   |   分类于 Technology , Algorithm   |  
在Leetcode上刷到几道排列的算法题, 总结一下。 Next permutation问题描述就是求给定序列下一个排列组合,具体见Leetcode题目地址 算法描述 从序列右端到左端找到降序的第一个数(partition number), 例如: ”5684“ 中从右到左第一个降序的数为”6“; ...
阅读全文 »

解决hexo markdown解析与mathjax冲突问题

发表于 2016-10-12   |   分类于 Technology , Linux   |  
简单来说,要让你的Hexo支持MathJax渲染公式,你只需要使用两条命令:To fully support MathJax in your Hexo blog, you can simply use the following commands:12npm uninstall hexo-rende ...
阅读全文 »

Begin again

发表于 2016-10-01   |   分类于 Life   |  
事实上, 该想的, 该写的, 该说的, 都已做过. 所以就这样罢. 天不老, 情难绝 云淡风轻For the first time of years, the world is wide open. 祝, 安好
阅读全文 »

Ubuntu Things

发表于 2016-09-18   |   分类于 Technology , Linux   |  
How to automatically bring an activated window to the foreground in Ubuntu?This behaviour can be changed from the command line, open a terminal and ty ...
阅读全文 »

C++ 程序运行时间

发表于 2016-08-16   |   分类于 Technology , C++   |  
1.利用C++ 11 新包含的chrono库:12345678#include<chrono>std::chrono::high_resolution_clock::time_point beg, end;std::chrono::duration<double> time_ ...
阅读全文 »

C++ 链接第三方库

发表于 2016-08-13   |   分类于 Technology , C++   |  
直接使用g++ files: main.cpp help.cpp help.h complie: g++ -c *.cpp -I第三方库头文件目录 # -I is not necessary if include path is in system INCLUDPATH link: g++ -o “ ...
阅读全文 »

林肯葛底斯堡演说

发表于 2016-01-28   |   分类于 Life , English   |  
The Gettysburg Address Gettysburg, Pennsylvania林肯葛底斯堡演讲稿 美国,宾夕法尼亚,葛底斯堡 November 19, 18631863年11月19日 Four score and seven years ago our fathers brought ...
阅读全文 »

乔布斯斯坦福大学演讲

发表于 2016-01-28   |   分类于 Life , English   |  
I am honored to be with you today at your commencement from one of the finest universities in the world. I never graduated from college. Truth be told ...
阅读全文 »

deep-music-player 报错

发表于 2016-01-21   |   分类于 Technology , Linux   |  
ubuntu 14.04 下运行deep-music-player 报错:1Xlib.error.DisplayConnectionError: Can't connect to display ":0": Invalid MIT-MAGIC-COOKIE-1 key 解决方法:运行deep-mus ...
阅读全文 »
123…5
No. L

No. L

The world is wide open.

46 日志
10 分类
17 标签
Github Weibo
© 2016 - 2021 No. L
由 Hexo 强力驱动
主题 - NexT.Pisces