My immigration story

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[……]

查看更多内容

Posted in TED 演讲 | My immigration story已关闭评论

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[……]

查看更多内容

Posted in TED 演讲 | The family I lost in North Korea. And the family I gained.已关闭评论

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[……]

查看更多内容

Posted in TED 演讲 | Your fingerprints reveal more than you think已关闭评论

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

[……]

查看更多内容

Posted in learn English with pictures | learn English with pictures已关闭评论

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[......]

查看更多内容

Posted in web和容器 | suse 上apache 启用 module_headers 并配置 cache-control已关闭评论

秋分作画

对照婚纱照乱画一通,果然还是失败了。人物确实很难画。

Posted in 个人作品 | 秋分作画已关闭评论

nginx + uwsgi 配置 flask 开发框架

介绍

类似于,nginx 结合 php-fpm 可以支持跳转到 php 程序一样,nginx 后端也可以挂 uwsgi 来用 python 程序作为server端。

参考文档

《一个UWSGI的例子》:https://blog.csdn.net/crazyhacking/article/det[……]

查看更多内容

Posted in web和容器 | nginx + uwsgi 配置 flask 开发框架已关闭评论

nginx + php-fpm 的简易配置

nginx 转发到 php-fpm

安装软件

yum install nginx -y
yum install php-fpm -y

配置nginx

在 /etc/nginx/conf.d/default.conf 基础上直接修改,就可以作为你的应用使用:

server {
    li[......]

查看更多内容

Posted in DEVOPS, web和容器 | nginx + php-fpm 的简易配置已关闭评论

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[……]

查看更多内容

Posted in TED 演讲 | Your phone company is watching已关闭评论

使用 expect 封装自动 rpmsign 签名

由于 rpmsign 会要求使用者输入 pass phras, 所以可用 exepct 包装下自动输入,完成自动化签名过程:

#!/usr/bin/expect -f  

set key [lindex $argv 0 ]   
set fname [lindex $argv 1 ]   
se[......]

查看更多内容

Posted in 系统管理 | 使用 expect 封装自动 rpmsign 签名已关闭评论
« Older