shlamp 2019-09-05
输入发占用快捷键。撤掉输入法的快捷键。还有系统自带快捷键也要取消。
在tools工具包中找到deepin-terminal中运行启动脚本。因为途中为去下在github源码。这里下载慢的可以直接先下载下来
然后执行
mkdir build cd build cmake .. make ./deepin-terminal
然后就是创建Ubuntu的桌面图标
[Desktop Entry] Encoding=UTF-8 Name=deepin-terminal Comment=shell advice Exec=/opt/soft/deepin-terminal/build/deepin-terminal Icon=/opt/soft/deepin-terminal/terminal.jpeg Categories=Application;Shell;Deepin-Terminal Version=1.0 Type=Application Terminal=0
然后在快捷键中设置Ctrl+Alt+T 为新的deepin-terminal
激活码
9MWZD5CC4E-eyJsaWNlbnNlSWQiOiI5TVdaRDVDQzRFIiwibGljZW5zZWVOYW1lIjoiMjAxNzY1MDYxQGNxdS5lZHUuY24gLiIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiJGb3IgZWR1Y2F0aW9uYWwgdXNlIG9ubHkiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IklJIiwicGFpZFVwVG8iOiIyMDIwLTAxLTI0In0seyJjb2RlIjoiQUMiLCJwYWlkVXBUbyI6IjIwMjAtMDEtMjQifSx7ImNvZGUiOiJEUE4iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMjQifSx7ImNvZGUiOiJQUyIsInBhaWRVcFRvIjoiMjAyMC0wMS0yNCJ9LHsiY29kZSI6IkdPIiwicGFpZFVwVG8iOiIyMDIwLTAxLTI0In0seyJjb2RlIjoiRE0iLCJwYWlkVXBUbyI6IjIwMjAtMDEtMjQifSx7ImNvZGUiOiJDTCIsInBhaWRVcFRvIjoiMjAyMC0wMS0yNCJ9LHsiY29kZSI6IlJTMCIsInBhaWRVcFRvIjoiMjAyMC0wMS0yNCJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDIwLTAxLTI0In0seyJ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i/zprZ0zf3qH5mkphtg6ksjKgKjmx1cXfZAAX6wcDBNaCL+Ortep1Dh8xDUbqbBVNBL4jbiL3i3xsfNiyJgaZ5sX7i8tmStEpLbPwvHcByuf59qJhV/bZOl8KqJBETCDJcY6O2aqhTUy+9x93ThKs1GKrRPePrWPluud7ttlgtRveit/pcBrnQcXOl1rHq7ByB8CFAxNotRUYL9IF5n3wJOgkPojMy6jetQA5Ogc8Sm7RG6vg1yow==
git安装的时候需要读者手动修改start.sh中的内容。、然后讲生成ssh秘钥放在仓库中。
tools/start.sh 一键安装(java,maven,idea,robot,navicat,node) 需要 source start.sh
tools/google/start.sh 安装google浏览器
tools/docker/docker.sh 安装docker并配置开发自启动(包含mysql.sh、 redis.sh 、mongo.sh)
tools/docker/mysql.sh docker启动mysql ,并开机自启动
tools/docker/redis.sh docker启动redis ,并开机自启动
tools/docker/mongo.sh docker启动mongo ,并开机自启动
tools/docker/valid_docker_images.sh 验证docker镜像是否安装,返回1表示已安装,0表示该镜像未拉取,需要拉取镜像
tools/deepin-terminal/start.sh 安装deepin-terminal 在原有的terminal基础上增加了连接远程的功能列表
ubuntu默认安装的gpg。
为了方便上传maven到中央仓库,我们需要生成gpg并上传
+ gpg --gen-key 然后根据提示设置 + apt install gnupg2
配置gpg
<profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>grootpg2</gpg.executable> <gpg.passphrase>Qq15996779085</gpg.passphrase> </properties> </profile>
选择暗黑,shell 未扩展解决方案
安装后启动报错,在Ubuntu1804中执行
+ `rm /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so` + `ln -s /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Gnome2/Vte/Vte.so /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so`
在Ubuntu17中执行
+ `rm /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so` + `ln -s /home/eli/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Gnome2/Vte/Vte.so /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so`
分别通过上述网址查询以下两个域名实际ip
github.global.ssl.fastly.net
github.com
然后配置在 /etc/hosts下。然后访问速度飞起。
加入战队
不管是 Android 代码还是数据结构的设计,都涉及到算法的问题,其中时间复杂度是一个Core,这篇文章我们就一起聊聊时间复杂度的原理!要想编写出能高效运行的程序,我们就需要考虑到 “算法的效率”。