Skip to content

Instantly share code, notes, and snippets.

View Aermberry's full-sized avatar
🎯
Focusing

Aermberry Aermberry

🎯
Focusing
View GitHub Profile
@Aermberry
Aermberry / nvm_install_raspberry_pi.sh
Last active December 17, 2023 14:50
linux_install_configuration
#! /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
@Aermberry
Aermberry / ProGoScene.ts
Last active November 6, 2018 09:19
egret
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;
## 2017 时间轴
- for循环的应用,求取各个位数的数字
- 百位数除以100,可以取得百位数上的数字
- 百位数除以10取余可以,取得个位上的数字
- 百位数除以10,取整,将百位数转变为十位数,再除以10取余数,可以的十位数
## 2017/12/29 9:31:42
- 如何获取一个数组中的序号对称值:
- q:[].Length-1-i(q,i为序号)
- 学会分析:尝试将一组数据逐个写出来,观察其中的规律
@Aermberry
Aermberry / 2018
Last active January 2, 2018 16:18
discover a little knowledge from everday,be the better man.
## 2018/1/1 10:30:54
- 关于`bool`的类型的编程方法实际应用理解,判断当前某个对象的当前如何
```c#
bool isDead=true;
if(isDead){
cout<<"游戏结束处理"<<endl;
}
```