ver los comit que vas a eliminar
git log
elimina los ultimos 3 comit en local
git reset --hard HEAD~3
ver los comit que vas a eliminar
git log
elimina los ultimos 3 comit en local
git reset --hard HEAD~3
sudo apt -y install openjdk-8-jdk && sudo apt -y install openjdk-8-jre
php
{
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
<style> | |
table.paymentGroups tbody tr.grey th { | |
background-color: #ddd; | |
} | |
table.paymentGroups thead tr:first-child th { | |
position:sticky; | |
top:0px; | |
background: white; | |
z-index: 2; |
Sample create folder: createFolder.sh
#!/bin/sh
mkdir /tmp/created-from-script
In laravel 5, execute specific test and name
vendor/bin/phpunit --filter "CommissionServiceTest::testAgencyMarkupNotCoverCommission"
Error
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "git clone --mirror -- 'https://github.com/sebastianbergmann/phpunit.git' '/root/.cache/composer/vcs/https---github.com-sebastianbergmann-phpunit.git/'" exceed
Error file:/cdrom jammy Release
$ sudo apt-get update
[sudo] password for costamar:
Get:1 file:/cdrom jammy InRelease
Ign:1 file:/cdrom jammy InRelease
Get:2 file:/cdrom jammy Release
function getInvoices(Request $request)
{
$customerType = $request->customerType;
$request->merge(['invoiceDateFrom' => \App\Util\DateUtil::format($request->invoiceDateFrom, 'Y-m-d')]);
$request->merge(['invoiceDateTo' => \App\Util\DateUtil::format($request->invoiceDateTo, 'Y-m-d')]);
$request->merge(['accountId' => $request->accountId]);
if ($customerType == CustomerTypeConstants::CORPORATE) {
$response = $this->corporateService->getDetailInvoices($request);
Problem 1 | |
- maatwebsite/excel[3.1.20, ..., 3.1.25] require phpoffice/phpspreadsheet ^1.14 -> satisfiable by phpoffice/phpspreadsheet[1.14.0, ..., 1.28.0]. | |
- maatwebsite/excel[3.1.18, ..., 3.1.19] require phpoffice/phpspreadsheet ^1.10 -> satisfiable by phpoffice/phpspreadsheet[1.10.0, ..., 1.28.0]. | |
- maatwebsite/excel[3.1.7, ..., 3.1.17] require phpoffice/phpspreadsheet ^1.6 -> satisfiable by phpoffice/phpspreadsheet[1.6.0, ..., 1.28.0]. | |
- maatwebsite/excel[3.1.0, ..., 3.1.6] require phpoffice/phpspreadsheet ^1.4 -> satisfiable by phpoffice/phpspreadsheet[1.4.0, ..., 1.28.0]. | |
- maatwebsite/excel[3.1.26, ..., 3.1.35] require illuminate/support 5.8.*|^6.0|^7.0|^8.0 -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27]. | |
- maatwebsite/excel[3.1.36, ..., 3.1.45] require illuminate/support 5.8.*|^6.0|^7.0|^8.0|^9.0 -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v |