This file contains hidden or 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/env perl | |
use strict; | |
use warnings; | |
use 5.010; | |
use Data::UUID; | |
use DBI; | |
use HTTP::Request::Common; | |
use LWP::Simple; |
This file contains hidden or 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/env perl | |
package A::Test; | |
use strict; | |
my $v = 'original'; | |
sub new { | |
bless {}, shift; | |
} |
This file contains hidden or 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
--- original.html 2011-07-31 19:07:13.971249053 +0800 | |
+++ google.html 2011-07-31 19:07:10.371249054 +0800 | |
@@ -1,14 +1,13 @@ | |
-<!DOCTYPE html> | |
-<html> | |
- <head> | |
+<!DOCTYPE html> | |
+<html><head> | |
<title>Ramki Krishnan | Dreamer & Procrastinator</title> | |
This file contains hidden or 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
[translation] unicodedata = True | |
[translation] zipimport = True | |
[translation] zlib = True | |
Wrote /.amd_mnt/10.1.1.100/vol/users/admin/gslin/work/ports/pypy/work/pypy-pypy-release-1.6/lib_pypy/ctypes_config_cache/_locale_x86_64_.py. | |
/usr/bin/ld: cannot find -lexpat | |
[ctypes_config_cache:ERROR] Running /.amd_mnt/10.1.1.100/vol/users/admin/gslin/work/ports/pypy/work/pypy-pypy-release-1.6/lib_pypy/ctypes_config_cache/pyexpat.ctc.py: | |
[ctypes_config_cache:ERROR] LinkError: command 'cc' failed with exit status 1 | |
Wrote /.amd_mnt/10.1.1.100/vol/users/admin/gslin/work/ports/pypy/work/pypy-pypy-release-1.6/lib_pypy/ctypes_config_cache/_resource_x86_64_.py. | |
Wrote /.amd_mnt/10.1.1.100/vol/users/admin/gslin/work/ports/pypy/work/pypy-pypy-release-1.6/lib_pypy/ctypes_config_cache/_syslog_x86_64_.py. |
This file contains hidden or 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
gslin@GSLIN-DESKTOP [~] [23:09/W3] curl -o /dev/null http://27.media.tumblr.com/SI1WtzFPwd1hdpfulEYR1G9p_500.jpg | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 172k 100 172k 0 0 26760 0 0:00:06 0:00:06 --:--:-- 31558 |
This file contains hidden or 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
java.io.IOException: Type mismatch in key from map: expected org.apache.hadoop.io.Text, recieved org.apache.hadoop.io.LongWritable | |
at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:870) | |
at org.apache.hadoop.mapred.MapTask$OldOutputCollector.collect(MapTask.java:498) | |
at org.apache.hadoop.mapred.lib.IdentityMapper.map(IdentityMapper.java:38) | |
at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50) | |
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:390) | |
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:324) | |
at org.apache.hadoop.mapred.Child$4.run(Child.java:240) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at javax.security.auth.Subject.doAs(Subject.java:396) |
This file contains hidden or 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
Task Logs: 'attempt_201109240801_0127_r_000059_0' | |
stdout logs | |
stderr logs | |
java.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 134 | |
at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:362) |
This file contains hidden or 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
# Variables initialize | |
INSTANCE_TYPE="`curl -s http://169.254.169.254/latest/meta-data/instance-type`" | |
MASTER_HOST="`curl -s http://169.254.169.254/latest/user-data | grep ^MASTER_HOST= | awk -F= '{print $2}'`" | |
PUBLIC_HOSTNAME="`curl -s http://169.254.169.254/latest/meta-data/public-hostname`" | |
ROLE="`curl -s http://169.254.169.254/latest/user-data | grep ^ROLE= | awk -F= '{print $2}'`" | |
if [ "x${MASTER_HOST}" -eq 'x' ]; then | |
MASTER_HOST="${PUBLIC_HOSTNAME}" | |
fi |
This file contains hidden or 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/env perl | |
use strict; | |
use warnings; | |
use 5.010; | |
use Mojo::UserAgent; | |
use Mojolicious::Lite; | |
get '/test' => sub { |
This file contains hidden or 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
root@localhost:~# openssl speed | |
Doing md4 for 3s on 16 size blocks: 10117862 md4's in 3.00s | |
Doing md4 for 3s on 64 size blocks: 8583873 md4's in 3.00s | |
Doing md4 for 3s on 256 size blocks: 5130621 md4's in 3.00s | |
Doing md4 for 3s on 1024 size blocks: 1929043 md4's in 3.00s | |
Doing md4 for 3s on 8192 size blocks: 254719 md4's in 2.98s | |
Doing md5 for 3s on 16 size blocks: 8143737 md5's in 3.00s | |
Doing md5 for 3s on 64 size blocks: 6215558 md5's in 3.00s | |
Doing md5 for 3s on 256 size blocks: 3513649 md5's in 3.10s | |
Doing md5 for 3s on 1024 size blocks: 1364565 md5's in 3.18s |