<commit_before>package com.genschefieste;

import android.app.Application;
import android.content.Context;
import android.net.ConnectivityManager;

public class GenscheFieste extends Application {

    // URI to the services. In theory we could import 2 other services which describe
    // the locations and categories, however, we have made those available in the resources
    // so they are also easily translatable.
    public static String eventUrl = "http://gfapi.timleytens.be/gf-api/events/list.json?key=XeqAsustujew6re3&secret=trezenu3uzuDrecE4upruCruq5ba4tec";

    // Connectivity manager.
    private ConnectivityManager cm;

    /**
     * onCreate().
     */
    public void onCreate() {
        super.onCreate();
        cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
    }

    /**
     * Helper function to check if network is available.
     */
    public boolean netwerkIsAvailable() {
        if (cm.getActiveNetworkInfo() != null && cm.getActiveNetworkInfo().isAvailable() && cm.getActiveNetworkInfo().isConnected()) {
            return true;
        }
        return false;<commit_msg>api key<commit_after>package com.genschefieste;

import android.app.Application;
import android.content.Context;
import android.net.ConnectivityManager;

public class GenscheFieste extends Application {

    // URI to the services. In theory we could import 2 other services which describe
    // the locations and categories, however, we have made those available in the resources
    // so they are also easily translatable.
    public static String eventUrl = "";

    // Connectivity manager.
    private ConnectivityManager cm;

    /**
     * onCreate().
     */
    public void onCreate() {
        super.onCreate();
        cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
    }

    /**
     * Helper function to check if network is available.
     */
    public boolean netwerkIsAvailable() {
        if (cm.getActiveNetworkInfo() != null && cm.getActiveNetworkInfo().isAvailable() && cm.getActiveNetworkInfo().isConnected()) {
            return true;
        }
        return false;
{'fraction_non_alphanumeric': 0.09364858599907279, 'fraction_numerical': 0.0037088548910523874, 'mean_word_length': 3.1104761904761906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6258318', 'n_tokens_mistral': 583, 'n_tokens_neox': 574, 'n_words': 167}