unc0ver: ~13.5 https://unc0ver.dev/
checkra1n: ~13 (14 & A10+ experimental) https://checkra.in/
- download checkra
- connect your iPhone via USB
- start JB on checkra
import UIKit | |
class ViewController: UIViewController, UITextFieldDelegate { | |
@IBOutlet weak var textField: UITextField! | |
@IBOutlet weak var label: UILabel! | |
enum Placeholder { | |
case normal, empty |
unc0ver: ~13.5 https://unc0ver.dev/
checkra1n: ~13 (14 & A10+ experimental) https://checkra.in/
# iOS | |
# use libmobiledevice | |
# https://github.com/libimobiledevice/libimobiledevice | |
# https://formulae.brew.sh/formula/libimobiledevice | |
# save as 'ios_20200401_11.09.21.png' | |
$ date +%Y%m%d_%H.%M.%S | xargs -I{} sh -c 'idevicescreenshot /path/to/screenshot/ios_{}.png' | |
# Android |
// generate pipeline issue message for Slack | |
// e.g. (all issue messages are linked) | |
// | |
// 📝 *TODO* | |
// prepare for dinner | |
// write blog | |
// | |
// 📝 *In Review* | |
// buy a new desk |
const token = 'xoxb-xxx' | |
function main() { | |
var message = 'Hi :)' | |
// send direct message | |
var userID = 'UX...' | |
sendMessage(userID, message) | |
// send group direct message |
/* | |
some and any keywords for generic protocols in Swift 5.7 | |
https://swiftbysundell.com/articles/referencing-generic-protocols-with-some-and-any-keywords/ | |
*/ | |
protocol Item { } | |
struct User { | |
let name: String | |
var isAnonymous: Bool { | |
return name.isEmpty |