Provide onsite and offsite archiving and disaster recovery.
Synchronize several laptops and phones using BTSync to a local backup server with large attached storage (a few TB at least). Do this continuously to provide a single local backup.
<?xml version='1.0' encoding='UTF-8'?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.apache.kafka</groupId> | |
<artifactId>kafka_2.9.2</artifactId> | |
<packaging>jar</packaging> | |
<description>kafka</description> | |
<version>0.8.0-beta1</version> | |
<name>kafka</name> | |
<organization> |
<ivy-module version="2.0"> | |
<info organisation="demo" module="trihug-kafka-demo"/> | |
<configurations> | |
<conf name="default"/> | |
</configurations> | |
<dependencies> | |
<dependency org="org.apache.kafka" name="kafka_2.9.2" rev="0.8.0-beta1" conf="default->default"/> | |
<exclude org="com.sun.jdmk"/> | |
<exclude org="com.sun.jmx"/> | |
</dependencies> |
package default; | |
import org.apache.lucene.util.automaton.Automaton; | |
import org.apache.lucene.util.automaton.BasicAutomata; | |
import org.apache.lucene.util.automaton.RegExp; | |
public class RegexAutomatonTest { | |
public void testSSN() { | |
Automaton full = new RegExp("[0-9]{3}-[0-9]{2}-[0-9]{4}").toAutomaton(); |
import org.apache.commons.configuration.AbstractConfiguration; | |
import com.netflix.config.ConcurrentCompositeConfiguration; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class ConcurrentCompositeConfigurationFactory { | |
List<AbstractConfiguration> configs = new ArrayList<AbstractConfiguration>(); | |
public void setConfigs(List<AbstractConfiguration> configs) { |
[warn] Detected both new and deprecated style of plugin configuration. | |
[warn] Ignoring deprecated project/plugins/ directory (/Users/mumrah/Code/apache/kafka/project/plugins). | |
[info] Loading project definition from /Users/mumrah/Code/apache/kafka/project | |
[warn] Multiple resolvers having different access mechanism configured with same name 'sbt-plugin-releases'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`). | |
[info] Set current project to Kafka (in build file:/Users/mumrah/Code/apache/kafka/) | |
[warn] Credentials file /Users/mumrah/.m2/.credentials does not exist | |
[warn] Credentials file /Users/mumrah/.m2/.credentials does not exist | |
[warn] Credentials file /Users/mumrah/.m2/.credentials does not exist | |
[warn] Credentials file /Users/mumrah/.m2/.credentials does not exist | |
[warn] Credentials file /Users/mumrah/.m2/.credentials does not exist |
package foo; | |
public interface Feature { | |
public String getName(); | |
} |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <signal.h> | |
char *memory; | |
void signal_handler(int signo) | |
{ |
I hereby claim:
To claim this, I am signing this object:
function get_weather_history(year, month, day, query, apikey) { | |
if(month < 10) { | |
month = "0" + month; | |
} | |
if(day < 10) { | |
day = "0" + day; | |
} | |
var ymd = year + "" + month + "" + day; | |
var url = "http://api.wunderground.com/api/" + apikey + "/history_" + ymd + "/q/" + query + ".json"; |