Skip to content

Instantly share code, notes, and snippets.

Avatar

Francisco Pina-Martins StuntsPT

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am stuntspt on github.
  • I am stunts (https://keybase.io/stunts) on keybase.
  • I have a public key ASCPn9P-i3XgMbLwdMwuehnZSXDEdZNs7x-W4ebuyo5uWwo

To claim this, I am signing this object:

View Trend_plotter.R
#!/usr/bin/env Rscript
library(ggplot2)
trend = read.csv("/home/francisco/MEOCloud/Science/PhD/Thesis/Subdocs/C1_assets/Bioinformatics_pubmed.tsv", sep="\t")
ggplot(data=trend, aes(x=Year, y=X.000)) +
geom_bar(stat="identity", fill = I("lightblue")) +
guides(fill=FALSE) +
xlab("Year") + ylab("Number of papers with term per 100K pubmed papers") +
@StuntsPT
StuntsPT / PKGBUILD
Created Jan 3, 2017
PKGBUILD with uhid access for "roccat" group users.
View PKGBUILD
# Maintainer: Aaron Fischer <mail@aaron-fischer.net>
# Contributor: Nuno Araujo <nuno.araujo@russo79.com>
# Contributor: Xpander <xpander0@gmail.com>
# Contributor: Stefan Achatz <erazor_de@users.soruceforge.net>
# Contributor: Zachary Lund <admin@computerquip.com>
# Contributor: Jesus Gonzalez <jesusmgh@gmail.com>
# Contributor: Francisco Pina-Martins <f.pinamartins@gmail.com>
pkgname=('roccat-tools-common'
'roccat-tools-arvo'
@StuntsPT
StuntsPT / fast_lister.R
Created Dec 19, 2016
A cross platorm file lister for R
View fast_lister.R
switch(Sys.info()[['sysname']],
Windows = {lister="dir"},
Linux = {lister="ls -1"},
Darwin = {lister="ls -1"})
system(lister)
@StuntsPT
StuntsPT / randomatic_3000.pl
Created Sep 29, 2015
Randomatic_3000.pl patched to work on linux too.
View randomatic_3000.pl
#!/usr/bin/env perl
#
# randomatic_3000.pl
#
# Copyright (c) 2015 Keith Bradnam
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@StuntsPT
StuntsPT / PKGBUILD
Created Aug 26, 2015
PKGBUILD for python-protobuf
View PKGBUILD
# Maintainer: Jerome Leclanche <jerome@leclan.ch>
_pkgname=protobuf
pkgname=python-$_pkgname
pkgver=3.0.0a3
pkgrel=3
pkgdesc="Python 3 bindings to Google Protocol Buffers"
arch=("any")
license=("BSD")
url="https://github.com/google/protobuf"
@StuntsPT
StuntsPT / keybase.md
Created May 24, 2015
Keybase.io identity proof
View keybase.md

Keybase proof

I hereby claim:

  • I am StuntsPT on github.
  • I am stunts (https://keybase.io/stunts) on keybase.
  • I have a public key whose fingerprint is 760B FD4A 22DA 0F03 D9CD 660F 5651 A1E2 FEDD 2002

To claim this, I am signing this object:

@StuntsPT
StuntsPT / PKGBUILD
Last active Dec 20, 2015
Updated PKGBUILD for genepop
View PKGBUILD
# Maintainer: bmpvieira <mail@bmpvieira.com>
# Contributor: Stunts <f.pinamartins@gmail.com>
pkgname=genepop
_uppkgname=Genepop
pkgver=4.2.1
pkgrel=1
pkgdesc="A population genetics software."
arch=('i686' 'x86_64')
license=('CeCILL')
url="http://kimura.univ-montp2.fr/~rousset/Genepop.htm"
View PKGBUILD
# Maintainer: bmpvieira <mail AT bmpvieira DOT com>
# Contributor: Stunts <f DOT pinamartins AT gmail DOT com>
pkgname=structure
pkgver=2.3.4
pkgrel=1
pkgdesc="Program for using multi-locus genotype data to investigate population structure."
arch=('i686' 'x86_64')
url="http://pritch.bsd.uchicago.edu/structure.html"
license=('GPL')
depends=('java-environment')
@StuntsPT
StuntsPT / analysis.py
Created Oct 25, 2012
Quick and dirty script for plotting netperf
View analysis.py
#!/usr/bin/python3
import matplotlib.pyplot as plt
def makelist(filename):
infile = open(filename,'r')
data = []
for lines in infile:
if lines.startswith("\n"):