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
<?xml version="1.0" encoding="UTF-8"?> | |
<packet> | |
<webspace> | |
<get> | |
<filter><id>1</id></filter> | |
<dataset> | |
<gen_info/> | |
</dataset> | |
</get> | |
</webspace> |
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
#!/usr/bin/env ruby | |
require 'pp' | |
require 'xmlrpc/client' | |
require 'time' | |
require 'digest/md5' | |
CC_URI = URI.parse(`cat ~/.smartbear/com.smartbear.ccollab.client.txt | grep url=`.split('=')[1].chomp.gsub('\\','')) | |
SUPPORTED_SERVER_VERISON = 823 | |
SVN_LOGIN = `cat ~/.subversion/auth/svn.simple/* | head -16 | tail -1`.chomp |
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
#!/usr/bin/env ruby | |
def load_subtitles(filename, as_hash = false) | |
subtitles = as_hash ? {} : [] | |
File.open(filename) do |file| | |
while !file.eof? do | |
record = [] | |
while (line = file.gets).strip != '' and !file.eof? do | |
record << line |
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
#!/bin/sh | |
sudo apt-get install cmake g++ libboost-dev flex bison re2c libmysqlclient-dev \ | |
libxml2-dev libmcrypt-dev libicu-dev openssl binutils-dev libcap-dev \ | |
libgd2-xpm-dev zlib1g-dev libtbb-dev libonig-dev libpcre3-dev git-core \ | |
autoconf libtool libcurl4-openssl-dev libboost-system-dev \ | |
libboost-program-options-dev libboost-filesystem-dev curl | |
# getting hiphop source code | |
mkdir hiphop |
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
namespace :translate do | |
desc "Check for missed keys" | |
task :missed => :environment do | |
default_locale = I18n.default_locale.to_s | |
locale = ENV['LOCALE'] | |
puts "Comparision of #{default_locale} locale with #{locale}" | |
default_locale_keys = get_locale_key(default_locale) |