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
find ./src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \; |
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
// get | |
export const _getStorageValue = async (name, options) => { | |
let decript = options === 'decript'; | |
try { | |
const value = await AsyncStorage.getItem(name); | |
return decript ? Buffer.from(value, 'base64').toString('ascii') : value | |
} catch (error) { | |
console.log(error) | |
return error |
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 axios from 'axios'; | |
const isDev = process.env.NODE_ENV === 'development'; | |
let baseURL = isDev ? | |
'http://teste.clickpygg.com/api/' | |
: | |
'http://dashboard.clickpygg.com/api/'; | |
const api = axios.create({ |
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
{ | |
"Use Non-ASCII Font" : false, | |
"Tags" : [ | |
"Dynamic" | |
], | |
"Ansi 12 Color" : { | |
"Green Component" : 0.86277559999999998, | |
"Red Component" : 0.71165029999999996, | |
"Blue Component" : 0.9982605 | |
}, |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/victorcbr/.oh-my-zsh" | |
source ~/awesome-terminal-fonts/build/*.sh | |
# Set name of the theme to load --- if set to "random", it will |
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
#FROM node:alpine as builder | |
#MAINTAINER Victor Bredarioli <[email protected]> | |
# Install Git | |
#RUN apk update && \ | |
# apk upgrade && \ | |
# apk add --virtual .build-deps nodejs && \ | |
# apk add tzdata && \ | |
# rm -rf /var/cache/apk/* |