Install the OpenSSL on Debian based systems
sudo apt-get install opensslcurl to get the JSON response for the latest releasegrep to find the line containing file URLcut and tr to extract the URLwget to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \rsync must be available on both machines (deployment host and target host)This launchd script will ensure that your Docker environment on your Mac will have 10.254.254.254 as an alias on your loopback device (127.0.0.1). The command being run is ifconfig lo0 alias 10.254.254.254.
Once your machine has a well known IP address, your PHP container will then be able to connect to it, specifically XDebug can connect to it at the configured xdebug.remote_host.
Copy/Paste the following in terminal with sudo (must be root as the target directory is owned by root)...
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |
It's a bundle of documentation of languages, projects and other stuff. Easily searchable and can be used offline.
Download: https://devdocs.io
| UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='text'; | |
| UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='textpic'; | |
| UPDATE tt_content SET CType='textmedia' WHERE tt_content.CType='images'; | |
| UPDATE tt_content LEFT JOIN sys_file_reference ON sys_file_reference.uid_foreign=tt_content.uid AND sys_file_reference.tablenames='tt_content' AND sys_file_reference.fieldname='image' SET tt_content.CType='textmedia', tt_content.assets=tt_content.image, tt_content.image=0, sys_file_reference.fieldname='assets' WHERE tt_content.CType='textpic' OR tt_content.CType='image'; | |
| UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny,',tt_content:CType:textmedia:ALLOW') WHERE (explicit_allowdeny LIKE '%tt\\_content:CType:textpic:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:image:ALLOW%' OR explicit_allowdeny LIKE '%tt\\_content:CType:text:ALLOW%') AND explicit_allowdeny NOT LIKE '%tt\\_content:CType:textmedia:ALLOW%'; | |
| UPDATE be_groups SET explicit_allowdeny=CONCAT(explicit_allowdeny |
| stages: | |
| - build | |
| - deploy | |
| variables: | |
| COMPOSER_PROCESS_TIMEOUT: "1200" | |
| NODE_ENV: "production" | |
| cache: | |
| key: "$CI_BUILD_REF_NAME" |
| # Page TSConfig: | |
| tx_gridelements.setup { | |
| # Identifier | |
| 2col { | |
| title = 2 Spalten | |
| config { | |
| colCount = 2 | |
| rowCount = 1 | |
| rows { | |
| 1 { |
| #!/bin/sh | |
| ########################################## | |
| # Make sure that $FILE.$BACKUP_EXT exists! | |
| # i.e. /etc/network/interfaces.bak | |
| ########################################## | |
| FILE=/etc/network/interfaces | |
| BACKUP_EXT=bak |