Skip to content

Instantly share code, notes, and snippets.

1. clonar el proyecto
git clone git@github.com:lrlineroa/RetoAlaU[grupo].git
2. crear la carpeta de cada uno
mkdir "Juan Nepomuceno"
3. creando un nuevo archivo dentro de la carpeta de cada uno.
echo "print('Dani me merezco un 5 por parte de [nombre de cada uno]')" > estimado.py
4. Trayendo los cambios del repo remoto que se llama origin y su rama se llama main
1. generación del par de llaves
ssh-keygen -t rsa -b 4096 -C "this is my ssh confident key"
2. visualizar la llave publica
cat ~/.ssh/id_rsa.pub
3. Después de seguir la gúia https://www.w3schools.com/git/git_remote_add_ssh.asp?remote=github , pdemos testear la conexión con
ssh -T git@github.com
git --version
mkdir MyRepo
mkdir "MyRepo"
echo "hola como estás 1" > hola.txt
cat hola.txt
git init
git status
git add .
git commit -m "mi primer commit en git"
//react-native-unimodules installation
apply from: '../node_modules/react-native-unimodules/gradle.groovy'
includeUnimodulesProjects()
//react-native-unimodules installation
rootProject.name = 'supercerebros'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
package com.cerezabusiness.supercerebros;
import com.facebook.react.ReactActivity;
// react-native-splash-screen instalation
import org.devio.rn.splashscreen.SplashScreen; // here
import android.os.Bundle;//here
public class MainActivity extends ReactActivity {
/**
package com.cerezabusiness.supercerebros;
import androidx.multidex.MultiDexApplication;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException;
apply plugin: "com.android.application"
import com.android.build.OutputFile
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
* and bundleReleaseJsAndAssets).
* These basically call `react-native bundle` with the correct arguments during the Android build
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
* bundle directly from the development server. Below you can see all the possible configurations
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
import React, { Component } from 'react';
import {View,Text,StyleSheet} from 'react-native';
class EntryPoint extends Component {
constructor(props) {
super(props);
this.state = { }
}
render() {
return ( <View>
module.exports = {
project: {
ios: {},
android: {},
},
assets: [
"./src/assets/fonts/"
],
}