Giter Site home page Giter Site logo

hdescobarh / journey-resolution Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.62 MB

Almaceno soluciones a algunas asignaciones de mi ultimo semestre 🥳 2024-01 🎉✨✨✨

License: MIT License

R 0.44% Shell 0.15% Jupyter Notebook 99.27% Python 0.06% Perl 0.08%

journey-resolution's Introduction

Monorepo Biología semestre 10

Almaceno soluciones a algunas asignaciones de mi ultimo semestre 🥳 2024-01 🎉✨✨✨

Enviromenment configuration

Python

  • Creación del entorno virtual a partir de requirements.txt
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python -m pip install -r requirements.txt

R

  • Es posible que toque instalar algunos paquetes necesarios para compilar código. Para debian based:
sudo apt-get install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev
  • Este paquete es necesario para usar las funcionalidades para R de VS Code
update.packages(ask=FALSE) # puede requerir sudo para actualizar algunos paquetes
install.packages("languageserver", dependencies=TRUE)
  • Kernel de R para Jupyter. Recordar tener instalado Jupyter en el entorno de Python
install.packages('IRkernel')
IRkernel::installspec()

Perl

  • Configurando cpan (para instalar en el home sí no se tiene privilegios)

Sí es la primera vez que se corre, entra en modo configuración

cpan

También se puede invocar desde la prompt the cpan:

cpan[1]> o conf init
  • Instalar cpanm
sudo cpan App::cpanminus
  • Instalando servidor de lenguaje (para usar richterger.perl)

Dependencias en Debian based

sudo apt install libanyevent-perl libclass-refresh-perl libcompiler-lexer-perl libdata-dump-perl libio-aio-perl libjson-perl libmoose-perl libpadwalker-perl libscalar-list-utils-perlx libcoro-perl
sudo cpanm Perl::LanguageServer
  • En caso de tener problemas con Perl::ServerLanguage, una opción es usar bscan.perlnavigator

Para algunas funcionalidades requiere Perl::Critic

sudo cpanm Perl::Critic

Como usar Jupyter para Python y R

  • Activar el entorno virtual sí no esta activo

  • Iniciar servidor

jupyter notebook

En caso de querer revisar los servidores activos y sus token:

jupyter server list
  • Seleccionar Kernel

Se puede trabajar con el notebook desde VSCode. Para seleccionar el kernel, es necesario indicar que se conecte a un servidor de Jupyter, colocar URL y password (Token), y seleccionar entre los kernel disponibles.

  • Opción sin servidor (solo Python): la extensión de Jupyter también permite seleccionar como "kernel" un entorno virtual de Python. Pero para trabajar con R o MATLAB se debe hacer creando un servidor.

Estructura de archivos

Las primeras 2 o 3 letras de las carpetas indican la asignatura asociada.

  • GRC: Genética de Rasgos Complejos (2029263), 2024-01, Johana Carolina Soto Sedano
  • PAB: Programación y algoritmos para Bioinformática (2025439), 2024-01, Clara Isabel Bermudez Santana
  • FV: Fisiología vegetal (2017538), 2024-01, Hernán Mauricio Romero

Conexión a través de un proxy

SSH to remote hosts through a proxy or bastion with ProxyJump

  • Con ProxyJump
ssh -J <user_name>@<jump_server:port> <remote_server:port>
  • Con ProxyCommand
ssh -o ProxyCommand="ssh -W %h:%p <user_name>@<jump_server>" <remote_server>
  • Configurando OpenSSH
### Jump server
Host <jump_nickname>
    HostName <jump_server>
    User <user_name>
    IdentityFile ~/.ssh/id_rsa
### Remote host
Host <remote_nickname>
    HostName <remote_server>c
    ProxyJump <jump_nickname>

journey-resolution's People

Contributors

hdescobarh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.