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
| export PATH="$PATH":"$HOME/.pub-cache/bin" | |
| export EDITOR=nano | |
| export VISUAL="$EDITOR" | |
| export GPG_TTY=$(tty) | |
| #export PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}" | |
| # vscode as editor | |
| # git config --global core.editor "code --wait" | |
| # undo it >> git config --global --unset core.editor |
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
| { | |
| "files.autoSave": "afterDelay", | |
| "files.autoSaveDelay": 1000, | |
| "yaml.format.singleQuote": true, | |
| "editor.formatOnSave": true, | |
| "editor.foldingImportsByDefault": false, | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": "explicit", | |
| "source.fixAll": "always" | |
| }, |
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, {Component} from 'react'; | |
| import {StyleSheet, View, Text, NetInfo} from 'react-native'; | |
| import PropTypes from 'prop-types'; | |
| class InternetToast extends Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| isOnline: false |
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
| package com.sjl.util; | |
| import android.app.Activity; | |
| import android.app.Application; | |
| import android.content.Context; | |
| import android.os.Bundle; | |
| import android.os.Handler; | |
| import android.util.Log; | |
| import java.util.List; |
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
| /build |