Skip to content

Instantly share code, notes, and snippets.

@technoplato
technoplato / upload-video.py
Last active October 4, 2019 17:58
Upload Video to YouTube
#!/usr/local/bin/python3
'''
This script is a slightly modified version of the one on this page: https://developers.google.com/youtube/v3/guides/uploading_a_video
As I mention in this annotation, this script is modified for python3 https://hyp.is/jUS8hObPEem-SP9iESMhsg/developers.google.com/youtube/v3/docs
Gist: https://gist.github.com/technoplato/4d28f4f308ea7c5fe20bd23e751e9e60
'''
import http.client
import httplib2
@technoplato
technoplato / Welcome file.md
Last active October 5, 2019 04:01
Welcome file

Gone from StackEdit!

Hi! I'm your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

Files

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Create files and folders

@technoplato
technoplato / youtube-upload.scpt
Created October 17, 2019 16:33
YouTube Upload - AppleScript - Brute Force
activate application "Safari Technology Preview"
tell application "Safari Technology Preview"
tell document 1
set the URL to "https://youtube.com/upload"
delay 2
do JavaScript "document.getElementById('start-upload-button-single').click()"
end tell
end tell
tell application "System Events"
@technoplato
technoplato / keybase.md
Created October 22, 2019 03:31
keybase.md

Keybase proof

I hereby claim:

  • I am technoplato on github.
  • I am technoplato (https://keybase.io/technoplato) on keybase.
  • I have a public key ASAIUNR5KORAOEpBaN-B0YXWTGEtH9PiYmCoAMAXfDyKRAo

To claim this, I am signing this object:

* optional: Firebase Login with Instagram
debugging: https://instagram-auth.appspot.com/ (this site doesn't work)
may be related:
https://status.firebase.google.com/incident/Authentication/18002
https://github.com/firebase/firebaseui-web/issues/30
Grab all pictures and user info
implement authorization window:
https://developers.facebook.com/docs/instagram-basic-display-api/overview#authorization-window
https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions
{"lastUpload":"2020-07-16T18:57:23.032Z","extensionVersion":"v3.4.3"}