This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| javascript:(function(){try{navigator.clipboard.readText().then(function(t){if(t){var e=window.open("","_blank","width=800,height=600");e.document.open(),e.document.write(t),e.document.close()}else alert("Clipboard is empty. Please copy some text to the clipboard first.")}).catch(function(t){console.error("Failed to read clipboard contents: ",t),alert("An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.")})}catch(t){console.error("An error occurred:",t),alert("An error occurred while trying to open the new window with the clipboard content.")}})();//bookmarklet_title: HTML Preview from Clipboard |
| function cleanUpGmail() { | |
| var queries = [ | |
| 'from:(noreply@steampowered.com) in:inbox subject:(from your Steam wishlist on sale) older_than:7d', | |
| 'from:(no-reply@twitch.tv) in:inbox subject:(is live) older_than:1d', | |
| 'from:ebay.com subject:("is live!" OR "has been relisted") older_than:7d', | |
| // Security alerts | |
| 'from:(no-reply@accounts.google.com) in:inbox subject:("Security alert" OR "New sign-in from") older_than:1m', | |
| // 2FA | |
| 'from:(no-reply@email.gog.com) in:inbox older_than:1d subject:("two-step authentication" )' | |
| ] |
In this sample script, all pages in the Figma file are retrieved and the retrieved pages are put to new Google Slides as the image.
You can see the method for retrieving the access token at here. Although there is also OAuth2 for retrieving the access token, in your situation, I thought that the method for directly generating the access token on the site might be suitable. So in this answer, the generated access token on the site is used. Please retrieve the access token as follows.
Updated on June 22, 2024
This is a sample script for retrieving the access token for Service Account using Google Apps Script. The flow for using this script is as follows.
private_key and client_email as an object.| function generateAlphabets() { | |
| var alphabets = []; | |
| var start = 'A'.charCodeAt(0); | |
| var last = 'Z'.charCodeAt(0); | |
| for (var i = start; i <= last; ++i) { | |
| alphabets.push(String.fromCharCode(i)); | |
| } | |
| return alphabets.join(''); | |
| } |
| // No Security | |
| { | |
| "rules": { | |
| ".read": true, | |
| ".write": true | |
| } | |
| } |
| #!/usr/bin/env bash | |
| KEYCHAIN="secrets.keychain" | |
| main () { | |
| if [[ -z "$1" ]]; then | |
| print_usage | |
| fi | |
| case "$1" in |
| ################################# | |
| # | |
| # Backend | |
| # | |
| ################################# | |
| # Backend to use: "xrender" or "glx". | |
| # GLX backend is typically much faster but depends on a sane driver. | |
| backend = "glx"; |
The following instructions were predominantly sourced via this Apple Support Document.
With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.
The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.