Skip to content

Instantly share code, notes, and snippets.

View orgads's full-sized avatar

Orgad Shaneh orgads

  • AudioCodes
  • Israel
View GitHub Profile
From c277f83622a11be7d0a8569a44246c632caeb3f0 Mon Sep 17 00:00:00 2001
From: Petar Perisin <petar.perisin@ericsson.com>
Date: Mon, 9 Sep 2013 19:50:37 +0200
Subject: [PATCH] Clear formatting if there is no number
Task-number: QTCREATORBUG-10132
diff --git a/src/libs/utils/ansiescapecodehandler.cpp b/src/libs/utils/ansiescapecodehandler.cpp
index 38e8ddb..88164a3 100644
--- a/src/libs/utils/ansiescapecodehandler.cpp
From c277f83622a11be7d0a8569a44246c632caeb3f0 Mon Sep 17 00:00:00 2001
From: Petar Perisin <petar.perisin@ericsson.com>
Date: Mon, 9 Sep 2013 19:50:37 +0200
Subject: [PATCH] Clear formatting if there is no number
Task-number: QTCREATORBUG-10132
diff --git a/src/libs/utils/ansiescapecodehandler.cpp b/src/libs/utils/ansiescapecodehandler.cpp
index 38e8ddb..88164a3 100644
--- a/src/libs/utils/ansiescapecodehandler.cpp
From c277f83622a11be7d0a8569a44246c632caeb3f0 Mon Sep 17 00:00:00 2001
From: Petar Perisin <petar.perisin@ericsson.com>
Date: Mon, 9 Sep 2013 19:50:37 +0200
Subject: [PATCH] Clear formatting if there is no number
Task-number: QTCREATORBUG-10132
diff --git a/src/libs/utils/ansiescapecodehandler.cpp b/src/libs/utils/ansiescapecodehandler.cpp
index 38e8ddb..88164a3 100644
--- a/src/libs/utils/ansiescapecodehandler.cpp
[2015-05-10 09:19:23,551] WARN org.eclipse.jetty.servlet.ServletHandler : /review/plugins/xdocs/static/xdocs/xdocs.nocache.js
java.io.IOException: Stream closed
at java.util.zip.InflaterInputStream.ensureOpen(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at org.eclipse.jgit.util.IO.readFully(IO.java:246)
at com.google.gerrit.httpd.plugins.HttpPluginServlet.readWholeEntry(HttpPluginServlet.java:654)
at com.google.gerrit.httpd.plugins.HttpPluginServlet.sendResource(HttpPluginServlet.java:569)
at com.google.gerrit.httpd.plugins.HttpPluginServlet.onDefault(HttpPluginServlet.java:286)
at com.google.gerrit.httpd.plugins.HttpPluginServlet.access$100(HttpPluginServlet.java:86)
at com.google.gerrit.httpd.plugins.HttpPluginServlet$3.doFilter(HttpPluginServlet.java:229)
@orgads
orgads / gist:942671d3e2a9ee11ac15
Created May 12, 2015 05:56
jstack output for slow submit
Thread 30: (state = IN_NATIVE)
- java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Interpreted frame)
- java.net.SocketInputStream.read(byte[], int, int, int) @bci=87 (Interpreted frame)
- java.net.SocketInputStream.read(byte[], int, int) @bci=11 (Interpreted frame)
- com.mysql.jdbc.util.ReadAheadInputStream.fill(int) @bci=262, line=114 (Interpreted frame)
- com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(byte[], int, int) @bci=176, line=161 (Compiled frame)
- com.mysql.jdbc.util.ReadAheadInputStream.read(byte[], int, int) @bci=48, line=189 (Compiled frame)
- com.mysql.jdbc.MysqlIO.readFully(java.io.InputStream, byte[], int, int) @bci=34, line=3014 (Compiled frame)
- com.mysql.jdbc.MysqlIO.reuseAndReadPacket(com.mysql.jdbc.Buffer, int) @bci=23, line=3467 (Interpreted frame)
- com.mysql.jdbc.MysqlIO.reuseAndReadPacket(com.mysql.jdbc.Buffer) @bci=3, line=3456 (Interpreted frame)
No. Time Source Destination Protocol Length Info
3 0.302038 10.33.5.130 10.1.0.14 SMB 178 Trans2 Request, FIND_FIRST2, Pattern: \CompilationResults
Frame 3: 178 bytes on wire (1424 bits), 178 bytes captured (1424 bits)
Ethernet II, Src: Universa_47:01:18 (fc:4d:d4:47:01:18), Dst: CheckPoi_3f:a9:5c (00:1c:7f:3f:a9:5c)
Internet Protocol Version 4, Src: 10.33.5.130 (10.33.5.130), Dst: 10.1.0.14 (10.1.0.14)
Transmission Control Protocol, Src Port: 64227 (64227), Dst Port: microsoft-ds (445), Seq: 1, Ack: 1, Len: 124
NetBIOS Session Service
SMB (Server Message Block Protocol)
SMB Header
No. Time Source Destination Protocol Length Info
1 0.000000 10.33.5.130 10.1.0.14 SMB 146 NT Create AndX Request, Path: \
Frame 1: 146 bytes on wire (1168 bits), 146 bytes captured (1168 bits)
Ethernet II, Src: Universa_47:01:18 (fc:4d:d4:47:01:18), Dst: CheckPoi_3f:a9:5c (00:1c:7f:3f:a9:5c)
Internet Protocol Version 4, Src: 10.33.5.130 (10.33.5.130), Dst: 10.1.0.14 (10.1.0.14)
Transmission Control Protocol, Src Port: 64227 (64227), Dst Port: microsoft-ds (445), Seq: 1, Ack: 1, Len: 92
NetBIOS Session Service
SMB (Server Message Block Protocol)
SMB Header
No. Time Source Destination Protocol Length Info
5 0.432160 10.33.5.130 10.1.0.121 SMB 146 NT Create AndX Request, FID: 0x2126, Path: \
Frame 5: 146 bytes on wire (1168 bits), 146 bytes captured (1168 bits)
Ethernet II, Src: Universa_47:01:18 (fc:4d:d4:47:01:18), Dst: CheckPoi_3f:a9:5c (00:1c:7f:3f:a9:5c)
Internet Protocol Version 4, Src: 10.33.5.130 (10.33.5.130), Dst: 10.1.0.121 (10.1.0.121)
Transmission Control Protocol, Src Port: seagulllms (1291), Dst Port: microsoft-ds (445), Seq: 1, Ack: 1, Len: 92
NetBIOS Session Service
SMB (Server Message Block Protocol)
SMB Header
function shell(command, args) {
var binary, realArgs;
if (qbs.targetOS.contains("windows")) {
binary = "Utils/ListEvents/sh-exec.bat"
realArgs = [command]
realArgs.push(args)
} else {
binary = command
realArgs = args
}
Product {
name: "External"
Group {
files: [
"file1.cpp",
"file2.cpp",
]
fileTags: ["listEventsInputs"]
}