In file included from src/concurrency/ThreadManager.cpp:20:
src/concurrency/ThreadManager.h:24:10: fatal error: 'tr1/functional' file not
found
#include <tr1/functional>
^
1 error generated.
make[4]: *** [ThreadManager.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
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
# User | |
exec { "apt-update": | |
command => "/usr/bin/apt-get update" | |
} | |
Exec["apt-update"] -> Package <| |> | |
file { "/home/vagrant/.bash_profile": | |
ensure => link, |
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
@Before | |
public final void setupTest() throws IOException { | |
this.tempFile = File.createTempFile("test", null); | |
} | |
@After | |
public final void teardownTest() throws IOException { | |
this.tempFile.delete(); | |
} | |
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 com.gargoylesoftware.htmlunit.WebClient; | |
import com.gargoylesoftware.htmlunit.html.HtmlPage; | |
import com.gargoylesoftware.htmlunit.StringWebResponse; | |
import com.gargoylesoftware.htmlunit.html.HTMLParser; | |
import com.gargoylesoftware.htmlunit.html.DomElement; | |
import com.gargoylesoftware.htmlunit.html.DomAttr; | |
import java.net.URL; | |
import java.io.IOException; | |
import java.net.MalformedURLException; |
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
$ brew ls nutch | |
/usr/local/Cellar/nutch/2.2.1/bin/nutch | |
/usr/local/Cellar/nutch/2.2.1/libexec/deploy/ (3 files) | |
/usr/local/Cellar/nutch/2.2.1/libexec/local/ (235 files) |
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
require 'formula' | |
class Nutch < Formula | |
homepage 'http://nutch.apache.org/' | |
url 'http://mirror.reverse.net/pub/apache/nutch/2.2.1/apache-nutch-2.2.1-src.tar.gz' | |
sha1 'c5d5d535a87d518aad41e89047c1eeb4331b74d2' | |
def install | |
system "ant runtime" | |
prefix.install Dir['runtime/'] |