Skip to content

Instantly share code, notes, and snippets.

View destinyd's full-sized avatar
🏠
Working from home

destinyd destinyd

🏠
Working from home
View GitHub Profile
@destinyd
destinyd / rgc
Created March 7, 2019 08:14
Make writing git commit message easy that conform to git style guide.
#!/usr/bin/env ruby
class String
BLANK_RE = /\A[[:space:]]*\z/
# A string is blank if it's empty or contains whitespaces only:
#
# ''.blank? # => true
# ' '.blank? # => true
# "\t\n\r".blank? # => true
@destinyd
destinyd / error
Created January 9, 2019 06:16
yarn global add @tarojs/cli 报错
node -v   master ✘  14:19:53
=>v11.6.0
yarn -v
1.12.3
yarn global add @tarojs/cli
```
yarn global v1.12.3
warning ../package.json: No license field