连接目标和美好事物,喂养用户强大的大脑。
国庆回家发现家人连接着wifi,在刷今日头条、抖音,百度一下知识点,这一场景引发了我的一些思考,以下做个简单的分享:
- 品牌传递给用户的价值是非常重要的
- 将产品和美好事物或代名词做绑定有助于用户做选择
- 长期博弈下,真正优秀的产品才能留住用户
来几个口号:
# cat << EOF > /dev/null | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# /!\ do not edit this file | |
# instead, override settings in ~/.tmux.conf.local, see README.md | |
# -- general ------------------------------------------------------------------- |
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 |
// pretty print for find() | |
DBQuery.prototype._prettyShell = true |
set incsearch | |
set hls | |
set smartcase | |
set ignorecase |
#%% | |
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)) |
#include <iostream> | |
using namespace std; | |
class Base1 { | |
public: | |
virtual void f() { cout << "Base1:f" << endl;} | |
virtual void g() { cout << "Base1::g" << endl;} | |
}; |
import enum | |
class Instruction(enum.Enum): | |
HLT = 0 | |
ADD = 1 | |
POP = 2 | |
PSH = 3 | |
SET = 4 | |
Get = 5 | |
JMP = 6 |
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2
tar xvf protobuf-2.5.0.tar.bz2
cd protobuf-2.5.0
./configure CC=clang CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++ -O3 -g' LDFLAGS='-stdlib=libc++' LIBS="-lc++ -lc++abi"
make -j 4
sudo make install
protoc --version
find command with exclude
find -name "*.js" -not -path "./directory/*" -not -path "*thrift_gen/*"
remove duplicate column:
awk '!seen[$0]++' filename