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
#!/bin/bash | |
# @see https://github.com/mgreter/sass2scss | |
# That utility should be installed first. For macOS users, install it in | |
# /usr/local/bin i.o. /usr/bin | |
for file in $(find . -name "*.sass") | |
do | |
sass2scss -p -p -k < "${file%.*}.sass" > "${file%.*}.scss" | |
echo "🚀 ${file%.*}.sass is migrated, now removing..." | |
rm "${file%.*}.sass" |
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
// Maak een input in de html met als name attribute name | |
// Plaats een event listener op het event blur | |
// Geef een hallo melding met de ingevulde naam (maak hier voor een h1) | |
// Advanced | |
// Check voor het teruggeven van de hallo melding wat de tijd is | |
// Is het voor 12 uur s middags, begroet dan met Goedemorgen en anders | |
// met goede middag. | |
// Is het na 18:00 begroet dan met goedenavond ... |
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
find . -name "*.ts2" -exec rename 's/\.ts2$/\.fusion/' '{}' \; |
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
# Outputs a query you can then execute. | |
# 'test' in the TABLE_SCHEMA declaration is the name of the DB you are operating upon | |
SELECT | |
CONCAT('RENAME TABLE ', GROUP_CONCAT('`', TABLE_SCHEMA, '`.`', TABLE_NAME, '` TO `', TABLE_SCHEMA, '`.`', replace(TABLE_NAME, 'db_X', 'db_Y'), '`')) AS q | |
FROM | |
`information_schema`.`tables` WHERE TABLE_SCHEMA='test'; |
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
// our table | |
UPDATE `typo3_typo3cr_domain_model_nodedata` | |
// Update values | |
SET | |
// Replace the path | |
path = REPLACE(path, '/sites/mysite/node-568e7b938a1e6/node-568e7c90a669b/node-572337907e5f2', '/sites/mysite/node-568e7b938a1e6/node-568e7c90a669b/node-5767cf3450486'), | |
// Replace the pathhash | |
`pathhash` = MD5(`path`) | |
// Replace the parentpath |
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
privilegeTargets: | |
'TYPO3\Neos\Security\Authorization\Privilege\NodeTreePrivilege': | |
'Vendor.Site:AllPages': | |
matcher: 'isDescendantNodeOf("/sites/mysite")' | |
'Vendor.Site:JustSomeRoleKey': | |
matcher: 'isDescendantNodeOf("/sites/mysite/node-56e6dcaf1ef9c")' | |
roles: |
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
- | |
name: 'Search paginate' | |
uriPattern: '{node}/{--typo3-typo3cr-search-viewhelpers-widget-paginateviewhelper.currentPage}' | |
defaults: | |
'@package': 'TYPO3.Neos' | |
'@controller': 'Frontend\Node' | |
'@format': 'html' | |
'@action': 'show' | |
'--typo3-typo3cr-search-viewhelpers-widget-paginateviewhelper': | |
'@package': '' |
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
<neos:link.node node="{node}" format="vcard"> | |
<img src="{f:uri.resource(path:'assets/images/icons/vcard.png', package:'Vendor.Site')}" alt=""/> | |
</neos:link.node> |
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
TYPO3: | |
Neos: | |
eventLog: | |
enabled: TRUE |
NewerOlder