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
| # MIB2YAML converts MIB files to YAML files for the Ruby SNMP library with support for imports | |
| # | |
| # The code is heavily based on http://snmplib.rubyforge.org/, the only addition is the "find imports" block | |
| # | |
| # modify for ruby 2.3.3p222 (2016-11-21) [x86_64-linux-gnu] | |
| # | |
| # apt-get install smitools | |
| require 'rubygems' | |
| require 'fileutils' |
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
| #### | |
| # First export your YouTube data from https://account.google.com/, make sure you select JSON as the export format. | |
| # Transform that JSON extracting the unwanted channel IDs and put them into the channellist array. | |
| # Go to https://www.youtube.com/feed/channels, open your debugger and execute the following code | |
| #### | |
| var channellist = []; | |
| var i = 0; |