Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
function toggleFocus(focus) { | |
const app = Application("System Preferences") | |
const pane = app.panes.byId("com.apple.preference.notifications").anchors.byName("Focus") | |
app.reveal(pane) // Open the preference pane | |
// Useful way of inspecting the UI hierarchy of an open app: | |
// Application("System Events").applicationProcesses.byName("System Preferences").entireContents() | |
const ui = Application("System Events").applicationProcesses.byName("System Preferences").windows.byName("Notifications & Focus").tabGroups.at(0) |
const app = Application.currentApplication() | |
app.includeStandardAdditions = true | |
function getJSON(path) { | |
const fullPath = path.replace(/^~/, app.pathTo('home folder')) | |
const contents = app.read(fullPath) | |
return JSON.parse(contents) | |
} | |
function run() { |
//Twitter: https://twitter.com/DamianCatanzaro | |
const html = "<html> \ | |
<head> \ | |
<style> \ | |
body { \ | |
margin: 0; \ | |
background-color: cyan; \ | |
width: 500px; \ | |
height: 500px; \ |
Below are table of various projects that can completely exhaust n-bits of keyspace. In other words, counting completely and fully from 0 to 2ⁿ-1.
This Gist implies no discussion about how this is relevant to quantum computing using Grover's algorithm, meet-in-the-middle or birthday attacks, or anything of the like. It's strictly a Gist about raw speed, measuring the result in bits.
If you know of other noteworthy and verifiable brute force searching projects,
#--- | |
# iPIN - iPhone PNG Images Normalizer v1.0 | |
# Copyright (C) 2007 | |
# | |
# Author: | |
# Axel E. Brzostowski | |
# http://axelbrz.com/ | |
# axelbrz@gmail.com | |
# | |
# Python 3+ compatibility added by andrew.plus. Tested with 3.7 |
Revised: 2019-11-28 16:16 GMT-6
This is a list of the key resources I have found useful. If you know of others, please post in a comment below, and I will add to this list.
I have tried to order this list in the order that, to me, is best for learning JXA from scratch. We all learn a bit diferently, so adjust to suit your style/needs. Please post if you have suggestions on learning JXA.