- Homebrew should be installed (Command line tools for Xcode are included).
- Install
nvmvia Homebrew
| --- | |
| - name: Check and update NAT rule source address | |
| hosts: all | |
| gather_facts: false | |
| vars: | |
| nat_rule_id: "1" # NAT rule to check | |
| cidr_suffix: "/24" # CIDR suffix | |
| tasks: | |
| - name: Get the current external IP of the EdgeRouter |
| require 'net/http' | |
| require 'net/https' | |
| require 'json' | |
| def t_puts(*args) | |
| print Time.now.strftime("[%Y-%m-%d %H:%M:%S] ") | |
| puts *args | |
| end | |
| # Request (POST ) |
| ~/.rncache | |
| ~/.npm | |
| /Applications/Android Studio.app | |
| /Applications/Xcode.app | |
| ~/Library/Android/sdk |
nvm via Homebrew| const contList = document.querySelector('.contList'); | |
| const mailAddresses = []; | |
| contList.querySelectorAll('ul').forEach(function(node) { | |
| const name = node.querySelector('.firstLine').textContent.trim(); | |
| const mail_address = node.querySelector('.mailAddress').textContent.trim(); | |
| mailAddresses.push([name, mail_address]); | |
| }); | |
| let csvContent = "data:text/csv;charset=utf-8,"; | |
| let rows = mailAddresses | |
| rows.forEach(function(rowArray) { |
| /* @flow */ | |
| import MobClick from '@utils/umeng'; | |
| import { ActionConst } from 'react-native-router-flux'; | |
| import { all, takeEvery, fork } from 'redux-saga/effects'; | |
| function* watchPageEnter() { | |
| yield takeEvery(ActionConst.FOCUS, function*(action) { | |
| const { routeName } = action; | |
| MobClick.onPageStart(routeName); |
| / | |
| ├── ios/ | |
| │ └── .gitignore | |
| ├── android/ | |
| │ └── .gitignore | |
| ├── js/ | |
| │ ├── App.js // react-native-router-flux 路由 | |
| │ ├── actions/ | |
| │ ├── assets/ // 素材内容 | |
| │ ├── components/ // Pure Components |
| const registerJPush = (alias, tags) => { | |
| if (!JPushConnected) { | |
| return throttledRegister(alias, tags); | |
| } | |
| if (alias) { | |
| JPushModule.setAlias(alias, ({ errorCode = 0 }) => { | |
| if (errorCode) { | |
| throttledRegister(alias, null); | |
| } | |
| }); |
| | | |
| iOS Device | Mac | |
| | | |
| +----------------+ +----------------+ | |
| |Peertalk Server | connect |Peertalk Client | | |
| | <------------+ | | |
| | | | | | |
| | Port 8025| | | | |
| +----+-----------+ +---------^------+ |
| Number Start End Size File system Name Flags | |
| 34s 2047s 2014s Free Space | |
| 1 2048s 4982527s 4980480s ext4 Linux RAID raid | |
| 2 4982528s 9176831s 4194304s linux-swap(v1) Linux RAID raid | |
| 9176832s 9453279s 276448s Free Space | |
| 5 9453280s 3221007391s 3211554112s Linux RAID raid | |
| 3221007392s 6442450910s 3221443519s Free Space |