4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:hash — newest first
  • methods - How do functions use hash arguments in Ruby? - Stack Overflow

    L'appel d'une fonction peut se faire avec ou sans parenthèse :

    foo() ou foo

    Ensuite, un Hash peut avoir plusieurs formes..

    {'a' => 12}
    où 'a' peut être n'importe quoi : string (comme ici), mais aussi objet,
    symbol : exemple :
    {:a => 12}

    La nouvelle syntaxe, valable uniquement si les clés sont des symboles :

    {a: 12, b: 'toto'}

    Et enfin quand on call une méthode qui peut prendre un hash en argument (entre autre), pas besoin de mettre les { }

    foo({a: 12, b:14})
    ou
    foo(a: 12, b:14)
    ou
    foo a: 12, b:14

    August 10, 2015 - permalink - http://stackoverflow.com/questions/16576477/how-do-functions-use-hash-arguments-in-ruby
    arguments hash named rails ruby syntax
  • unix-ninja :: A cheat-sheet for password crackers
    December 22, 2014 - permalink - http://www.unix-ninja.com/p/A_cheat-sheet_for_password_crackers/
    hash password
  • Cryptography Hacks - Hash Encryption using DuckDuckGo Search Engine - The Hacker News

    ddg <3

    via skunnyk

    March 21, 2014 - permalink - http://thehackernews.com/2014/01/cryptography-hacks-hash-encryption.html
    ddg hash
  • Comment déterminer le type d'un hash ? « Korben Korben
    November 19, 2013 - permalink - http://korben.info/quel-est-le-type-de-hash.html
    hash tool
  • caractère caché

    Parfois il arrive qu'un fichier de conf soit corrompu a cause dun caractère invisible a la con qui peut venir dun copier coller ou autre.. Pour vérifier ça, on peut dumper le fichier en affichant ces caractères : car -e fichier

    October 17, 2013 - permalink - https://links.infomee.fr/shaare/s1J7bQ
    cat hash linux shell