I hereby claim:
- I am eneas on github.
- I am eneas (https://keybase.io/eneas) on keybase.
- I have a public key whose fingerprint is EAEC 0EE3 B6B2 412A 684D 2D05 1F91 13FC 6FEF 1C4C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Linq; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var ary = new int[]{1,2,4,5,3,4,7,16,2,4,9,1,6,3,0,2}; | |
var mat = new int[4,4]; |
using System; | |
using System.Linq; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var ary = new int[,]{{1,2,4,5},{3,4,7,16}, {2,4,9,1},{6,3,0,2}}; |
#learnmysql_init will pull mysql and phpmyadmin/phpmyadmin images from the registry | |
function learnmysql_intit { | |
#Change supersecretpassword to work in not trusted network. | |
docker run --name mysql -e MYSQL_ROOT_PASSWORD="supersecretpassword" -d mysql | |
docker run --name phpmyadmin -d --link mysql:db -p 8080:80 phpmyadmin/phpmyadmin | |
} | |
function learnmysql_stop { | |
docker stop mysql phpmyadmin | |
} |
/*Eneas Labra Villar*/ | |
using System; | |
namespace ConsoleApplication | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args){ | |
int pruebas=0; | |
/*Se lee el número de pruebas.*/ |
//Sieve of Eratosthenes | |
fn main() { | |
let primes = sieve_of_eratothenes(100000); | |
println!("{:?}",primes); | |
} | |
fn sieve_of_eratothenes(max:i32)-> Vec<i32>{ | |
let mut prime_accu :Vec<i32> = Vec::new(); | |
for i in 2..max{ |