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
accountsservice | |
acpid | |
audacity | |
autoconf | |
automake | |
b43-fwcutter | |
baobab | |
bash | |
binutils | |
bison |
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 to export data in all sheets in the current spreadsheet as individual csv files | |
* files will be named according to the name of the sheet | |
* author: Michael Derazon | |
*/ | |
function onOpen() { | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
var csvMenuEntries = [{name: "export as csv files", functionName: "saveAsCSV"}]; | |
ss.addMenu("csv", csvMenuEntries); |
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
SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md)) | |
HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md)) | |
all : $(SLIDES) $(HANDOUTS) | |
%.md.slides.pdf : %.md | |
pandoc $^ -t beamer --slide-level 2 -o $@ | |
%.md.handout.pdf : %.md | |
pandoc $^ -t beamer --slide-level 2 -V handout -o $@ |
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
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="generator" content="pandoc" /> |
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
#!/bin/sh | |
# adding timestamp | |
TS=$(date +"%F") | |
# Name specification | |
BKPNAME="bkpSebastian-$TS" | |
# Tar |
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
--- | |
title: "Colormerge" | |
output: | |
html_document: | |
keep_md: yes | |
--- | |
```{r} | |
require(dplyr) | |
require(tidyr) |
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
# La solucion tiene que ser solo desde R ?? | |
# en caso de que no, puedes remover dichas lineas con grep y cat en unix | |
# en el caso de que si ..... yo primero leeria todos los datos por linea (sep = "\m") | |
# despues usaria una expresion regular para sacar los que no quiero (dplyr::filter(grepl())) | |
# y despues los separaria para que quedaran como los quiero. (tidyr::separate) | |
# Primero leemos los datos usando de separador la linea (no se separan las columnas) |
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
# Generacion de los datos | |
x <- runif(20) + 1 | |
y <- rep(c('a','b', 'c', 'd'), 5) | |
z <- rep(c('FACTOR 1','FACTOR 2'), 5) | |
# hacer el DF | |
my_data <- data.frame(x1 = sample(x), y1 = y, z1 = z) | |
# Cargar los paquetes | |
require(ggplot2) |
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
require(tidyverse) | |
energies <- (function(){ | |
tempdata <- data.table::fread('./energy.dat') | |
colnames(tempdata) <- c('Step', 'Energy') | |
return(tempdata) | |
})() | |
max_step <- max( |
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
run_gromacs_standard () | |
{ | |
# run_gromacs_standard {current run} {last run} | |
if [ -f $1.gro ] ; then | |
echo 'found $1.gro' | |
else | |
gmx grompp -f $1.mdp \ | |
-c $2 \ | |
-t $2 \ |
OlderNewer