How China is (and isn’t) fighting pollution and climate change

When is seeing not believing? A couple years ago, my friend sent me this photo from Ürümqi, which is the capital of Xinjiang province in northwest Chi[……]

查看更多内容

Posted in TED 演讲 | How China is (and isn’t) fighting pollution and climate change已关闭评论

5 dangerous things you should let your kids do

Welcome to “Five Dangerous Things You Should Let Your Children Do.” I don’t have children. I borrow my friends’ children, so —

(Laughter)

take all[……]

查看更多内容

Posted in TED 演讲 | 5 dangerous things you should let your kids do已关闭评论

8 secrets of success

This is really a two-hour presentation I give to high school students, cut down to three minutes. And it all started one day on a plane, on my way to[……]

查看更多内容

Posted in TED 演讲 | 8 secrets of success已关闭评论

wordpress 使用ftp安装插件时权限不足问题解决

使用FTP软件连接FTP空间,进入wp-content目录,新建tmp文件夹,设置文件夹的权限为777

下载:在FTP中返回网站根目录,找到wp-config.php这个PHP文件,下载到本地

修改:在wp-config.php中添加下列三行代码:

define(‘WP_TEMP_DIR’,[……]

查看更多内容

Posted in 运维相关 | wordpress 使用ftp安装插件时权限不足问题解决已关闭评论

A girl who demanded school

It’s an inspiring talk from an afric woman,we can at least learn one thing from this speech: never be afraid of being the first one to do something, i[……]

查看更多内容

Posted in TED 演讲 | A girl who demanded school已关闭评论

《素书》笔记1

怨在不舍小过

对下属的微小过失如果一直耿耿于怀,不放过,就很容易招致怨恨。作为领导来说,本身就要求比下属有更高的远见和情商,所谓宰相肚里能撑船。如果领导一直重复提及下属的小毛病或者小问题,
就会让属下觉得你小肚鸡肠,不懂得宽恕,从而不服,甚至怨恨心理诞生。所以说,在不违背大原则的情况下,对下属的小[……]

查看更多内容

Posted in 素书 | 《素书》笔记1已关闭评论

How AI can save our humanity

I’m going to talk about how AI and mankind can coexist, but first, we have to rethink about our human values. So let me first make a confession about[……]

查看更多内容

Posted in TED 演讲 | How AI can save our humanity已关闭评论

What I learned from 100 days of rejection

When I was six years old, I received my gifts. My first grade teacher had this brilliant idea. She wanted us to experience receiving gifts but also le[……]

查看更多内容

Posted in TED 演讲 | What I learned from 100 days of rejection已关闭评论

python 字符串操作通用异常处理


#!/bin/env python

-- coding: utf-8 --

import json

a={}
a['name'] = "test"
a['age'] = '18'
b="fdsfdsfdsfd"
a1=[]
a1.append(a)

try:
str1=json.d[......]

查看更多内容

Posted in DEVOPS | python 字符串操作通用异常处理已关闭评论

Want to be more creative? Go for a walk

The creative process — you know this — from the first idea to the final product, is a long process. It’s super-iterative, lots of refinement, blood,[……]

查看更多内容

Posted in TED 演讲 | Want to be more creative? Go for a walk已关闭评论
« Older