Skip to content

Instantly share code, notes, and snippets.

View colltoaction's full-sized avatar

Martin Coll colltoaction

View GitHub Profile
@colltoaction
colltoaction / neo4j_actors_data_model.yaml
Created July 8, 2023 17:36
Modeling graph data in YAML can be done considering a graph representation. Although there is no explicit schema, one can get an immediate sense of this model.
# https://neo4j.com/docs/getting-started/data-modeling/guide-data-modeling/
Person:
Tom Hanks:
Born: 1956
Hugo Weaving:
Born: 1960
Lana Wachowski:
Born: 1965
Movie:
The Matrix:
@colltoaction
colltoaction / yaml ar lightning talk.md
Created April 8, 2021 18:52
yaml.ar lightning talk

Intro

hace diez años más o menos manijeo con la programación, y en ese tiempo siempre me interesó tanto la parte práctica de la ingeniería de software como la parte teórica de la ciencia de la computación.

en este último año encerrado en cuarentena aprendí mucho sobre programación funcional incluyendo cálculo lambda, teoría de categorías

{"id": "2fdba41c0b5bc385d8f800af4a9a6b4280b3a5d628a3710a08da4b68559b508f812c237bcf7cb4e9b4e91b268b66a53f08555db225ca46f90b7f4a36cd497697"}

Keybase proof

I hereby claim:

  • I am tinchou on github.
  • I am tinchou (https://keybase.io/tinchou) on keybase.
  • I have a public key whose fingerprint is 4CCB 2F7D CD26 9E19 7CE7 95CC 8E15 4CF7 A5F6 814F

To claim this, I am signing this object:

@colltoaction
colltoaction / presentacion-oss.html
Created April 26, 2017 21:26
Presentación para el Meetup NetBaires del 26/04/2017
<!DOCTYPE html>
<html>
<head>
<title>Open Source en Microsoft</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
@colltoaction
colltoaction / presentacion-ef.html
Last active April 27, 2017 12:26
Presentación para el Meetup NetBaires del 26/04/2017
<!DOCTYPE html>
<html>
<head>
<title>Qué se viene en EF Core 2</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
@colltoaction
colltoaction / 1-Migration.cs
Last active March 3, 2023 13:48
EF Core data motion proposal. These three examples are sequential: first we have three seed data values, then four, then we update one of them.
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Countries",
columns: table => new
{
Name = table.Column<string>(nullable: false),
Population = table.Column<int>(nullable: false),
},
constraints: table =>
@colltoaction
colltoaction / 1-Migration.cs
Created February 22, 2017 00:32
EF Core data motion proposal
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Countries",
columns: table => new
{
Name = table.Column<string>(nullable: false),
Population = table.Column<int>(nullable: false),
},
constraints: table =>
@colltoaction
colltoaction / boot-client-aot.ts
Created October 17, 2016 17:30
Example configuration for Angular 2 AoT and Webpack 2
import "./polyfills";
import "./rxjs-operators";
import { enableProdMode } from "@angular/core";
import { platformBrowser } from "@angular/platform-browser";
import { MainModuleNgFactory } from "./components/main.aot.ngfactory"; // Ignore error
if ((<any>module)["hot"]) {
(<any>module)["hot"].accept();
(<any>module)["hot"].dispose(() => { platform.destroy(); });
@colltoaction
colltoaction / resumen.md
Last active July 7, 2016 20:01
Resumen de los temas de Taller I

Temas de Taller de Programación I (75.42)

Threads

pthread

  • int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);
  • int pthread_join(pthread_t thread, void **retval);
  • int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr);