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'
});
@ghedamat
ghedamat / baby.elm
Created September 2, 2015 05:46
elm baby steps
reduce : (a -> a -> a -> a) -> a -> Tree a -> a
reduce f base tree =
case tree of
Empty -> base
Node v left right ->
f v
(reduce f base left)
(reduce f base right)
sum tree =
Redesign::Container.create! \
layout: :article,
slug: '/about',
data:{
hero:{
title:{
title1:"sdf",
@ghedamat
ghedamat / keybase.md
Created October 25, 2014 15:44
keybase.md

Keybase proof

I hereby claim:

  • I am ghedamat on github.
  • I am ghedamat (https://keybase.io/ghedamat) on keybase.
  • I have a public key whose fingerprint is 3043 0DF7 E463 9A38 FAB9 F9B7 3DEF 8491 D979 43BE

To claim this, I am signing this object: