- As always document is good source to learn.
This file contains hidden or 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
import PopperTooltip from 'tooltip.js'; | |
new Vue({ | |
el: '#app', | |
mounted() { | |
document.querySelectorAll('[data-tooltip]').forEach(elem => { | |
new PopperTooltip(elem, { | |
placement: elem.dataset.tooltipPlacement || 'top', | |
title: elem.dataset.tooltip |
This file contains hidden or 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
$finder = new Finder; | |
$finder->in(resource_path('learn'))->files()->name('*.php'); | |
foreach ($finder as $key => $file) { | |
$converter = new Markdownify\Converter; | |
file_put_contents( | |
$file->getBasename('.' . $file->getExtension()) . '.md', | |
$converter->parseString( $file->getCotent() ) | |
); | |
} |
This file contains hidden or 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
// https://github.com/PHPOffice/PhpSpreadsheet | |
$inputFileName = public_path('example2.xls'); | |
$reader = new Xls(); | |
$spreadsheet = $reader->load($inputFileName); | |
$sheetData = $spreadsheet->getActiveSheet()->toArray(null, true, true, true); | |
print_r($sheetData); |
This file contains hidden or 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 | |
// https://github.com/PHPOffice | |
// https://github.com/mtibben/html2text | |
$phpWord = \PhpOffice\PhpWord\IOFactory::load(public_path('Sample_11_ReadWord97.doc'), 'MsDoc'); | |
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'HTML'); | |
$html = new \Html2Text\Html2Text($objWriter->getContent() ); |
This file contains hidden or 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 | |
// https://github.com/PHPOffice | |
// https://github.com/mtibben/html2text | |
$phpWord = \PhpOffice\PhpWord\IOFactory::load('Template.docx'); | |
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007'); | |
$fullXml = $objWriter->getWriterPart('Document')->write(); |
This file contains hidden or 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
# Learn react | |
1. As always document is good source to learn. | |
## Books | |
1.[Pure react](https://daveceddia.com/pure-react/) | |
2.[Full stack react] (https://www.fullstackreact.com/) | |
## Videos | |
1.[Beginner's react](https://egghead.io/courses/the-beginner-s-guide-to-react) |
This file contains hidden or 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 | |
namespace Supawdog\Console\Commands; | |
use Illuminate\Console\Command; | |
use Symfony\Component\Process\ProcessUtils; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Process\PhpExecutableFinder; | |
class WebpackCommand extends Command |
pick any one