text
stringlengths
2
1.04M
meta
dict
#include <aws/elasticache/model/EngineDefaults.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using namespace Aws::ElastiCache::Model; using namespace Aws::Utils::Xml; using namespace Aws::Utils; Engi...
{ "content_hash": "c2b82d6f4086e0a0aae872c4f46f1597", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 155, "avg_line_length": 34.474074074074075, "alnum_prop": 0.715513536742587, "repo_name": "zeliard/aws-sdk-cpp", "id": "7dd7403f27c7a520f6e6c7570a86529c3fd666a1", "size": ...
<!-- If you are a future executive adding a new sponsor, make sure the photo is a png with a transparent texture on it. --> <head> <meta charset="UTF-8"> <!-- jQuery --> <script src="../js/jquery.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="../js/bootstrap.min.js"></script> ...
{ "content_hash": "02c41e64e83ab60f87c90a6ba1a0734e", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 150, "avg_line_length": 40.375, "alnum_prop": 0.5624355005159959, "repo_name": "kreloff-01/new-sdc-site", "id": "afcd6191e34bd35c962b9fa7991b9ba4e006a60f", "size": "3878", ...
package org.neo4j.cypher.internal.codegen; import org.neo4j.cypher.internal.frontend.v2_3.ArithmeticException; import org.neo4j.cypher.internal.frontend.v2_3.CypherTypeException; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.List; /** * This is a helper class used by compiled plans f...
{ "content_hash": "ccafadd432f783ae5d8a934afaf5fd70", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 120, "avg_line_length": 32.670175438596495, "alnum_prop": 0.4970465041348942, "repo_name": "HuangLS/neo4j", "id": "aea84c944258a258d3d00064a59702661d22a09c", "size": "1010...
#include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkColorSpace.h" #include "include/core/SkImageInfo.h" #include "include/core/SkPaint.h" #include "include/core/SkRect.h" #include "include/core/SkSurface.h" #include <cmath> void SkRescaleAndReadPixels(SkBitmap bmp, ...
{ "content_hash": "5e48b63ea92350c5899123805010a3b8", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 97, "avg_line_length": 39.49006622516556, "alnum_prop": 0.5661579741740734, "repo_name": "google/skia", "id": "79d365d3be195daedc946e86b91ee804f376004b", "size": "6105", ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
{ "content_hash": "9655d7ab5eb524063c84b419abecb6eb", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 174, "avg_line_length": 39.474074074074075, "alnum_prop": 0.547757553011822, "repo_name": "sandrock/SrkToolkit", "id": "8bc663b94cc6c3eb5e6be7410d4f26ce3efe53df", "size": ...
'use strict'; var path = require('path'); var gulp = require('gulp'); var del = require('del') var slash = require('slash') var gutil = require('gulp-util'); var chalk = require('chalk') var gulpif = require('gulp-if'); var pkg = require('./package'); var sass = require('gulp-ruby-sass'); var minifycss = require('gul...
{ "content_hash": "d10f0fd7f5dc7d007493be5990ea4414", "timestamp": "", "source": "github", "line_count": 507, "max_line_length": 126, "avg_line_length": 30.67258382642998, "alnum_prop": 0.5460099029001351, "repo_name": "alliance-timur/vizabi", "id": "f749750eb9264b610d92839e759205ae187a8531", "size"...
<?php namespace App\Http\Middleware; use App\Basket\Merchant; use Closure; use Illuminate\Contracts\Auth\Guard; /** * Available Features * * @author GK */ class BetaParticipant { /** * The Guard implementation. * * @var Guard */ protected $auth; /** * Create a new filter ins...
{ "content_hash": "f42502d79284a237123bec1ad000e57a", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 93, "avg_line_length": 20, "alnum_prop": 0.5231481481481481, "repo_name": "PayBreak/basket", "id": "e33083e325ef5064a38a3c8d3dd5310a79cc0e71", "size": "1080", "binary": f...
"""Support for Verisure sensors.""" import logging from homeassistant.components.verisure import HUB as hub from homeassistant.components.verisure import ( CONF_THERMOMETERS, CONF_HYDROMETERS, CONF_MOUSE) from homeassistant.const import TEMP_CELSIUS from homeassistant.helpers.entity import Entity _LOGGER = loggin...
{ "content_hash": "38ce006fb43c0e0d4aae56e45ce19a7b", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 73, "avg_line_length": 29.797385620915033, "alnum_prop": 0.5900416758060978, "repo_name": "nugget/home-assistant", "id": "13706d8408f77ea9bb48784e1451053da8d87473", "size"...
function out=prox_sum_k_largest(x,k,alpha) %PROX_SUM_K_LARGEST computes the proximal operator of the function % alpha*(sum of k largest values of x(:)) % % Usage: % out = PROX_SUM_K_LARGEST(x,k,alpha) % =========================================== % INPUT: % x - point to be projected (vec...
{ "content_hash": "b166c325753268d1442d41f5f8e11e62", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 117, "avg_line_length": 35.30769230769231, "alnum_prop": 0.6258169934640523, "repo_name": "hiroyuki-kasai/SGDLibrary", "id": "77f4a634466e34af80665938575ffbddf95b5c87", "si...
/* eslint-env browser: true */ import {defaults, find, get, wrap} from 'lodash'; import {debounce} from 'lodash-decorators'; import {parse} from 'sdp-transform'; import uuid from 'uuid'; import {WebexPlugin} from '@webex/webex-core'; import { base64, deprecated, oneFlight, retry, tap, whileInFlight } fro...
{ "content_hash": "50f99cb65b6633d4dffffc4fb7e3cd3a", "timestamp": "", "source": "github", "line_count": 2047, "max_line_length": 149, "avg_line_length": 27.68295065950171, "alnum_prop": 0.6095434732736866, "repo_name": "bbender/spark-js-sdk", "id": "f0876a4aa48bd45d97fd9f7d9fd5d82b692961f9", "size"...
ModuleSite.SearchModule = ModuleSite.SearchModule || (function () { var _args; var self = this; return { init: function (args) { _args = $.extend({ }, args); }, start: function () { //Critères de recherche var searchCri...
{ "content_hash": "8c423ed616ed5c06bc00d609ccd312cc", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 173, "avg_line_length": 49.06410256410256, "alnum_prop": 0.5079696890514763, "repo_name": "apo-j/Projects_Working", "id": "f2868f9eb773126e420fdaa3f2decac76937bcde", "size"...
package mockit; import javax.security.auth.callback.*; import javax.security.auth.login.*; import static org.junit.Assert.*; import org.junit.*; import mockit.internal.state.*; public final class MockitTest { private Class<?> classRedefined; static class RealClass { int doSomething...
{ "content_hash": "0af2bdbf4f33502db57e0ad5726925b7", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 111, "avg_line_length": 27.735042735042736, "alnum_prop": 0.6644067796610169, "repo_name": "borisbrodski/jmockit", "id": "de8bd63a1998460797067128fa200d868c8e8a2c", "size"...
package es.tid.topologyModuleBase.COPServiceTopology.client.auth; import java.util.Map; import es.tid.topologyModuleBase.COPServiceTopology.client.Pair; import java.util.List; @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-05-27T13:24:30.808+02:00") public c...
{ "content_hash": "efda56a1043d193ee3911508c3de274c", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 131, "avg_line_length": 32.8, "alnum_prop": 0.782520325203252, "repo_name": "telefonicaid/netphony-topology", "id": "5ca1935e2fec884ae48586ed29a464989a3d1daa", "size": "492...
from ..abstract_dma_controller import AbstractDMAController from ......utils.override import overrides from m5.objects import MessageBuffer class DMAController(AbstractDMAController): """ A DMA Controller for use in the MI_Example cache hierarchy setup. """ class DMAController(AbstractDMAController)...
{ "content_hash": "e3b47979dca39f02d5ddd1074d7cb4e0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 69, "avg_line_length": 34.81818181818182, "alnum_prop": 0.7075718015665796, "repo_name": "gem5/gem5", "id": "fb6895f4f8109b6b1cac86bc62fb64bb50681b60", "size": "2316", "b...
"""Top-level presubmit script for V8. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details about the presubmit API built into gcl. """ def _V8PresubmitChecks(input_api, output_api): """Runs the V8 presubmit checks.""" import sys sys.path.append(input_api.os_path.join( ...
{ "content_hash": "2c2d576814aac54db1bc2e9ff276953e", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 75, "avg_line_length": 35.766666666666666, "alnum_prop": 0.7264678471575023, "repo_name": "h0x91b/redis-v8", "id": "75e16e3bd79df3876e046983ee9c645cde0c9be0", "size": "3718...
<?php namespace TwBundle\Filter; use AppBundle\Entity\Medewerker; use AppBundle\Filter\FilterInterface; use AppBundle\Filter\KlantFilter; use AppBundle\Form\Model\AppDateRangeModel; use Doctrine\ORM\QueryBuilder; use TwBundle\Entity\Klant; use TwBundle\Entity\Project; class HuurovereenkomstFilter implements FilterIn...
{ "content_hash": "9b54c8268aa2396e90b150f45a380adf", "timestamp": "", "source": "github", "line_count": 239, "max_line_length": 116, "avg_line_length": 28.728033472803347, "alnum_prop": 0.4908243518788232, "repo_name": "deregenboog/ecd", "id": "f574d413d521e71a7718c1349d80ece4966acc64", "size": "68...
from msrest.serialization import Model class Query(Model): """Defines a search query. Variables are only populated by the server, and will be ignored when sending a request. :param text: The query string. Use this string as the query term in a new search request. :type text: str :ivar d...
{ "content_hash": "9bf00f1dd07bceaa1b5bd1ea1784d5a9", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 79, "avg_line_length": 35.68, "alnum_prop": 0.625560538116592, "repo_name": "AutorestCI/azure-sdk-for-python", "id": "5cc62783638e9ad9124577d74f5635bf3eca9a27", "size": "22...
options/db === Scripts for working with MongoDB Daemon setup --- For running as upstart daemon on Ubuntu, set up virtual environment, copy `opttrack.upstart` to `/etc/init/opttrack.conf`.
{ "content_hash": "4c239d5be0d3a3aeb8263c61671b89cc", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 68, "avg_line_length": 23.625, "alnum_prop": 0.7619047619047619, "repo_name": "aisthesis/mfstockmkt", "id": "2499424ea65d82cea276c61348a97545213c706c", "size": "189", "bin...
package jigg.nlp.ccg import lexicon._ import scala.reflect.ClassTag import java.io.File trait CCGBank { val info: Opts.BankInfo def train: File def dev: File def test: File def template: File def lexicon: File def trainSentences: Array[GoldSuperTaggedSentence] = extractor.readSentences(train,...
{ "content_hash": "674c37cb5fe16050a2fdf5df79cc9d78", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 89, "avg_line_length": 30.068181818181817, "alnum_prop": 0.7346938775510204, "repo_name": "mynlp/jigg", "id": "b1a58511cb5a68c7accdb93e810be842a0ed7e62", "size": "3220", ...
require 'chef/knife' class Chef class Knife module VmBase def self.included(base) base.class_eval do deps do require 'chef/json_compat' end end end def locate_config_value(key) key = key.to_sym config[key] || Chef::Config[:knife]...
{ "content_hash": "3814a0ec9f8e4508fa15364cab2ca634", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 48, "avg_line_length": 16.136363636363637, "alnum_prop": 0.5352112676056338, "repo_name": "danryan/knife-vm", "id": "dac378ecd5655a7c6f3a67b7af3940ec3d07c214", "size": "355...
<?php /** * System Info Czech lexicon topic * * @language cs * @package modx * @subpackage lexicon * * @author modxcms.cz * @updated 2011-10-23 */ // $_lang['database_charset'] = 'Database charset'; $_lang['database_charset'] = 'Znaková sada databáze'; // $_lang['database_name'] = 'Database name'; $_lang['dat...
{ "content_hash": "b087dd904e735017f7325a4f825c267d", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 142, "avg_line_length": 38, "alnum_prop": 0.6655172413793103, "repo_name": "timsvoice/great_green_sources", "id": "56f8f7b1400a4c2a2aa466195697706875e9110a", "size": "5583...
package com.evolveum.midpoint.model.impl.lens; import com.evolveum.midpoint.prism.PrismContext; import com.evolveum.midpoint.prism.delta.ObjectDelta; import com.evolveum.midpoint.schema.DeltaConvertor; import com.evolveum.midpoint.schema.ObjectDeltaOperation; import com.evolveum.midpoint.util.DebugUtil; import com.ev...
{ "content_hash": "72563caa3d3359f54b7fdd83aa4b05b7", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 162, "avg_line_length": 31.469135802469136, "alnum_prop": 0.7701059238917223, "repo_name": "gureronder/midpoint", "id": "be12080f4fedd94d9dea9b57f7ade7ee461c032b", "size": ...
<link rel="import" href="../polymer/polymer.html"> <script src="../countdownjs-mirror/countdown.js"></script> <!-- Provide a simple countdown clock to the specified time. Extends the `time` element to be semantically correct. Leverages [Countdown.js](http://countdownjs.org). ### Example <time is="countdown-timer...
{ "content_hash": "c12a235694130f91efff82ec64bcae90", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 107, "avg_line_length": 28.511627906976745, "alnum_prop": 0.6517128874388255, "repo_name": "divshot/countdown-timer", "id": "2116c1c3805415c07151a11bc9ad3f1f51e3a1db", "siz...
using log4net; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using Nini.Config; using OpenSim.Framework; using OpenSim.Framework.Communications; using OpenSim.Framework.Servers.HttpServer; using OpenSim.Services.Interfaces; using OpenMetaverse; namespace OpenSim.Services.C...
{ "content_hash": "7f9659187cd266e9c2fbd357b7bf9d97", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 92, "avg_line_length": 27.258426966292134, "alnum_prop": 0.5968672712283595, "repo_name": "AlphaStaxLLC/taiga", "id": "683990f82636ed9de98f026f932bc30df56bc037", "size": "4...
<?php /* including the important configuration file */ include(__DIR__.'/config.php'); $db = new CDatabase($eros['database']); $movie = new CMovies($db); $eros['title'] = "Sökresultat"; $query = isset($_GET['search']) ? $_GET['search'] : null; $query = '%'.$query.'%'; $output = $movie->getSearchResult($db, $quer...
{ "content_hash": "ef88fd1469dea26030dae6514624148c", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 57, "avg_line_length": 19.782608695652176, "alnum_prop": 0.5868131868131868, "repo_name": "IsaJansson/SNT", "id": "55990159585dc53c68f37726b2d5541bdc63c571", "size": "457",...
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System; using System.Diagnostics; using System.Threading.T...
{ "content_hash": "0241cda76d59a768c681121a6e9f8c39", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 157, "avg_line_length": 48.39370078740158, "alnum_prop": 0.6363488447770907, "repo_name": "ilmax/core", "id": "6eb4c543bc750d502d08b572af2e8befb1ef6a9c", "size": "6148", ...
TO BUILD: sudo docker build -t knime . TO RUN: docker run --rm --name knime -p 5901:5901 -e USER=root -i knime /bin/bash -c "vncserver :1 -geometry 1366x768 -depth 24 && tail -F /root/.vnc/*.log"
{ "content_hash": "5ed2c4c6851a5bb9ce4edd61c61ccbaf", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 156, "avg_line_length": 65.66666666666667, "alnum_prop": 0.6751269035532995, "repo_name": "neoramon/docker-knime", "id": "db2c633511295681f821001486f4a4c01e0a72b4", "size": ...
<?php /** * @package POF Settings */ /* Plugin Name: POF Settings */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ve...
{ "content_hash": "04cad34a128e9c52636febc2389499d4", "timestamp": "", "source": "github", "line_count": 407, "max_line_length": 253, "avg_line_length": 36.11793611793612, "alnum_prop": 0.5956462585034014, "repo_name": "partio-scout/pof_backend", "id": "7df3b92ef3fb4820ad8963b7806a2a85adabcdec", "si...
<?php namespace Ddd\BoundedContextA\UI\Controller; /** * @author Guillaume MOREL <guillaume.morel@verylastroom.com> */ class AlphaController { }
{ "content_hash": "415586a897629c77a47ae21b1762ad96", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 61, "avg_line_length": 13.636363636363637, "alnum_prop": 0.74, "repo_name": "gmorel/ddd-symfony2-template", "id": "1198bfc5ee443705ec78821c56754451bd98833b", "size": "150",...
<?php use yii\db\Migration; class m140805_084745_key_storage_item extends Migration { public function up() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci'; } $this->createTable('{{%key_st...
{ "content_hash": "14cb32adc2c0544dc1dc46d97dd94bef", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 93, "avg_line_length": 29.3, "alnum_prop": 0.5278725824800911, "repo_name": "Rafalsky/home-finance", "id": "b5785b7cef3c27dccf90089dc092a8a6018fbf9f", "size": "879", "bin...
using com.codename1.ui.geom; namespace com.codename1.impl { class DrawArcPainter : AsyncOp { private Rectangle clip; private int x; private int y; private int w; private int h; private int color; private int alpha; private int startAngle; ...
{ "content_hash": "dd02a530a10d9021e92f5b79872eac6f", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 125, "avg_line_length": 26.46153846153846, "alnum_prop": 0.5290697674418605, "repo_name": "Pmovil/CN1WindowsPort", "id": "90440685a292b91271913894a0bb08b77a755dfe", "size":...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestDataAnnotations.cs" company="PropertyTools"> // Copyright (c) 2014 PropertyTools contributors // </copyright> // --------------------------------------------------------...
{ "content_hash": "91b5c9e7cb6722bad5aee9a4eca35890", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 128, "avg_line_length": 36.45454545454545, "alnum_prop": 0.5256857855361596, "repo_name": "jogibear9988/PropertyTools", "id": "dbbeaa92e8741257fdcb0851a7802da789200ccd", "...
<?php try{ $host = "127.0.0.1"; // Use an IP Adresse $dbName = "ecvchat"; $dbUsername = "root"; $dbPassword = "r00t"; $conn = new PDO("mysql:host=$host;dbname=$dbName", $dbUsername, $dbPassword); $conn->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION ); // Activate exception } catch (\PDOException ...
{ "content_hash": "3898136f6429fb5d08dede1ba7b04709", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 89, "avg_line_length": 27.615384615384617, "alnum_prop": 0.637883008356546, "repo_name": "Rouksana/ecvd-php", "id": "a898c8a09902cd595034291ac7a1d89303127cdd", "size": "359...
import { Injectable } from '@angular/core'; import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core'; /** * @name Flashlight * @description This plugin allows you to switch the flashlight / torch of the device on and off. * * Requires Cordova plugin: `cordova-plugin-flashlight`. For more info, pleas...
{ "content_hash": "9e3dfc1da07a6e5a117cb1f045410900", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 174, "avg_line_length": 24.457142857142856, "alnum_prop": 0.6629672897196262, "repo_name": "klirix/ionic-native", "id": "5064b04fbc2de3855c4df08988a71bb9964a0c2c", "size": ...
set -e if [ -z "${RUNFILES}" ]; then RUNFILES="$(CDPATH= cd -- "$0.runfiles" && pwd)" fi if [ "$(uname)" = "Darwin" ]; then sedi="sed -i ''" else sedi="sed -i" fi PLUGIN_RUNFILE_DIR="${RUNFILES}/org_xprof/plugin" FRONTEND_RUNFILE_DIR="${RUNFILES}/org_xprof/frontend" dest="/tmp/profile-pip" mkdir -p "$dest" cd ...
{ "content_hash": "94b9fafeeb5269a1c29fc0220551c5f3", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 130, "avg_line_length": 31.068181818181817, "alnum_prop": 0.7161667885881492, "repo_name": "tensorflow/profiler", "id": "3761b2233703de3404c184fcef1e29e6d759a901", "size": ...
{% extends "dojango/base_btoscript.html" %} <!-- ########### Script Area: ###########--> {% block dojango_content_script %} {% include "lighthouse/btoscript/script.html" %} {% endblock %} {% block dojango_content_aboutBTO %} {% include "lighthouse/btoscript/aboutBTO.html" %} {% endblock %} {% block dojango_content_s...
{ "content_hash": "73a76fcb48a4a9c6131173a843b232ca", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 55, "avg_line_length": 25.5625, "alnum_prop": 0.6454767726161369, "repo_name": "LighthouseHPC/lighthouse", "id": "158d863163bebcde5ccbb80fe7a54499054b7d30", "size": "409", ...
/* * Translated default messages for the jQuery validation plugin. * Locale: ET (Estonian; eesti, eesti keel) */ $.extend($.validator.messages, { required: "See väli peab olema täidetud.", maxlength: $.validator.format("Palun sisestage vähem kui {0} tähemärki."), minlength: $.validator.format("Palun sisestage ...
{ "content_hash": "90d9937ff0e650addb75803d3c55a3e7", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 95, "avg_line_length": 53.523809523809526, "alnum_prop": 0.7277580071174378, "repo_name": "Azollas/org.azolla.p.roc", "id": "aaec19320d087e58a226bacd119886dff06b7399", "siz...
'use strict'; grimm.factory('AuthFactory', function(firebaseURL, $location, $timeout) { let userId = null; let token = null; firebase.auth().onAuthStateChanged((user) => { if (user){ userId = user.uid; user.getToken() .then(t => token = t) // .then($location.path('/menu')) ...
{ "content_hash": "741197dcae0d309ccc7807a8ef34562c", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 92, "avg_line_length": 27.1875, "alnum_prop": 0.5038314176245211, "repo_name": "Jessicashinjo/Grimm", "id": "472531d4b56118aa35caa60dbac8271f0b1c7ad9", "size": "2610", "b...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "01e56594d65ffe494bf97c466c8abb38", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 826, "avg_line_length": 50.80392156862745, "alnum_prop": 0.6549594751061366, "repo_name": "ozmartian/QRoundProgressBar", "id": "2d0baed38679237efc31ddcff68ada639f57e0b1", ...
import logging import os import unittest from telemetry import test from telemetry.core import bitmap from telemetry.core import util from telemetry.core.platform import android_platform_backend from telemetry.unittest import system_stub class MockAdbCommands(object): def __init__(self, mock_content): self.moc...
{ "content_hash": "cbf3fcde014d7da8652aa7f8c6f93725", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 78, "avg_line_length": 31.13186813186813, "alnum_prop": 0.6858453935757148, "repo_name": "ChromiumWebApps/chromium", "id": "c5cbe65f8a90795afbf54cf97e398bfa20a9d080", "size...
require 'rubygems' require 'oauth' require 'json' require 'unirest' require 'twitter' def return_tweets # response = Unirest.get "https://api.twitter.com/1.1/lists/statuses", # headers:{ "oauth_consumer_key"=> "6E8kVpweOJNV3xJg21eVskMc0", # "oauth_nonce"=>"53b7d39ea4dba924ce6f6d2d14687ac6", # ...
{ "content_hash": "cb4b254a7b5c5dd279d7ce1befd719c0", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 90, "avg_line_length": 33.40243902439025, "alnum_prop": 0.6903979554581964, "repo_name": "baottran/CRITIQ", "id": "d1603a2e89404b186f8c1e9ae77b7b3fc1f90f80", "size": "3302"...
using KotoriCore.Exceptions; using KotoriQuery.Helpers; using System.Collections.Generic; using System.Text; namespace KotoriCore.Translators { /// <summary> /// Base translator. /// </summary> public static class BaseTranslator { /// <summary> /// Translates complex query for a gi...
{ "content_hash": "d2ecc6144d87ad4ece903368037eacf3", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 162, "avg_line_length": 37.705882352941174, "alnum_prop": 0.4971398855954238, "repo_name": "kotorihq/kotori-core", "id": "4b9ccd05349e9284f234ba7544801f807825f310", "size"...
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
{ "content_hash": "396c1a6001ce39db66867813c310e953", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 119, "avg_line_length": 40.48780487804878, "alnum_prop": 0.736144578313253, "repo_name": "saman222/moodlemobile2", "id": "d208a3bbaf79a0306ba9d8576e5eaba4c4837036", "size":...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE690_NULL_Deref_From_Return__int_realloc_34.c Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml Template File: source-sinks-34.tmpl.c */ /* * @description * CWE: 690 Unchecked Return Value To NULL Pointer * BadSource: realloc Allocate data usi...
{ "content_hash": "0f3ccde957349bba6d3c080d43206f15", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 122, "avg_line_length": 30.405940594059405, "alnum_prop": 0.6463692608270921, "repo_name": "maurer/tiamat", "id": "47122e9c55e2b123c20e94ae72696c5f49222e0f", "size": "3071...
g3server ======== G3Chat Server 1. Get the original openfire 3.7.1 source code from :http://olex.openlogic.com/packages/openfire/3.7.1 2. Merge the source code with G3Chat Server: https://github.com/coodeer/g3server 3. Install JDK and Ant tools for openfire build :http://apache.xmlcity.org/ant/binaries/ 4. Build w...
{ "content_hash": "284e3f5e74b088c08a78942afaca7205", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 185, "avg_line_length": 40.75757575757576, "alnum_prop": 0.758364312267658, "repo_name": "coodeer/g3server", "id": "50b262926f366331bd4d3e3d976ff4f42bf30c5d", "size": "1353...
from aiohttp.helpers import sentinel from aiohttp.web import Response as aioResponse from datetime import datetime from plone.server import configure from plone.server.browser import Response from plone.server.interfaces import IFrameFormatsJson from plone.server.interfaces import IRendered from plone.server.interfaces...
{ "content_hash": "a827033e757b4ca5be87a50d5bf2e495", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 93, "avg_line_length": 33.22282608695652, "alnum_prop": 0.6335678063144119, "repo_name": "plone/plone.server", "id": "31e55b83d72173f38ab88680e94dcadd06a9169c", "size": "6...
class ApplicationHelper::Toolbar::EmsConfigurationCenter < ApplicationHelper::Toolbar::Basic button_group('ems_configuration_vmdb', [ select( :ems_configuration_vmdb_choice, nil, t = N_('Configuration'), t, :enabled => true, :items => [ button( :ems_configur...
{ "content_hash": "28eec7193f09e88591115716f3529bf4", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 147, "avg_line_length": 38.833333333333336, "alnum_prop": 0.5035765379113019, "repo_name": "ManageIQ/manageiq-ui-classic", "id": "22a2222ad30d4be427812a45dfe71779f13e9a5c", ...
* AWS PaaS: EC2, ELB, etc. * AWS ECS: Docker Orchestration * Weave Net: Docker Networking * Consul: Service Discovery * Keycloak: Identify & Access management * Fabio: Transparent HTTP(s) proxy * Grafana: Monitoring ### Instructions * Import cloudformation.json into AWS CloudFormation to create the platform * Deploy ...
{ "content_hash": "fc05d77eafff5c6aff0b3140bef74629", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 121, "avg_line_length": 36, "alnum_prop": 0.7731481481481481, "repo_name": "panga/tdc2017microservices", "id": "ce92350b19e202ca6e95667d89b32ff1940e13fd", "size": "498", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "d1ed100d6f49a3848204640655bfa069", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "eefbd1f1099ebbbc44946eeccd077bab59035d79", "size": "189...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>xRPC-parent</artifactId> ...
{ "content_hash": "ce7817d019f6677ee823d082c2686bcd", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 108, "avg_line_length": 34.18, "alnum_prop": 0.5576360444704506, "repo_name": "Yaccc/xRPC", "id": "79f366c3265a2e56ac137c54a4d61d9228cde32f", "size": "1709", "binary": fa...
#.rst: # FindSDL_ttf # ----------- # # Locate SDL_ttf library # # This module defines: # # :: # # SDL_TTF_LIBRARIES, the name of the library to link against # SDL_TTF_INCLUDE_DIRS, where to find the headers # SDL_TTF_FOUND, if false, do not try to link against # SDL_TTF_VERSION_STRING - human-rea...
{ "content_hash": "4f5026fcd34b595a536b417b509c0eb0", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 136, "avg_line_length": 36.845360824742265, "alnum_prop": 0.6759932848349188, "repo_name": "pipou/rae", "id": "e941dd44d2a7774f169b548eb0d1651028055c5c", "size": "3718", ...
npm install -g grunt-cli npm install karma start karma.conf.js grunt build
{ "content_hash": "7463d97cac247b84cc2ad5b3105c8d5b", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 25, "avg_line_length": 18.75, "alnum_prop": 0.8, "repo_name": "gsaini/angular-workshop", "id": "11bc61d7c9dcb3b821fd24396f1eee1c08b1465b", "size": "75", "binary": false, ...
<HTML><HEAD> <TITLE>Review for Bachelor, The (1999)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120596">Bachelor, The (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Brandon+Her...
{ "content_hash": "d275f97ff7f431679ac822cb4cfd9796", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 207, "avg_line_length": 68.81914893617021, "alnum_prop": 0.7583861493275622, "repo_name": "xianjunzhengbackup/code", "id": "c68cb52b9da57c5e20de80b959b2cc124e6211f1", "size...
using NetCoreCMS.Framework.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using NetCoreCMS.Framework.Core.Models.ViewModels; using NetCoreCMS.Framework.Core.Models; using NetCoreCMS.Framework.Modules; namespace Core.Admin.Models.ViewModels.UserAuthViewModels { [Seri...
{ "content_hash": "51368e283c678b242daa153d89f624cd", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 173, "avg_line_length": 35.67058823529412, "alnum_prop": 0.4515171503957784, "repo_name": "xonaki/NetCoreCMS", "id": "2da07ffc2d97626e546462c28193698b952bc103", "size": "9...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>tactician-dummy: 14 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "41a9ebefc3bff8848b446c2b048bffd0", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 159, "avg_line_length": 45.151685393258425, "alnum_prop": 0.56227448052756, "repo_name": "coq-bench/coq-bench.github.io", "id": "a8bf86649af89145b3eebd9e73da021c5c224aa8", ...
layout: default --- <div class="panel panel-default"> <div class="panel-heading">{% if page.language %}{{ site.languages[page.language] }}: {% endif %}<strong>{{ page.title }}</strong></div> <ul class="list-group"> {% if page.date %} <li class="list-group-item"><i class="fa fa-calendar"><time datetime="...
{ "content_hash": "12e17aae28cb60134927dfb7d2011eaa", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 180, "avg_line_length": 36.18181818181818, "alnum_prop": 0.5703517587939698, "repo_name": "ahmadnassri/har-resources", "id": "21195d80b1cf3bb26ae0d88c330232d8e57cf3d2", "si...
from uuid import uuid1 from unittest import TestCase from deferrable.backoff import apply_exponential_backoff_options, apply_exponential_backoff_delay from deferrable.delay import MAXIMUM_DELAY_SECONDS class TestBackoff(TestCase): """Apologies for how annoying these tests will be if the backoff constants are ...
{ "content_hash": "dd47a34522f2b94682c044d97bd918f2", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 97, "avg_line_length": 43.17777777777778, "alnum_prop": 0.7035512094698919, "repo_name": "gamechanger/deferrable", "id": "dfff22f44aa1b71e46c522d1d78ac72872108e6a", "size":...
import calendar import datetime import json import os import shutil import stat import sys import tempfile import time import uuid import fixtures import httpretty import iso8601 import mock import testresources import testtools import webob from keystoneclient.common import cms from keystoneclient import exceptions ...
{ "content_hash": "74961de6c48f9371f9651ef603bb9bd8", "timestamp": "", "source": "github", "line_count": 1810, "max_line_length": 79, "avg_line_length": 40.06685082872928, "alnum_prop": 0.5892086430137478, "repo_name": "UTSA-ICS/python-keystoneclient-SID", "id": "6b81f2368a4babac0ae0547a13f74c78c21277...
<Alloy> <NavigationWindow platform="ios"> <Window title="Window Toolbar"> <WindowToolbar platform="ios"> <FlexSpace/> <TextField id="tf" /> <FlexSpace/> <Button id="btn1">Btn 1</Button> <FlexSpace/> <Button onClick="doClick" id="btn2">Btn 2</Button> <FlexSpace/> </WindowToo...
{ "content_hash": "8b0a279357c46b017c79133d733742a7", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 95, "avg_line_length": 32.421052631578945, "alnum_prop": 0.650974025974026, "repo_name": "FokkeZB/alloy", "id": "49c986cfd0b3758595f6140f6ed4e6d122140815", "size": "616", ...
create database if not exists `tv_report`; use `tv_report`; CREATE EXTERNAL TABLE `tv_report.appinstall`( `sv` string, `flag` string, `ts` string, `ip` string, `country` string, `province` string, `district` string, `isp` string, `mac` string, `model` string, `modelid` string, `group...
{ "content_hash": "76e238d2bfcd8aa93ee7f0d8edd2bdd6", "timestamp": "", "source": "github", "line_count": 4640, "max_line_length": 143, "avg_line_length": 25.082112068965518, "alnum_prop": 0.6777824558991588, "repo_name": "lhfei/cluster-conf", "id": "c1e4006570161128dea969f095786c2e1ba0ecd5", "size":...
var fs = require('fs'); var path = require('path'); var nodemailer = require('nodemailer'); var ejs = require('ejs'); var config = require('./config'); var cache = require('./cache'); // create reusable transporter object using SMTP transport var transporter = nodemailer.createTransport(config.notify.transport); // T...
{ "content_hash": "4fb30486b8c2d30dc2bd94a493b8fe02", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 95, "avg_line_length": 26.035087719298247, "alnum_prop": 0.6677897574123989, "repo_name": "emersion/unfacebookify", "id": "2fc137ad29707e2e18025b42d02362f5693c756c", "size"...
#if defined(CONFIG_OF) && defined(CONFIG_COMMON_CLK) struct clk *__of_clk_get_from_provider(struct of_phandle_args *clkspec); void of_clk_lock(void); void of_clk_unlock(void); #endif
{ "content_hash": "ec809a2951576574a2609e174188e636", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 72, "avg_line_length": 26.428571428571427, "alnum_prop": 0.7297297297297297, "repo_name": "lokeshjindal15/pd-gem5", "id": "795cc9f0dac0c0594474b24e7cfd9a2ab8b0565e", "size":...
<!doctype html> <html> <title>CLINIC </title> <head> <link rel="stylesheet" href="index2.css"> <link rel="stylesheet" href="css/bootstrap.css"> </head> <body> <form> <br> <div class="search" align="right"><input id="mysearch" type="search" placeholder="USN #"/> <button type="button" class="btn btn-primary">Search</bu...
{ "content_hash": "787392b3460efbbb9c553fefa014bdc4", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 109, "avg_line_length": 26.71186440677966, "alnum_prop": 0.6224619289340102, "repo_name": "zhacky/studentclearance", "id": "e96cb2dd51c2ec1728eb7b6e63f86f41310b0ae9", "siz...
/* Style for comment section */ div.comments { padding:10px; margin-bottom:10px; } div.comments article { margin-bottom:20px; } span.comment-name, span.comment-time { font-size:0.8em; } span.comment-name { color:#494; } span.comment-content { font-size:1em; display:block; ma...
{ "content_hash": "c8e757bcde61d73731ef684db951b3e3", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 38, "avg_line_length": 12.340425531914894, "alnum_prop": 0.6206896551724138, "repo_name": "Racetrac/Anax-MVC", "id": "f88deac8e07ca0f411f86744f91b428da61bc1f5", "size": "58...
package com.sujeet.library; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; @Path("/hello") public class HelloWorld { @GET @Path("/echo/{input}") @Produces("t...
{ "content_hash": "1a1b23c1510e43ec05209c1095e2b636", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 58, "avg_line_length": 23.137931034482758, "alnum_prop": 0.6646795827123696, "repo_name": "sujeetr/learn", "id": "921935ada5d944ef3db8a7ff45673ae03aa606c4", "size": "671", ...
<?php namespace App\Classes; use PayPal\Rest\ApiContext; class PayPal { public function init() { return new ApiContext; } }
{ "content_hash": "3f4be5900509720f16fc8312c3c4c861", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 30, "avg_line_length": 11.307692307692308, "alnum_prop": 0.6326530612244898, "repo_name": "itinnovator/myphp-app", "id": "a9880fafa33d67c70317e61c5a493147bdebd182", "size":...
<html lang="en"> <head> <title>GETPID - The GNU Fortran Compiler</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="The GNU Fortran Compiler"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="Intrinsic-P...
{ "content_hash": "317effb453ecdeba247a5b3b96ebb506", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 120, "avg_line_length": 40.839506172839506, "alnum_prop": 0.6880290205562273, "repo_name": "vtslab/sensafety-midterm", "id": "f3e868eeb6bf642ff5bf4f7ac0dc53c55e42ff57", "si...
@(post: PostEntity, tags: Seq[PostTagEntity])(implicit request: LocalizedRequest[AnyContent], messagesApi: MessagesApi) @import controllers.Implicits._ @import dao.Options @main(post.title.localize + " - " + Options.blogName.localize, post.headerImage) { <div class="post-heading"> <h1>@post.title.localize<...
{ "content_hash": "0cdc5283406cc2bbd2403d8a39bf65f3", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 119, "avg_line_length": 38.470588235294116, "alnum_prop": 0.5871559633027523, "repo_name": "terro/virblog", "id": "b8f432490a227a3469afd17d73f21da113a69536", "size": "1308"...
package org.openbaton.catalogue.nfvo; import java.util.Iterator; import java.util.Set; import javax.persistence.*; import org.openbaton.catalogue.util.IdGenerator; /** Created by tbr on 07.07.16. */ @Entity(name = "requiresParameters") public class RequiresParameters { @Id private String id; @Version private i...
{ "content_hash": "6faa583cb54c1395f2b6eb21c5eb8837", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 86, "avg_line_length": 20.863013698630137, "alnum_prop": 0.6270518713066316, "repo_name": "openbaton/openbaton-libs", "id": "780edad9db18b6c860fb44f3d29f59cccb10bc48", "siz...
<resources> <string name="app_name">SensorLibraryTestApp</string> </resources>
{ "content_hash": "51bb8a15c444274c61cedbe26e875ba0", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 57, "avg_line_length": 27.666666666666668, "alnum_prop": 0.7349397590361446, "repo_name": "rzetzsche/sensorlibrary", "id": "33109d57e96bfd01ef1c578940b791da30c945f1", "size"...
def array_concat(array_1, array_2) concat = (array_1 + array_2) return concat end
{ "content_hash": "d3d3531d136fd6dfe6d7a54b9de0324e", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 34, "avg_line_length": 21.25, "alnum_prop": 0.6941176470588235, "repo_name": "sharonjean/phase-0", "id": "c944ab64aee4bceed5066cca88f643ae42c3d986", "size": "186", "binary...
<meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Bootstrap, a sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development."> <meta name="keywords" ...
{ "content_hash": "97b2bd08b4f9e90e71c1226741f4a814", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 151, "avg_line_length": 47.55102040816327, "alnum_prop": 0.6772532188841202, "repo_name": "ist-dsi-archive/fenixedu-canvas", "id": "44b59541e39fa54ecf45eb64e89fd649f73e07ec",...
var audioPlayerPlugin = { play: function(success, failure){ cordova.exec(success, failure, "AudioPlayerPlugin", "play", []); }, pause: function(success, failure){ cordova.exec(success, failure, "AudioPlayerPlugin", "pause", []); }, playURL: function(succes...
{ "content_hash": "57709a367bd668458f126c227b5ec2a9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 87, "avg_line_length": 31.636363636363637, "alnum_prop": 0.6120689655172413, "repo_name": "vadimf/phonegap-audio-payer", "id": "eaca05457eced9ee4b1e2e9250d5e0d2cded99a3", "...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.Storage.Shared; using Azure.Storage.Test; using Moq; using NUnit.Framework...
{ "content_hash": "155d5c0c406ea457d8a8cfb4f923a263", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 162, "avg_line_length": 44.36538461538461, "alnum_prop": 0.6098829648894668, "repo_name": "Azure/azure-sdk-for-net", "id": "b131558e82b0b4e9f14dd5bf01b9e59185ce7046", "siz...
package kafka.api import kafka.controller.LeaderIsrAndControllerEpoch import kafka.utils._ import scala.collection.Set object LeaderAndIsr { val initialLeaderEpoch: Int = 0 val initialZKVersion: Int = 0 val NoLeader = -1 val LeaderDuringDelete = -2 } case class LeaderAndIsr(var leader: Int, var leaderEpoc...
{ "content_hash": "70a68d91a0debe1f006c8665eee7de6a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 123, "avg_line_length": 32.111111111111114, "alnum_prop": 0.7474048442906575, "repo_name": "geeag/kafka", "id": "e68ad866834ca23c65bc1c2e456fe1ebc87cf0fe", "size": "1957", ...
namespace ofp { namespace detail { template <class T> struct has_FixedHeaderSize { template <typename U> static char test(decltype(U::FixedHeaderSize) *); template <typename U> static double test(...); static bool const value = (sizeof(test<T>(nullptr)) == 1); }; } // namespace detail class PropertyLis...
{ "content_hash": "849037bf8fefc6bb6d607ceb5f321fc3", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 74, "avg_line_length": 26.408163265306122, "alnum_prop": 0.6792890262751159, "repo_name": "byllyfish/oftr", "id": "91a092488ffb0d24b215f95cb47bf0882a4a3e0b", "size": "1598"...
'use strict'; // Setting up route angular.module('users').config(['$stateProvider','$urlRouterProvider', function($stateProvider,$urlRouterProvider) { // For any unmatched url, send to /route1 $urlRouterProvider.otherwise("/signin") // Users state routing $stateProvider .state('profile', { url: '/setting...
{ "content_hash": "c1f83ad8ebcbe4f16a4a5b37f2b66592", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 86, "avg_line_length": 33.11864406779661, "alnum_prop": 0.6965199590583419, "repo_name": "chauhanmohit/meanStack", "id": "63c2d44253963dc1ffa466713587ffc41733260c", "size":...
function Tile(position, value) { this.x = position.x; this.y = position.y; this.value = value || 10; this.previousPosition = null; this.mergedFrom = null; // Tracks tiles that merged together } Tile.prototype.savePosition = function () { this.previousPosition...
{ "content_hash": "2e0117216a0918ffbcec9bbe1fe83ad9", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 68, "avg_line_length": 22.037037037037038, "alnum_prop": 0.5815126050420169, "repo_name": "ars123/2048-code", "id": "9a4348b68f4c179c669c9c6b0c6b3b594db63936", "size": "595...
package org.apache.maven.project; import java.util.List; import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginContainer; /** @deprecated */ @Deprecated public final class ModelUtils { /** * This should be the resulting ordering of plugins after merging: * <p> * Given: ...
{ "content_hash": "d5a5411543514fcd46e31691e1b91447", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 105, "avg_line_length": 26.980392156862745, "alnum_prop": 0.6075581395348837, "repo_name": "cstamas/maven", "id": "2c94f7a6f651440547b36c49b89bb1ee6da7f682", "size": "2182"...
/* ------------------------------------------------------------------- // ReST! // ------------------------------------------------------------------*/ .ReST .markItUpButton1 a { background-image:url(images/h1.png); } .ReST .markItUpButton2 a { background-image:url(images/h2.png); } .ReST .markItUpButton3 a {...
{ "content_hash": "ba54bb8102cd7e4a770acdf1f11686eb", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 71, "avg_line_length": 20.12037037037037, "alnum_prop": 0.6194201564657156, "repo_name": "indexofire/feincms-markup", "id": "e9ac62fb446ae3138d520b08297084ae2e471e5e", "si...
var id_quote = 0; $(function(){ $('#confirmPay').on('show.bs.modal', function (event) { var link = $(event.relatedTarget); id_quote = link.data('quote'); var number_quote = link.data('number'); $("#message_modal_confirmPay").text("Are you sure want to pay the quote number " + numbe...
{ "content_hash": "9f2ce2b1e8c8f9373abafc6e16fb8dc9", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 111, "avg_line_length": 29.24137931034483, "alnum_prop": 0.45754716981132076, "repo_name": "caballerojavier13/credit_control", "id": "80fbf9307a166db75ad01d96b46694325d74983c...
package com.andforce.keyboardlayout; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public...
{ "content_hash": "f89f61d655ae08f7be18704b0d19da83", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 22.823529411764707, "alnum_prop": 0.6881443298969072, "repo_name": "andforce/KeyboardLayout", "id": "541a6ee8cb139fade4ba51a6524cc474c1bba9cb", "size...
package robowars.test; import java.io.BufferedReader; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.PrintWriter; import java.net.Socket; import java.net.Unknown...
{ "content_hash": "c2b41a1ce60c3d73e91434dfbe7134cb", "timestamp": "", "source": "github", "line_count": 252, "max_line_length": 110, "avg_line_length": 33.12301587301587, "alnum_prop": 0.6713789385407931, "repo_name": "alexcraig/RoboWars", "id": "2a404b2e6841d36d96ae02b062147b3fb2dd7838", "size": "...
package com.zigorsalvador.phoenix.jackson; import java.io.IOException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; import com.zigorsalvado...
{ "content_hash": "86049c86c4abedaf84bd39af20be3076", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 122, "avg_line_length": 33.04761904761905, "alnum_prop": 0.8443804034582133, "repo_name": "zigorsalvador/phoenix", "id": "8985a04075a3a125ec01ff71b01cfc5f23338300", "size":...
from argparse import ArgumentParser from typing import Any from django.db.models import Q from zerver.actions.user_settings import bulk_regenerate_api_keys from zerver.lib.management import ZulipBaseCommand from zerver.lib.sessions import ( delete_all_deactivated_user_sessions, delete_all_user_sessions, d...
{ "content_hash": "c2fc3d9a4efb18348d91a5cd789429b4", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 94, "avg_line_length": 34.981818181818184, "alnum_prop": 0.6403326403326404, "repo_name": "zulip/zulip", "id": "5580cb5fa12140cf7dd4118530d1b4d57f982768", "size": "1924", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Thu Sep 10 14:11:05 CST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class org.x...
{ "content_hash": "4fc4f9566b091faa87c788768fe0a2b9", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 304, "avg_line_length": 40.82424242424243, "alnum_prop": 0.6466745843230404, "repo_name": "yswheye/XCL-Charts", "id": "6797b50ec9410c36901fa99d6ec165c432a215a3", "size": "...
 #pragma once #include <aws/route53/Route53_EXPORTS.h> #include <aws/route53/Route53Request.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Route53 { namespace Model { /** * <p>Gets information about a specific traffic policy version.</p><p><h3>See * Also:</h...
{ "content_hash": "c8c609fa33b73e24b6583978ba2537b5", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 108, "avg_line_length": 31.574257425742573, "alnum_prop": 0.6613358419567262, "repo_name": "JoyIfBam5/aws-sdk-cpp", "id": "691b8f85885d41d976830cac94f402bf75dbf13e", "size...
package chapter4.car; public interface Component { }
{ "content_hash": "4304c63f7e7eda3ca31be7c6077bc53c", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 28, "avg_line_length": 13.5, "alnum_prop": 0.7777777777777778, "repo_name": "hogeschool/INFDEV-Homework", "id": "0d255ba5a4d5aa69914fd383acc5d22caef80064", "size": "54", "...
package org.springframework.boot.context.properties; import org.springframework.beans.factory.BeanCreationException; import org.springframework.util.ClassUtils; /** * Exception thrown when {@link ConfigurationProperties @ConfigurationProperties} binding * fails. * * @author Phillip Webb * @author Stephane Nico...
{ "content_hash": "25392a86a1ad64163124a6a6d2f9eaa8", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 89, "avg_line_length": 30.036363636363635, "alnum_prop": 0.7645278450363197, "repo_name": "donhuvy/spring-boot", "id": "c1ef3453365862954f7f0ff4eb36be8053d75a1d", "size": "...
package main import ( "os" _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" "knative.dev/client-contrib/plugins/admin/core" ) func main() { if err := core.NewAdminCommand().Execute(); err != nil { os.Exit(1) } }
{ "content_hash": "1dde8cfa43a8737d5cbf3bd2fe620e7e", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 57, "avg_line_length": 18.066666666666666, "alnum_prop": 0.6678966789667896, "repo_name": "knative/client-contrib", "id": "cf425c3822e00c62dcc8ee7f98a7bbb03fa0ca72", "size"...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Product extends CI_Model { public function getAll() { return $this->db->query("SELECT products.id, images.src AS img, products.name, inventory, SUM(quantity) as sold FROM products LEFT JOIN images ON products.id=images.product_id AND ima...
{ "content_hash": "a563968d1c28b13d95032e649711bfd4", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 355, "avg_line_length": 56.473684210526315, "alnum_prop": 0.6845293569431501, "repo_name": "mingjianjzhang/lpproject", "id": "87a9ab3a298036922eba46244808110af9889563", "s...
<?php namespace App\Events; use App\Events\Event; use App\Ping; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; class PingFailure extends Event { use SerializesModels; /** * @var Ping */ public $ping; /** * Create a new event instance. ...
{ "content_hash": "cd92511525a1ab2e4203f28c453c273f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 57, "avg_line_length": 16.13888888888889, "alnum_prop": 0.5920826161790017, "repo_name": "vestd/ProcessMonitor", "id": "efdeffc478749cf2d2c95f06d143e20cd5f70233", "size": "...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("8....
{ "content_hash": "d4ed269924d748de6c278a2022e3a2e7", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.19444444444444, "alnum_prop": 0.7462792345854005, "repo_name": "aliv59git/C-1N_HomeAndExam", "id": "0446a6e44cc8bcf052d308406ede3abf79e1a1e7", "si...
module VagrantPlugins module Ohai class Config < Vagrant.plugin(2, :config) attr_accessor :enable attr_accessor :primary_nic attr_accessor :plugins_dir def initialize @enable = UNSET_VALUE @primary_nic = UNSET_VALUE @plugins_dir = UNSET_VALUE end def fi...
{ "content_hash": "2d0b895684fe8243accaaa4467f7e028", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 83, "avg_line_length": 24.833333333333332, "alnum_prop": 0.5067114093959731, "repo_name": "avishai-ish-shalom/vagrant-ohai", "id": "e5c673f98e2c5813b7453b8fc2403a844e398f37",...
<?php namespace lukniewiara\BlogBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class PostControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
{ "content_hash": "4053b496a2d200bc957596e3ce565e84", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 126, "avg_line_length": 35.54545454545455, "alnum_prop": 0.6056265984654732, "repo_name": "lukniewiara/Kurs-PHP", "id": "cc3f4836e8ac536f5744614b48993c99d6fa62be", "size": ...
package org.apache.hadoop.hive.ql.exec.repl.ranger; import java.util.LinkedHashMap; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import com.fasterxml.jackson.annotation.JsonAutoDetect; impo...
{ "content_hash": "3bb110c1e7bae96f167137c7a19983a9", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 94, "avg_line_length": 30.1, "alnum_prop": 0.8056478405315615, "repo_name": "lirui-apache/hive", "id": "8f6229708e140d8bdfe80c3e8af370853c60ea92", "size": "2009", "binary...
package com.bustiblelemons.cthulhator.character.skills.ui; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import com.bustiblelemons.cthulhator.R;...
{ "content_hash": "568cc906ff862bfd2eb32c43d40b1494", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 99, "avg_line_length": 35.14503816793893, "alnum_prop": 0.7130755864465682, "repo_name": "bhm/Cthulhator", "id": "5416e4e7e86b2c6ea86012fb4f2de4be7f4c1347", "size": "4604"...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("DynamicMenu.DataLayer.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("DynamicMenu.DataLayer.Tests")] [assembly: AssemblyCopyright("Copy...
{ "content_hash": "31ec1f93d82088d78bafb8fada6356ce", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 58, "avg_line_length": 32.31578947368421, "alnum_prop": 0.754071661237785, "repo_name": "Micle257/Coding", "id": "32138f268e3862b618c386ea8da6f102137cd88d", "size": "879", ...
/** * UpdateSharedEntitiesRequest.java * <p> * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.microsoft.bingads.v10.campaignmanagement; public class UpdateSharedEntitiesRequest implements java.io.Serializable { // Type metadata pr...
{ "content_hash": "4c1eb84511eddb336e71c692955fadd9", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 143, "avg_line_length": 33.98425196850393, "alnum_prop": 0.6770157553290084, "repo_name": "feedeo/bingads-api", "id": "33ca59714c8d18dad7fd9dc421f6fb08aa156ef6", "size": "...
require 'eventful_api' require 'json' def get_eventful_client @client ||= EventfulApi::Client.new oauth_token: 'token', oauth_secret: 'token secret' end def get_categories @categories ||= get_categories2 end def get_events q res = get_eventful_client.get '/events/search', q res['events']['event'] if res['eve...
{ "content_hash": "8d84862f6efd7a3c36dcad4e5f21107d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 88, "avg_line_length": 18.774193548387096, "alnum_prop": 0.6718213058419243, "repo_name": "gisborne/mashup", "id": "45c4bfb23df942c896b034d024c4e443f24ea8f8", "size": "582"...