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);