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
package com.ericsson.iptv.testcase; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.HashMap; | |
import java.util.Map; | |
public class ProcessUtil { | |
/** |
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
package com.ericsson.iptv.testcase; | |
import java.io.File; | |
import java.io.IOException; | |
import org.eclipse.jgit.api.CreateBranchCommand.SetupUpstreamMode; | |
import org.eclipse.jgit.api.Git; | |
import org.eclipse.jgit.api.errors.GitAPIException; | |
import org.eclipse.jgit.api.errors.JGitInternalException; | |
import org.eclipse.jgit.internal.storage.file.FileRepository; |
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
from Tkinter import * | |
import time | |
class StopWatch(Frame): | |
msec = 50 | |
def __init__(self,parent=None,**kw): | |
Frame.__init__(self, parent, **kw) | |
self._start = 0.0 | |
self._elapsedtime = 0.0 | |
self._running = False |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Events</title> | |
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
google.load("jquery", "1.4.2"); | |
</script> | |
<script language="javascript" type="text/javascript"> | |
$(document).ready(function() { |
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
package com.duapp.eripark.database; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Map; | |
import org.apache.http.HttpEntity; | |
import org.apache.http.HttpResponse; |
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
package com.duapp.eripark.backend; | |
import java.io.IOException; | |
import java.io.Reader; | |
import java.io.Writer; | |
import org.apache.commons.io.Charsets; | |
import org.apache.commons.io.FileUtils; | |
import org.codehaus.jackson.JsonParseException; | |
import org.codehaus.jackson.JsonParser; |
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
import git,os,shutil | |
def get_branch(url,path,branch): | |
if url == None or path == None: | |
raise ValueError("Please assign right URL and Path") | |
else: | |
if os.path.isdir(path): | |
shutil.rmtree(path) | |
os.mkdir(path) | |
repo = git.Repo.clone_from(url, path, progress=None) |