On trying to start mysql.server start
./usr/local/bin/mysql.server: line 264: kill: (12262) - No such process ERROR!
import UIKit | |
final class Slider: UISlider { | |
private let baseLayer = CALayer() // Step 3 | |
private let trackLayer = CAGradientLayer() // Step 7 | |
override func draw(_ rect: CGRect) { | |
super.draw(rect) | |
setup() |
// | |
// ContentView.swift | |
// TemperatureControl | |
// | |
// Created by Anik on 10/9/20. | |
// | |
import SwiftUI | |
struct ContentView: View { |
import AVFoundation | |
import Combine | |
// simply use | |
// player.periodicTimePublisher() | |
// .receive(on: RunLoop.main) | |
// .assign(to: \SomeClass.elapsedTime, on: someInstance) | |
// .store(in: &cancelBag) |
// | |
// Inject.swift | |
// | |
// Created by Iurii Iaremenko on 11.01.2020. | |
// | |
import Foundation | |
@propertyWrapper | |
public class Inject<Value> { |
#!/bin/bash | |
## postinstall script to remove CCDA applications | |
# remove any existing version of the tool | |
echo "Moving the CC Cleaner app to Utilities in case users need it later" | |
rm -rf /Applications/Utilities/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app ||: | |
mv /Applications/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app /Applications/Utilities/Adobe\ Creative\ Cloud\ Cleaner\ Tool.app | |
# run the cleaner tool to remove EVERYTHING! | |
echo "Running the CC Cleaner app with 'removeAll=All' option" |
@discardableResult | |
private func performRequest<T:Decodable>(route: APIRouter, decoder: JSONDecoder = JSONDecoder(), completion:@escaping (Int, Result<T>)->Void) -> DataRequest { | |
return Alamofire.request(route).responseData() { responseData in | |
guard let response = responseData.response else { | |
completion(APIClient.responseErrorCode, .failure(ApiError.internalServerError(NSLocalizedString("service_error", comment: AppConstant.EMPTY)))) | |
return | |
} | |
extension UIAlertController { | |
// MARK: - Typealias | |
typealias Alert = UIAlertController | |
typealias Action = UIAlertAction | |
typealias Block = ((Alert) -> Void)? | |
// MARK: - Static function | |
http://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8 | |
http://playertest.longtailvideo.com/adaptive/wowzaid3/playlist.m3u8 | |
http://cdn-fms.rbs.com.br/vod/hls_sample1_manifest.m3u8 | |
http://nasatv-lh.akamaihd.net/i/NASA_101@319270/index_1000_av-p.m3u8?sd=10&rebase=on | |
http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8 |
BIG iOS URL SCHEME LIST | |
HAD TO MAKE A DROPBOX FILE BECAUSE THIS LIST WAS TOO LONG TO POST IN THE COMMENTS OR NOT MAKE THE WORKFLOW APP TAKE FOREVER TO READ IT. | |
☠JAILBREAK/SYSTEM APPS | |
-------------------------- | |
activator:// | |
itms-apps:// | |
itms-services:// |