连接目标和美好事物,喂养用户强大的大脑。
国庆回家发现家人连接着wifi,在刷今日头条、抖音,百度一下知识点,这一场景引发了我的一些思考,以下做个简单的分享:
- 品牌传递给用户的价值是非常重要的
- 将产品和美好事物或代名词做绑定有助于用户做选择
- 长期博弈下,真正优秀的产品才能留住用户
来几个口号:
| #%% | |
| letter = 'abcdefghijklmnopqrstuvwxyz' | |
| import requests, re, collections | |
| # fetch the big.txt to calculate every words probability. | |
| big_text = requests.get("http://norvig.com/big.txt").text | |
| #use regex to match all words and then count their frequency | |
| statistic = collections.Counter(re.findall("\w+", big_text)) |
| # Shell and terminal behavior | |
| set -g default-shell /bin/zsh | |
| set -g default-command "/bin/zsh -l" | |
| set -g default-terminal "tmux-256color" | |
| set -as terminal-overrides ",*:Tc" | |
| set -ga update-environment " COLORTERM" | |
| set-environment -g COLORTERM "truecolor" | |
| set-environment -gu NO_COLOR | |
| set -g focus-events on |
| set incsearch | |
| set hls | |
| set smartcase | |
| set ignorecase |
| // pretty print for find() | |
| DBQuery.prototype._prettyShell = true |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
| echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
| sudo apt update | |
| sudo apt install -y --allow-unauthenticated mongodb-org-shell |
| package utils | |
| import ( | |
| "regexp" | |
| "sort" | |
| "strings" | |
| ) | |
| // match html tag and replace it with "" | |
| func RemoveHtmlTag(in string) string { |
| import os | |
| import socket | |
| s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
| s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1) | |
| print('create socket') | |
| s.bind(('0.0.0.0', 19823)) |