Download Youtube Videos using Ruby or PHP
Just copy the appropriate script, provide the video_id and run. It will list download links for different qualities and streams.
:P
| // Copyright 2017, the Flutter project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| import 'dart:async'; | |
| import 'package:meta/meta.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/rendering.dart'; | |
| /// A widget that ensures it is always visible when focused. |
| import 'package:flutter/material.dart'; | |
| class TestPage2 extends StatefulWidget { | |
| @override | |
| _TestPageState2 createState() => new _TestPageState2(); | |
| } | |
| class _TestPageState2 extends State<TestPage2> { |
| #if UNITY_EDITOR | |
| // You'll need to include compiler conditions to only compile this if this is going through the Unity Editor, otherwise, you will not be able to compile a Build! | |
| using UnityEditor; | |
| using UnityEditor.SceneManagement; | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| using System.IO; | |
| using System.Diagnostics; | |
| public class LaunchDuplicator : EditorWindow { |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using UnityEngine.EventSystems; | |
| public class Player1CtrlRemap : MonoBehaviour | |
| { | |
| // Initialisation of player's controls. | |
| public GameObject upBtn, downBtn, lftBtn, rightBtn; | |
| public btnInit bI; |
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEditor; | |
| /* by FVS - Ha Luan */ | |
| public class StartWithSpecificScene : Editor | |
| { | |
| const string settingKey = "FVSHaluanStartWithSpecificScene"; | |
| const string firstScenePath = "Assets/Scenes/Login.unity"; |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using UnityEngine.EventSystems; | |
| using System.Collections; | |
| using System.Reflection; | |
| using System; | |
| public class FadeInOut : MonoBehaviour { | |
| [Serializable] |
| using UnityEngine; | |
| // Nine slice scaling using a Mesh. | |
| // Original code by Asher Vollmer | |
| // https://twitter.com/AsherVo | |
| // http://ashervollmer.tumblr.com | |
| // Modifications by Thomas Viktil | |
| // https://twitter.com/mandarinx | |
| // http://ma.ndar.in/ |
| using System; | |
| using System.IO; | |
| using UnityEditor; | |
| public static class SceneCreator | |
| { | |
| [MenuItem( "Assets/Create/Empty Scene" )] | |
| private static void CreateEmptyScene() | |
| { | |
| CreateScene( |
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!
\