Skip to content

Instantly share code, notes, and snippets.

View dcolish's full-sized avatar

Dan dcolish

View GitHub Profile
#include <functional>
#include <iostream>
using namespace std::placeholders;
int add(int a, int b) {
return a + b;
}
int main () {
#include <functional>
#include <iostream>
using namespace std::placeholders;
int add(int a, int b) {
return a + b;
}
int main () {
diff --git a/xapian-bindings/java/SmokeTest.java b/xapian-bindings/java/SmokeTest.java
index 7e5223a..9a2b292 100644
--- a/xapian-bindings/java/SmokeTest.java
+++ b/xapian-bindings/java/SmokeTest.java
@@ -112,15 +112,27 @@ public class SmokeTest {
System.err.println("Unexpected mset.size()");
System.exit(1);
}
+ MSetIterator m_itor = mset.begin();
+ Document m_doc = null;
require({
paths: {
'hogan': "http://twitter.github.com/hogan.js/builds/2.0.0/",
}
},
['require', 'jquery', 'jquery-ui-1.8.22.custom.min', 'hogan/hogan-2.0.0', 'defaults'],
function(req, $, jQueryui, hogan, defaults) {
div.global-notice.warn {
display: none;
}
span.setting_warning {
display: none;
}
div.octofication {
display: none;
// ==UserScript==
//
// @name fixhub
// @version 0.5
// @namespace lazar6@illinois.edu
// @description https://github.com/davidlazar/fixhub
//
// @match *://github.com/*
//
#!/bin/sh
### BEGIN INIT INFO
# Provides: rm-e1000
# Required-Start:
# Required-Stop:
# Default-Start:
# Default-Stop: 0 6
### END INIT INFO
rmmod e1000e
diff --git a/xapian-bindings/java/SmokeTest.java b/xapian-bindings/java/SmokeTest.java
old mode 100644
new mode 100755
index 7e5223a..01a692b
--- a/xapian-bindings/java/SmokeTest.java
+++ b/xapian-bindings/java/SmokeTest.java
@@ -112,21 +112,33 @@ public class SmokeTest {
System.err.println("Unexpected mset.size()");
System.exit(1);
}
make all-recursive
make[1]: Entering directory `/tmp/xapian/xapian-core'
Making all in .
make[2]: Entering directory `/tmp/xapian/xapian-core'
depbase=`echo queryparser/queryparser_internal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -Werror -fvisibility=hidden -g -O2 -MT queryparser/queryparser_internal.lo -MD -MP -MF $depbase.Tpo -c -o queryparser/queryparser_internal.lo queryparser/queryparser_internal.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywor
make all-recursive
make[1]: Entering directory `/tmp/xapian/xapian-core'
Making all in .
make[2]: Entering directory `/tmp/xapian/xapian-core'
depbase=`echo queryparser/queryparser_internal.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -Werror -fvisibility=hidden -g -O2 -MT queryparser/queryparser_internal.lo -MD -MP -MF $depbase.Tpo -c -o queryparser/queryparser_internal.lo queryparser/queryparser_internal.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I./common -I./include -fshow-column -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywor