This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /tmp || exit | |
echo "Downloading Postman ..." | |
wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz | |
tar -xzf postman.tar.gz | |
rm postman.tar.gz | |
echo "Installing to opt..." | |
if [ -d "/opt/Postman" ];then | |
sudo rm -rf /opt/Postman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "3e9c1504-14c0-b19b-0574-57104e01b79f", | |
"name": "Go-Jek", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Login with email", | |
"request": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
image: lagden/cep_consulta:latest | |
command: ["node", "index.js"] | |
environment: | |
- NODE_ENV=production | |
- RHOST=redis | |
ports: | |
- 1235:3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Important modules this config uses | |
const path = require('path') | |
const HtmlWebpackPlugin = require('html-webpack-plugin') | |
const WebpackPwaManifest = require('webpack-pwa-manifest') | |
const OfflinePlugin = require('offline-plugin') | |
const { HashedModuleIdsPlugin } = require('webpack') | |
module.exports = require('./webpack.base.babel')({ | |
mode: 'production', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
import { | |
Text, | |
View, | |
ScrollView, | |
StyleSheet, | |
// Animated, | |
PanResponder, | |
TouchableHighlight, |