Skip to content

Instantly share code, notes, and snippets.

View alvarovm's full-sized avatar
🏠
Working from home

Alvaro Vazquez-Mayagoitia alvarovm

🏠
Working from home
View GitHub Profile
@alvarovm
alvarovm / Jerga-Yucatan.txt
Created September 16, 2021 06:54
Breviario de la jerga Yuca
Breviario de la jerga Yuca:
-Achocar: Acomodar apretujadamente.
-Anolar: Chupar un dulce.
-Box (ito): Negro (negrito).
-Bobox: Parte baja de la espalda (Trasero).
-Cabax: Simple, hecho al aí se va.
-Caas Keb: Muy feo (está muy caas-keb esto).
-Chan: Pequeño .
-Chop: Tuerto.
@alvarovm
alvarovm / listado-de-libros.md
Last active September 16, 2021 06:46
LAS MEJORES 100 NOVELAS DE LA LENGUA ESPAÑOLA DE LOS ÚLTIMOS 25 AÑOS
@alvarovm
alvarovm / python_and_fortran_omp.md
Last active September 1, 2021 15:48
Notes for calling fortran code with openmp in python

Notes for calling Fortran90 code with OpenMP in python

Dependecies:

  • numpy
  • gfortran

The function vectormt contain fortran code and openmp calls and will be compiled with gfortran. A similar compilations could be done using hpc-sdk or OpenMP (targets) for GPU support.

File: vectormt.f90

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://i-like-robots.github.io/EasyZoom/dist/easyzoom.js"></script>
<div class="easyzoom easyzoom--overlay">
<a href="http://cssglobe.com/lab/easyzoom/small.jpg" >
<img src="http://cssglobe.com/lab/easyzoom/large.jpg" alt="" height="300"/>
</a>
</div>
Columna Fabrizio Mejía Madrid en la Jornada
https://www.jornada.com.mx/2020/08/15/opinion/014a1pol
@alvarovm
alvarovm / ssh-confs-tweaks.md
Last active May 5, 2021 16:54
SSH notes and trics
Water dimer example
===================
Calculations needed:
E_water1
E_water1_ghost
E_water2
E_water2_ghost
E_dimer
g=0
t=0
ff=40000
#ff=5
destiny=output.save.$t
mkdir $destiny
THIS=$(pwd)
git clone https://github.com/alcf-perfengr/iprof.git
git clone https://github.com/intel/opencl-intercept-layer.git
cd opencl-intercept-layer
cmake -H. -Bbuild . -DENABLE_CLILOADER=ON
cd build
make && make install
export PATH=${THIS}/opencl-intercept-layer-master/install/bin:${PATH}
export PATH=${THIS}/iprof:${PATH}
ssh -D 8888 [email protected]
Firefox
-> Preferences
-> Connection Settings
->Manual proxy configuration
-> SOCKS HOST:localhost
-> Port: 8888
Get https://github.com/sshuttle/sshuttle