background preloader

Ruby/Rails

Facebook Twitter

Thoughtbot/factory_girl. Rainbow table. Rainbow tables are an application of an earlier, simpler algorithm by Martin Hellman.[1] Simplified rainbow table with 3 reduction functions Background[edit] Any computer system that requires password authentication must contain a database of passwords, either hashed or in plaintext, and various methods of password storage exist.

Rainbow table

Because the tables are vulnerable to theft, storing the plaintext password is dangerous. Most databases therefore store a cryptographic hash of a user's password in the database. Someone who gains access to the (hashed) password table cannot merely enter the user's (hashed) database entry to gain access (using the hash as a password would of course fail since the authentication system would hash that a second time, producing a result which does not match the stored value, which was hashed only once). Rainbow tables are one tool that has been developed in an effort to derive a password by looking only at a hashed value. Precomputed hash chains[edit] Example[edit] Or. Secure Hash Algorithm. The Secure Hash Algorithm is a family of cryptographic hash functions published by the National Institute of Standards and Technology (NIST) as a U.S.

Secure Hash Algorithm

Federal Information Processing Standard (FIPS), including: SHA-0: A retronym applied to the original version of the 160-bit hash function published in 1993 under the name "SHA". It was withdrawn shortly after publication due to an undisclosed "significant flaw" and replaced by the slightly revised version SHA-1.SHA-1: A 160-bit hash function which resembles the earlier MD5 algorithm. This was designed by the National Security Agency (NSA) to be part of the Digital Signature Algorithm. Cryptographic weaknesses were discovered in SHA-1, and the standard was no longer approved for most cryptographic uses after 2010.SHA-2: A family of two similar hash functions, with different block sizes, known as SHA-256 and SHA-512.

Comparison of SHA functions[edit] References[edit] Ruby. Créer un site de zéro avec Ruby on RailsGeek Me Up – Devenez Geek ! Ruby on Rails est un framework web (rassemblement d’outils pour simplifier le développement de site internet), basé sur le langage Ruby qui permet de créer des applications web très puissantes et d’écrire du code avec une très grande productivité.

Créer un site de zéro avec Ruby on RailsGeek Me Up – Devenez Geek !

Cette technologie est aujourd’hui très en vogue dans le monde des startup comme le montre la liste (non exhaustive) des sites construits sur ce framework : airbnb.com, github.com, basecamp.com, twitter.com (V1), groupon.com, etc… Si vous créez une entreprise dans le secteur de l’Internet, que vous êtes responsable technique ou tout simplement que vous voulez apprendre à développer un site internet, je vous invite très fortement à lire les mots qui suivent. Introduction : quelle technologie utiliser? Le choix d’une technologie web pour réaliser un site web professionnel est une décision importante car : Sans entrer dans le détail, je classerai les technologies de création de site web en trois grandes familles :

Rubular: a Ruby regular expression editor and tester. Model annotation - Ruby on Rails Tutorial News. Andrew!: Installing autotest with Rails 3.1 and RSpec on Ubuntu 10.10. CLI. Last updated 09 September 2015 The heroku command-line tool is an interface to the Heroku Platform API and includes support for things like creating/renaming apps, running one-off dynos, taking backups, and configuring add-ons.

CLI

Most app management activities require the Heroku CLI to be installed and configured alongside your local working environment. Installing the Heroku CLI Set up your local workstation with the Heroku command-line client and the heroku local app runner by installing the Heroku Toolbelt. To verify your toolbelt installation use the heroku --version command. $ heroku --version heroku-toolbelt/3.40.11 (x86_64-darwin10.8.0) ruby/1.9.3 You should see heroku-toolbelt/x.y.z in the output. Rubyonrails. Attention BROUILLON !

rubyonrails

Certaines parties de cette page sont obsolètes, pour une installation sur Karmic, voir directement la section Installation complète (Karmic Koala). Pour l'installation de Ruby 1.9.2 et de Ruby On Rails 3.0, voir directement la section Installation complète (Maverick Meerkat) L'installation de RVM devrait se faire pour un utilisateur uniquement et donc sans sudo devant, comme expliqué dans la doc officielle.

Il est déjà dangereux de télécharger et installer un bash en une seule commande, le faire avec un sudo devant est juste une pratique à bannir. Installing RVM. ∞Quick (guided) Install Before any other step install mpapis public key (might need gpg2) (see security) gpg --keyserver --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 **Note: can sometimes timeout you may want to use different keyserver -

Installing RVM

Installing RVM. Tutoriel Ruby on Rails : Apprendre Rails par l'exemple. Ruby on Rails. Un article de Wikipédia, l'encyclopédie libre.

Ruby on Rails

Pour les articles homonymes, voir Rails. Comment débuter en Ruby on Rails ? De plus en plus de personnes souhaitent apprendre Ruby et Ruby on Rails.

Comment débuter en Ruby on Rails ?

De nombreuses ressources de qualités existent pour découvrir et apprendre cette technologie, seulement il n’est pas toujours facile de savoir par où commencer. Voici un petit guide qui vous permettra de bien démarrer.