读书笔记三
1. PrefaceFrom The storied life of A.J.Fikry by Gabrielle Zevin. [1]
2. Content
You shouldn’t look a gift horse in the mouth.
The tough rose mouth says no one can hurt me, but the soft blue eyes say Yes you can and you probably will. And he had made that big dandelion of a girl cry.
A.J. had found the reverent tone of the eulogies to be insufferable.
She runs her fingers through her short hair.
Ismay has chosen a collage because she had liked the pictures in the brochure, had married a man bec ...
读书笔记二
1. PrefaceFrom Of Human Bondage(Part) writen by W. Somerset Maugham
2. Content
It is an illusion that youth is happy, an illusion of those who have lost it; but the young know they are wretched for they are full of the truthless ideal which have been instilled into them, and each time they come in contact with the real, they are bruised and wounded. It looks as if they were victims of a conspiracy; for the books they read, ideal by the necessity of selection, and the conversation of their elders ...
读书笔记一
1. 前言摘自梁漱溟的《朝话:人生的省悟》[1]
2. 内容
在这个时代的青年,能够把自己安排对了的很少。
在这个时代,有一个大的欺骗他,或耽误他,容易让他误会,或让他不留心的一件事,就是把欲望当志气。
也许他很卖力气,却很不自然,很苦,且难以长进,因为背后存个贪的心,虽有时也会起一个大的反动,也许勉强干。但当自己勉强自己时,读书做事均难入,无法全副精神放在事情上。甚且会自己搪塞自己。
越聪明的人,越容易有欲望,越不知应在哪个地方搁下那个心。心实在应该搁在当下的。可是聪明的人,老是搁不在当下,老往远处跑,烦躁而不宁。所以没有志气的固不用说,就是自以为有志气的,往往不是志气而是欲望。仿佛他期望自己能有成就,要成功怎么个样子,这样不很好吗?无奈在这里常藏着不合适的地方,自己不知道。自己越不宽松,越不能耐,病就越大。所以前人讲学,志气欲望之辩很严,必须不是从自己躯壳动念,而念头真切,才是真志气。张横渠先生颇反对欲望,谓民胞物与之心,时刻不能离的。自西洋风气进来,反对欲望的话没人讲,不似从前的严格,殊不知正在这些地方,是自己骗自己害自己。
3. 琐言初次看到这段话的时候觉得梁老好像是在针对 ...
HDU 1003
Problem DescriptionGiven a sequence a[1],a[2],a[3]……a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 + 4 = 14.
InputThe first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line starts with a number N(1<=N<=100000), then N integers followed(all the integers are between -1000 and 1000).
OutputFor each t ...
服务器配置
1. ssh1.1 安装open sshapt install openssh-server
/etc/init.d/ssh restart
vim /etc/ssh/sshd_config # 根据需要修改
1.2 生成密钥ssh-keygen生成公钥、私钥, 公钥放在服务器改名为authorizedkeys, 私钥放在客户端
1.3 修改密钥权限chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
2. nginx & let’s encrypt2.1 Refhttps://www.nginx.com/resources/wiki/https://github.com/certbot/certbot
2.2 安装nginxadd-apt-repository -y ppa:nginx/stable
apt update
apt install nginx
2.3 查看nginx安装的模块nginx -V
ls /usr/lib/nginx/modules # 可选方式
2.4 配置/etc/ ...
我的电脑——开发工具配置
1. Tex1.1 Texlivehttps://www.tug.org/texlive/
1.2 CTANhttps://www.ctan.org
2. Sublime2.1 Installhttps://www.sublimetext.com/3Backup: https://drive.google.com/open?id=0B7ciOrhoI8vkOEZqOXNBWnNrbzg
2.2 Package Controlhttps://packagecontrol.io/installation
import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_op ...
书单
涉猎书目列表(不加筛选,供以后参考)
《扫起落叶好过冬》 林达
《白玉雕龙》 古龙
《欢乐英雄》 古龙
《萧十一郎》 古龙
《多情剑客无情剑》 古龙
《楚留香传奇》 古龙
《大旗英雄传》 古龙
《游侠录》 古龙
《月异星邪》 古龙
《笑傲江湖》 金庸
《天龙八部》 金庸
《神雕侠侣》 金庸
《流星之绊》 ...