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 src/examples/org/apache/hadoop/examples/Sort.java src/examples/org/apache/hadoop/examples/Sort.java | |
index a028009..40c7647 100644 | |
--- src/examples/org/apache/hadoop/examples/Sort.java | |
+++ src/examples/org/apache/hadoop/examples/Sort.java | |
@@ -20,13 +20,18 @@ package org.apache.hadoop.examples; | |
import java.io.IOException; | |
import java.net.URI; | |
-import java.util.*; | |
+import java.util.ArrayList; |
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
#!/usr/bin/python | |
import base64 | |
import hmac | |
import hashlib | |
import httplib | |
import json | |
import random | |
import string | |
import sys |
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
create table github ( | |
actor: string, | |
actor_attributes: struct < | |
blog: string, | |
company: string, | |
email: string, | |
gravatar_id: binary, | |
location: string, | |
login: string, | |
name: string, |
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
#include <math.h> | |
#include <iostream> | |
#include <string> | |
#include <sstream> | |
// Written by Owen O'Malley ([email protected]) | |
// compile with: g++ -O sqrt.cc -lcln -lm | |
#define WANT_OBFUSCATING_OPERATORS | |
#include <cln/integer.h> |
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
#include <stdio.h> | |
#include <time.h> | |
/* | |
Demonstrates the Mac OS bug for 2038. The output on Mac OS/X 10.10.2 in PDT: | |
In 2036 2093587200 - 2093562000 = 25200 | |
In 2037 2125126800 - 2125101600 = 25200 | |
In 2038 2156666400 - 2156637600 = 28800 | |
In 2039 2188202400 - 2188173600 = 28800 |
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
Verifying that +omalley is my blockchain ID. https://onename.com/omalley |
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 java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.FileSystem; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.io.IntWritable; | |
import org.apache.hadoop.io.Text; |
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 org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector; | |
import org.apache.hadoop.hive.ql.exec.vector.LongColumnVector; | |
import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch; | |
import org.apache.orc.CompressionKind; | |
import org.apache.orc.TypeDescription; | |
import org.apache.orc.OrcFile; | |
import org.apache.orc.Writer; |
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
package org.apache.orc.examples; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector; | |
import org.apache.hadoop.hive.ql.exec.vector.LongColumnVector; | |
import org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch; | |
import org.apache.orc.OrcFile; | |
import org.apache.orc.TypeDescription; | |
import org.apache.orc.Writer; |
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
/** | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
OlderNewer