Center well with a background image, transparent well, push footer and a button. Also some links in footer
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 | |
# Function to display help | |
display_help() { | |
echo "Usage: $0 <source_directory> [destination_directory] [-overwrite] [-start <start_index>] [-limit <max_files>]" | |
echo | |
echo "Parameters:" | |
echo " source_directory Directory containing files without extensions (use '.' for current directory)" | |
echo " destination_directory Optional: Directory to save files with added extensions (defaults to source_directory)" | |
echo " -overwrite Optional flag to overwrite original files" |
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 | |
# Default prefixes for parameters | |
QUALITY_PREFIX="-q" | |
SUFFIX_PREFIX="-s" | |
MAX_DEPTH_PREFIX="-d" | |
MAX_FILES_PREFIX="-m" | |
# Check if the quality parameter is provided | |
if [ -z "$2" ] || [ "$1" != "$QUALITY_PREFIX" ]; then |
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 | |
# Switch Xdebug state for different PHP configurations | |
PHP_VERSIONS=($(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$')) | |
PHP_SAPI=("cli" "fpm") # Add more SAPIs if needed | |
APACHE_RESTART_COMMAND="sudo /etc/init.d/apache2 restart" | |
for version in "${PHP_VERSIONS[@]}"; do | |
for sapi in "${PHP_SAPI[@]}"; do | |
# Restart PHP-FPM service for the current version |
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 | |
# Update package lists | |
sudo apt-get update | |
# Upgrade installed packages | |
sudo apt-get upgrade -y | |
# Fetch all installed PHP versions | |
php_versions=$(ls /etc/php) |
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 | |
# Switch Xdebug state for different PHP configurations | |
PHP_VERSIONS=($(ls /etc/php/ | grep -E '^[0-9]+\.[0-9]+$')) | |
PHP_SAPI=("cli" "fpm") # Add more SAPIs if needed | |
APACHE_RESTART_COMMAND="sudo /etc/init.d/apache2 restart" | |
# Determine the initial Xdebug state based on the first loop | |
for version in "${PHP_VERSIONS[@]}"; do |
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
# Lando version is at least +3.0 | |
name: drupal-nine | |
recipe: drupal9 | |
services: | |
appserver: | |
webroot: web | |
xdebug: debug | |
config: | |
php: .vscode/php.ini |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didReceiveAttrs() { | |
//debugger; | |
this._super(...arguments); | |
} | |
}); |
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
#C:\Windows\System32\drivers\etc\hosts | |
0.0.0.0 market.moonicorn.network |
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
#main { | |
.overview-menu { | |
.node-block.block {display: inline-block; width: 100%;} | |
} | |
} |
NewerOlder