$ wget -e robots=off -r -np 'http://example.com/folder/'
- -e robots=off causes it to ignore robots.txt for that domain
- -r makes it recursive
- -np = no parents, so it doesn't follow links up to the parent folder
public function mapProperties(): AnyModel | |
{ | |
$properties = [ | |
'uid' => 123, | |
'pid' => 123, | |
'firstname' => 'Alex', | |
'lastname' => 'Kellner' | |
'email' => '[email protected]' | |
]; | |
$dataMapper = $this->objectManager->get(TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper::class); |
{namespace v=FluidTYPO3\Vhs\ViewHelpers} | |
<f:if condition="{verticalPosition} == 'intext'"> | |
<f:then> | |
<f:if condition="{columnCount} == '1'"> | |
<f:then> | |
<f:comment>1 col</f:comment> | |
<v:media.image | |
src="{column.media}" | |
width="400" |
$ wget -e robots=off -r -np 'http://example.com/folder/'
Install MySQL 5.6 in Ubuntu 16.04
Ubuntu 16.04 only provides packages for MySQL 5.7 which has a range of backwards compatibility issues with code written against older MySQL versions.
Oracle maintains a list of official APT repositories for MySQL 5.6, but those repositories do not yet support Ubuntu 16.04. However, the 15.10 repos will work for 16.04.
Uninstall existing mysql 5.7 if any
sudo apt remove mysql-client mysql-server libmysqlclient-dev mysql-common
<?php | |
namespace Onedrop\Common\Service; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2015 Hans Höchtl <[email protected]> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify |
#Jekyll Base64 Encoder A Liquid tag for base64 encoding
Note: this plugin requires Colorize:
gem install colorize
<?php | |
namespace Vendor\MyExtension\Service; | |
class Caching { | |
const DEFAULT_CACHE_EXTENSIONKEY = 'my_cache'; | |
/** |
<?php | |
function xml2array($contents, $get_attributes=1, $priority = 'tag') { | |
if(!$contents) return array(); | |
if(!function_exists('xml_parser_create')) { | |
//print "'xml_parser_create()' function not found!"; | |
return array(); | |
} |
<?php | |
/** | |
* @package dlrg_seminare | |
* @subpackage Provider/Configuration | |
*/ | |
namespace DLRG\DlrgSeminare\Provider\Configuration; | |
class DlrgSeminareConfigurationProvider |