I hereby claim:
- I am ultimagriever on github.
- I am lastrevpamela (https://keybase.io/lastrevpamela) on keybase.
- I have a public key whose fingerprint is 142A 5F23 04A3 11B0 9F98 EF01 26F2 5E58 34BE D912
To claim this, I am signing this object:
| import React, { Component } from 'react'; | |
| import { View } from 'react-native'; | |
| export default class ${COMPONENT} extends Component { | |
| render() { | |
| return ( | |
| <View /> | |
| ); | |
| } | |
| } |
| # Usage: sh heroku-config-set.sh [/path/to/.env] [app-name] | |
| ENV_FILE=$1 | |
| APP=$2 | |
| heroku config:set $(cat $ENV_FILE) -a $APP |
| function generateRandomString(length = 32) { | |
| let hash = ''; | |
| for (let i = 0; i < length; i++) { | |
| hash += (Math.floor(Math.random() * 16)).toString(16); | |
| } | |
| return hash; | |
| } |
| AWSTemplateFormatVersion: 2010-09-09 | |
| Transform: AWS::Serverless-2016-10-31 | |
| Resources: | |
| VPC: | |
| Type: AWS::EC2::VPC | |
| Properties: | |
| CidrBlock: 10.0.0.0/16 | |
| InternetGateway: |
| exports.handler = async function (event) { | |
| // event variables looks like this: | |
| // { | |
| // "body": "eyJ0ZXN0IjoiYm9keSJ9", | |
| // "resource": "/{proxy+}", | |
| // "path": "/path/to/resource", | |
| // "httpMethod": "POST", | |
| // "isBase64Encoded": true, | |
| // "queryStringParameters": { | |
| // "foo": "bar" |
I hereby claim:
To claim this, I am signing this object:
| function conectar() { | |
| // aqui vai toda a rotina de connect... | |
| mysql_connect(....); | |
| } | |