text:
\documentclass[a4paper]{article}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{float}
\usepackage{listings}
\usepackage{color}
\usepackage{textcomp}
\usepackage{alltt}
\usepackage{times}
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\else
\usepackage[ps2pdf,
            pagebackref=true,
            colorlinks=true,
            linkcolor=blue,
            unicode
           ]{hyperref}
\usepackage{pspicture}
\fi
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}

\usepackage{doxygen}
\lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=8,numbers=left }
\makeindex
\setcounter{tocdepth}{3}
\renewcommand{\footrulewidth}{0.4pt}
\begin{document}
\hypersetup{pageanchor=false}
\begin{titlepage}
\vspace*{7cm}
\begin{center}
{\Large SoundCity Prototyp \\[1ex]\large 0.2 }\\
\vspace*{1cm}
{\large Erzeugt von Doxygen 1.6.1}\\
\vspace*{0.5cm}
{\small Thu Nov 12 17:19:32 2009}\\
\end{center}
\end{titlepage}
\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}
\hypersetup{pageanchor=true}
\section{Ausstehende Aufgaben}
\label{todo}
\hypertarget{todo}{}
\input{todo}
\section{Klassen-\/Verzeichnis}
\input{hierarchy}
\section{Klassen-\/Verzeichnis}
\input{annotated}
\section{Datei-\/Verzeichnis}
\input{files}
\section{Klassen-\/Dokumentation}
\input{interface_add_g_p_s_point_view}
\input{interface_app_settings}
\input{interface_audio_on_map_view_controller}
\input{interface_c_s_image_annotation_view}
\input{interface_c_s_map_annotation}
\input{interface_c_s_route_annotation}
\input{interface_c_s_route_view}
\input{interface_c_s_route_view_internal}
\input{interface_database_controller}
\input{interface_drawing_view}
\input{interface_first_view_controller}
\input{interface_g_p_s_calculator}
\input{protocol_g_p_s_calculator_delegate-p}
\input{interface_g_p_s_point}
\input{interface_loading_view}
\input{interface_map_view}
\input{interface_map_view_controller}
\input{interface_m_log}
\input{interface_p_o_i}
\input{interface_p_o_i_details_view_controller}
\input{interface_p_o_i_list_view_controller}
\input{interface_route}
\input{interface_route_arrow}
\input{interface_route_point}
\input{interface_routes_view_controller}
\input{interface_settings_g_p_s_status_details_view_controller}
\input{interface_settings_view_controller}
\input{interface_sound_city_app_delegate}
\input{interface_sound_controller}
\input{interface_sound_stream_controller}
\input{interface_track_route_save_view_controller}
\input{interface_track_route_view_controller}
\input{interface_video_player}
\input{interface_x_m_l_parser}
\section{Datei-\/Dokumentation}
\input{_add_g_p_s_point_controller_8h}
\input{_add_g_p_s_point_controller_8m}
\input{_app_settings_8h}
\input{_app_settings_8m}
\input{_audio_on_map_view_controller_8h}
\input{_audio_on_map_view_controller_8m}
\input{_c_s_image_annotation_view_8h}
\input{_c_s_image_annotation_view_8m}
\input{_c_s_map_annotation_8h}
\input{_c_s_map_annotation_8m}
\input{_c_s_route_annotation_8h}
\input{_c_s_route_annotation_8m}
\input{_c_s_route_view_8h}
\input{_c_s_route_view_8m}
\input{_database_controller_8h}
\input{_database_controller_8m}
\input{_first_view_controller_8h}
\input{_first_view_controller_8m}
\input{_g_p_s_calculator_8h}
\input{_g_p_s_calculator_8m}
\input{_g_p_s_point_8h}
\input{_g_p_s_point_8m}
\input{_loading_view_8h}
\input{_loading_view_8m}
\input{_map_view_controller_8h}
\input{_map_view_controller_8m}
\input{_m_log_8h}
\input{_m_log_8m}
\input{_p_o_i_8h}
\input{_p_o_i_8m}
\input{_route_8h}
\input{_route_8m}
\input{_route_arrow_8h}
\input{_route_arrow_8m}
\input{_route_point_8h}
\input{_route_point_8m}
\input{_settings_g_p_s_status_details_view_controller_8h}
\input{_settings_g_p_s_status_details_view_controller_8m}
\input{_sound_city_app_delegate_8h}
\input{_sound_city_app_delegate_8m}
\input{_sound_stream_controller_8h}
\input{_sound_stream_controller_8m}
\input{_track_route_save_view_controller_8h}
\input{_track_route_save_view_controller_8m}
\input{_track_route_view_controller_8h}
\input{_track_route_view_controller_8m}
\input{_video_player_8h}
\input{_video_player_8m}
\input{_x_m_l_parser_8h}
\input{_x_m_l_parser_8m}
\input{main_8m}
\input{_map_view_8h}
\input{_map_view_8m}
\input{_p_o_i_details_view_controller_8h}
\input{_p_o_i_details_view_controller_8m}
\input{_p_o_i_list_view_controller_8h}
\input{_p_o_i_list_view_controller_8m}
\input{_routes_view_controller_8h}
\input{_routes_view_controller_8m}
\input{_settings_view_controller_8h}
\input{_settings_view_controller_8m}
\input{_sound_controller_8h}
\input{_sound_controller_8m}
\printindex
\end{document}


