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
// | |
// RichTextEditor.swift | |
// SwitDataApp | |
// | |
// Created by zentrope on 1/17/22. | |
// | |
import AppKit | |
import Combine | |
import SwiftUI |
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 |
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 |
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; |