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
.full { | |
width: 100% !important; | |
margin-left: auto; | |
margin-right: auto; | |
max-width: 100% !important; | |
} |
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
const validateRut = (value) => { | |
const cleanValue = value.replace(/\.|-/g, ''); | |
const isValid = /^\d{7,8}[0-9kK]$/.test(cleanValue); | |
if (isValid) { | |
const rutBody = cleanValue.slice(0, -1); | |
const rutVerifier = cleanValue.slice(-1).toUpperCase(); | |
const product = rutBody | |
.split('') | |
.reverse() |
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"es2021": true | |
}, | |
"extends": [ | |
"plugin:react/recommended", | |
"airbnb", | |
"plugins:react-hooks/recommended", | |
"prettier" |
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
{ | |
"singleQuote": true, | |
"trailingComma": "none", | |
"endOfLine": "auto", | |
"tabWidth": 2 | |
} |
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 React, {Component, useState} from 'react'; | |
import {StyleSheet, Text, View, FlatList, StatusBar, Image} from 'react-native'; | |
import { withNavigation } from 'react-navigation'; | |
import ModalSelector from 'react-native-modal-selector'; | |
import { FontAwesome } from '@expo/vector-icons'; | |
import RNDatePicker from '@react-native-community/datetimepicker'; | |
import ListaItem from './Lista'; | |
import Header from './Header'; | |
import Footer from './Footer'; |
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
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios |
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
"dev": "parcel src/index.html", | |
"build": "parcel build src/index.html" |
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 React, { Component } from 'react'; | |
class Home extends Component{ | |
render() { | |
return this.props.children | |
} | |
} | |
export default Home; |
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
<script src="https://unpkg.com/vue"> </script> |
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
{ | |
terrenos: site(url: "https://www.yapo.cl/magallanes_antartica/comprar?ca=14_s&cmn=290&ret=5&cg=1220&o=1") { | |
numberOfTitles: count(elem: "tr.listing_thumbs") | |
titles: selectAll(elem: "tr.listing_thumbs") { | |
select(elem :".title") { | |
titulo :text | |
url : href | |
} | |
precio : select(elem :".price") { | |
text |
NewerOlder