vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --allow-risky=yes
After carefully reviewing and conducting the provided code, I would like to suggest the following improvements:
-
Code Refactoring and Canvas Responsiveness:
Start from line 3308:
answer_canvas.setAttribute(
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)
http://133.18.241.48:7011/MyEtrdevtools/login.php
login id - MAHZ0213
pw - 1234
⠙ Installing packages (npm)...npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /Users/admin/.npm/_cacache/index-v5/2d/2a
npm ERR! errno EACCES
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
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 | |
/** | |
* Gera a paginação dos itens de um array ou collection. | |
* | |
* @param array|Collection $items | |
* @param int $perPage | |
* @param int $page | |
* @param array $options | |
* | |
* @return LengthAwarePaginator |
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
const {CompressionTypes, CompressionCodecs, Kafka} = require('kafkajs') | |
const SnappyCodec = require('kafkajs-snappy') | |
CompressionCodecs[CompressionTypes.Snappy] = SnappyCodec | |
const kafka = new Kafka({ | |
clientId: 'my-app', | |
brokers: ['kafka:9092',], | |
}) |
OlderNewer