text:
var fnApply = require('./apply');
var fnConcat = require('./concat');
// fn.each
module.exports = function (handler, collection, params) {
    'use strict';
    for (var index = 0, collectionLength = collection.length; index < collectionLength; index++) {
        fnApply(handler, fnConcat([collection[index], index, collection], params));
    }
};

redpajama_set_name: RedPajamaGithub


text:
package com.twolinessoftware.smarterlist.view;

import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.support.v7.widget.RecyclerView;
import android.text.format.DateUtils;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.squareup.otto.Bus;
import com.squareup.picasso.Picasso;
import com.twolinessoftware.smarterlist.Injector;
import com.twolinessoftware.smarterlist.R;
import com.twolinessoftware.smarterlist.event.OnEditListSelectEvent;
import com.twolinessoftware.smarterlist.event.OnOverflowSelectedEvent;
import com.twolinessoftware.smarterlist.event.OnShoppingListSelectEvent;
import com.twolinessoftware.smarterlist.model.SmartList;
import com.twolinessoftware.smarterlist.model.dao.SmartListItemDAO;
import com.twolinessoftware.smarterlist.util.AccountUtils;
import com.twolinessoftware.smarterlist.util.Ln;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import javax.inject.Inject;

import rx.Observable;
import rx.Subscriber;
import rx.schedulers.Schedulers;

/**
 * Created by John on 2015-03-26.
 */
public class SmartListCardRecyclerViewAdapter extends RecyclerView.Adapter<GenericCardViewHolder> implements AdapterLifecycleInterface{

    private final Context m_context;
    private Observable<List<SmartList>> m_queryObservable;

    public List<SmartList> m_entries = new ArrayList<SmartList>();

    private HashMap<Long,Integer> m_uncheckedCounts = new HashMap<>();

    @Inject
    SmartListItemDAO m_smartListItemDao;

    @Inject
    Bus m_eventBus;

    @Inject
    AccountUtils m_accountUtils;

    private final Handler m_refreshHandler = new Handler(){
        @Override
        public void handleMessage(Message msg) {
            notifyDataSetChanged();
        }
    };

    public SmartListCardRecyclerViewAdapter(Context context, Observable<List<SmartList>> queryObservable) {
        this.m_context = context;
        this.m_queryObservable = queryObservable;
        Injector.inject(this);

    }

    private SmartListChangesSubscriber m_masterListChangesSubscriber;
    private class SmartListChangesSubscriber extends Subscriber<List<SmartList>>{

        @Override
        public void onCompleted() {

        }

        @Override
        public void onError(Throwable e) {
            Ln.e("Error loading data: "+ Log.getStackTraceString(e));
        }

