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:
Hanging out in subtitling and video re-editing communities, I see my fair share of novice video editors and video encoders, and see plenty of them make the classic beginner mistakes when it comes to working with videos. A man can only read "Use Handbrake to convert your mkv to an mp4 :)" so many times before losing it, so I am writing this article to channel the resulting psychic damage into something productive.
If you are new to working with videos (or, let's face it, even if you aren't), please read through this guide to avoid making mistakes that can cost you lots of computing power, storage space, or video quality.
| 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:([email protected]) in:inbox subject:(from your Steam wishlist on sale) older_than:7d', | |
| 'from:([email protected]) in:inbox subject:(is live) older_than:1d', | |
| 'from:ebay.com subject:("is live!" OR "has been relisted") older_than:7d', | |
| // Security alerts | |
| 'from:([email protected]) in:inbox subject:("Security alert" OR "New sign-in from") older_than:1m', | |
| // 2FA | |
| 'from:([email protected]) 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"; |