Cleanup local git branches that are not on the remote.
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done
title,type,number,orderDate,customerAvisoContact.id,customerAvisoContact.lastName,customerAvisoContact.firstName,customerAvisoContact.fullName,customerAvisoContact.email,customerAvisoContact.phone,customerAvisoContact.formOfAddress,customerAvisoContact.title,sendPurchaseOrder,shippingCosts,netShippingCosts,surcharge,netSurcharge,currency,isTaxFree,deliveryAddress.id,deliveryAddress.street,deliveryAddress.state,deliveryAddress.number,deliveryAddress.zip,deliveryAddress.country,deliveryAddress.city,deliveryAddress.originalAddressId,invoiceAddress.id,invoiceAddress.street,invoiceAddress.state,invoiceAddress.number,invoiceAddress.zip,invoiceAddress.country,invoiceAddress.city,invoiceAddress.originalAddressId,totalPrice,totalNetPrice,customerAccount.id,customerAccount.name,customerAccount.mainContact.id,customerAccount.mainContact.lastName,customerAccount.mainContact.firstName,customerAccount.mainContact.fullName,customerAccount.mainContact.email,customerAccount.mainContact.phone,customerAccount.mainContact.formOf |
<?php | |
declare(strict_types=1); | |
namespace DoctrineMigrations; | |
use Doctrine\DBAL\Schema\Schema; | |
use Doctrine\Migrations\AbstractMigration; | |
final class Version20130206112827 extends AbstractMigration |
function printDownloadLinks(){ | |
var output = ''; | |
var pdfs = document.querySelectorAll("body > center > table > tbody > tr > td > a") | |
for(var i=0; i<pdfs.length; i++) { | |
var link = pdfs[i].href; | |
var name = link.split('/').reverse()[0]; | |
output += `curl -O ${link} -A "Mozilla/4.0\n\n"` | |
} |
/** | |
* Find all url's and turn them into hyperlinks if they are not already. | |
*/ | |
public function urlsToHyperlinks(string $text): string | |
{ | |
return preg_replace( | |
'~(?<!href=[\'"])https?://[\w/._\-&;=?]*(?!</a>)(?=[^\w/._\-&])~s', | |
'<a href="$0" target="_blank" rel="noopener noreferrer">$0</a>', | |
$text | |
); |
Cleanup local git branches that are not on the remote.
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done
chmod 644
)sed -i
replace inside my entypoint (which causes the file to be newly created).chmod 600
after the sed -i
replace.crontab
and /etc/cron.d/
(system crontabs) the cron jobs must have a user specified, for example: * * * * * www-data <job>
.cron -f
) when running inside a docker container?# Copyright (c) 2014 Andrew Kelley | |
# This file is MIT licensed. | |
# See http://opensource.org/licenses/MIT | |
# TMXPARSER_INCLUDE_DIR | |
# TMXPARSER_LIBRARY | |
# TMXPARSER_FOUND | |
find_path(TMXPARSER_INCLUDE_DIR NAMES tmxparser/Tmx.h | |
PATHS |