Skip to content

Instantly share code, notes, and snippets.

View ghedamat's full-sized avatar
🏔️
YakShaving

Mattia Gheda ghedamat

🏔️
YakShaving
View GitHub Profile
@ghedamat
ghedamat / talk.md
Last active April 24, 2018 14:13 — forked from jasongoodwin/gist:b6aa964ecfa230b53dc3562d85376819
Functional Programming Paradigms - "Monadic"-style data processing in elixir

Functional Programming Paradigms In Elixir

  • Objectives:
    • Understand functional programming a bit better
    • Categorize and understand approaches
    • See which approaches fit which problems
    • Map concepts and approaches from Scala/Haskell to elixir
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
maximum: Date.parse("2010-01-20")
});
@ghedamat
ghedamat / 0.0.1-app
Created May 5, 2016 15:47
edeliver-bug-simplified-no-ecto
{application,foo,
[{registered,[]},
{description,"foo"},
{vsn,"0.0.1"},
{modules,['Elixir.Foo','Elixir.Foo.Endpoint',
'Elixir.Foo.ErrorHelpers','Elixir.Foo.ErrorView',
'Elixir.Foo.Gettext','Elixir.Foo.LayoutView',
'Elixir.Foo.PageController','Elixir.Foo.PageView',
'Elixir.Foo.Repo','Elixir.Foo.Router',
'Elixir.Foo.Router.Helpers','Elixir.Foo.Sup',
@ghedamat
ghedamat / lib-foo-0.0.1-ebin-foo.app
Created May 4, 2016 21:08
elixir-edeliver-foo-broken-with-edeliver
{application,foo,
[{registered,[]},
{description,"foo"},
{vsn,"0.0.1"},
{modules,['Elixir.Foo','Elixir.Foo.Endpoint',
'Elixir.Foo.ErrorHelpers','Elixir.Foo.ErrorView',
'Elixir.Foo.Gettext','Elixir.Foo.LayoutView',
'Elixir.Foo.PageController','Elixir.Foo.PageView',
'Elixir.Foo.Repo','Elixir.Foo.Router',
'Elixir.Foo.Router.Helpers','Elixir.Foo.Sup',
@ghedamat
ghedamat / lib-foo-0.0.1-ebin-foo.app
Created May 4, 2016 21:02
exlixir-edeliver-foo-works-without-edeliver
{application,foo,
[{registered,[]},
{description,"foo"},
{vsn,"0.0.1"},
{modules,['Elixir.Foo','Elixir.Foo.Endpoint',
'Elixir.Foo.ErrorHelpers','Elixir.Foo.ErrorView',
'Elixir.Foo.Gettext','Elixir.Foo.LayoutView',
'Elixir.Foo.PageController','Elixir.Foo.PageView',
'Elixir.Foo.Repo','Elixir.Foo.Router',
'Elixir.Foo.Router.Helpers','Elixir.Foo.Sup',
@ghedamat
ghedamat / .zshrc
Last active April 14, 2016 20:36
PN - UPDATE VAGRANT TO USE CHROME
export DISPLAY=:99
@ghedamat
ghedamat / adapters.application.js
Last active March 30, 2016 17:09
ember data many many
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
namespace: 'api'
});
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Sankey Diagram</title>
<style>
@import url(http://bost.ocks.org/mike/style.css?20120521);
#chart {
height: 500px;
@ghedamat
ghedamat / index.html
Last active December 11, 2015 12:18
test.json
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Sankey Diagram</title>
<style>
@import url(http://bost.ocks.org/mike/style.css?20120521);
#chart {
height: 500px;
{"nodes":[
{"name":"Agricultural 'waste'"},
{"name":"Bio-conversion"},
{"name":"Liquid"},
{"name":"Losses"},
{"name":"Solid"},
{"name":"Gas"},
{"name":"Biofuel imports"},
{"name":"Biomass imports"},
{"name":"Coal imports"},