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
diff --git a/master/buildbot/process/botmaster.py b/master/buildbot/process/botmaster.py | |
index 4f1f348..a5f28f3 100644 | |
--- a/master/buildbot/process/botmaster.py | |
+++ b/master/buildbot/process/botmaster.py | |
@@ -317,11 +317,19 @@ class BotMaster(config.ReconfigurableServiceMixin, service.MultiService): | |
""" | |
Call this when something suggests that a particular slave may now be | |
available to start a build. | |
+ We delay this for 10 seconds, so that if multiple slaves start at the same | |
+ time, builds will be distributed between them. |
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
# show installed brew formula version | |
function brew-version { | |
brew info $1 | awk '{print $3}' | head -n1 | |
} | |
# show last available brew formula version | |
function brew-last-version { | |
brew versions $1 | awk '{print $1}' | head -n1 | |
} |
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
tail -f master/twistd.log | grep -v "DeprecationWarning" | grep -v "processing 0 changes" | grep -E "GitHubStatus|$" |
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 | |
# | |
# upstream: git://gist.github.com/1019125.git | |
VERBOSITY=0 | |
LOCK="" | |
CR=" | |
" | |
error() { echo "$@" 1>&2; } |
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
diff --git a/master/buildbot/changes/gitpoller.py b/master/buildbot/changes/gitpoller.py | |
index f3d7fb1..4a11108 100644 | |
--- a/master/buildbot/changes/gitpoller.py | |
+++ b/master/buildbot/changes/gitpoller.py | |
@@ -242,11 +242,13 @@ class GitPoller(base.PollingChangeSource, StateMixin): | |
lastRev = self.lastRev.get(branch) | |
self.lastRev[branch] = newRev | |
- if not lastRev: | |
- return |
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
console.log = env.note; | |
window.onerror = function (errorMsg, url, lineNumber, column, errorObj) { | |
env.warn( | |
'Error: ' + errorMsg + | |
', Script: ' + url + | |
', Line: ' + lineNumber + | |
', Column: ' + column + | |
', StackTrace: ' + String(errorObj) | |
); | |
} |
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
diff --git a/src/jsonrpccpp/server/connectors/httpserver.cpp b/src/jsonrpccpp/server/connectors/httpserver.cpp | |
index 29088b3..b316a3a 100644 | |
--- a/src/jsonrpccpp/server/connectors/httpserver.cpp | |
+++ b/src/jsonrpccpp/server/connectors/httpserver.cpp | |
@@ -124,8 +124,10 @@ bool HttpServer::SendResponse(const std::string& response, void* addInfo) | |
{ | |
struct mg_connection* conn = (struct mg_connection*) addInfo; | |
if (mg_printf(conn, "HTTP/1.1 200 OK\r\n" | |
- "Content-Type: application/json\r\n" | |
+ "Content-Type: application/json; charset=utf-8\r\n" |
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
diff --git a/eth/main.cpp b/eth/main.cpp | |
index 499a43b..54c7409 100644 | |
--- a/eth/main.cpp | |
+++ b/eth/main.cpp | |
@@ -34,6 +34,7 @@ | |
#include "FileSystem.h" | |
#include "Instruction.h" | |
#include "BuildInfo.h" | |
+#include <boost/filesystem.hpp> | |
using namespace std; |
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
# ~/.bashrc function | |
# Use `docker-cleanup --dry-run` to see what would be deleted. | |
function docker-cleanup { | |
EXITED=$(docker ps -q -f status=exited) | |
DANGLING=$(docker images -q -f "dangling=true") | |
if [ "$1" == "--dry-run" ]; then | |
echo "==> Would stop containers:" | |
echo $EXITED | |
echo "==> And images:" |
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
find . -type f -exec sed -i 's/find/replace/g' {} \; |
NewerOlder