Skip to content

Instantly share code, notes, and snippets.

View luca85perez's full-sized avatar

Lucas Pereira luca85perez

  • banco BV
View GitHub Profile
@luca85perez
luca85perez / random.js
Created April 22, 2016 19:11 — forked from kerimdzhanov/random.js
Javascript get random number in a specific range
/**
* Get a random floating point number between `min` and `max`.
*
* @param {number} min - min number
* @param {number} max - max number
* @return {float} a random floating point number
*/
function getRandom(min, max) {
return Math.random() * (max - min) + min;
}
<VirtualHost *:80>
ServerName zf2napratica.dev
DocumentRoot /Users/eminetto/Documents/Projects/zf2napratica/public
SetEnv APPLICATION_ENV "development"
SetEnv PROJECT_ROOT "/Users/eminetto/Documents/Projects/zf2napratica"
<Directory /Users/eminetto/Documents/Projects/zf2napratica/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
<div class="box">\o/</div>