Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Salmon Salmonberry

🎯
Focusing
View GitHub Profile
@Salmonberry
Salmonberry / centos6.5_nginx
Created Mar 29, 2019 — forked from ifels/centos6.5_nginx
centos 6.5 nginx安装与配置
View centos6.5_nginx
第一步,在/etc/yum.repos.d/目录下创建一个源配置文件nginx.repo:
cd /etc/yum.repos.d/
vim nginx.repo
填写如下内容:
[nginx]
name=nginx repo
@Salmonberry
Salmonberry / Scene07.ts
Last active Nov 8, 2018
Typscript Learning Note
View Scene07.ts
class Scene07 extends eui.Component implements eui.UIComponent {
private nextButton: eui.Button;
private pongLabel: eui.Label;
private pongLabel0: eui.Label;
private KongLabel: eui.Label;
private strongLabel: eui.Label
;
private DongLabel: eui.Label;
private DongLabel0: eui.Label;
private kongLebel: eui.Label;
View ProGoScene.ts
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;
@Salmonberry
Salmonberry / extensions.json
Last active Feb 18, 2019
Visual Studio Code Settings Sync Gist
View extensions.json
[
{
"id": "2gua.rainbow-brackets",
"name": "rainbow-brackets",
"publisher": "2gua",
"version": "0.0.6"
},
{
"id": "aaron-bond.better-comments",
"name": "better-comments",
View bootstrap
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
View 2017
## 2017 时间轴
- for循环的应用,求取各个位数的数字
- 百位数除以100,可以取得百位数上的数字
- 百位数除以10取余可以,取得个位上的数字
- 百位数除以10,取整,将百位数转变为十位数,再除以10取余数,可以的十位数
## 2017/12/29 9:31:42
- 如何获取一个数组中的序号对称值:
- q:[].Length-1-i(q,i为序号)
- 学会分析:尝试将一组数据逐个写出来,观察其中的规律
@Salmonberry
Salmonberry / 2018
Last active Jan 2, 2018
discover a little knowledge from everday,be the better man.
View 2018
## 2018/1/1 10:30:54
- 关于`bool`的类型的编程方法实际应用理解,判断当前某个对象的当前如何
```c#
bool isDead=true;
if(isDead){
cout<<"游戏结束处理"<<endl;
}
```
View Default%20%28Windows%29.sublime-keymap
[
{ "keys": ["alt+s"], "command": "sublime_simple_sync"},
]
You can’t perform that action at this time.