This file contains hidden or 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
Entrar no postgres: | |
- psql postgres | |
Criar usuário: | |
- CREATE ROLE strapi WITH LOGIN PASSWORD 'strapi'; | |
Alterar senha para senha encriptada: | |
- ALTER USE strapi WITH ENCRYPTED PASSWORD 'strapi123'; | |
Criar banco de dados: |
This file contains hidden or 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 from 'react'; | |
import WebView from 'react-native-webview'; | |
export type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`; | |
export interface BlurContainerProps { | |
backgroundColor: RGBA; | |
blurRadius: number; | |
} |
This file contains hidden or 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
brew install libimobiledevice | |
idevice_id --list // list available device UDIDs | |
idevicesyslog -u <device udid> |
This file contains hidden or 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
to log all console.log() in iOS release mode: | |
1. go to RCTLog (cmd shift o) | |
2. edit the method RCTLogTypeForLogLevel to: | |
static os_log_type_t RCTLogTypeForLogLevel(RCTLogLevel logLevel) | |
{ | |
return OS_LOG_TYPE_ERROR; | |
} | |
3. rebuild the app |
This file contains hidden or 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
xcrun simctl list | egrep '(Booted)' |
OlderNewer