Rick
blog

Home Archives Tags Categories Link About
Rick
The val,var,const in kotlin 2020-01-17|kotlin
从生命周期上看The const keyword is used to define compile time constants,I.e, the value of the const variable is known at compile time. Whereas ‘val’ is used ...
Read more
Implement apply call bind 2019-12-18|js
applyuse ES6123456789101112131415161718192021222324Function.prototype.myCall = function(obj, ...args) { if (obj === null || obj === undefined) & ...
Read more
English grammar 2019-10-25|english grammar
Future forms Future simple:I will go to beijing tomorrow.(decide now) Present continuous for future:I am meeting Tom at the station at six.(decide i ...
Read more
javascript prototype chain 2019-09-07|js
javascript原型链的介绍我们经常会这么写 12345678function Person () { this.name = 'John';}var person = new Person();Person.prototype.say = function()  ...
Read more
golang几种输出函数的对比 2019-08-24|golang
golang中 Print Sprint Fprint的对比1234567891011121314151617181920212223242526272829303132package mainimport ( "fmt" "os")type po ...
Read more
箭头函数和普通函数中的this 2019-08-03|arrows function
箭头函数的写法123var fun = () => { return 1;} 等于 123function fun() { return 1;} 普通函数中的this this总是代表它的直接调用者, 例如 obj.function ,那么func ...
Read more
vscode debug node 2019-07-30|vscode_debug
准备调试代码index.ts123456let sum: number = 0;for (let i = 1; i <= 100; i++) { sum += i;}console.log('Sum is %s', sum); 编写相应的 tsconfig.jsonts ...
Read more
brew 2019-07-29|brew
brew install 禁止update homebrew1export HOMEBREW_NO_AUTO_UPDATE=true
Read more
module.exports 和 exports,export 和export default的区别 2019-07-25|js
module.exports和exportsmodule变量代表当前模块。这个变量是一个对象,module对象会创建一个叫exports的属性,这个属性的默认值是一个空的对象: module.exports用法exports的方法和属性都可以被module.exports代替 1console.lo ...
Read more
crontab 2019-07-25|crontab
需求定时清理指定目录下三天前的日志 delLogs.sh12345678910111213141516#!/bin/shto_clear_dir=(1 2 3 4 5)function cleanlog () { for item in ${to_clear_dir[@]& ...
Read more
123

Rick

blog

Articles

23

Tags

17

Categories

16

Add to bookmark
Announcement
感謝訪問本站,若喜歡請收藏 ^_^
Recent Post
java-classLoader
2020-05-17
trapping-rain-water
2020-05-17
typescript 工具泛型
2020-04-30
supervisor stop progress
2020-04-22
ts reflect to define api(like retrofit
2020-04-22
Categories
  • Design Pattern1
  • Firefox extension1
  • algorithm1
  • arrows function1
  • brew1
  • crontab1
  • english grammar1
  • git1
  • golang1
  • java1
  • js5
  • kotlin1
  • supervisor1
  • ts1
  • typescript3
  • vscode_debug1
Tags
algorithm arrows function brew english grammar export extension git golang java js kotlin linux prototype chain supervisor ts typescript vscode_debug
Archives
  • 2020年05月2
  • 2020年04月4
  • 2020年03月4
  • 2020年01月1
  • 2019年12月1
  • 2019年10月1
  • 2019年09月1
  • 2019年08月2
  • 2019年07月7
Info
Article :
23
Run time :
UV :
PV :
©2018 - 2020 By Rick
Driven Hexo|Theme Butterfly
Hi, welcome to my blog!
簡