This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/Bash | |
# 检测是否已安装 nvm | |
if [ -d "$HOME/.nvm" ]; then | |
echo "nvm 已经安装" | |
else | |
# 下载并安装 nvm | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
# 将相关配置添加到 ~/.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProGoScene extends eui.Component implements eui.UIComponent{ | |
private boomBtn:eui.Image; | |
private bgmSoundChannel:egret.SoundChannel; | |
private backBtn:eui.Image; | |
private proFactory:egret.MovieClipDataFactory; | |
private proMovieGroup:eui.Group; | |
private proMovieClip:egret.MovieClip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 2017 时间轴 | |
- for循环的应用,求取各个位数的数字 | |
- 百位数除以100,可以取得百位数上的数字 | |
- 百位数除以10取余可以,取得个位上的数字 | |
- 百位数除以10,取整,将百位数转变为十位数,再除以10取余数,可以的十位数 | |
## 2017/12/29 9:31:42 | |
- 如何获取一个数组中的序号对称值: | |
- q:[].Length-1-i(q,i为序号) | |
- 学会分析:尝试将一组数据逐个写出来,观察其中的规律 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 2018/1/1 10:30:54 | |
- 关于`bool`的类型的编程方法实际应用理解,判断当前某个对象的当前如何 | |
```c# | |
bool isDead=true; | |
if(isDead){ | |
cout<<"游戏结束处理"<<endl; | |
} | |
``` |