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 'socket' | |
host = "localhost" | |
port = 5043 | |
PAYLOAD = "System.Runtime.InteropServices.COMException (0x80004005): Error recived. at UiPath.UiNodeClass.Get(String bstrAttr) at UiPath.Core.UiElement.IsElementReady()\r" | |
def request_close(host, port) | |
client = TCPSocket.open(host, port) |
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
import org.eclipse.jetty.toolchain.perf.PlatformTimer; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Rule; | |
import org.junit.Test; | |
import org.junit.rules.TemporaryFolder; | |
import java.io.IOException; | |
import java.util.concurrent.*; |
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
@RunWith(Suite.class) | |
@Suite.SuiteClasses({ | |
org.logstash.AccessorsTest, | |
org.logstash.ackedqueue.CheckpointTest, | |
org.logstash.ackedqueue.HeadPageTest, | |
org.logstash.ackedqueue.io.FileCheckpointIOTest, | |
org.logstash.ackedqueue.io.FileMmapIOTest, | |
org.logstash.ackedqueue.io.IntVectorTest, | |
org.logstash.ackedqueue.io.LongVectorTest, | |
org.logstash.ackedqueue.io.MmapPageIOTest, |
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 | |
#Usage copy_twbs_scaffold scaffoleding_git_cloned destination_prj | |
echo "Coping twitterbootstrap scaffold files \n from: $1 \n to: $2" | |
mkdir -p $2/src/templates/scaffolding | |
cp $1/src/templates/scaffolding/* $2/src/templates/scaffolding; | |
cp $1/web-app/css/scaffolding.css $2/web-app/css/ | |
echo "WARN overwriting of your existent conf iguration, please re-check it!!" | |
cp -Rf $1/grails-app/conf $2/grails-app/ |
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
class abstract Geometry { | |
abstract Geometry envelope(); | |
} | |
clas Rect extends Geometry { | |
public Rect(int height, int width) {...} | |
} | |
class Circle extends Geometry { | |
public Geometry envelope() { |
NewerOlder