I hereby claim:
- I am filhodanuvem on github.
- I am claudsonkaluza (https://keybase.io/claudsonkaluza) on keybase.
- I have a public key ASBCRbSYuzxmZ-EDOZQVMAWxOQV15IwiSehhhV-LQs6nUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
1 - Tipo fiz uma sequência aqui de mudanças no código, a lógica ficaria mais ou menos assim?
app/TweetPostRequest
Faço as validações no campos que chegam da request. username e body. No username eu faço a validação se é requerido, se tem espaço e se começa com '@'. No body eu faço a validação se é requerido somente;
app/Http/Controllers/TweetController
; Possible bug on Respect/Config. Test and open an issue. | |
; MONOLOG | |
[redisMonologHandler Monolog\Handler\StreamHandler] | |
[monolog Monolog\Logger] | |
name = phartitura | |
handlers = [[redisMonologHandler],] | |
; handlers = [[redisMonologHandler]] <----- without comma, it's not parsed and the library throws an error | |
; Object of class Respect\Config\Instantiator could not be converted to string in .. /vendor/respect/config/library/Respect/Config/Container.php on line 317 |
def foo(): | |
name = "cloud" | |
age = 22 | |
if age > 22 : | |
print name | |
age += 1 |
<?php | |
//maybe, do a source that works like a client with cURL could be hard and boring. | |
// A fluent interface would awesome. | |
// Anyway, the library can be used only to fun and study to learn how HTTP works in lower lever. | |
use Saturno\CoolUrl\Client as cu; | |
cu::create()->target("http://example.com/join") | |
->setMethod('POST') |
What happens when I execute the following code? | |
namespace Foo; | |
function strlen() {} | |
const INI_ALL = 3; | |
$a = strlen('hi'); | |
$b = INI_ALL; | |
try |
#!/bin/bash | |
help() | |
{ | |
echo "help! I need somebody, help!" | |
exit 1 | |
} | |
# php-get install 5.5.0 /destiny | |
if [ $# -lt 2 ]; |
#!/bin/sh | |
VERSION=$1 | |
DEBUG=$2 | |
ZTS=$3 | |
THIRTYTWO=$4 | |
POSTFIX= | |
EXTRA_FLAGS= | |
if (test "${DEBUG}" = "nodebug"); then |