Skip to content

Instantly share code, notes, and snippets.

View jperelli's full-sized avatar
🏄‍♂️
Hacking for surfvival

Julián Perelli jperelli

🏄‍♂️
Hacking for surfvival
View GitHub Profile
@jperelli
jperelli / angular-sparkline.js
Created August 24, 2015 16:11
angular jquery sparkline directive
// modified from https://gist.github.com/pjsvis/6210002
// Requires jQuery from http://jquery.com/
// and jQuerySparklines from http://omnipotent.net/jquery.sparkline
// AngularJS directives for jquery sparkline
angular.module('sparkline', []);
angular.module('sparkline')
.directive('jqSparkline', [function () {
/*
License: GNU GPLv2
Authors: Julián Perelli
with ideas from http://people.sc.fsu.edu/~jburkardt/c_src/mpi/mpi.html
Organization: Sistemas Operativos Avanzados 2015 - UTN FRLP
Compile with: mpicc primos_mpi.c -o primos_mpi
Run with: mpirun -n 4 ./primos_mpi 100
*/
#include "mpi.h"
/*
License: GNU GPLv2
Authors: Julián Perelli
Organization: Sistemas Operativos Avanzados 2015 - UTN FRLP
Compile with: gcc primos.c -o primos
Run with: ./primos
*/
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#!/usr/bin/env instantfpc
uses
sysutils;
var
entrada: String;
begin