        @Override
        public void onNext(List<SmartList> items) {
                Ln.v("SmartList updates. Showing "+items.size()+" cards");
                m_entries = items;
                m_refreshHandler.sendEmptyMessage(0);

        }
    }

    private UncheckedCountSubscriber m_uncheckedCountSubscriber;
    private class UncheckedCountSubscriber extends Subscriber<HashMap<Long, Integer>> {
        @Override
        public void onCompleted() {

        }

        @Override
        public void onError(Throwable e) {
            Ln.e("Error processing counts:"+Log.getStackTraceString(e));
        }

        @Override
        public void onNext(HashMap<Long, Integer> mapUpdatingCounts) {
            Ln.v("Unchecked count updates");
            m_uncheckedCounts = mapUpdatingCounts;
            m_refreshHandler.sendEmptyMessage(0);

        }
    }

    private void registerObservers() {
        Ln.v("Registering card observers");
        m_masterListChangesSubscriber = new SmartListChangesSubscriber();
        m_queryObservable
                .subscribeOn(Schedulers.newThread())
                .subscribe(m_masterListChangesSubscriber);

        m_uncheckedCountSubscriber = new UncheckedCountSubscriber();
        m_smartListItemDao.monitorSmartListUncheckedCounts()
                .subscribeOn(Schedulers.newThread())
                .subscribe(m_uncheckedCountSubscriber);
    }

    @Override
    public void onPause() {
        Ln.v("Pausing card observers");
        m_masterListChangesSubscriber.unsubscribe();
        m_uncheckedCountSubscriber.unsubscribe();
    }

    @Override
    public void onResume() {
            registerObservers();
    }

    @Override
    public int getItemViewType(int position) {
        return super.getItemViewType(position);
    }

    @Override
    public GenericCardViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View v = LayoutInflater.from(parent.getContext())
                .inflate(R.layout.item_cardview, parent, false);

        GenericCardViewHolder vh = new GenericCardViewHolder(v);
        return vh;
    }

    @Override
    public void onBindViewHolder(GenericCardViewHolder holder, int position) {

        SmartList item = m_entries.get(position);

        holder.getView().setOnClickListener(view ->{
            m_eventBus.post(new OnShoppingListSelectEvent(holder.getView(),item));
        });

        holder.m_createdDate.setText(m_context.getString(R.string.card_date_created, DateUtils.getRelativeTimeSpanString(item.getCreated().getTime(),System.currentTimeMillis(),DateUtils.MINUTE_IN_MILLIS,0)));

        holder.getView().setTag(item);
        holder.setText(item.getName());

        if(m_accountUtils.isOwner(item)){
           holder.getView().setBackgroundColor(m_context.getResources().getColor(R.color.pal_grey_1));
        }else{
            holder.getView().setBackgroundColor(m_context.getResources().getColor(R.color.pal_grey_2));
        }

        // Get Count of Items in SmartList
        Integer countOfItems = m_uncheckedCounts.get(Long.valueOf(item.getItemId()));

        int count = countOfItems != null?countOfItems.intValue():0;

        holder.setCaption(m_context.getResources().getQuantityString(R.plurals.card_caption_items,count,count));

        Picasso.with(m_context).load(item.getIconUrl()).into(holder.icon);

        holder.imageOverflow.setOnClickListener(v1 ->{
            m_eventBus.post(new OnOverflowSelectedEvent(v1,item));
        });

        holder.buttonAction1.setOnClickListener(v1 -> {
            m_eventBus.post(new OnShoppingListSelectEvent(holder.getView(),item));
        });

        holder.buttonAction2.setOnClickListener(v1 -> {
            m_eventBus.post(new OnEditListSelectEvent(holder.getView(),item));
        });

    }

    @Override
    public int getItemCount() {
        return m_entries.size();
    }

}


text:
import ComponentView from './ComponentTextNodeView';

export default ComponentView.extend({
  _createElement() {
    return document.createComment(this.model.get('content'));
  }
});