WWDC 2006 2007 2008 2009 2010 2011 2012 2013 2014
This file contains hidden or 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
import Cocoa | |
class MyStackView: NSStackView { | |
override func responds(to aSelector: Selector!) -> Bool { | |
if aSelector == #selector(NSSplitViewController.toggleSidebar(_:)) { | |
return false | |
} | |
return super.responds(to: aSelector) | |
} | |
This file contains hidden or 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
import Foundation | |
public extension DispatchQueue { | |
private struct _once_Domain: Hashable { | |
/// The unique identifier for the class instance as domain. | |
var identifier: ObjectIdentifier | |
/// A weak reference to the class instance as domain. | |
weak var lifetimeObject: NSObject? |
This file contains hidden or 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
// | |
// ContentView.swift | |
// GradientEffect | |
// | |
// Created by Christian Privitelli on 18/7/20. | |
// | |
import SwiftUI | |
struct ContentView: View { | |
This file contains hidden or 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
import SwiftUI | |
import PlaygroundSupport | |
struct Desktop: View { | |
var body: some View { | |
ZStack { | |
// Image(uiImage: #imageLiteral(resourceName: "IMG_6281.JPG")) | |
Color(UIColor.systemBlue) | |
macOS() | |
} |
This file contains hidden or 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 | |
# Please reference: https://sunicyosen.github.io/2020/03/10/Edit-MIUI-CN | |
rm_apps=(AnalyticsCore BookmarkProvider Calculator FM GameCenter Health HTMLViewer KSICibaEngine MSA MetokNLP MiDrive MiPlayClient MiRadio MiuiBiometric MiuiDaemon MiuiDriveMode MiuiSuperMarket SogouInput Stk TouchAssistant Userguide VipAccount VirtualSim VoiceAssist WAPPushManager YouDaoEngine aiasst_service mab greenguard talkback) | |
# /system/app | |
rm_priv_apps=(Backup BackupRestoreConfirmation Browser CallLogBackup CellBroadcastReceiver ContentExtension DocumentsUI DownloadProviderUi Emergency Info MiGameCenterSDKService MiRcs MiService MiShare MiVRFramework MiuiVideo Music MusicFX NewHome PicoTts QuickSearchBox YellowPage) | |
# /system/priv-app | |
rm_data_apps=(BaiduIME MiLiveAssistant XiaoAiSpeechEngine Huanji MiMobileNoti XiaomiJrSecurity MiFinance MiShop talkback) | |
# /system/data-app |
This gist is out of date and I can no longer help much, as I got rid of my Mac.
Please visit T2 Linux website for more and better information:
This gist is just a compilation of the hard work that others have put in. I'm not a software developer, so if there are any mistakes or better ways of doing things, I'd appreciate any suggestions. Here's a list of the real heroes who made this possible:
This file contains hidden or 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
=== iBridge2,1,iBridge2,3,iBridge2,4,iBridge2,5,iBridge2,7,iBridge2,8_3.5_16P5200_Restore.ipsw | |
Firmware/dfu/iBEC.j137.RELEASE.im4p | |
3723c95ba25706b4650a92177afc28af57e0a236fd0e46b83cffb6140392b63355562b5ed671bda6b5929ff728f0b324 | |
Firmware/dfu/iBSS.j140k.RELEASE.im4p | |
34d7aa36e00b5c772bf7381c821253a714ed2714552a48a478b391faac32bc0eef2577d5a04e01f462648754eb9af69e | |
Firmware/dfu/iBSS.j137.RELEASE.im4p | |
4bb3ecf8b19401a009b5c0003b64ac3bae8258f6d9c42b91831927e348957dfde01384caa3fbee1b6e665d168b46fc47 | |
Firmware/dfu/iBEC.j680.RELEASE.im4p | |
893d17aa768a6ebd8f85b4251ef8f692c766f7b1868bd974a3dc9fcd0dd9608e4e0709bd9208752d9515a636c129378c |