Last update: Fri Jul 26 08:23:20 UTC 2019 by @luckylittle
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
# initial version: http://stackoverflow.com/a/7936523/617185 \ | |
# by Mikhail Kashkin(http://stackoverflow.com/users/85739/mikhail-kashkin) | |
def get_yt_video_id(url): | |
"""Returns Video_ID extracting from the given url of Youtube | |
Examples of URLs: | |
Valid: | |
'http://youtu.be/_lOT2p_FCvA', | |
'www.youtube.com/watch?v=_lOT2p_FCvA&feature=feedu', |
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
af0133ff9d85fa2ef499fe7d09d5ca1167a37bfd04efb1bb58fb8b4dd91ab8ca | |
4a1476e504d73879ac82c762f21266954e315f9496577ada4b59645517c3a436 | |
edc6cc18e5478e8faa35970f6ec03c9c249d90b38b92ede5a63bb9dad75055ce | |
64f4e992563fd187eb34d5ba72ae6fd5088670ca2e1b32a6a03454c17d03088e | |
df54fcffc3f9b42efc5ad027d0009c22e0feb964fbb927b48ac9ee27b409b80c | |
0eb6d6ed92b57d7c41e94a8e9efd5210de891e10ecec839debe4238237b84315 | |
2037f49617112f92196a0b11c0e3850f1423ef5518c9186316eacc6d9fd00354 | |
de1b9e3b1ab7828d8cf1a02080ac850112c2e8aacf0025ca7d445ecbc029b890 | |
7906a5a0aba725ed0a2918ca1c3acbc841d313416f0b359b24fff06724dee1e9 | |
eab8d6080b0a2765eb43f357d08933b543f62f896dcea4b76f4da9d928c0cf89 |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'resolv' | |
require_relative 'puppet/mr_rogers' | |
# project settings | |
app_name = 'APPLICATION_NAME_HERE' | |
org_name = 'ORG_NAME_HERE' | |
realm_mode = false | |
puppet_stack = "#{org_name}-apache-php-#{app_name}" |