View SwiftUIWebView.swift
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
// | |
// webview.swift | |
// BR | |
// | |
// Created by BAproductions on 8/12/22. | |
// | |
import SwiftUI | |
import WebKit | |
import Combine |
View SyntaxHighlighter.swift
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
// | |
// SyntaxHighlighter.swift | |
// CardsCardsCards | |
// | |
// Created by Martin Pichlmair on 12/10/2018. | |
// | |
// Based on https://raw.githubusercontent.com/kuyawa/Macaw/master/Macaw/Macaw.swift | |
import Cocoa |
View install_wordpress_custom_command
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
cd /home/$user/public_html; | |
pwd; | |
wget http://wordpress.org/latest.zip; | |
unzip latest.zip; | |
mv ./wordpress/* ./ -f; | |
rm wordpress -rf; | |
cp wp-config-sample.php wp-config.php; | |
sed -i 's/database_name_here/'$user'/g' wp-config.php; | |
sed -i 's/username_here/'$user'/g' wp-config.php; | |
sed -i 's/password_here/'$password'/g' wp-config.php; |