Skip to content

Instantly share code, notes, and snippets.

Making Test Build With Imported Repo

DJABHipHop BAProductions

Making Test Build With Imported Repo
View GitHub Profile
BAProductions / SwiftUIWebView.swift
Last active April 4, 2023 12:41
SwiftUI Wrapper WKWebView works, But still think it can be better optmize if anyone wants optmize better feel free to do so.
View SwiftUIWebView.swift
// webview.swift
// BR
// Created by BAproductions on 8/12/22.
import SwiftUI
import WebKit
import Combine
BAProductions / SyntaxHighlighter.swift
Created January 12, 2023 00:08 — forked from martinpi/SyntaxHighlighter.swift
A simple Swift 4.0 class for syntax highlighting in an NSTextView
View SyntaxHighlighter.swift
// SyntaxHighlighter.swift
// CardsCardsCards
// Created by Martin Pichlmair on 12/10/2018.
// Based on
import Cocoa
View install_wordpress_custom_command
cd /home/$user/public_html;
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;