Skip to content

Instantly share code, notes, and snippets.

View devnacho's full-sized avatar

Ignacio Gutierrez devnacho

View GitHub Profile
<script type="text/javascript">
(function() {
var st = document.createElement('script'); st.type = 'text/javascript'; st.async = true;
st.src = "http://spider.virali.ca/widget/9.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(st, s);
})();
</script>
<script type="text/javascript">
(function() {
var st = document.createElement('script'); st.type = 'text/javascript'; st.async = true;
st.src = "http://spider.virali.ca/widget/9.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(st, s);
})();
</script>
import java.util.HashMap;
public class Node {
private HashMap<String, Node> nodes;
private String name;
// Chraga los datos del objeto.
public Node(String name) {
this.nodes = new HashMap<String, Node>();
alert("hola");
@devnacho
devnacho / todo.elm
Last active March 16, 2016 12:25
Elm To Do
module Main (..) where
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import StartApp.Simple as StartApp
import String
-- MODEL
type alias Id = Int
@devnacho
devnacho / keybase.md
Created March 8, 2018 21:04
keybase.md

Keybase proof

I hereby claim:

  • I am devnacho on github.
  • I am devnacho (https://keybase.io/devnacho) on keybase.
  • I have a public key ASBJlhbq6i45VnHjY2VlHi9pSO7kFsJyNTDl6CcAiJBSMQo

To claim this, I am signing this object:

@devnacho
devnacho / dictionary.md
Last active October 1, 2018 21:42
Timeline Dictionary

Timeline Dictionary

Initial Balance The balance when the person retires.

Start Balance

The balance at the start of a period.

End Balance

The balance at the end of a period.

@devnacho
devnacho / phoenix_session_test.md
Created May 17, 2022 21:50 — forked from tsubery/phoenix_session_test.md
How to set session in phoenix controller tests

If you are reading this, you probably tried to write code like this

test "testing session" do
  build_conn()
  |> put_session(:user_id, 234)
  |> get("/")
  ...
  end

And got this exception: