Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
{ | |
"env": { | |
"browser": true, | |
"node": true, | |
"es6": true | |
}, | |
"plugins": ["react"], | |
"ecmaFeatures": { |
Moved to https://github.com/ebidel/puppeteer-examples |
# You will need fswatch installed (available in homebrew and friends) | |
# The command below will run tests and wait until fswatch writes something. | |
# The --stale flag will only run stale entries, it requires Elixir v1.3. | |
fswatch lib/ test/ | mix test --stale --listen-on-stdin |
spec: | |
template: | |
spec: | |
containers: | |
- name: {{ .Chart.Name }} | |
# ... | |
# | |
## Application health checks | |
# initialDelaySeconds: Number of seconds after the container has started before startup, liveness or readiness probes are initiated. | |
# periodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. The minimum value is 1. |
'use strict'; | |
const fs = require('fs'); | |
const expandHomeDir = require('expand-home-dir'); | |
const zshHistoryRaw = fs.readFileSync(expandHomeDir('~/.zsh_history'), 'utf8'); | |
const zshHistoryLines = zshHistoryRaw.split('\n'); | |
const transformLine = line => { | |
try { |
function av-exec | |
aws-vault exec $argv[1] -- $argv[2..-1] | |
end | |
function av-shell | |
av-exec $argv[1] fish | |
end | |
alias kexec-dev="kubectl-exec firma-dev" | |
alias kexec-stage="kubectl-exec firma-stage" |
var blob = require('azure').createBlobService() | |
, fs = require('fs') | |
, Q = require('q'); | |
var options = { publicAccessLevel: 'blob' }; | |
// With Q | |
var fsLstat = Q.nbind(fs.lstat, fs); | |
var getContainer = Q.nbind(blob.createContainerIfNotExists, blob); | |
var streamFile = Q.nbind(blob.createBlockBlobFromStream, blob); |
#!/bin/bash | |
# | |
# Creates a signed and zipaligned APK from your Ionic project | |
# | |
# Place your keystore in the root of your project and name it <company>.keystore | |
# Use this script as following : | |
# $ ./release.sh [company] [version] | |
# | |
# Don't forget to gitignore your key and your compiled apks. | |
# |
Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc
Não é simples fazer testes de aplicações react-native no device, por isso a maior parte das pessoas preferem testar separadamente os componentes (test unitários) usando o node.js e usar outras ferramentas para test de integração.
Dessa forma os testes unitários são como qualquer outro teste node.js. Você é livre para usar qualquer framework de testes, apesar da documentação oficial recomendar o uso do jest.