Skip to content

Instantly share code, notes, and snippets.

View ashafa's full-sized avatar

Tunde Ashafa ashafa

View GitHub Profile
(defn format-history-lines
[history-lines]
((comp
format-history-map
(partial take 10)
sort-by-weight
counts
(partial map history-line->command))
history-lines))
ackage cr.canopy.tunde.canopy.manager;
import android.content.res.AssetManager;
import android.support.v4.app.FragmentActivity;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;