git clone [email protected]:fewspider/client-1.git
克隆一个项目到本地,默认路径是git项目的地址
git status
查看当前分支的状态
git add .
添加当前的修改
git commit -m 'update'
记录一个修改
git push origin master
提交当前所有修改到远程master
分支
# -*- coding: utf-8 -*- | |
''' | |
copyright: (c) 2015 by fewspider([email protected]). | |
~~~~~~~~~ | |
converter 10 to 26,like: | |
1 -> A | |
2 -> B | |
27 -> AA | |
~~~~~~~~~ | |
test it: |
function isIntNumber(value) { | |
var numberRe = /^-?[0-9]+$/; | |
return typeof(value) === 'number' && numberRe.test(value); | |
} |
git clone [email protected]:fewspider/client-1.git
克隆一个项目到本地,默认路径是git项目的地址
git status
查看当前分支的状态
git add .
添加当前的修改
git commit -m 'update'
记录一个修改
git push origin master
提交当前所有修改到远程master
分支
import 'whatwg-fetch'; | |
import queryString from 'query-string'; | |
import { fetchMessage, fetchRootDomain } from './helper'; | |
import { toast } from 'react-toastify'; | |
export default class Request { | |
constructor(token) { | |
this.baseUrl = fetchRootDomain() + '/'; | |
this.token = token; | |
} |
var data = { | |
a: { | |
b: '' | |
}, | |
d: '0', | |
dct: { | |
'0': 'aaaa', | |
'1': 'bbbb' | |
} | |
} |
function fetchLast(obj, strs) { | |
// 1 | |
// obj = a | |
// strs = ['b', 'c', 'd'] | |
// 2 | |
// obj = a['b'] | |
// strs = ['c', 'd'] | |
// 3 |
{ | |
"anytime":[ | |
"abandon [ə'bændən] vt. 放弃,沉溺n. 放任", | |
"abashed [ə'bæʃt] adj. 1 (在人前) 感觉羞愧的,局促不安的,困窘的; 2. [因…]局促不安的", | |
"abate [ə'beit] vt. 缓和,减弱,减少,废除vi. 缓和,减弱,减少", | |
"abdicate [æbdi'keit] vt. 放弃vi. 逊位", | |
"abduct [æb'dʌkt] vt. 诱拐,绑走", | |
"abhor [əb'hɔ:] vt. 憎恶,痛恨", | |
"abhorrent [əb'hɔrənt] a. 令人憎恨的,可恶的,不一致的,相反的,厌恶的", | |
"ability [ə'biliti] n. 能力,才干", |
set osd_warn_bitmask = 34813 | |
set osd_link_quality_pos = 2578 | |
set osd_rssi_dbm_pos = 2586 | |
set osd_tim_2_pos = 3084 | |
set osd_flymode_pos = 2048 | |
set osd_throttle_pos = 2487 | |
set osd_warnings_pos = 14880 | |
set osd_avg_cell_voltage_pos = 3619 | |
set osd_pit_ang_pos = 2610 | |
set osd_rol_ang_pos = 2618 |