从零开始学 Flutter
环境配置
MAC 下配置环境
下载 SDK
1 | git clone -b master https://github.com/flutter/flutter.git |
配置环境变量
1 | 1. |
心有猛虎 细嗅蔷薇
MAC 下配置环境
1 | git clone -b master https://github.com/flutter/flutter.git |
1 | 1. |
自己 Mac 常用的 node 版本切换 工具是 n。但是在 Centos 7 上始终无法切换版本。
1 | curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash |
1 | source ~/.bashrc |
1 | nvm install [Node版本号] |
1 | nvm list |
1 | nvm use [Node版本号] |
主要是给自己的云服务器安装 Node 环境,能方便的使用 Node 版本。
zssh 全名 zmodem ssh。
1.不需要使用很长的命令和密码,直接使用 rz、sz 加文件名就能实现文件的收发。
2.目标主机和本地主机直接传送文件,使用 sz 可以直接穿透。
1 | brew intall zssh |
1 | // 登录 |
在面试题中会问到的一些字符串操作,趁着刚好有时间,了解下~
返回一个出现次数最多的字母的数组
1 | var str = 'dsahdshadjshajdhadjshajdhsajdshajsd' |