One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
// Promise.all is good for executing many promises at once | |
Promise.all([ | |
promise1, | |
promise2 | |
]); | |
// Promise.resolve is good for wrapping synchronous code | |
Promise.resolve().then(function () { | |
if (somethingIsNotRight()) { | |
throw new Error("I will be rejected asynchronously!"); |
Grafana | |
http://grafana.org/ | |
Kibana (!) | |
https://habrahabr.ru/company/uteam/blog/278729/ |
https://github.com/reactjs/redux | |
https://facebook.github.io/react/ | |
https://facebook.github.io/react-native/ | |
https://facebook.github.io/immutable-js/ |
'use strict'; | |
import PushNotification from "react-native-push-notification"; | |
let _pushNotificationToken = null; | |
const _pushNotificationListeners = []; | |
function init() { | |
console.log("PushNotification init"); |
class CachedImage extends Component { | |
constructor(props) { | |
super(props) | |
this.state = { | |
cachedImagePath: null | |
} | |
} | |
componentWillMount() { | |
if (this.props.source) |
git clone - выкачать репозиторий | |
git pull – получение изменений из удаленного репозитория | |
git checkout - переключиться на ветку | |
git checkout –b - отведение новой ветки от текущей с переключением на нее | |
git add – добавление файлов в индекс | |
git commit –m ‘’ – коммит с комментарием | |
git push origin - пуш закоммиченных изменений в удаленный репозиторий origin | |
git branch –d - локальное удаление ветки | |
git stash save –keep-index + git stash drop – локальное удаление изменений в отслеживаемых файлах | |
git rm -r --cached node_modules && git commit -m 'Remove the now ignored directory node_modules' - удаление node_modules |
sudo killall AppleCameraAssistant;sudo killall VDCAssistant |
# mount volume PWD on host to /app in container. | |
shai@lappy ~/tmp/example-working-docker-compose-environment-vars [master *] ± % cat docker-compose.yml | |
version: "3" | |
services: | |
some_server: | |
... | |
volumes: | |
- $PWD:/app |