I hereby claim:
- I am carloslima on github.
- I am carloslima (https://keybase.io/carloslima) on keybase.
- I have a public key whose fingerprint is 8AAC A7F1 F49B DE5D 5E4E 7946 959E 3D46 280B 89C0
To claim this, I am signing this object:
#!/bin/bash | |
aria2c -j5 -i list.txt -c --save-session out.txt | |
has_error=`wc -l < out.txt` | |
while [ $has_error -gt 0 ] | |
do | |
echo "still has $has_error errors, rerun aria2 to download ..." | |
aria2c -j5 -i list.txt -c --save-session out.txt | |
has_error=`wc -l < out.txt` | |
sleep 10 |
import java.io.{IOException, File, ByteArrayOutputStream} | |
import org.apache.avro.file.{DataFileReader, DataFileWriter} | |
import org.apache.avro.generic.{GenericDatumReader, GenericDatumWriter, GenericRecord, GenericRecordBuilder} | |
import org.apache.avro.io.EncoderFactory | |
import org.apache.avro.SchemaBuilder | |
import org.apache.hadoop.fs.Path | |
import parquet.avro.{AvroParquetReader, AvroParquetWriter} | |
import scala.util.control.Breaks.break | |
object HelloAvro { |
#!/usr/bin/env perl | |
use 5.011; | |
use Mojo::UserAgent; | |
my $ua = Mojo::UserAgent->new; | |
my $feed_address = "https://www.archlinux.org/feeds/news/"; | |
my $response = $ua->get($feed_address)->res; | |
my @items = $response-> |
FROM ubuntu:vivid | |
RUN apt-get update \ | |
&& apt-get install -y git build-essential \ | |
autoconf libdbus-glib-1-dev xfce4-panel-dev \ | |
&& git clone git://github.com/alexkay/xmonad-log-applet.git /code \ | |
&& cd /code && ./autogen.sh && make && make DESTDIR=/opt/xla install \ | |
&& cd /opt/xla && tar cJf /xmonad-log-applet.tar.xz . | |
CMD mkdir -p /target; cp /xmonad-log-applet.tar.xz /target |
pkgname=xmonad-log-applet-xfce4-git | |
pkgver=2.1.0 | |
pkgrel=1 | |
pkgdesc="An applet that will display Xmonad log information (XFCE)" | |
arch=('i686' 'x86_64') | |
url="https://github.com/alexkay/xmonad-log-applet" | |
license=('BSD3') | |
depends=('xfce4-panel>=4.10.0') | |
makedepends=('git') | |
source=($pkgname::git+https://github.com/alexkay/xmonad-log-applet.git#tag=2.1.0) |
I hereby claim:
To claim this, I am signing this object:
package IOAll; | |
use IOBase; | |
sub import { | |
shift; | |
my $caller = caller; | |
no strict 'refs'; | |
*{$caller.'::io'} = sub { "oi: @_" } | |
} |
css = """ | |
div.Bk { | |
font-family: DejaVu Sans Mono, Courier, Monospace !important; | |
} | |
textarea { | |
font-family: DejaVu Sans Mono, Courier, Monospace !important; | |
} | |
td > div { | |
font-family: DejaVu Sans Mono, Courier, Monospace !important; | |
} |
This is a standard Ubuntu 11.04 box | |
~$ perl -v | |
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi | |
(with 53 registered patches, see perl -V for more detail) | |
Copyright 1987-2009, Larry Wall | |
Perl may be copied only under the terms of either the Artistic License or the |
\o/ |