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
| { | |
| "expo": { | |
| "name": "appName", | |
| "icon": "./src/img/icon.png", | |
| "version": "#.#.#", | |
| "slug": "app-name", | |
| "sdkVersion": "27.0.0", | |
| "description": "more on app.", | |
| "privacy": "unlisted", | |
| "orientation": "portrait", |
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
| gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -sOutputFile=output.pdf input.pdf | |
| // where "input.pdf" is the name of your PDF file.. |
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
| ==== FOR ANDROID ==== | |
| 1. Run `expo build:android` | |
| this option appears on terminal, | |
| -------------------------------------------------------------------------- | |
| | [exp] No currently active or previous builds for this project. | | |
| | | | |
| | Would you like to upload a keystore or have us generate one for you? | | |
| | If you don't know what this means, let us handle it! :) | |
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, Animated, Easing, Dimensions } from 'react-native'; | |
| const {width, height} = Dimensions.get('window'); | |
| export default class Stagger extends Component{ | |
| componentWillMount(){ | |
| this.anime1 = new Animated.Value(0); | |
| this.anime2 = new Animated.Value(0); |
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 { | |
| AppRegistry, | |
| StyleSheet, | |
| View, | |
| Animated, | |
| PanResponder | |
| } from 'react-native'; | |
| const SQUARE_DIMENSIONS = 100; |
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
| this.PERMISSIONS = { | |
| READ_CALENDAR: 'android.permission.READ_CALENDAR', | |
| WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR', | |
| CAMERA: 'android.permission.CAMERA', | |
| READ_CONTACTS: 'android.permission.READ_CONTACTS', | |
| WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS', | |
| GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS', | |
| ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION', | |
| ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION', | |
| RECORD_AUDIO: 'android.permission.RECORD_AUDIO', |
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
| new Date().toISOString().replace(/T.*/,'').split('-').reverse().join('-') |
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
| let arrayOfID = [], temp; | |
| storeBillIDinArray = (ID) => { | |
| if(arrayOfID.length === 0){ | |
| arrayOfID.push(ID); | |
| console.log(`Initial Array of ID: ${arrayOfID}`); | |
| }else{ | |
| for(let i = 0; i < arrayOfID.length; i++){ | |
| if(arrayOfID[i] === ID){ | |
| console.log(`already exist!!`); |
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, Text, Button, View, ScrollView, Dimensions } from 'react-native'; | |
| import styles from './styles'; | |
| /* | |
| const styles = StyleSheet.create({ | |
| flexBox:{ flex: 1,}, | |
| adjustCenter: {justifyContent: 'center', alignItems: 'center',}, | |
| adjustTop: {justifyContent: 'flex-start', alignItems: 'center',} |
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 kill all ports, write in command line... */ | |
| pkill node | |
| /* to kill a port through pid */ | |
| /* 1st, find id from port */ | |
| sudo lsof -i :8081 | |
| /* then, kill it */ | |
| kill -9 23583 |