Skip to content

Instantly share code, notes, and snippets.

View aotarola's full-sized avatar
🎯
Focusing

Andres Otarola aotarola

🎯
Focusing
View GitHub Profile
@aotarola
aotarola / Counter.elm
Created May 19, 2016 20:37 — forked from pdamoc/Counter.elm
Widget Union
module Counter exposing (..)
import Html exposing (..)
import Html.Attributes exposing (style)
import Html.Events exposing (onClick)
-- MODEL
type alias Model = Int
@aotarola
aotarola / First.elm
Created February 2, 2016 04:01 — forked from shamrin/First.elm
Multiple Elm main modules
module First where
import Html exposing (span, text)
main = span [ ] [text "Hello First!"]
function myfunction(){}
var functionAnonima = function(){};
commit1
commit2 <- quitar
commit3 <- quitar
commit4
git revert commit2
git revert commit3
...
redis.set("#{@user}-#{@deal.id}", @deal.permalink)
Order.place_for_user(@user, @deal, @data)
...
function variablePass(x, obj1, obj2)
{
x /= 5;
obj1.id = "newId";
obj2 = {id: "newId"};
}
var x = 10;
var obj1 = {id: "oldId"};
var obj2 = {id: "oldId"};