If you use cursor.com this can be useful
duti
can be used to directly remap the vscode://
URL scheme to the cursor://
application without the need for an intermediary script.
-
Install
duti
(if you haven't already):
brew install duti
127.0.0.1 api.ad.xiaomi.com | |
127.0.0.1 sdkconfig.ad.xiaomi.com | |
127.0.0.1 ad.mi.com | |
127.0.0.1 ad.xiaomi.com | |
127.0.0.1 ad1.xiaomi.com | |
127.0.0.1 adv.sec.miui.com | |
127.0.0.1 test.ad.xiaomi.com | |
127.0.0.1 new.api.ad.xiaomi.com |
“Every line of code should appear to be written by a single person, no matter the number of contributors.” —@mdo
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
//wearversion | |
//wearlog | |
//wearvoiceinputenable | |
//wearvoiceinputdisable | |
//weargoogleapi | |
//assert | |
//pushassert | |
//uplog | |
//upcrash | |
//switchnotificationstatus |
var React = require('react'); | |
var EventListener = require('react/lib/EventListener'); | |
var partition = require('linear-partitioning'); | |
var TileLayout = React.createClass({ | |
getDefaultProps: function() { | |
return { | |
gutter: 0, | |
photos: [] | |
} |
{"status":"error","error":{"msg":"\u6b64\u997f\u5355\u5df2\u6295\u8bc9","code":23}} |
#!/bin/bash | |
#################################################### | |
# # | |
# This is a ocserv installation for CentOS 7 # | |
# Version: 1.1.1 20140803 # | |
# Author: Travis Lee # | |
# Website: http://www.stunnel.info # | |
# # | |
#################################################### |
var gulp = require('gulp'), | |
sass = require('gulp-ruby-sass'), | |
gulpif = require('gulp-if'), | |
usemin = require('gulp-usemin'), | |
uglify = require('gulp-uglify'), | |
gutil = require('gulp-util'), | |
concat = require('gulp-concat'), | |
plumber = require('gulp-plumber'), | |
browserify = require('gulp-browserify'), | |
minifyHTML = require('gulp-minify-html'), |
// firefox 和 chrome 是 [1024, 6, 5, 3, 2, 1] | |
// safari 中顺序没变 | |
[1,3,2,5,6,1024].sort(function(a, b) { | |
return b > a; | |
}); | |
// 在各中浏览器工作一致的方法 | |
// 用正负和零来排序,而不是 true/false | |
[1,3,2,5,6,1024].sort(function(a, b) { |