Skip to content

Instantly share code, notes, and snippets.

View nshermione's full-sized avatar

Thinh Tran nshermione

  • MECORP
  • Vietnam
View GitHub Profile
pm2 set pm2-logrotate:max_size 30M
pm2 set pm2-logrotate:retain 200
pm2 set pm2-logrotate:compress true
pm2 set pm2-logrotate:dateFormat YYYY-MM-DD_HH-mm-ss
pm2 set pm2-logrotate:workerInterval 30
pm2 set pm2-logrotate:rotateInterval 0 0 * * *
pm2 set pm2-logrotate:rotateModule true
let mapleader=" "
set surround
set so=5
set commentary
sethandler <C-D> a:vim
sethandler <C-G> a:ide
sethandler <C-H> a:ide
sethandler <C-L> a:vim
@nshermione
nshermione / vn_chars.js
Last active September 15, 2021 15:03
Vietnamese characters
const d = `qwertyuiopasdfghjklzxcvbnm
đ
ý ỳ ỵ ỹ ỷ
ă â
á ắ ấ
à ằ ầ
ã ẵ ẫ
ả ẳ ẩ
export class Skeleton extends cc._RendererUnderSG {
/** !#en The skeletal animation is paused?
!#zh 该骨骼动画是否暂停。 */
paused: boolean;
/** !#en
The skeleton data contains the skeleton information (bind pose bones, slots, draw order,
attachments, skins, etc) and animations but does not hold any state.<br/>
Multiple skeletons can share the same skeleton data.
!#zh
骨骼数据包含了骨骼信息(绑定骨骼动作,slots,渲染顺序,
http://mslots.z88.net11
import {GlobalInfo} from './../core/GlobalInfo';
import {ResourceManager} from '../core/ResourceManager';
import {Cell} from './Cell';
import {Random} from '../core/Random';
import {Config} from '../Config';
import {MODEL_TYPE} from '../core/Constant';
import {ShaderComponent} from '../core/ShaderComponent';
const {ccclass, property} = cc._decorator;
/**
* Created by thinhtran on 1/30/17.
*/
class A {
protected a = 1;
constructor() {
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var A = (function () {
function A() {
this.a = 1;
}
A.prototype.talk = function () {
/**
* Created by thinhtran on 1/30/17.
*/
class A {
protected a = 1;
constructor() {