This file contains 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
require 'yaml' | |
def main | |
lang_file_1 = ARGV[0] | |
lang_file_2 = ARGV[1] | |
lang_1 = YAML::load(File.open lang_file_1) | |
lang_2 = YAML::load(File.open lang_file_2) | |
lang_1_key = lang_1.keys.first |
This file contains 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
require 'yaml' | |
def main | |
lang_file_1 = ARGV[0] | |
lang_file_2 = ARGV[1] | |
lang_1 = YAML::load(File.open lang_file_1) | |
lang_2 = YAML::load(File.open lang_file_2) | |
lang_1_keys = all_keys lang_1[lang_1.keys.first] |
This file contains 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
## Wrapper class for Pushd server | |
## https://github.com/rs/pushd | |
## Author: Ivan Bajalovic | |
## January, 2015 | |
## Feel free to copy/update the code | |
class PushdSubscriber | |
@url = 'http://localhost:8080' | |