How can I speak in 10 minutes about the bonds of women over three generations, about how the astonishing strength of those bonds took hold in the life[……]
The family I lost in North Korea. And the family I gained.
I was born and raised in North Korea. Although my family constantly struggled against poverty, I was always loved and cared for first, because I was t[……]
Your fingerprints reveal more than you think
Do you ever stop and think, during a romantic dinner, “I’ve just left my fingerprints all over my wine glass.”
00:20
(Laughter)
00:21
Or do you ever[……]
learn English with pictures
Because pictures are always more interesting than words, so they may help you to remember more words and grammar.
1
2
3
4
5
6
7
[……]
suse 上apache 启用 module_headers 并配置 cache-control
启用 headers_moule
在 centos 配置比较简单,只需要 loadmodules 即可:
cat /etc/httpd/conf.modules.d/00-base.conf | grep headers
LoadModule headers_module modules[......]
nginx + uwsgi 配置 flask 开发框架
介绍
类似于,nginx 结合 php-fpm 可以支持跳转到 php 程序一样,nginx 后端也可以挂 uwsgi 来用 python 程序作为server端。
参考文档
《一个UWSGI的例子》:https://blog.csdn.net/crazyhacking/article/det[……]
nginx + php-fpm 的简易配置
nginx 转发到 php-fpm
安装软件
yum install nginx -y
yum install php-fpm -y
配置nginx
在 /etc/nginx/conf.d/default.conf 基础上直接修改,就可以作为你的应用使用:
server {
li[......]
Your phone company is watching
Hi. This is my mobile phone. A mobile phone can change your life, and a mobile phone gives you individual freedom. With a mobile phone, you can shoot[……]
使用 expect 封装自动 rpmsign 签名
由于 rpmsign 会要求使用者输入 pass phras, 所以可用 exepct 包装下自动输入,完成自动化签名过程:
#!/usr/bin/expect -f
set key [lindex $argv 0 ]
set fname [lindex $argv 1 ]
se[......]