Install https://github.com/doronz88/pymobiledevice3.
Get your device's UUID:
xcrun xctrace list devices
Mount the disk image:
sudo pymobiledevice3 mounter auto-mount
javascript:if(window.WebKitPlaybackTargetAvailabilityEvent){var videos=document.getElementsByTagName("video");if(videos.length>0)for(var airplayable=videos[0],i=0;i<videos.length;i++)if(!(airplayable=videos[i]).paused){airplayable.webkitShowPlaybackTargetPicker();break}} |
import google.auth | |
import googleapiclient.discovery | |
API_NAME = "displayvideo" | |
API_SCOPES = ["https://www.googleapis.com/auth/display-video"] | |
API_VERSION = "v1" | |
credentials, project = google.auth.default(scopes=API_SCOPES) | |
print(f"Google Cloud Project ID: {project}.") |
// Useage: =GPT3(prompt) | |
// Example: =GPT3("This bot will generate a creative ad headline that is will increase views, clicks, and impressions, based on a website category.\n\nWebsite Category: tech\nHeadline: Why Google will win the AI wars\n\nWebsite Category: retail\nHeadline: Need a break? Check out our new fall selections now!\n\nWebsite Category: pharma\nHeadline: Are you ready for the next pandemic? Be prepared with your own pandemic survival kit today\n\nWebsite Category: travel\nHeadline: We noticed that cruise lines are super cheap now, find out why!\n\nWebsite Category: holiday\nHeadline: Partying for the holidays? Find a new coat to go out in!\n\nWebsite Category: sports\nHeadline:") | |
class OpenAIApp { | |
static get API_KEY_PROP() { | |
return "OPENAI_API_KEY"; | |
} | |
constructor(apiKey) { | |
this.apiKey = apiKey; |
Install https://github.com/doronz88/pymobiledevice3.
Get your device's UUID:
xcrun xctrace list devices
Mount the disk image:
sudo pymobiledevice3 mounter auto-mount
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Fill' '~^\U21A9' # Window > Fill: ^ + ⌥ + ↩ | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Center' '~^c' # Window > Center: ^ + ⌥ + c | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Left' '~^\UF702' # Window > Move & Resize > Left: ^ + ⌥ + ← | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Right' '~^\UF703' # Window > Move & Resize > Right: ^ + ⌥ + → | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Top' '~^\UF700' # Window > Move & Resize > Top: ^ + ⌥ + ↑ | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom' '~^\UF701' # Window > Move & Resize > Bottom: ^ + ⌥ + ↓ | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom Left' '~^j' # Window > Move & Resize > Bottom Left: ^ + ⌥ + j | |
defaults write -g NSUserKeyEquivalents -dict-add '\033Window\033Move & Resize\033Bottom Rig |