Skip to content

Instantly share code, notes, and snippets.

View pauca's full-sized avatar

Pau Carrió pauca

  • Barcelona, Spain
View GitHub Profile
@pauca
pauca / replaceSymLinks.sh
Last active April 11, 2017 13:12
replace symbolik links in current directory by originals, and remove them
@pauca
pauca / RqcScript.R
Last active January 19, 2017 11:22
Rqc - memory error reproduce
library(Rqc)
fs <- "corrupted.fastq"
qa <- rqcQA(fs,sample=F)
sessionInfo()
@pauca
pauca / examplePasteAndShow.html
Created January 18, 2017 10:19
Example of jQuery of Paste on textarea and do an action
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Paste&Go</title>
<script src="https://code.jquery.com/jquery-3.1.1.min.js" ></script>
<script>
$( document ).ready(function() {
console.log( "ready!" );
def f1 = {
println("f1")
true
}
def f2 = {
println("f2")
@pauca
pauca / R_chem_snippets.R
Created October 13, 2015 09:21
R_chem_snippets
# CAS -> smiles with CACTUS server
sapply(cas, function(id){
require(RCurl)
return(getURL(paste("http://cactus.nci.nih.gov/chemical/structure/",id,"/smiles",sep="")))
})