atom-text-editor {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Cash { | |
/** | |
* Get plain available notes and his quantity (true = infinite) | |
* Example: | |
* '100' => 20 // Available 20 notes of 100 | |
* '100' => true // Available infinite notes of 100 | |
* | |
* @return array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function generateToken($length = 20, $chars = 'abcdefghijklmnopqrstuvxwyzABCDEFGHIJKLMNOPQRSTUVXWYZ1234567890'){ | |
$return = ''; | |
while($length > 0){ | |
$return .= $tokens[rand(0, strlen($chars)-1)]; | |
$length--; | |
} | |
return $return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
* | |
* Licensed under The MIT License | |
* | |
* Copyright (c) La Pâtisserie, Inc. (http://patisserie.keensoftware.com/) | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
*/ | |
App::uses('FormHelper', 'View/Helper'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
$phrases = array( | |
'Schizophasia, a mental condition characterized by incoherent babbling (compulsive or intentional, but nonsensical)', | |
'Logorrhea, a mental condition characterized by excessive talking (incoherent and compulsive)', | |
'Clanging, a speech pattern that follows rhyming and other sound associations rather than meaning', | |
'Graphorrhea, a written version of word salad that is more rarely seen than logorrhea in people with schizophrenia.' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Api = { | |
request: function(method, url, data, hooks){ | |
hooks = hooks || {}; | |
fail = hooks.fail || function(){}; | |
done = hooks.done || function(){}; | |
always = hooks.always || function(){}; | |
before = hooks.before || function(){}; | |
spinner = hooks.spinner || false; | |
reloadOnSuccess = hooks.reloadOnSuccess || false; |