https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
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.
| public class DigitoControl { | |
| private static final int[][] magic = { | |
| {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, | |
| {0, 3, 8, 2, 7, 4, 1, 5, 9, 6}, | |
| {0, 2, 4, 6, 8, 1, 3, 5, 7, 9} | |
| }; | |
| public static int calc(int test) { | |
| byte[] bytes = String.format("%05d", test).getBytes(); | |
| #--- | |
| # 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 |
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,
| //Twitter: https://twitter.com/DamianCatanzaro | |
| const html = "<html> \ | |
| <head> \ | |
| <style> \ | |
| body { \ | |
| margin: 0; \ | |
| background-color: cyan; \ | |
| width: 500px; \ | |
| height: 500px; \ |
| 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() { |
| 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) |
| # Drop this into Automator using Python 3 as the shell | |
| from sys import stdin | |
| from json import dumps, loads | |
| from urllib.parse import urlencode | |
| from urllib.request import Request, urlopen | |
| AZURE_ENDPOINT="getyourowndeployment.openai.azure.com" | |
| OPENAI_API_KEY="getyourownkey" | |
| OPENAI_API_VERSION="2023-05-15" |