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
<?php | |
/** | |
* Plugin Name: Upload AR Quick Look files | |
* Description: Upload AR Quick Look files (usdz or reality) to your WordPress media library. | |
* Author: Alexander Goller | |
* Author URI: https://alexandergoller.com | |
*/ | |
$arMimes = [ |
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
[data-key="\\"] { | |
color: red; | |
} | |
[data-key=\\] { | |
color: red; | |
} | |
[data-key="test"] { | |
color: red; |
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
.thing { | |
padding: 10px; | |
padding-right: 20px; | |
} | |
.other-thing { | |
padding: { | |
top: 30px; | |
right: 20px; | |
bottom: 50px; |
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 prompt for package installation | |
prompt_install() { | |
local pkg=$1 | |
brew info "$pkg" | |
read -p "Do you want to install $pkg? [Y/n] " answer | |
if [[ "$answer" == "Y" ]] || [[ "$answer" == "y" ]] || [[ -z "$answer" ]]; then | |
brew install "$pkg" | |
else |
OlderNewer