text:
package com.amazonaws.services.kinesisfirehose.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 *

 * A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information,
 * see Apache Parquet.
 *

 *
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ParquetSerDe implements Serializable, Cloneable, StructuredPojo {

    /**
     *

     * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon
     * S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this
     * value for padding calculations.
     *

     */
    private Integer blockSizeBytes;
    /**
     *

     * The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit (in terms
     * of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     *

     */
    private Integer pageSizeBytes;
    /**
     *

     * The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     * SNAPPY, and GZIP, with the default being SNAPPY. Use SNAPPY
     * for higher decompression speed. Use GZIP if the compression ratio is more important than speed.
     *

     */
    private String compression;
    /**
     *

     * Indicates whether to enable dictionary compression.
     *

     */
    private Boolean enableDictionaryCompression;
    /**
     *

     * The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to HDFS
     * before querying. The default is 0.
     *

     */
    private Integer maxPaddingBytes;
    /**
     *

     * Indicates the version of row format to output. The possible values are V1 and V2. The
     * default is V1.
     *

     */
    private String writerVersion;

    /**
     *

     * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon
     * S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this
     * value for padding calculations.
     *

     *
     * @param blockSizeBytes
     *        The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from
     *        Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose
     *        uses this value for padding calculations.
     */

    public void setBlockSizeBytes(Integer blockSizeBytes) {
        this.blockSizeBytes = blockSizeBytes;
    }

    /**
     *

     * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon
     * S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this
     * value for padding calculations.
     *

     *
     * @return The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from
     *         Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data
     *         Firehose uses this value for padding calculations.
     */

    public Integer getBlockSizeBytes() {
        return this.blockSizeBytes;
    }

    /**
     *

     * The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from Amazon
     * S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose uses this
     * value for padding calculations.
     *

     *
     * @param blockSizeBytes
     *        The Hadoop Distributed File System (HDFS) block size. This is useful if you intend to copy the data from
     *        Amazon S3 to HDFS before querying. The default is 256 MiB and the minimum is 64 MiB. Kinesis Data Firehose
     *        uses this value for padding calculations.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public ParquetSerDe withBlockSizeBytes(Integer blockSizeBytes) {
        setBlockSizeBytes(blockSizeBytes);
        return this;
    }

    /**
     *

     * The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit (in terms
     * of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     *

     *
     * @param pageSizeBytes
     *        The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit
     *        (in terms of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     */

    public void setPageSizeBytes(Integer pageSizeBytes) {
        this.pageSizeBytes = pageSizeBytes;
    }

    /**
     *

     * The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit (in terms
     * of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     *

     *
     * @return The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit
     *         (in terms of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     */

    public Integer getPageSizeBytes() {
        return this.pageSizeBytes;
    }

    /**
     *

     * The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit (in terms
     * of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     *

     *
     * @param pageSizeBytes
     *        The Parquet page size. Column chunks are divided into pages. A page is conceptually an indivisible unit
     *        (in terms of compression and encoding). The minimum value is 64 KiB and the default is 1 MiB.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public ParquetSerDe withPageSizeBytes(Integer pageSizeBytes) {
        setPageSizeBytes(pageSizeBytes);
        return this;
    }

    /**
     *

     * The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     * SNAPPY, and GZIP, with the default being SNAPPY. Use SNAPPY
     * for higher decompression speed. Use GZIP if the compression ratio is more important than speed.
     *

     *
     * @param compression
     *        The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     *        SNAPPY, and GZIP, with the default being SNAPPY. Use
     *        SNAPPY for higher decompression speed. Use GZIP if the compression ratio is more
     *        important than speed.
     * @see ParquetCompression
     */

    public void setCompression(String compression) {
        this.compression = compression;
    }

    /**
     *

     * The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     * SNAPPY, and GZIP, with the default being SNAPPY. Use SNAPPY
     * for higher decompression speed. Use GZIP if the compression ratio is more important than speed.
     *

     *
     * @return The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     *         SNAPPY, and GZIP, with the default being SNAPPY. Use
     *         SNAPPY for higher decompression speed. Use GZIP if the compression ratio is
     *         more important than speed.
     * @see ParquetCompression
     */

    public String getCompression() {
        return this.compression;
    }

    /**
     *

     * The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     * SNAPPY, and GZIP, with the default being SNAPPY. Use SNAPPY
     * for higher decompression speed. Use GZIP if the compression ratio is more important than speed.
     *

     *
     * @param compression
     *        The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     *        SNAPPY, and GZIP, with the default being SNAPPY. Use
     *        SNAPPY for higher decompression speed. Use GZIP if the compression ratio is more
     *        important than speed.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ParquetCompression
     */

    public ParquetSerDe withCompression(String compression) {
        setCompression(compression);
        return this;
    }

    /**
     *

     * The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     * SNAPPY, and GZIP, with the default being SNAPPY. Use SNAPPY
     * for higher decompression speed. Use GZIP if the compression ratio is more important than speed.
     *

     *
     * @param compression
     *        The compression code to use over data blocks. The possible values are UNCOMPRESSED,
     *        SNAPPY, and GZIP, with the default being SNAPPY. Use
     *        SNAPPY for higher decompression speed. Use GZIP if the compression ratio is more
     *        important than speed.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ParquetCompression
     */

    public ParquetSerDe withCompression(ParquetCompression compression) {
        this.compression = compression.toString();
        return this;
    }

    /**
     *

     * Indicates whether to enable dictionary compression.
     *

     *
     * @param enableDictionaryCompression
     *        Indicates whether to enable dictionary compression.
     */

    public void setEnableDictionaryCompression(Boolean enableDictionaryCompression) {
        this.enableDictionaryCompression = enableDictionaryCompression;
    }

    /**
     *

     * Indicates whether to enable dictionary compression.
     *

     *
     * @return Indicates whether to enable dictionary compression.
     */

    public Boolean getEnableDictionaryCompression() {
        return this.enableDictionaryCompression;
    }

    /**
     *

     * Indicates whether to enable dictionary compression.
     *

     *
     * @param enableDictionaryCompression
     *        Indicates whether to enable dictionary compression.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public ParquetSerDe withEnableDictionaryCompression(Boolean enableDictionaryCompression) {
        setEnableDictionaryCompression(enableDictionaryCompression);
        return this;
    }

    /**
     *

     * Indicates whether to enable dictionary compression.
     *

     *
     * @return Indicates whether to enable dictionary compression.
     */

    public Boolean isEnableDictionaryCompression() {
        return this.enableDictionaryCompression;
    }

    /**
     *

     * The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to HDFS
     * before querying. The default is 0.
     *

     *
     * @param maxPaddingBytes
     *        The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to
     *        HDFS before querying. The default is 0.
     */

    public void setMaxPaddingBytes(Integer maxPaddingBytes) {
        this.maxPaddingBytes = maxPaddingBytes;
    }

    /**
     *

     * The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to HDFS
     * before querying. The default is 0.
     *

     *
     * @return The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to
     *         HDFS before querying. The default is 0.
     */

    public Integer getMaxPaddingBytes() {
        return this.maxPaddingBytes;
    }

    /**
     *

     * The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to HDFS
     * before querying. The default is 0.
     *

     *
     * @param maxPaddingBytes
     *        The maximum amount of padding to apply. This is useful if you intend to copy the data from Amazon S3 to
     *        HDFS before querying. The default is 0.
     * @return Returns a reference to this object so that method calls can be chained together.
     */

    public ParquetSerDe withMaxPaddingBytes(Integer maxPaddingBytes) {
        setMaxPaddingBytes(maxPaddingBytes);
        return this;
    }

    /**
     *

     * Indicates the version of row format to output. The possible values are V1 and V2. The
     * default is V1.
     *

     *
     * @param writerVersion
     *        Indicates the version of row format to output. The possible values are V1 and V2
     *        . The default is V1.
     * @see ParquetWriterVersion
     */

    public void setWriterVersion(String writerVersion) {
        this.writerVersion = writerVersion;
    }

    /**
     *

     * Indicates the version of row format to output. The possible values are V1 and V2. The
     * default is V1.
     *

     *
     * @return Indicates the version of row format to output. The possible values are V1 and
     *         V2. The default is V1.
     * @see ParquetWriterVersion
     */

    public String getWriterVersion() {
        return this.writerVersion;
    }

    /**
     *

     * Indicates the version of row format to output. The possible values are V1 and V2. The
     * default is V1.
     *

     *
     * @param writerVersion
     *        Indicates the version of row format to output. The possible values are V1 and V2
     *        . The default is V1.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ParquetWriterVersion
     */

    public ParquetSerDe withWriterVersion(String writerVersion) {
        setWriterVersion(writerVersion);
        return this;
    }

    /**
     *

     * Indicates the version of row format to output. The possible values are V1 and V2. The
     * default is V1.
     *

     *
     * @param writerVersion
     *        Indicates the version of row format to output. The possible values are V1 and V2
     *        . The default is V1.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see ParquetWriterVersion
     */

    public ParquetSerDe withWriterVersion(ParquetWriterVersion writerVersion) {
        this.writerVersion = writerVersion.toString();
        return this;
    }

    /**
     * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
     * redacted from this string using a placeholder value.
     *
     * @return A string representation of this object.
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getBlockSizeBytes() != null)
            sb.append("BlockSizeBytes: ").append(getBlockSizeBytes()).append(",");
        if (getPageSizeBytes() != null)
            sb.append("PageSizeBytes: ").append(getPageSizeBytes()).append(",");
        if (getCompression() != null)
            sb.append("Compression: ").append(getCompression()).append(",");
        if (getEnableDictionaryCompression() != null)
            sb.append("EnableDictionaryCompression: ").append(getEnableDictionaryCompression()).append(",");
        if (getMaxPaddingBytes() != null)
            sb.append("MaxPaddingBytes: ").append(getMaxPaddingBytes()).append(",");
        if (getWriterVersion() != null)
            sb.append("WriterVersion: ").append(getWriterVersion());
        sb.append("}");
        return sb.toString();
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof ParquetSerDe == false)
            return false;
        ParquetSerDe other = (ParquetSerDe) obj;
        if (other.getBlockSizeBytes() == null ^ this.getBlockSizeBytes() == null)
            return false;
        if (other.getBlockSizeBytes() != null && other.getBlockSizeBytes().equals(this.getBlockSizeBytes()) == false)
            return false;
        if (other.getPageSizeBytes() == null ^ this.getPageSizeBytes() == null)
            return false;
        if (other.getPageSizeBytes() != null && other.getPageSizeBytes().equals(this.getPageSizeBytes()) == false)
            return false;
        if (other.getCompression() == null ^ this.getCompression() == null)
            return false;
        if (other.getCompression() != null && other.getCompression().equals(this.getCompression()) == false)
            return false;
        if (other.getEnableDictionaryCompression() == null ^ this.getEnableDictionaryCompression() == null)
            return false;
        if (other.getEnableDictionaryCompression() != null && other.getEnableDictionaryCompression().equals(this.getEnableDictionaryCompression()) == false)
            return false;
        if (other.getMaxPaddingBytes() == null ^ this.getMaxPaddingBytes() == null)
            return false;
        if (other.getMaxPaddingBytes() != null && other.getMaxPaddingBytes().equals(this.getMaxPaddingBytes()) == false)
            return false;
        if (other.getWriterVersion() == null ^ this.getWriterVersion() == null)
            return false;
        if (other.getWriterVersion() != null && other.getWriterVersion().equals(this.getWriterVersion()) == false)
            return false;
        return true;
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getBlockSizeBytes() == null) ? 0 : getBlockSizeBytes().hashCode());
        hashCode = prime * hashCode + ((getPageSizeBytes() == null) ? 0 : getPageSizeBytes().hashCode());
        hashCode = prime * hashCode + ((getCompression() == null) ? 0 : getCompression().hashCode());
        hashCode = prime * hashCode + ((getEnableDictionaryCompression() == null) ? 0 : getEnableDictionaryCompression().hashCode());
        hashCode = prime * hashCode + ((getMaxPaddingBytes() == null) ? 0 : getMaxPaddingBytes().hashCode());
        hashCode = prime * hashCode + ((getWriterVersion() == null) ? 0 : getWriterVersion().hashCode());
        return hashCode;
    }

    @Override
    public ParquetSerDe clone() {
        try {
            return (ParquetSerDe) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
        }
    }

    @com.amazonaws.annotation.SdkInternalApi
    @Override
    public void marshall(ProtocolMarshaller protocolMarshaller) {
        com.amazonaws.services.kinesisfirehose.model.transform.ParquetSerDeMarshaller.getInstance().marshall(this, protocolMarshaller);
    }
}


text:
require 'mechanize'
# http://www.vatican.va/archive/ESL0506/_INDEX.HTM

Dir.mkdir 'pages' unless File.exist? 'pages'

mechanize = Mechanize.new
page = mechanize.get 'http://www.vatican.va/archive/ESL0506/__P1.HTM'

loop do
  link = page.link_with :text => 'Siguiente'

  break if link.nil?
  page = link.click

  matcher = /<meta\sname="?part"?\s+content="?[\d\w\s]+>([\d\w\s]+)(>\s)?([\d\w]+)?"?/.match page.body
  next if matcher.nil?
  puts "#{matcher[1].strip} => #{matcher[3]}"

  File.write File.join('pages', page.filename), page.content
end

redpajama_set_name: RedPajamaGithub


text:
package com.gluonhq.javaee.motd.client.views;

import com.gluonhq.charm.glisten.afterburner.AppView;
import static com.gluonhq.charm.glisten.afterburner.AppView.Flag.HOME_VIEW;
import static com.gluonhq.charm.glisten.afterburner.AppView.Flag.SHOW_IN_DRAWER;
import static com.gluonhq.charm.glisten.afterburner.AppView.Flag.SKIP_VIEW_STACK;
import com.gluonhq.charm.glisten.afterburner.AppViewRegistry;
import com.gluonhq.charm.glisten.afterburner.GluonPresenter;
import com.gluonhq.charm.glisten.afterburner.DefaultDrawerManager;
import com.gluonhq.charm.glisten.application.MobileApplication;
import com.gluonhq.charm.glisten.control.Avatar;
import com.gluonhq.charm.glisten.control.NavigationDrawer;
import com.gluonhq.charm.glisten.visual.MaterialDesignIcon;
import com.gluonhq.javaee.motd.client.MessageOfTheDay;
import javafx.scene.image.Image;
import java.util.Locale;

public class AppViewManager {

    public static final AppViewRegistry REGISTRY = new AppViewRegistry();

    public static final AppView MOTD_VIEW = view("Message Of The Day", MainPresenter.class, MaterialDesignIcon.MESSAGE, SHOW_IN_DRAWER, HOME_VIEW, SKIP_VIEW_STACK);

    private static AppView view(String title, Class<? extends GluonPresenter<?>> presenterClass, MaterialDesignIcon menuIcon, AppView.Flag... flags ) {
        return REGISTRY.createView(name(presenterClass), title, presenterClass, menuIcon, flags);
    }

    private static String name(Class<? extends GluonPresenter<?>> presenterClass) {
        return presenterClass.getSimpleName().toUpperCase(Locale.ROOT).replace("PRESENTER", "");
    }

    public static void registerViewsAndDrawer(MobileApplication app) {
        for (AppView view : REGISTRY.getViews()) {
            view.registerView(app);
        }

        NavigationDrawer.Header header = new NavigationDrawer.Header("Gluon Mobile",
                "JavaEE-MOTD Project",
                new Avatar(21, new Image(MessageOfTheDay.class.getResourceAsStream("/icon.png"))));

        DefaultDrawerManager drawerManager = new DefaultDrawerManager(app, header, REGISTRY.getViews());
        drawerManager.installDrawer();
    }
}


text:
<!DOCTYPE html>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="/assets/images/favicon.png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Rubik:400,400i,500,500i,700,700i" rel="stylesheet">
<link href="/assets/css/theme.css" rel="stylesheet">
<link href="/assets/css/custom.css" rel="stylesheet">

<meta name="description" content="Ninguém sabe quem foram os 4 evangelistas, mas é quase seguro que nunca conheceram Jesus pessoalmente">

  <meta property="og:site_name" content="Fellipe Brito">

  <meta property="og:title" content="A farsa dos evangelhos">
  <meta property="og:type" content="article">
  <meta property="og:description" content="Ninguém sabe quem foram os 4 evangelistas, mas é quase seguro que nunca conheceram Jesus pessoalmente"/>

  <meta property="og:image" content="http://fellipebrito.com/assets/images/img/bg/lie.jpg" />
  <meta property="article:published_time" content="2017-04-13T00:00:00-05:00">
  <meta property="article:author" content="http://fellipebrito.com/about/">

  <meta property="og:url" content="http://fellipebrito.com/a-farsa-dos-evangelhos/" />

  <meta itemprop="keywords" content="ressurreicao,apologetica" />

  <meta property="article:tag" content="ressurreicao">

  <meta property="article:tag" content="apologetica">

    <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarsWow" aria-controls="navbarsWow" aria-expanded="false" aria-label="Toggle navigation">

    </button>

          Fellipe Brito | Crer também é pensar

                Home

                    Sobre

Fellipe Brito

             Fellipe Brito | Crer também é pensar

Conecte-se!

Newsletter

<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">

<form action="https://fellipebrito.us19.list-manage.com/subscribe/post?u=0794ba995c37a5e8a28edf28d&id=8bb58341f2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>

      <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="seuemail@gmail.com" required>

<input type="text" name="b_0794ba995c37a5e8a28edf28d_8bb58341f2" tabindex="-1" value="">

<input type="submit" value="Confirmar!" name="subscribe" id="mc-embedded-subscribe" class="button">

</form>

                         apologetica

                         ressurreicao

A farsa dos evangelhos

"Ninguém sabe quem foram os 4 evangelistas, mas é quase seguro que nunca conheceram Jesus pessoalmente e muito do que escreveram não foi de modo algum uma tentativa de fazer história, antes se limitaram a reelaborar e adaptar o Antigo testamento, uma vez que estavam piamente convencidos de que a vida de Jesus teria de cumprir as profecias do Antigo Testamento". - Richard Dawkins

Se Dawkins esta correto, então podemos imaginar a seguinte conversa…

Lucas: Traz mais uma rodada de cerveja. Eu tenho uma ideia que eu gostaria de compartilhar com vocês.

João: Beleza. O que que você está pensando?

Lucas: Vocês provavelmente ouviram falar do Nazareno chamado Jesus, que foi crucificado ontem. Eu acho que ele é o candidato perfeito para nosso projeto de um Messias falso.

Marcos: Você só esqueceu de um probleminha: Ele está MORTO!

Lucas: Sim… sim, mas isso nos dá a oportunidade de controlarmos a narrativa. Nós poderemos construir ele como bem entendermos.

Mateus: Cara, na boa, quem é que vai seguir um Messias morto?

Lucas: Ninguém. Então nós vamos começar tudo isso inventando a idéia de que ele ressuscitou. A gente contrata uns malaco para sair no braço com os altamente treinados soldados romanos, roubar e esconder o seu corpo.

João: Hmmm… mas um corpo escondido não é o mesmo que uma ressurreição.

Lucas: Você está certo. Então nós teremos que convencer os amigos e familiares de Jesus a passarem os próximos 30 anos falando pra todo mundo que ele voltou dos mortos e passou alguns dias com eles, mesmo que para essa história pegar, eles tenham que apanhar, serem presos e até mesmo alguns deles condenados a morte.

Marcos: Show! E depois disso?

Lucas: Bem, para fazer toda essa conspiração crível, nós vamos precisar de detalhes. Então vamos inventar histórias sobre Jesus interagindo com pessoas em lugares específicos.

Mateus: Se fizermos isso as pessoas não vão querer visitar estes lugares e começar a perguntar se isso realmente aconteceu?

Lucas: Mano, não precisa se preocupar com isso. Nós podemos inventar uma história sobre a filha de um líder de uma sinagoga que estava morrendo e foi curada por ele. Vamos dar o nome da sinagoga, o endereco e o nome do líder, e vamos dizer quando isso aconteceu tambem - e absolutamente ninguém, nem uma pessoa sequer, irá até esse lugar para investigar se isso realmente aconteceu. Todo mundo vai simplesmente engolir tudo isso como verdade.

Marcos: É… me parece seguro. Mas e se as pessoas quiserem seguir a Jesus, ele tem que ter uma mensagem. As pessoas estão esperando por um Messias há séculos. Ele tem que ser alguém digno de ser ouvido.

João: Muito importante isso que você falou, Marquito. Eu vou inventar umas frases de efeito.

Lucas: Obrigado John John. Marcos tem razão: teremos que inventar frases com muita profundidade e sabedoria e colocar elas na boca de Jesus para que estudiosos possam passar os próximos 2 mil anos estudando.

João: Sem problemas!

Lucas: Galera, até terminarmos tudo isso vai tomar um tempo. Nós precisamos começar desde já a formar comunidades de pessoas que sigam a Jesus, para que quando nossos livros fiquem prontos, eles sejam bem recebidos.

Marcos: Tem um cara que eu conheço, o nome dele é Paulo, ele pode nos ajudar com isso.

Lucas: Paulo, o Fariseu!? Eu não posso imaginar ele se misturando com esse tipo de conspiração

Marcos: Mano, se liga. Ele é meu parceiro. Eu já posso imaginar ele deixando para trás todos os anos de estudo, a carreira bem sucedida e o futuro promissor como líder em Jerusalém para sair por aí plantando pequenas congregações de adoradores de Jesus por todo o Império Romano, não importa o quanto isso vai custar pra ele - surras, prisões, perseguição, discriminação e coisas do tipo.

Mateus: Irado! Mas Lucas, você pode me lembrar o porque estamos fazendo isso mesmo? Qual o objetivo final? Afinal… porque estamos fazendo isso?

Lucas: Fala sério Mateus! Será tao legal. Nós vamos assistir pessoas serem brutalmente martirizadas, e nós todos saberemos que é porque nós enganamos eles! Como não amar isso?

João: Eu concordo com Lucas. Definitivamente isso é algo que vale a pena gastar os próximos anos da nossa vida. Eu to dentro!

Marcos: Eu também.

Mateus: Eu só topo se o meu nome aparecer por primeiro no material de publicidade.

Lucas: Fechado! Vamos começar…

Esse texto é sarcasmo. Se voce nao consegue entender sarcasmo, aconselho que assista um pouco de The Big Bang Theory ;)

Texto livremente traduzido de https://www.thegospelcoalition.org/article/if-richard-dawkins-is-right

                <time class="post-date" datetime="2017-04-13">13 Apr 2017</time>

                    « Uma terceira opcao

                    3 sólidas razões pelas quais acreditar que Jesus voltou dos mortos é resultado de lavagem cerebral »

    Please enable JavaScript to view the comments powered by Disqus.
    comments powered by Disqus

                Copyright © 2018 Fellipe Brito.

                "Affiliates Theme" - Design & Code by WowThemes.net


text:
#include "cocos2d.h"
#include "cocos-ext.h"

class MenuTestLayer
    : public cocos2d::CCLayer
    , public cocos2d::extension::CCBSelectorResolver
    , public cocos2d::extension::CCBMemberVariableAssigner
{
    public:
        CCB_STATIC_NEW_AUTORELEASE_OBJECT_WITH_INIT_METHOD(MenuTestLayer, create);

        MenuTestLayer();
        virtual ~MenuTestLayer();

        virtual cocos2d::SEL_MenuHandler onResolveCCBCCMenuItemSelector(cocos2d::CCObject * pTarget, const char * pSelectorName);
        virtual cocos2d::extension::SEL_CCControlHandler onResolveCCBCCControlSelector(cocos2d::CCObject * pTarget, const char * pSelectorName);
        virtual bool onAssignCCBMemberVariable(cocos2d::CCObject * pTarget, const char * pMemberVariableName, cocos2d::CCNode * pNode);

        void onMenuItemAClicked(cocos2d::CCObject * pSender);
        void onMenuItemBClicked(cocos2d::CCObject * pSender);
        void onMenuItemCClicked(cocos2d::CCObject * pSender);

    private:
        cocos2d::CCLabelBMFont * mMenuItemStatusLabelBMFont;
};

#endif


text:
#if MONO

using System;
using System.Diagnostics.Tracing;
using System.Runtime;
using System.Runtime.CompilerServices;
using System.Security.Permissions;
namespace System.Threading
{

    internal static class PlatformHelper
    {
        private static volatile int s_processorCount;
        private static volatile int s_lastProcessorCountRefreshTicks;
        private const int PROCESSOR_COUNT_REFRESH_INTERVAL_MS = 30000;
        internal static int ProcessorCount
        {
            get
            {
                int tickCount = Environment.TickCount;
                int num = PlatformHelper.s_processorCount;
                if (num == 0 || tickCount - PlatformHelper.s_lastProcessorCountRefreshTicks >= 30000)
                {
                    num = (PlatformHelper.s_processorCount = Environment.ProcessorCount);
                    PlatformHelper.s_lastProcessorCountRefreshTicks = tickCount;
                }
                return num;
            }
        }
        internal static bool IsSingleProcessor
        {
            get
            {
                return PlatformHelper.ProcessorCount == 1;
            }
        }
    }

    internal static class TimeoutHelper
    {
        public static uint GetTime()
        {
            return (uint)Environment.TickCount;
        }
        public static int UpdateTimeOut(uint startTime, int originalWaitMillisecondsTimeout)
        {
            uint num = TimeoutHelper.GetTime() - startTime;
            if (num > 2147483647u)
            {
                return 0;
            }
            int num2 = originalWaitMillisecondsTimeout - (int)num;
            if (num2 <= 0)
            {
                return 0;
            }
            return num2;
        }
    }

    internal struct CancellationCallbackCoreWorkArguments
    {
        internal SparselyPopulatedArrayFragment<CancellationCallbackInfo> m_currArrayFragment;
        internal int m_currArrayIndex;
        [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
        public CancellationCallbackCoreWorkArguments(SparselyPopulatedArrayFragment<CancellationCallbackInfo> currArrayFragment, int currArrayIndex)
        {
            this.m_currArrayFragment = currArrayFragment;
            this.m_currArrayIndex = currArrayIndex;
        }
    }

    internal class SparselyPopulatedArray<T> where T : class
    {
        private readonly SparselyPopulatedArrayFragment<T> m_head;
        private volatile SparselyPopulatedArrayFragment<T> m_tail;
        internal SparselyPopulatedArrayFragment<T> Tail
        {
            get
            {
                return this.m_tail;
            }
        }
        internal SparselyPopulatedArray(int initialSize)
        {
            this.m_head = (this.m_tail = new SparselyPopulatedArrayFragment<T>(initialSize));
        }
        internal SparselyPopulatedArrayAddInfo<T> Add(T element)
        {
            SparselyPopulatedArrayFragment<T> sparselyPopulatedArrayFragment2;
            int num2;
            while (true)
            {
                SparselyPopulatedArrayFragment<T> sparselyPopulatedArrayFragment = this.m_tail;
                while (sparselyPopulatedArrayFragment.m_next != null)
                {
                    sparselyPopulatedArrayFragment = (this.m_tail = sparselyPopulatedArrayFragment.m_next);
                }
                for (sparselyPopulatedArrayFragment2 = sparselyPopulatedArrayFragment; sparselyPopulatedArrayFragment2 != null; sparselyPopulatedArrayFragment2 = sparselyPopulatedArrayFragment2.m_prev)
                {
                    if (sparselyPopulatedArrayFragment2.m_freeCount < 1)
                    {
                        sparselyPopulatedArrayFragment2.m_freeCount--;
                    }
                    if (sparselyPopulatedArrayFragment2.m_freeCount > 0 || sparselyPopulatedArrayFragment2.m_freeCount < -10)
                    {
                        int length = sparselyPopulatedArrayFragment2.Length;
                        int num = (length - sparselyPopulatedArrayFragment2.m_freeCount) % length;
                        if (num < 0)
                        {
                            num = 0;
                            sparselyPopulatedArrayFragment2.m_freeCount--;
                        }
                        for (int i = 0; i < length; i++)
                        {
                            num2 = (num + i) % length;
                            if (sparselyPopulatedArrayFragment2.m_elements[num2] == null && Interlocked.CompareExchange<T>(ref sparselyPopulatedArrayFragment2.m_elements[num2], element, default(T)) == null)
                            {
                                goto Block_5;
                            }
                        }
                    }
                }
                SparselyPopulatedArrayFragment<T> sparselyPopulatedArrayFragment3 = new SparselyPopulatedArrayFragment<T>((sparselyPopulatedArrayFragment.m_elements.Length == 4096) ? 4096 : (sparselyPopulatedArrayFragment.m_elements.Length * 2), sparselyPopulatedArrayFragment);
                if (Interlocked.CompareExchange<SparselyPopulatedArrayFragment<T>>(ref sparselyPopulatedArrayFragment.m_next, sparselyPopulatedArrayFragment3, null) == null)
                {
                    this.m_tail = sparselyPopulatedArrayFragment3;
                }
            }
        Block_5:
            int num3 = sparselyPopulatedArrayFragment2.m_freeCount - 1;
            sparselyPopulatedArrayFragment2.m_freeCount = ((num3 > 0) ? num3 : 0);
            return new SparselyPopulatedArrayAddInfo<T>(sparselyPopulatedArrayFragment2, num2);
        }
    }

    internal class SparselyPopulatedArrayFragment<T> where T : class
    {
        internal readonly T[] m_elements;
        internal volatile int m_freeCount;
        internal volatile SparselyPopulatedArrayFragment<T> m_next;
        internal volatile SparselyPopulatedArrayFragment<T> m_prev;
        internal T this[int index]
        {
            get
            {
                return Volatile.Read<T>(ref this.m_elements[index]);
            }
        }
        internal int Length
        {
            get
            {
                return this.m_elements.Length;
            }
        }
        internal SparselyPopulatedArrayFragment<T> Prev
        {
            get
            {
                return this.m_prev;
            }
        }

        internal SparselyPopulatedArrayFragment(int size)
            : this(size, null)
        {
        }
        internal SparselyPopulatedArrayFragment(int size, SparselyPopulatedArrayFragment<T> prev)
        {
            this.m_elements = new T[size];
            this.m_freeCount = size;
            this.m_prev = prev;
        }
        internal T SafeAtomicRemove(int index, T expectedElement)
        {
            T t = Interlocked.CompareExchange<T>(ref this.m_elements[index], default(T), expectedElement);
            if (t != null)
            {
                this.m_freeCount++;
            }
            return t;
        }
    }

    internal struct SparselyPopulatedArrayAddInfo<T> where T : class
    {
        private SparselyPopulatedArrayFragment<T> m_source;
        private int m_index;
        internal SparselyPopulatedArrayFragment<T> Source
        {
            get
            {
                return this.m_source;
            }
        }
        internal int Index
        {
            get
            {
                return this.m_index;
            }
        }

        internal SparselyPopulatedArrayAddInfo(SparselyPopulatedArrayFragment<T> source, int index)
        {
            this.m_source = source;
            this.m_index = index;
        }
    }

    /// Represents a callback delegate that has been registered with a <see cref="T:System.Threading.CancellationToken" />.
    [__DynamicallyInvokable]
    [HostProtection(SecurityAction.LinkDemand, Synchronization = true, ExternalThreading = true)]
    public struct CancellationTokenRegistration : IEquatable<CancellationTokenRegistration>, IDisposable
    {
        private readonly CancellationCallbackInfo m_callbackInfo;
        private readonly SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> m_registrationInfo;
        [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
        internal CancellationTokenRegistration(CancellationCallbackInfo callbackInfo, SparselyPopulatedArrayAddInfo<CancellationCallbackInfo> registrationInfo)
        {
            this.m_callbackInfo = callbackInfo;
            this.m_registrationInfo = registrationInfo;
        }
        [FriendAccessAllowed]
        internal bool TryDeregister()
        {
            if (this.m_registrationInfo.Source == null)
            {
                return false;
            }
            CancellationCallbackInfo cancellationCallbackInfo = this.m_registrationInfo.Source.SafeAtomicRemove(this.m_registrationInfo.Index, this.m_callbackInfo);
            return cancellationCallbackInfo == this.m_callbackInfo;
        }
        /// Releases all resources used by the current instance of the <see cref="T:System.Threading.CancellationTokenRegistration" /> class.
        /// <exception cref="T:System.ObjectDisposedException">The token source that created this token registration instance has already been disposed.</exception>
        [__DynamicallyInvokable]
        public void Dispose()
        {
            bool flag = this.TryDeregister();
            CancellationCallbackInfo callbackInfo = this.m_callbackInfo;
            if (callbackInfo != null)
            {
                CancellationTokenSource cancellationTokenSource = callbackInfo.CancellationTokenSource;
                if (cancellationTokenSource.IsCancellationRequested && !cancellationTokenSource.IsCancellationCompleted && !flag && cancellationTokenSource.ThreadIDExecutingCallbacks != Thread.CurrentThread.ManagedThreadId)
                {
                    cancellationTokenSource.WaitForCallbackToComplete(this.m_callbackInfo);
                }
            }
        }
        /// Determines whether two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal.
        /// <returns>True if the instances are equal; otherwise, false.</returns>
        /// <param name="left">The first instance.</param>
        /// <param name="right">The second instance.</param>
        [__DynamicallyInvokable]
        public static bool operator ==(CancellationTokenRegistration left, CancellationTokenRegistration right)
        {
            return left.Equals(right);
        }
        /// Determines whether two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are not equal.
        /// <returns>True if the instances are not equal; otherwise, false.</returns>
        /// <param name="left">The first instance.</param>
        /// <param name="right">The second instance.</param>
        [__DynamicallyInvokable]
        public static bool operator !=(CancellationTokenRegistration left, CancellationTokenRegistration right)
        {
            return !left.Equals(right);
        }
        /// Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.
        /// <returns>True, if both this and <paramref name="obj" /> are equal. False, otherwise.Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
        /// <param name="obj">The other object to which to compare this instance.</param>
        [__DynamicallyInvokable]
        public override bool Equals(object obj)
        {
            return obj is CancellationTokenRegistration && this.Equals((CancellationTokenRegistration)obj);
        }
        /// Determines whether the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance is equal to the specified <see cref="T:System.Threading.CancellationTokenRegistration" />.
        /// <returns>True, if both this and <paramref name="other" /> are equal. False, otherwise. Two <see cref="T:System.Threading.CancellationTokenRegistration" /> instances are equal if they both refer to the output of a single call to the same Register method of a <see cref="T:System.Threading.CancellationToken" />.</returns>
        /// <param name="other">The other <see cref="T:System.Threading.CancellationTokenRegistration" /> to which to compare this instance.</param>
        [__DynamicallyInvokable]
        public bool Equals(CancellationTokenRegistration other)
        {
            return this.m_callbackInfo == other.m_callbackInfo && this.m_registrationInfo.Source == other.m_registrationInfo.Source && this.m_registrationInfo.Index == other.m_registrationInfo.Index;
        }
        /// Serves as a hash function for a <see cref="T:System.Threading.CancellationTokenRegistration" />.
        /// <returns>A hash code for the current <see cref="T:System.Threading.CancellationTokenRegistration" /> instance.</returns>
        [__DynamicallyInvokable]
        public override int GetHashCode()
        {
            if (this.m_registrationInfo.Source != null)
            {
                return this.m_registrationInfo.Source.GetHashCode() ^ this.m_registrationInfo.Index.GetHashCode();
            }
            return this.m_registrationInfo.Index.GetHashCode();
        }
    }
}

#endif


text:
from flask import json
from debot.plugin_utils import admin_required

def test_command(app, slack_token, echo_command):
    with app.test_client() as c:
        what = 'hello'
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': 'blurrcat',
            'text': '!debot echo %s' % what,
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        resp = json.loads(resp.data)
        assert resp['text'] == what
        # not enough arguments
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': 'blurrcat',
            'text': '!debot echo',
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        assert 'argument' in resp.data
        # get help
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': 'blurrcat',
            'text': '!debot help echo',
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        resp = json.loads(resp.data)
        assert 'what to echo' in resp['text']

def test_admin(app, slack_token, echo_command, dispatcher):
    admin = 'admin'
    app.config['ADMINS'] = ('admin',)
    dispatcher.hooks[echo_command.__name__] = admin_required(echo_command)
    what = 'hello'
    # admin can call
    with app.test_client() as c:
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': admin,
            'text': '!debot echo %s' % what,
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        assert what in resp.data
        # non-admin cannot
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': admin + 'xxx',
            'text': '!debot echo %s' % what,
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        assert what not in resp.data
        assert 'not allowed' in resp.data

def test_invalid_command(app, slack_token):
    with app.test_client() as c:
        resp = c.post('/', data={
            'token': slack_token,
            'user_name': 'blurrcat',
            'text': '!debot invalid_command',
            'trigger_word': '!debot'
        })
        assert resp.status_code == 200
        assert 'No such command' in resp.data


text:
require_relative 'shared_network_manager_context'

shared_examples :shared_examples_for_security_group_controller do |providers|
  render_views

  providers.each do |t|
    context "for #{t}" do
      include_context :shared_network_manager_context, t
      before do
        stub_user(:features => :all)
        setup_zone
      end

      describe "#show_list" do
        it "renders index" do
          get :index
          expect(response.status).to eq(302)
          expect(response).to redirect_to(:action => 'show_list')
        end

        it "renders show_list" do
          # TODO(lsmola) figure out why I have to mock pdf available here, but not in other Manager's lists
          allow(PdfGenerator).to receive_messages(:available? => false)
          session[:settings] = {:default_search => 'foo',
                                :views          => {},
                                :perpage        => {:list => 10}}
          get :show_list
          expect(response.status).to eq(200)
          expect(response.body).to_not be_empty
        end
      end

      describe "#show" do
        it "renders show screen" do
          get :show, :params => {:id => @security_group.id}
          expect(response.status).to eq(200)
          expect(response.body).to_not be_empty
          expect(assigns(:breadcrumbs)).to eq([{:name => "Security Groups",
                                                :url  => "/security_group/show_list?page=&refresh=y"},
                                               {:name => "Security Group (Summary)",
                                                :url  => "/security_group/show/#{@security_group.id}"}])
        end

        it "show associated instances" do
          assert_nested_list(@security_group, [@vm], 'instances', 'All Instances', :child_path => 'vm_cloud')
        end

        it "show associated network ports" do
          assert_nested_list(@security_group, [@network_port], 'network_ports', 'All Network Ports')
        end
      end

      describe "#test_toolbars" do
        it 'edit security group tags' do
          post :button, :params => {:miq_grid_checks => @security_group.id, :pressed => "security_group_tag"}
          expect(response.status).to eq(200)
        end
      end
    end
  end
end