I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!python3 | |
| ''' | |
| Directions: | |
| - install yt-dlp via Pip (e.g. using (StaSh)[https://github.com/ywangd/stash] - `pip install yt-dlp`) | |
| - add this script as a Share extension through Settings -> Share Extension Shortcuts | |
| - while watching a video in the YouTube site or app, just share the video to Pythonista and select this script | |
| - the video will download, and when it's done you can share the video file itself with any app (e.g. VLC) | |
| Advanced usage: |
These steps are all performed in cmd.exe
- Install Chocolatey NuGet
- Install node.js and ruby:
cinst nodejs.install(the "nodejs" package does not include npm, which we do need)cinst ruby1.9(the "ruby" package installs ruby 2.0, which might not work)
- Restart cmd.exe because Windows is dumb and can't see the new binaries yet in cmd.exe
gem install compass --pre(NuGet has a "compass" package, but it's old, outdated, and doesn't work anymore)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package gvl | |
| import grails.converters.JSON | |
| class ErrorController { | |
| // Forbidden | |
| def error403() { | |
| withFormat { | |
| html { render(view: 'error403') } |