Skip to content

Instantly share code, notes, and snippets.

View sestelo's full-sized avatar

Marta Sestelo sestelo

View GitHub Profile
@sestelo
sestelo / install_sublime_text_for_fortran.md
Last active April 1, 2024 14:44
How to configure Sublime text for working with Fortran code

First steps

Note: I'm supposing you have the gfortran compiler installed. If not, for example:

@sestelo
sestelo / shiny_server_amazon_ec2.md
Last active April 23, 2022 15:09
How to configure a Shiny Server on Amazon’s EC2 cloud service
@sestelo
sestelo / install-rserver-ubuntu.sh
Created September 29, 2017 07:13 — forked from rweald/install-rserver-ubuntu.sh
Installing R Server on Ubuntu
#!/usr/bin/env bash
echo "Installing R"
apt-get update
apt-get install r-base-core
apt-get install r-base-dev
echo "Installing R Server dependencies"
apt-get install gdebi-core libapparmor1
@sestelo
sestelo / Abbreviate Journal Names in Bibtex Database.py
Created June 5, 2017 09:31 — forked from FilipDominec/Abbreviate Journal Names in Bibtex Database.py
Using the translation table from the Jabref program, finds and replaces all scientific journal names to their standardized abbreviated form. First argument is the file to be processed; outputs safely to 'abbreviated.bib'
#!/usr/bin/env python
#-*- coding: utf-8 -*-
# Supporting Python 3
import sys, os, re
try: bibtexdb = open(sys.argv[1]).read()
except: print("Error: specify the file to be processed!")
if not os.path.isfile('journalList.txt'):