This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
- Hulu / HuluPlus
- CBS
- ABC
- MTV
- theWB
- CW TV
- Crackle
- NBC
/* Load Data */ | |
data = LOAD '/data/ngrams_2/*' USING PigStorage('\t') AS ( value:chararray, cnt:int); | |
splitted = FOREACH data GENERATE STRSPLIT(value, ' ') as (leftv:CHARARRAY, rightv:CHARARRAY), cnt; | |
/*Load Prepositions*/ | |
prepositions = LOAD '/data/prepositions.txt' USING PigStorage('\t') as (name:CHARARRAY); | |
/* Join Result and project the values */ |
--- a/tutorial/cpp/CppClient.cpp | |
+++ b/tutorial/cpp/CppClient.cpp | |
@@ -38,9 +38,9 @@ | |
using namespace boost; | |
int main(int argc, char** argv) { | |
- shared_ptr<TTransport> socket(new TSocket("localhost", 9090)); | |
- shared_ptr<TTransport> transport(new TBufferedTransport(socket)); | |
- shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport)); | |
+ boost::shared_ptr<TTransport> socket(new TSocket("localhost", 9090)); |
{ | |
"operators": { | |
"sref" : { | |
"type": "SetTable", | |
"name": "reference" | |
}, | |
"bref": { | |
"type": "JsonTable", | |
"names": ["left", "right", "status"], | |
"types" : ["INTEGER", "INTEGER", "INTEGER"], |
{ | |
"operations" : { | |
"insert" : { | |
} | |
}, | |
"edges" : [] | |
} |
add_cus_dep( 'aux', 'bbl', 0, 'makedblp' ); | |
sub makedblp() { | |
system("dblp -s --no-crossref --no-bibtex $_[0].tex"); | |
} |
var n,t; | |
typeof document.hidden != "undefined" ? | |
(e = "hidden", n = "visibilitychange", t = "visibilityState") : | |
typeof document.mozHidden != "undefined" ? | |
(e = "mozHidden", n = "mozvisibilitychange", t = "mozVisibilityState") : | |
typeof document.msHidden != "undefined" ? | |
(e = "msHidden", n = "msvisibilitychange", t = "msVisibilityState") : | |
typeof document.webkitHidden != "undefined" && | |
(e = "webkitHidden", n = "webkitvisibilitychange", t = "webkitVisibilityState"), t && $(document).on(n, function (e) { | |
var n = "Come back! We miss you!"; |
#include <iostream> | |
#include <chrono> | |
class A { | |
public: | |
enum class Type { | |
B,C,D | |
}; |
g++ -o build/simple simple.cc -DNDEBUG -mssse3 -msse4.1 -m64 -std=c++0x -I/usr/local/include -I/home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include -funroll-loops -O3 -g -mtune=native | |
In file included from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/dsl/functions/terminal.hpp:13:0, | |
from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/dsl/include/functions/terminal.hpp:4, | |
from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/include/functions/terminal.hpp:4, | |
from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/dsl/functions/generic/run.hpp:15, | |
from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/dsl/include/functions/run.hpp:5, | |
from /home/mgrund/tmp/bitcompressedvector/simd/boost-simd/include/boost/simd/include/functions/run.hpp:4, | |
from /home/mgrund/tmp/bitcompressedvector/simd/b |
This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:
--- a/libstdc++-v3/config/os/bsd/darwin/os_defines.h | |
+++ b/libstdc++-v3/config/os/bsd/darwin/os_defines.h | |
@@ -42,4 +42,9 @@ | |
// Static initializer macro is buggy in darwin, see libstdc++/51906 | |
#define _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC | |
+// Configure checks for nanosleep fail on Darwin, but nanosleep and | |
+// sched_yield are always available, so use them. | |
+#define _GLIBCXX_USE_NANOSLEEP 1 | |
+#define _GLIBCXX_USE_SCHED_YIELD 1 |