text stringlengths 2 1.04M | meta dict |
|---|---|
@interface SASound : NSObject {
SystemSoundID soundID;
BOOL enabled;
}
- (id) initWithSound:(NSString *)name;
- (void) play;
@end
| {
"content_hash": "484a37204699ed372bc0be60664260f3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 38,
"avg_line_length": 15.333333333333334,
"alnum_prop": 0.6739130434782609,
"repo_name": "ktakayama/smsalert",
"id": "517aad16dcd69ef6e2786b3193600413d55c7661",
"size": "37... |
@extends('dashboard::layouts.tab_view')
@section('title', $student->name)
@section('tools')
@can('edit_user_account_info')
<a href="{{ route('student.account.edit', $student->id) }}" class="btn btn-primary">
<i class="fa fa-fw fa-edit"></i> {{ trans('base::common.edit') }}
</a>
@endcan
@endsection
@sectio... | {
"content_hash": "022fa9a1236ea5e1287643289a046297",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 86,
"avg_line_length": 20.166666666666668,
"alnum_prop": 0.6214876033057851,
"repo_name": "codebreez/collejo-app",
"id": "cfb1978150463f0a6461a7a644485e015d049360",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Play! 2.x Provider for Play! 2.5.x 1.0.0-beta5 Reference Package com.google.co... | {
"content_hash": "51c9f62f8e8a3f5cbac4c0327c2f605c",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 121,
"avg_line_length": 40.77358490566038,
"alnum_prop": 0.5363257751041185,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "40c607b8513cee86be315518f0... |
There is one main concept which forms the foundation of the FlexCore library:
**connectable**. Every type, which fulfils this concept can be connected.
Every edge in the dataflow graph connects to connectable objects.
The concept **connectable** extends two concepts from the standard library:
- **callable**, describ... | {
"content_hash": "b8e4216c41dab54afbbb6a0a534b034f",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 338,
"avg_line_length": 49.68421052631579,
"alnum_prop": 0.767478813559322,
"repo_name": "CasparKielwein/flexcore",
"id": "e67ca0b2ddb5aaac78116ad2cdda3e1c0bc023ee",
"size"... |
MyNextProject::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.... | {
"content_hash": "ceef7fdd0a21faef49e02de7e677ad14",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 104,
"avg_line_length": 36.71641791044776,
"alnum_prop": 0.7451219512195122,
"repo_name": "dmitriy-kiriyenko/MyNextProject",
"id": "ec6d2612eb6cf3a1b55f6f41e6804d281c4fd6e5",... |
#ifndef __LSHKIT_MPLSH_MODEL__
#define __LSHKIT_MPLSH_MODEL__
#include <fstream>
#include <boost/math/distributions/gamma.hpp>
#include <boost/math/distributions/normal.hpp>
#include "matrix.h"
/**
* \file mplsh-model.h
* \brief Model of Multi-probe LSH.
*
* The modeling code is not well documented because I fi... | {
"content_hash": "499ef67aa208ebe3432a0c28de63cc29",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 86,
"avg_line_length": 24.861244019138756,
"alnum_prop": 0.5540800615858352,
"repo_name": "izenecloud/idmlib",
"id": "d0f25eac0cc00f2e539d06829e3efb6ce4966e80",
"size": "5... |
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
all: [ 'bin/**/*' ]
}
});
grunt.loadNpmTasks('grunt-bump');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', [ 'jshint' ]);
};
| {
"content_hash": "5e58a509c17da07bdd9d976c302adfc6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 46,
"avg_line_length": 18.764705882352942,
"alnum_prop": 0.6112852664576802,
"repo_name": "lotaris/api-copilot-cli",
"id": "8977ae5aa678d3b84953f35f0459ed0504f63e3f",
"size... |
package mesosphere.marathon
package core.task.termination
/**
* Enumeration for reasons why a task has been killed.
*
* This is not sealed on purpose as there might be different reasons for
* components build on top of the core.
*/
trait KillReason
object KillReason {
/** The task is killed because the in... | {
"content_hash": "42ed4e3e83b45f64170e957e8c763146",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 108,
"avg_line_length": 35.05128205128205,
"alnum_prop": 0.7585954645208486,
"repo_name": "Caerostris/marathon",
"id": "462b514ac8fd12585eb244028779dc0ddd50d834",
"size": "... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using de.fhb.oll.mediacategorizer.settings;
using Microsoft.Win32;
namespace de.fhb.oll.mediacategorizer.tools
{
clas... | {
"content_hash": "670d1ec60a1df50e1b084efcd7456f16",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 124,
"avg_line_length": 38.99337748344371,
"alnum_prop": 0.5467051630434783,
"repo_name": "mastersign/mediacategorizer-ui",
"id": "550c01035135faf9cdaa6214d61b8bd6c3691e95",... |
{-
Copyright 2010-2012 Cognimeta Inc.
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 agreed to in writ... | {
"content_hash": "2c05a7eeda78c3e5efcaa5aaf2643ea6",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 141,
"avg_line_length": 39.733333333333334,
"alnum_prop": 0.6996644295302014,
"repo_name": "Cognimeta/perdure",
"id": "e87ffd1525a1e9442e770489d2a3a0829f84c047",
"size": "1... |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* 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
* ... | {
"content_hash": "d47d8af102566590dfb08b601e4b2763",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 107,
"avg_line_length": 35.65,
"alnum_prop": 0.7573632538569425,
"repo_name": "GillesMoris/OSS",
"id": "481f61a53177203345c79f198f3adbfabc0cfc28",
"size": "1426",
"binary... |
#include "OgreStableHeaders.h"
#include "OgreOptimisedUtil.h"
#include "OgrePlatformInformation.h"
//#define __DO_PROFILE__
#ifdef __DO_PROFILE__
#include "OgreRoot.h"
#endif
namespace Ogre {
//---------------------------------------------------------------------
// External functions
extern Optimised... | {
"content_hash": "7245c75767eb7fb37e27acb20f4b90e5",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 120,
"avg_line_length": 35.5575,
"alnum_prop": 0.5131828728116431,
"repo_name": "Kanma/Ogre",
"id": "32789a33b020af105093abddbb488b492d86a62c",
"size": "15586",
"binary"... |
package alluxio.util.network;
import alluxio.AlluxioConfiguration;
import alluxio.Configuration;
import alluxio.PropertyKey;
import alluxio.exception.ConnectionFailedException;
import alluxio.exception.status.UnauthenticatedException;
import alluxio.network.thrift.ThriftUtils;
import alluxio.security.authentication.... | {
"content_hash": "1bcfb9da589c295432d023017cff4105",
"timestamp": "",
"source": "github",
"line_count": 696,
"max_line_length": 100,
"avg_line_length": 33.0933908045977,
"alnum_prop": 0.6839317500976859,
"repo_name": "PasaLab/tachyon",
"id": "dae22ec47f06e620bd4eda19c3fdd86f11c9aa8b",
"size": "2354... |
namespace content {
class JavaBridgeDispatcherHostManager;
// Wrapper around a Java object.
//
// Represents a Java object for use in the Java bridge. Holds a global ref to
// the Java object and provides the ability to invoke methods on it.
// Interrogation of the Java object for its methods is done lazily. This cla... | {
"content_hash": "17d4624a515079018941e3362093264c",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 41.15384615384615,
"alnum_prop": 0.7498442367601246,
"repo_name": "andykimpe/chromium-test-npapi",
"id": "f29aed6df1b52037e25d7977b2ae5127e8e0a420",
... |
export default (params) => {
params.mainWindow.on('focus', () => {
params.mainWindow.webContents.send('isWindowFocused', true);
});
params.mainWindow.on('blur', () => {
params.mainWindow.webContents.send('isWindowFocused', false);
});
};
| {
"content_hash": "208ca184420da0de70777e26713d85ee",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 65,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6470588235294118,
"repo_name": "meetfranz/franz",
"id": "0b4a0d8f33b2f3db739c509b74936edce19d556e",
"size": "255",... |
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>io.oasp.java.dev</groupId>... | {
"content_hash": "b4c48828d07f42d594fcaf70951b89f7",
"timestamp": "",
"source": "github",
"line_count": 525,
"max_line_length": 130,
"avg_line_length": 32.83238095238095,
"alnum_prop": 0.5699367639380403,
"repo_name": "devonfw/training-devon-server",
"id": "e4f5e41d52a7f1a93ff83f2b9500e9b6a2a455e1",
... |
module Rumale
# @!visibility private
module Utils
module_function
# @!visibility private
def choice_ids(size, probs, rng = nil)
rng ||= Random.new
Array.new(size) do
target = rng.rand
chosen = 0
probs.each_with_index do |p, idx|
break (chosen = idx) if targ... | {
"content_hash": "1e719918dbff1b1ba2bbe0ecc372c84e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 102,
"avg_line_length": 25.925,
"alnum_prop": 0.553519768563163,
"repo_name": "yoshoku/SVMKit",
"id": "9fda254149b996091d4c02e6870f8e7ec548e808",
"size": "1068",
"binary"... |
import {Modal} from "angular2-modal/plugins/bootstrap";
import {Store} from "@ngrx/store";
import { ApprovingProccess, RejectionProccess } from '../list/list.actions';
export abstract class AbstractApprovable {
protected abstract get modal(): Modal;
protected abstract get store(): Store<any>;
rejectCourse(id) ... | {
"content_hash": "1c5d0e2d0cc3204c032bcf2aee055a0b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 79,
"avg_line_length": 27.321428571428573,
"alnum_prop": 0.6666666666666666,
"repo_name": "belinef/CoursesApp",
"id": "1d54101e4533d084aef2b75e14883cc5a5d00093",
"size": "7... |
package com.gentics.mesh.rest.client;
import com.gentics.mesh.MeshVersion;
import com.gentics.mesh.rest.JWTAuthentication;
import com.gentics.mesh.rest.client.impl.MeshRestOkHttpClientImpl;
import com.gentics.mesh.rest.client.method.*;
import okhttp3.OkHttpClient;
/**
* Definition of the main Mesh REST client API. ... | {
"content_hash": "af28cbe8c0db0c81fc1397072b576bdf",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 161,
"avg_line_length": 26.490322580645163,
"alnum_prop": 0.7150511446663419,
"repo_name": "gentics/mesh",
"id": "adca4ef6beb46196a19a1955f5a2b70594324f09",
"size": "4106"... |
<Alloy>
<Window fullscreen="true" class="container" onOpen="onCourseDetailOpen">
<ScrollView id="scrollContainer">
<Label id="courseDetail"/>
<TextField id="course_Name"/>
<TextField id="course_description"/>
<Label id="timing_Offered"/>
<!--<View height="Ti.UI.SIZE" layout="vertical">-->
<TextFie... | {
"content_hash": "3ee9b545f12bbc3f806ab5a4116a2043",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 73,
"avg_line_length": 39.166666666666664,
"alnum_prop": 0.675531914893617,
"repo_name": "amits3108/tutme",
"id": "65fede1ce7340ad838d62193791ca5a238be0138",
"size": "940",... |
import { BaseEntity } from 'app/shared/model/base-entity';
import { Participation } from 'app/entities/participation/participation.model';
import { Result } from 'app/entities/result.model';
import dayjs from 'dayjs/esm';
export const enum SubmissionType {
MANUAL = 'MANUAL',
TIMEOUT = 'TIMEOUT',
INSTRUCTOR... | {
"content_hash": "530c7c0cca8f198232dffc6efc44ae4f",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 135,
"avg_line_length": 33.31875,
"alnum_prop": 0.701369349090227,
"repo_name": "ls1intum/ArTEMiS",
"id": "4c9ca47f8a38e9eab051b4d30f9e1477a6a55494",
"size": "5331",
"bi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jordan-curve-theorem: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | {
"content_hash": "cc9cddd1e2fbcfc3a24134c9ef5bd3af",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 272,
"avg_line_length": 44.78698224852071,
"alnum_prop": 0.5616329766151407,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8daaef0c6c5dfdf414a2e8501e04e3d8d09b2e95",
... |
package main
import (
"fmt"
"time"
)
func setDate(d string, z *time.Location) error {
return fmt.Errorf("Can not set the date")
}
| {
"content_hash": "5e7cd83a6565c5e6fbb7a16b927fa3f3",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 48,
"avg_line_length": 13.5,
"alnum_prop": 0.674074074074074,
"repo_name": "hugelgupf/u-root",
"id": "98f10db267f67ce67963de6c9cdd6eb1ea231b78",
"size": "303",
"binary": ... |
gonfq
=====
Go wrapper around libnetfilter_queue
| {
"content_hash": "9bf95de7ec88e5ef248384d6419dac6f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 36,
"avg_line_length": 12.5,
"alnum_prop": 0.74,
"repo_name": "zllak/gonfq",
"id": "a19c2786eac1db447520cd4b1c3e5ef7110e0fd0",
"size": "50",
"binary": false,
"copies": "... |
from openerp.osv import osv,fields
class company(osv.osv):
_inherit = 'res.company'
_columns = {
'schedule_range': fields.float('Scheduler Range Days', required=True,
help="This is the time frame analysed by the scheduler when "\
"computing procurements. All procurements that ar... | {
"content_hash": "71e708c7eb0ae2cd36b139d8816dfee8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 77,
"avg_line_length": 32.470588235294116,
"alnum_prop": 0.6521739130434783,
"repo_name": "ntiufalara/openerp7",
"id": "60e2db873e235eb937d1f0b3a22f5657cb0ed9fb",
"size": "... |
from django.conf.urls import include, url
from django.contrib import admin
from rest_framework import routers
from payg import views
from user import views as user_views
router = routers.DefaultRouter()
router.register(r'users-profile', user_views.UserProfileViewSet)
router.register(r'users', user_views.UserViewSet)... | {
"content_hash": "bccfa49885ee315ab59274af1a6a7ec3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 83,
"avg_line_length": 31.678571428571427,
"alnum_prop": 0.6820744081172492,
"repo_name": "aronysidoro/django-payasyougo",
"id": "0e032bb13913bfb6985c8fb9f3abf7510fcd4039",
... |
Reservoir::Reservoir( float p, float l, float h, float n )
: m_profondeur(p), m_largeur(l), m_hauteur(h), m_niveau(n)
{
}
Reservoir::~Reservoir(){
}
void Reservoir::operer( float duree ){
float tartre = calculerAccumulationTartre(duree, m_hauteur, m_profondeur*m_largeur);
addTartre(tartre);
}
void Reservoir::n... | {
"content_hash": "38fee0a3dedc39281640dfce70ccd68b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 85,
"avg_line_length": 17.45,
"alnum_prop": 0.6991404011461319,
"repo_name": "KevPantelakis/turbo-giggle",
"id": "858409fe242a9a89eece306889eb91d32471651a",
"size": "649",
... |
from __future__ import unicode_literals
import os
import json
from nikola.plugin_categories import Task
from nikola import utils
class ProjectPages(Task):
"""Render project indexes."""
name = 'projectpages'
dates = {}
conf_project_path = 'projects'
def set_site(self, site):
"""Set Nikol... | {
"content_hash": "7f5e11e4e5d5e86b301a4f50f1389c4c",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 153,
"avg_line_length": 42.109756097560975,
"alnum_prop": 0.5454677092383434,
"repo_name": "getnikola/plugins",
"id": "3b1a6df02d0c5017eb19454923099a80931f13ed",
"size": "... |
package com.eddienicole.checkers;
public interface MoveInterface {
@Override
boolean equals(Object obj);
PlayableSpaceInterface getFrom();
PlayableSpaceInterface getJumped();
PlayableSpaceInterface getTo();
boolean isJump();
void jumped(PlayableSpaceInterface jumpedSpace);
}
| {
"content_hash": "2e9dafe06c4fc3f32407ce4439d78b75",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 49,
"avg_line_length": 17.166666666666668,
"alnum_prop": 0.7443365695792881,
"repo_name": "power-cosmic/cosc561_checkers",
"id": "5eaa29e7928d7bd92ed5cf3a863802f9b9d8c540",
... |
flumen - Fluid jQuery Carousel
This is a super simple responsive carousel plugin that doesn't snap to the slides. I've seen a lot of feature requests on already existing carousel plugins asking for a free flowing carousel, so I've decided to make one.
**[DEMO](https://stamat.github.io/flumen/ "Demo")**
The distinct ... | {
"content_hash": "fbef349bdba29ffe6fd53ca0f6e35786",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 361,
"avg_line_length": 38.597938144329895,
"alnum_prop": 0.7305021367521367,
"repo_name": "stamat/flumen",
"id": "dab2f52a4ff47fa1aacac309cfec4fa1a136c104",
"size": "3754"... |
'use strict';
const chai = require('chai'),
expect = chai.expect,
Support = require('./support'),
Sequelize = Support.Sequelize,
Promise = Sequelize.Promise,
cls = require('continuation-local-storage'),
current = Support.sequelize;
if (current.dialect.supports.transactions) {
describe(... | {
"content_hash": "a2ef4138b2e3289df5969353d0c5e772",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 172,
"avg_line_length": 32.8969696969697,
"alnum_prop": 0.5585851142225498,
"repo_name": "mikeringrose/sequelize",
"id": "c2191ddba4b0064cae1240f32e1a72b122525c06",
"size"... |
package com.github.devmix.esb.car.plugin.builders;
import com.github.devmix.esb.car.plugin.Constants;
import org.apache.maven.plugin.MojoFailureException;
/**
* @author Sergey Grachev
*/
public final class SynapseConfigArtifactsBuilderTest {
public static void main(String[] args) throws MojoFailureException ... | {
"content_hash": "71d646ad1f0ace93cda0be7ed35496d1",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 103,
"avg_line_length": 34.214285714285715,
"alnum_prop": 0.6774530271398748,
"repo_name": "devmix/maven-car-plugin",
"id": "7f4f11cb418533bd276e21834049720c907c19ec",
"siz... |
require 'spec_helper'
describe FbGraph2::Edge::OpenGraph::Actions do
context 'included in User' do
describe '#og_actions' do
let(:me) { FbGraph2::User.me('token') }
it 'should return an Array of FbGraph2::Post' do
actions = mock_graph :get, 'me/og.likes', 'user/og_actions_likes', access_token... | {
"content_hash": "f7807eb9d595dbb571fe9dabbecdcae7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 107,
"avg_line_length": 36.357142857142854,
"alnum_prop": 0.6277013752455796,
"repo_name": "jurriaan/fb_graph2",
"id": "8d0ad425e99237e64f3fa9c3010bd518c4e345a6",
"size": "... |
<?php
namespace Chamilo\Core\Repository\ContentObject\Bookmark\Common\Rendition\Html;
use Chamilo\Core\Repository\Common\Rendition\ContentObjectRendition;
use Chamilo\Core\Repository\ContentObject\Bookmark\Common\Rendition\HtmlRenditionImplementation;
class HtmlDescriptionRenditionImplementation extends HtmlRendition... | {
"content_hash": "d0f9cd4c369938f0f7601d7f5676a801",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 103,
"avg_line_length": 35.142857142857146,
"alnum_prop": 0.7113821138211383,
"repo_name": "cosnicsTHLU/cosnics",
"id": "c763080f0f521eb20662d35955e360c3bcfe8329",
"size": ... |
"""This module contains the PandocMutagen class.
"""
import subprocess, sys
from baseMutagen import BaseMutagen
class PandocMutagenException(Exception):
pass
class PandocOptions:
"""A simple options class for configuring a PandocMutagen
"""
def __init__(self, **kwargs):
"""Setup defaults if t... | {
"content_hash": "4d274e48ba1cf64bf86b68ab3aa98746",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 100,
"avg_line_length": 35.13934426229508,
"alnum_prop": 0.56333100069979,
"repo_name": "fretboardfreak/code",
"id": "18674d6fedb9cfae3070a91bb982ee316dee8406",
"size": "4... |
package com.example.juanma.twessfer;
import android.app.DialogFragment;
import android.app.FragmentTransaction;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import andr... | {
"content_hash": "f89f12c44d28a308ff6f4d7162cc082e",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 131,
"avg_line_length": 29.61111111111111,
"alnum_prop": 0.6282051282051282,
"repo_name": "juanmahv/Twessfer",
"id": "fd48199615b16a6d5ca3c38387af55f1b33c20e8",
"size": "9... |
*> \brief \b DLA_GERFSX_EXTENDED improves the computed solution to a system of linear equations for general matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation availabl... | {
"content_hash": "b3d574b6cba64004addb5780c066b26f",
"timestamp": "",
"source": "github",
"line_count": 688,
"max_line_length": 238,
"avg_line_length": 37.02906976744186,
"alnum_prop": 0.5385853352174595,
"repo_name": "grisuthedragon/OpenBLAS",
"id": "d6af490255b68682e0c2389506e86c1ebcbed504",
"siz... |
package com.jme3.post;
import com.jme3.asset.AssetManager;
import com.jme3.export.*;
import com.jme3.material.Material;
import com.jme3.renderer.*;
import com.jme3.renderer.queue.RenderQueue;
import com.jme3.texture.FrameBuffer;
import com.jme3.texture.Image.Format;
import com.jme3.texture.Texture;
import ... | {
"content_hash": "b61971d50d51c90b833979d7beb835d8",
"timestamp": "",
"source": "github",
"line_count": 557,
"max_line_length": 124,
"avg_line_length": 36.42190305206463,
"alnum_prop": 0.5657810420466308,
"repo_name": "d235j/jmonkeyengine",
"id": "c5dd39ae604ce98d200512edca4d2daa660e25e3",
"size": ... |
namespace blink {
namespace {
// A helper method which is used to trigger a violation report for cases where
// the |element.animate| API is used to animate a CSS property which is blocked
// by the permissions policy 'layout-animations'.
void ReportPermissionsPolicyViolationsIfNecessary(
ExecutionContext& context... | {
"content_hash": "7f9deedf6bb4ea76bd44a9e1ba08b007",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 80,
"avg_line_length": 38.43624161073826,
"alnum_prop": 0.7082242011524358,
"repo_name": "chromium/chromium",
"id": "1b64fd6ae8eacc7007e3583cf358ba36ea0aed88",
"size": "73... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2005 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed... | {
"content_hash": "f09d886cc9926dd5ec9a032a41a7f4cd",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 135,
"avg_line_length": 28.678571428571427,
"alnum_prop": 0.6516634050880626,
"repo_name": "Chiru/NVE_Simulation",
"id": "21ca72f20ba8423f89da8161890173b0cfe8186a",
"size"... |
<?php
if (!defined('PGV_PHPGEDVIEW')) {
header('HTTP/1.0 403 Forbidden');
exit;
}
$pgv_lang["module_admin"] = "Administración de módulos";
$pgv_lang["mod_admin_installed"] = "Módulos instalados";
$pgv_lang["mod_admin_tabs"] = "Gestionar pestañas";
$pgv_lang["mod_admin_menus"] = "Gestionar menús";
... | {
"content_hash": "553e77b64eecf9adbbbcf86357d32384",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 766,
"avg_line_length": 83.29978586723769,
"alnum_prop": 0.685020950618236,
"repo_name": "fweber1/Annies-Ancestors",
"id": "e44c699649c7f47239ea04f16e06fd38de2b0dbc",
"siz... |
class MethodCallLogger
def initialize
@recorders = []
@method_log = []
end
def register(*rec_objects)
rec_objects.each do |rec|
rec._on_method_call{|r| method_log << [r, r._last_method] }
recorders << rec
end
end
attr_reader :recorders, :method_log
end | {
"content_hash": "4d2a1c31991fa766b12819bf5fdebb10",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 65,
"avg_line_length": 17.764705882352942,
"alnum_prop": 0.5993377483443708,
"repo_name": "markevans/method_call_recorder",
"id": "5856a9f0dcea7ce98ea526f7ccaa78d776685623",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `ctrtri` fn in crate `lapack`.">
<meta name="keywords" cont... | {
"content_hash": "689e28c36d21940c881ab78fc4813b94",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 831,
"avg_line_length": 40.82727272727273,
"alnum_prop": 0.5328434647071921,
"repo_name": "ssgrn/Rust-Matrix-Computations",
"id": "f383341fb3c0afa84e1c56c0f4e0dd56a75ada54",... |
package ru.job4j.chess;
import static java.lang.Math.abs;
/**
* Класс для слона.
*/
public class Bishop extends Figure {
/**
* Слоновий конструктор.
* @param position позиция на доске.
*/
public Bishop(Cell position) {
super(position);
}
/**
* Метод для перезаписи состо... | {
"content_hash": "9c144e2ab3a9ca36a2fa390b28fc6791",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 144,
"avg_line_length": 39.642857142857146,
"alnum_prop": 0.5304504504504505,
"repo_name": "yaegorko/Egor-Kuznetcov",
"id": "17921877176963f439f88bc04c87d7dc464a609c",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>groups: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "d91c2675fb7130ba5c6198dba4c0fc4b",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 159,
"avg_line_length": 40.97546012269939,
"alnum_prop": 0.5318161401407396,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "15c1f2ef04e923f9e06b102f4ed574bb7c9c81f5",
... |
package monitoring
import (
"context"
"fmt"
"github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
dclService "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/monitoring/alpha"
"github.com/GoogleCloudPlatform/declarative-resource-client-library/unstructured"
)
... | {
"content_hash": "11d71d61cc5f1278cb0a13631174899b",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 174,
"avg_line_length": 30.472,
"alnum_prop": 0.6972958781832502,
"repo_name": "GoogleCloudPlatform/declarative-resource-client-library",
"id": "98373c606d1f13a62001a2b925c5... |
from a10sdk.common.A10BaseClass import A10BaseClass
class PortList(A10BaseClass):
"""This class does not support CRUD Operations please use parent.
:param action: {"type": "string", "format": "string"}
:param ethernet: {"type": "number", "format": "number"}
:param management: {"type": "number", ... | {
"content_hash": "83773ea5d811ea95aa579d8e8d9c8707",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 353,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.5925039872408293,
"repo_name": "a10networks/a10sdk-python",
"id": "ea8758c3ffa583b550b5669f7dcf8eada24c032a",
"s... |
<!-- Preloader -->
<meta name="google-signin-client_id" content="YOUR_CLIENT_ID.apps.googleusercontent.com">
<div id="preloader">
<div class="loader">
<svg class="circle-loader" height="50" width="50">
<circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="6" stroke-miterlimit="1... | {
"content_hash": "6c128688e7b9f3bae16698af9e29e45b",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 228,
"avg_line_length": 42.282051282051285,
"alnum_prop": 0.4948453608247423,
"repo_name": "Nydia28/Morelia-Hacks-Bots",
"id": "9ded0aaa7ff77ee47b94ccde7493735f606e3670",
"... |
namespace bombali.infrastructure.logging.custom
{
using ILog = log4net.ILog;
public class Log4NetLogger : logging.ILog
{
private readonly ILog logger;
public Log4NetLogger(ILog logger)
{
this.logger = logger;
//logger.DebugFormat("Initializing {0}... | {
"content_hash": "849482f15f1dc52d7fdc0000641558d3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 98,
"avg_line_length": 26.75,
"alnum_prop": 0.5476635514018692,
"repo_name": "ferventcoder/bombali",
"id": "1060361732dd5e006c9a49fc6225bbca900b86a8",
"size": "1070",
"bi... |
using System;
namespace RestSharp
{
public sealed class RestResponseCookie
{
/// <summary>
/// Comment of the cookie
/// </summary>
public string Comment { get; set; }
/// <summary>
/// Comment of the cookie
/// </summary>
public Uri CommentUri { get; set; }
/// <summary>
/// Indicat... | {
"content_hash": "71a9d3f972b95af0c0d38c0117c5a8f0",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 80,
"avg_line_length": 26.6875,
"alnum_prop": 0.5878220140515222,
"repo_name": "devinrader/RestSharpRTExperimental",
"id": "b5331293931e2f079b40d21ed81ffe9aedb83d38",
"size... |
CopyRight (C) 2017 - Leonardo Soares e Silva - lsoaresesilva@gmail.com
## Sumary
Creating user interfaces for busines apps on Corona can be hard task if you compare to Android Activity Design, for example.
This library was inspired on Android and JavaFX user interface creation, and enables the creation of user inter... | {
"content_hash": "efad9b86370dbd4e1525795bcfcc013b",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 238,
"avg_line_length": 29.589473684210525,
"alnum_prop": 0.719672714336535,
"repo_name": "lsoaresesilva/corona_view",
"id": "44eb22b671f3e8a78d2e9412cbae6cf61db6bad1",
"s... |
<h1>This is the partial for Register</h1>
<p>Can create teams or organizations</p>
| {
"content_hash": "b32e6d7e0d992868f7cc38ccf3bb48c9",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 41,
"avg_line_length": 41.5,
"alnum_prop": 0.7469879518072289,
"repo_name": "rkalin/SolsRecycling",
"id": "cd361ede9c08eac76287bb860358a1687799ff5b",
"size": "83",
"binary... |
package me.chris.SimpleChat.PartyHandler;
import java.util.ArrayList;
import me.chris.SimpleChat.SimpleChatAPI;
import me.chris.SimpleChat.SimpleChatHelperMethods;
import me.chris.SimpleChat.Variables;
import org.bukkit.entity.Player;
public class PartyChat
{
public static void togglePartyChat(Playe... | {
"content_hash": "48c3d72e2b02dfd7eb58b8b185b8ba14",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 103,
"avg_line_length": 26.450381679389313,
"alnum_prop": 0.6126984126984127,
"repo_name": "hotshot2162/SimpleChat",
"id": "951e611c9c890f29d3440f93a891c3711f79a5ad",
"siz... |
namespace Appleseed.Framework.Web.UI.WebControls
{
using System.Collections;
using System.Web;
using System.Web.UI.WebControls;
using Appleseed.Framework.Settings.Cache;
using Appleseed.Framework.Site.Configuration;
/// <summary>
/// A PortalModuleControl that supports CustomUserSettings f... | {
"content_hash": "cf646695a6d18f1ea36d5452ac8859de",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 110,
"avg_line_length": 36.746753246753244,
"alnum_prop": 0.4983212581728221,
"repo_name": "Appleseed/portal",
"id": "476737a6012c1b9c2f3582e5760c27b4cb16ca05",
"size": "6... |
<div id="top-resources">
<div class="top-resource"
v-for="res in Resources"
:data-overlimit="res.Value >= Overlimit ? 1 : 0">
<img class="resource-icon" :src="'modules/top-resource/icon_'+res.LowerName+'.png'" />
<div class="resource-value">{{res.Value}}</div>
</div>
</div>
| {
"content_hash": "40e6edbbea99945d80094b54c0a5b8c6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 88,
"avg_line_length": 36,
"alnum_prop": 0.6388888888888888,
"repo_name": "WolfgangKurz/BeerViewer",
"id": "74de567d1c05734f0c3548002d62a6e6bb7e83c3",
"size": "290",
"bina... |
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | {
"content_hash": "2e3cd7b5ff5587c777ac1029abb8db99",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 138,
"avg_line_length": 36.004784688995215,
"alnum_prop": 0.5258471760797342,
"repo_name": "wyrover/SharpDX",
"id": "78b8acf0305e3a989915272a5d93765930d2f43f",
"size": "75... |
@interface ViewController ()
@property(nonatomic,strong) AFHTTPSessionManager *manager ;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
//懒加载初始化一个对象
- (AFHTTPSessionManager *) manager{
if(_manag... | {
"content_hash": "8a6f0c34e13a142d10ebc838acfbbf34",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 141,
"avg_line_length": 34.92982456140351,
"alnum_prop": 0.644650929181316,
"repo_name": "wjl0421/-app",
"id": "10cba1aead96ad4120e053aef8cd530210625e05",
"size": "4862",
... |
package com.github.twitch4j.chat;
import com.github.philippheuer.events4j.core.EventManager;
import com.github.philippheuer.events4j.simple.SimpleEventHandler;
import com.github.twitch4j.chat.events.channel.ChannelJoinFailureEvent;
import com.github.twitch4j.chat.events.channel.IRCMessageEvent;
import com.github.twitc... | {
"content_hash": "a0fc5a8c7c2d17a7301c620333d9bc01",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 222,
"avg_line_length": 54.88461538461539,
"alnum_prop": 0.7395760336370008,
"repo_name": "PhilippHeuer/twitch4j",
"id": "809ccc36b1216ed5a5eba06cc871b836efe28dbe",
"size"... |
package com.inmobi.messaging;
import java.nio.ByteBuffer;
/**
* Message class holding the data.
*
*/
public final class Message implements MessageBase {
private ByteBuffer data;
public Message() {
}
/**
* Create new message with {@link ByteBuffer}
*
* @param data The {@link ByteBuffer}
*/... | {
"content_hash": "bfb2811561486eed736aa51f3b59e772",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 69,
"avg_line_length": 17.565217391304348,
"alnum_prop": 0.5816831683168316,
"repo_name": "sreedishps/pintail",
"id": "1fd57ce040d4fea17618ace180f9878ba2910bd7",
"size": "2... |
<header class="header">
<div class="header__inner app__layout">
<h1 class="title header__slogan">@@slogan</h1>
</div>
</header> | {
"content_hash": "39cfd02b86da45405003ad099cbd68c5",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 48,
"avg_line_length": 26.2,
"alnum_prop": 0.6564885496183206,
"repo_name": "werty1001/bemgo",
"id": "4f5211ffcfe000385cadd48c0c647e432f61228e",
"size": "131",
"binary": f... |
$(document).ready(function() {
$(".ezieEditButton").ezie();
})
| {
"content_hash": "01f340e7394392510e755757d4c4d280",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 32,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.582089552238806,
"repo_name": "SnceGroup/snce-website",
"id": "97694d6747887ee14690be9baf575009ed5690f9",
"size": ... |
import { Stack } from '../../';
import { script as bscript } from '../../';
import { opcodes } from '../../';
import { ecc } from '../../noble_ecc';
export function check(script: Buffer | Stack, allowIncomplete?: boolean): boolean {
const chunks = bscript.decompile(script) as Stack;
if (chunks.length < 3) return ... | {
"content_hash": "23380c3428d2620d9c218fd85ca6702a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 86,
"avg_line_length": 36.5,
"alnum_prop": 0.6288916562889165,
"repo_name": "BitGo/BitGoJS",
"id": "6c6e7cae63f9e3dd23c4f0188d90ef1e347cceb9",
"size": "867",
"binary": fa... |
References
====
+ Nguyen, M., Sun, N., Alexander D.C., Feng J., Yeo B.T.T., 2018. [**Modeling Alzheimer’s disease progression using deep recurrent neural networks**](https://doi.org/10.1109/prni.2018.8423955), PRNI, 2018.
+ Nguyen, M., He T., An L., Alexander D.C., Feng J., Yeo B.T.T., 2020. [**Predicting Alzheimer’s ... | {
"content_hash": "06543f4c98e7445d5a44806725870332",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 227,
"avg_line_length": 45.5,
"alnum_prop": 0.7177197802197802,
"repo_name": "ThomasYeoLab/CBIG",
"id": "d8bd1ae254f7e3b8cca10853c2fc5c5eef5167a0",
"size": "1555",
"binar... |
package br.edu.ifmt.cba.alphalab.gui.javafx.controller.login;
/**
* @author Stévillis Sousa
*/
import java.net.URL;
import java.util.ResourceBundle;
import br.edu.ifmt.cba.alphalab.gui.javafx.Main;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.f... | {
"content_hash": "237f35c1531260365cf993f8d9737d4e",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 103,
"avg_line_length": 23.634730538922156,
"alnum_prop": 0.6795034203192298,
"repo_name": "dev-andremonteiro/AlphaLab",
"id": "399a5486ac9b826ae531c1411b0763f32d6e4085",
... |
var path = require('path'),
pkg = require('./package.json'),
webpack = require('webpack'),
Babili = require('babili-webpack-plugin'),
LibrarySourcePlugin = require('library-src-plugin');
let buildConfig = (useBabel, minify, name) => ({
context: __dirname,
entry: {
[name]: './index.js'
},
ou... | {
"content_hash": "e00490d7f279d0a3a38133c73fa5cd55",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 56,
"avg_line_length": 22.953488372093023,
"alnum_prop": 0.5400202634245187,
"repo_name": "jtenner/d-parser",
"id": "13fc53fd0edc8f85e3d19ef1bef901276f41df03",
"size": "987... |
package com.intellij.psi.impl.source.resolve.reference;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReferenceService;
import org.jetbrains.annotations.NotNull;
import java.util.List;
/**
* Created by IntelliJ IDEA.
* User: ik
* Date: 01.04.2003
* Time: 16:52:28
* To change this template use... | {
"content_hash": "8c9421a647dcb15eeb895408196052ad",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 88,
"avg_line_length": 26.043478260869566,
"alnum_prop": 0.7228714524207012,
"repo_name": "joewalnes/idea-community",
"id": "4effe87b38e137b14aba9dbf1174380116db0e01",
"siz... |
"""
Autogenerated IBEISController functions
TemplateInfo:
autogen_time = 13:31:28 2015/04/28
autogen_key = annotgroup
ToRegenerate:
python -m ibeis.templates.template_generator --key annotgroup --Tcfg with_web_api=True with_api_cache=False with_deleters=True no_extern_deleters=True --diff
python -m ib... | {
"content_hash": "c495a4c635ade3798694abe99d2d8c04",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 162,
"avg_line_length": 33.575384615384614,
"alnum_prop": 0.6727456011730205,
"repo_name": "Erotemic/ibeis",
"id": "5eeb8e07210e3c515f57d64e00ab7ea1fc3167ee",
"size": "109... |
@extends('auth.template')
@section('title', 'Login')
@section('body_heading', 'Please login')
@section('body_content')
<form method="POST">
{!! csrf_field() !!}
<fieldset>
<div class="form-group">
<input class="form-control" placeholder="Username" name="name" autofocus>
</div>
... | {
"content_hash": "3327c9969acb2a21c13d062d86423d22",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 106,
"avg_line_length": 33.27272727272727,
"alnum_prop": 0.5391621129326047,
"repo_name": "gingzai/Laravel-CMF",
"id": "4bee94776420edd1d3eb6b737916cd108afce38e",
"size": "... |
@charset "UTF-8";
/* Legacy variables. Discontinue to use these: */
/**
* Convert font-size from px to rem with px fallback
* @param $size - the value in pixel you want to convert
* e.g. p {@include fontSize(12px);}
* courtesy of https://github.com/stubbornella/oocss/blob/master/oocss/src/components/utils/_fontSize... | {
"content_hash": "4f47bfa6e4eb68cbcf8b086c4a1e1ed4",
"timestamp": "",
"source": "github",
"line_count": 1067,
"max_line_length": 106,
"avg_line_length": 27.343955014058107,
"alnum_prop": 0.6996846723334247,
"repo_name": "goranagojic/koturato-front",
"id": "c13b696f1ef4509b9fd5b567936ecb97c07ed5dd",
... |
source /home/vagrant/.bash_profile
sqlplus sys/manager as sysdba <<EOT
CREATE TABLESPACE STERLING94 DATAFILE '/u01/app/oracle/oradata/XE/STERLING94.dbf' SIZE 512M AUTOEXTEND ON NEXT 1024K MAXSIZE UNLIMITED LOGGING DEFAULT STORAGE(MAXEXTENTS UNLIMITED) ONLINE PERMANENT;
CREATE USER STERLING94 IDENTIFIED BY sterling94 DE... | {
"content_hash": "5f0cba0f30c9b160e8a4d090620596cb",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 198,
"avg_line_length": 57.285714285714285,
"alnum_prop": 0.8354114713216958,
"repo_name": "pawandeepthind/dev-multivm",
"id": "71225c2fc9e4458794b3bb2800a9957a40142757",
"s... |
require "aws-sdk-s3"
module Alephant
module Harness
module Service
module S3
def self.create(id)
client.create_bucket(bucket: id)
end
def self.delete(id)
s3 = Aws::S3::Resource.new(client: client)
s3.bucket(id).delete
end
def self.add_... | {
"content_hash": "1e9dda0c53d26b02bb8534c130c136fc",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 58,
"avg_line_length": 20,
"alnum_prop": 0.4666666666666667,
"repo_name": "BBC-News/alephant-harness",
"id": "2e04a07e9fd869ec30f7e9cd3678fc69f2ff19c5",
"size": "1020",
"... |
import rclpy
from rclpy.node import Node
from humanoid_league_msgs.msg import HeadMode
from dynamic_stack_decider.abstract_decision_element import AbstractDecisionElement
class HeadModeDecision(AbstractDecisionElement):
"""
Decides in which general "mode" the head currently operates.
Meaning what should ... | {
"content_hash": "a2fa45cadb6f07cccb1cd277c65d1e58",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 108,
"avg_line_length": 39.12328767123287,
"alnum_prop": 0.6218487394957983,
"repo_name": "bit-bots/bitbots_behaviour",
"id": "5fd444bf162d969367aaf51c8a1b9d1966fc3012",
"s... |
#ifndef __ABSTRACT_DOMAINS_HH__
#define __ABSTRACT_DOMAINS_HH__
#include "crab_llvm/crab_cfg.hh"
#include "crab/domains/linear_constraints.hpp"
#include "crab/domains/intervals.hpp"
#include "crab/domains/dis_intervals.hpp"
#include "crab/domains/sparse... | {
"content_hash": "6576871f08c849c7eb6befbed547e03d",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 103,
"avg_line_length": 38.61682242990654,
"alnum_prop": 0.6982090997095838,
"repo_name": "caballa/crab-llvm",
"id": "0c86815e1130d6f9b5c21b99659029b583558ae8",
"size": "4... |
/* tslint:disable:jsx-no-multiline-js */
import React from 'react';
import assign from 'object-assign';
import { View, Image, Text, TextInput, TouchableWithoutFeedback } from 'react-native';
import variables from '../style/themes/default';
import TextAreaItemProps from './PropsType';
import TextAreaItemStyle from './st... | {
"content_hash": "ca485e6a6476a79085a4c5a19d671906",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 92,
"avg_line_length": 26.413533834586467,
"alnum_prop": 0.5730145175064048,
"repo_name": "ddcat1115/ant-design-mobile",
"id": "42ed77f06c9ebb2173d7fcf61b33395c557b0ac5",
... |
This folder contains examples using the [VSPK-Python](https://github.com/nuagenetworks/vspk-python)
| {
"content_hash": "d4a9deb3510e9e657070b47ea5d99674",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 99,
"avg_line_length": 100,
"alnum_prop": 0.81,
"repo_name": "nuagenetworks/vspk-examples",
"id": "8939bd08c87b9f1f55b946ef11824b3f6d5fcd59",
"size": "124",
"binary": fals... |
'use strict';
var util = require('../util/util');
var Tile = require('./tile');
var LngLat = require('../geo/lng_lat');
var Point = require('point-geometry');
var Evented = require('../util/evented');
var ajax = require('../util/ajax');
module.exports = VideoSource;
/**
* Create a Video data source instance given a... | {
"content_hash": "b8da82c7bc49c1e5df6e20a218b0ef50",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 118,
"avg_line_length": 32.1764705882353,
"alnum_prop": 0.5903107861060329,
"repo_name": "gbif/map-gl",
"id": "c5180f3739e11f4fec07d65b622b0cd245fa3cee",
"size": "5470",
... |
[](https://travis-ci.org/xaevman/log)
## Overview
Log is a Go package which provides logging interfaces and common implementations.
### Flog
Flog is a submodule which provides file-backed logging capabilities for go applications. FLog is built on top... | {
"content_hash": "b7b66620d0e953bbc66697704287197b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 256,
"avg_line_length": 46.46666666666667,
"alnum_prop": 0.7819225251076041,
"repo_name": "xaevman/log",
"id": "3e9bc74f749d46f928a3c2b51c4b29fc812fa14a",
"size": "720",
... |
using System;
using System.Collections.Generic;
namespace LinqToDB.SchemaProvider
{
public class DatabaseSchema
{
public string DataSource { get; set; }
public string Database { get; set; }
public string ServerVersion { get; set; }
public List<TableSchema... | {
"content_hash": "fb73d6f7020565b2197e5e1ab0c95ff8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.6100478468899522,
"repo_name": "MarcoRosenberger/linq2dbCrud",
"id": "bd1476e3e1f8c72f34a47d6ccac4c878c7c28951",
... |
module RoomComments
class CreateService < BaseService
def initialize(comment_params, room_id)
@comment_params = comment_params.dup
@room_id = room_id
end
def execute
room_comment = RoomComment.new(@comment_params)
room = Room.find(@room_id)
room.room_comments << room_comment... | {
"content_hash": "934a2b9a9d1c908ada1d75007d2bdb70",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 53,
"avg_line_length": 23.875,
"alnum_prop": 0.6570680628272252,
"repo_name": "totutote/pso2-fixed-room-adjuster",
"id": "c8e73fbf8ee66d0580527cd6fa47ab92f9578ad5",
"size":... |
package org.lnu.is.dao.builder.person.pension;
import org.lnu.is.dao.annotations.QBuilder;
import org.lnu.is.dao.builder.AbstractQueryBuilder;
import org.lnu.is.dao.builder.BaseQueryBuilder;
import org.lnu.is.domain.person.pension.PersonPension;
/**
* Person Pension Query Builder.
* @author ivanursul
*
*/
@QBuild... | {
"content_hash": "c04e05be2657b1e5453e6af0c20bb222",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 96,
"avg_line_length": 34.7027027027027,
"alnum_prop": 0.7624610591900312,
"repo_name": "ifnul/ums-backend",
"id": "07e8492e3789818baecacdd9341fd6aa4a7fed8e",
"size": "1284... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Platyopuntia conjungens F.Ritter
### Remarks
null | {
"content_hash": "35cf891160783507e23b055af50dc6dc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 11.846153846153847,
"alnum_prop": 0.7402597402597403,
"repo_name": "mdoering/backbone",
"id": "c7fea5c74dad97665d4993695bfd89cdd87964d6",
"size": "22... |
<?php
namespace Magento\Customer\Controller\Adminhtml\Group;
class Edit extends \Magento\Customer\Controller\Adminhtml\Group
{
/**
* Edit customer group action. Forward to new action.
*
* @return \Magento\Backend\Model\View\Result\Forward
*/
public function execute()
{
return $... | {
"content_hash": "80b898b05050095de8f9292bbe8c3f66",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 23.875,
"alnum_prop": 0.6701570680628273,
"repo_name": "j-froehlich/magento2_wk",
"id": "8635561af818ae88f6ab453fec2bd94913e8ba40",
"size": "493",
... |
<?php
/**
* The followings are the available columns in table 'chat':
* @property integer $id
* @property string $name
* @property integer $frequency
*/
class Chat extends CActiveRecord
{
/**
* Returns the static model of the specified AR class.
* @return static the static model class
*/
public static func... | {
"content_hash": "debf37bcf529564aa5f6ae0154e215dc",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 83,
"avg_line_length": 23.569767441860463,
"alnum_prop": 0.6013813517513567,
"repo_name": "GsHatRed/Yiitest",
"id": "11eeaf231f0e43d95fbdbf64926075d6c0bc896e",
"size": "206... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "9f268783ef9127ab45d6eb00d8345bd0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3cfa93cd256b7cafccf2d1154ce75562d40bab94",
"size": "193... |
<?php
namespace Naucon\Utility\Tests;
use Naucon\Utility\Observable;
use Naucon\Utility\ObservableInterface;
use Naucon\Utility\ObserverAbstract;
class ObserverTest extends \PHPUnit_Framework_TestCase
{
/**
* @var array
*/
static protected $observer = null;
/**
* method is called bef... | {
"content_hash": "a5337b448c984f54c023f7e2a9bb96fa",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 98,
"avg_line_length": 26.66013071895425,
"alnum_prop": 0.6344692326550625,
"repo_name": "naucon/Utility",
"id": "54057531419891f59fd465ea89a4986ac22cd47e",
"size": "4298"... |
using System.Linq;
using CppSharp.AST;
using CppSharp.Generators;
namespace CppSharp.Passes
{
public class MarshalPrimitivePointersAsRefTypePass : TranslationUnitPass
{
public override bool VisitFunctionDecl(Function function)
{
if (!base.VisitFunctionDecl(function) ||
... | {
"content_hash": "b876dafd6eebc59c2c87c1c2d0154ae7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 31.217391304347824,
"alnum_prop": 0.6364902506963789,
"repo_name": "mydogisbox/CppSharp",
"id": "244d4a9c8646e818fdafbf0aa71d0f9f4fa64fcf",
"size": "... |
set -e
docker pull nginx
docker pull gliderlabs/registrator:v6
| {
"content_hash": "0966ffbe91b621415e2fad8fd2028670",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 37,
"avg_line_length": 13,
"alnum_prop": 0.8,
"repo_name": "robert0714/ms-lifecycle-192.168.57.27",
"id": "95d5838e1d1279377f9e55b4f53ef5fcbe83e47a",
"size": "86",
"binary... |
<?php
namespace App\Service\File;
class TextFileExporter implements FileExporterInterface
{
/**
* @param string $path
* @param string $text
* @return void
*/
public function exportToFile(string $path, string $text)
{
file_put_contents($path, $text);
}
} | {
"content_hash": "18da6a711628c3b9e945cef9a4d6c62a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 60,
"avg_line_length": 18.6875,
"alnum_prop": 0.6254180602006689,
"repo_name": "damiankamela/BuddySchoolCrawler",
"id": "4698764e8f21672459e388cf7d6b381910880d55",
"size": ... |
using ElectronicObserver.Backfire.Data.Battle.Detail;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicObserver.Backfire.Data.Battle.Phase {
/// <summary>
/// 航空戦フェーズの処理を行います。
/// </summary>
public class PhaseAirBattle : Phase... | {
"content_hash": "b7e4f041ed91fbfeb840f60bffef5733",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 182,
"avg_line_length": 29.77854671280277,
"alnum_prop": 0.6300255635603068,
"repo_name": "CNA-Bld/ElectronicObserver",
"id": "ee5e9aca086f92a632d53786be5924a988f49d0a",
"... |
package org.openehealth.ipf.commons.ihe.xds.core.validate;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.fail;
/**
* Tests for {@link RecipientListValidator}.
* @author Jens Riemschneider
*/
public class RecipientListValidatorTest {
priv... | {
"content_hash": "f26629dfd9d7968b8f6adeff483ee623",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 89,
"avg_line_length": 34.47826086956522,
"alnum_prop": 0.6475409836065574,
"repo_name": "krasserm/ipf",
"id": "9bbc2b41236aaeb27a803b392a70f987d9452351",
"size": "2220",
... |
require 'rails/generators/migration'
class SimplePaymentsTrackerGenerator < Rails::Generators::Base
include Rails::Generators::Migration
def self.source_root
@_simple_payments_trackers_source_root ||= File.expand_path("../templates", __FILE__)
end
def self.next_migration_number(path)
Time.now.utc.str... | {
"content_hash": "382ce679d1c62f5f9f8432d6978a6aff",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 106,
"avg_line_length": 34.86363636363637,
"alnum_prop": 0.7327249022164276,
"repo_name": "sirwin-examtime/simple_payments_tracker",
"id": "a6ef27d304095ed18b512ccb6ba23220b0... |
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/ssm/SSMRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace SSM
{
namespace Model
{
/**
*/
class AWS_SSM_API GetConnectionStatusRequest : public SSMRequest
{
public:
GetConnectionStatusReq... | {
"content_hash": "db5f42f2c581e916920f670d83039274",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 116,
"avg_line_length": 26.975609756097562,
"alnum_prop": 0.6546112115732369,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "56f6e5c1a37aee31a7cbb6ab163ab9872cf79ded",
"size": ... |
2017-06-19, Version 2.8.4
=========================
* Add null checks (Setogit)
* Housekeeping (Tetsuo Seto)
* Blacklist strong-globalize in deep extraction (Setogit)
2017-04-22, Version 2.8.3
=========================
* Fix typo in the lint CLI messages (Setogit)
* Extract improvement: bug fix and dependen... | {
"content_hash": "b1cd6bfc1e96b9fdc2034a4531d953e5",
"timestamp": "",
"source": "github",
"line_count": 595,
"max_line_length": 134,
"avg_line_length": 21.339495798319327,
"alnum_prop": 0.6348743797747499,
"repo_name": "mattjbrad/mb-ale-trail",
"id": "069a8ca7d83f2bb11feb837cd491622c492843dc",
"siz... |
/**
* Problem: RMID2 (SPOJ)
* Author: babhishek21
* Lang: C++11
*/
#include <bits/stdc++.h> // using GCC/G++
// #include "custom/prettyprint.hpp" // G++11 only
using namespace std;
#define MOD 1000000007
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define debug(x) cout << #x << " : " << x <<... | {
"content_hash": "1dedd0fe89dae4a6b9dd59f45bc04d13",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 120,
"avg_line_length": 23.921739130434784,
"alnum_prop": 0.5725190839694656,
"repo_name": "babhishek21/oj-sols",
"id": "874193191af946499e5acc6ea4b341f301bb89eb",
"size":... |
layout: post
title: "Delayed Blast Fireball"
date: 2015-01-11
source: PHB.230
tags: [sorcerer, wizard, level7, evocation]
---
**7th-level evocation**
**Casting Time**: 1 action
**Range**: 150 feet
**Components**: V, S, M (a tiny ball of bat guano and sulfur)
**Duration**: Concentration, up to 1 minute
A beam... | {
"content_hash": "71444065d51b4118e3bf8611e3839ccf",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 566,
"avg_line_length": 62.42307692307692,
"alnum_prop": 0.7689463955637708,
"repo_name": "ozyx/desktop-grimoire",
"id": "1602439ba4e097d60c27bbca273fd4605cc3cc94",
"size":... |
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto", :syntax => :proto3) do
add_message "google.ads.googleads.v12.enums.UserListDateRuleItemOperatorEnum" do
end
add_enum "google.ads.googleads.... | {
"content_hash": "ee5e2cede511dd4db1525b86f4a48c7b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 238,
"avg_line_length": 38.10344827586207,
"alnum_prop": 0.746606334841629,
"repo_name": "googleads/google-ads-ruby",
"id": "df9e98b6401e5e76dae4c227bbb5da18aaa21f06",
"siz... |
Rails.application.config.assets.version = '1.0'
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
# Rails.application.config.assets.pr... | {
"content_hash": "cd60e1f8c5489eb52fa8fb37bb79f342",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 93,
"avg_line_length": 41.2,
"alnum_prop": 0.7669902912621359,
"repo_name": "24-timmarsseglingarna/giona",
"id": "bcef92ec3d2bc3139c589758f450d57d0a3ee46b",
"size": "550",
... |
require 'json'
module VagrantPlugins
module Salt
class Provisioner < Vagrant.plugin("2", :provisioner)
# Default path values to set within configuration only
# if configuration value is unset and local path exists
OPTIMISTIC_PATH_DEFAULTS = Hash[*[
"minion_config", "salt/minion",
... | {
"content_hash": "b8e73c2c66ab449f6dc08148745bfbe2",
"timestamp": "",
"source": "github",
"line_count": 487,
"max_line_length": 202,
"avg_line_length": 37.41889117043121,
"alnum_prop": 0.5712561049223509,
"repo_name": "gitebra/vagrant",
"id": "8b69b7915fe1c1c3d7566fa28bcb56a5a644962a",
"size": "182... |
package com.korshyadoo.musicFileNamer.controller;
import java.awt.EventQueue;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context... | {
"content_hash": "68476e715501fe8d54c86eb35c88f7f8",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 25.404255319148938,
"alnum_prop": 0.7546063651591289,
"repo_name": "korshyadoo/MusicFileNamer",
"id": "22b23a1bf421693c1266c34f50fde4bad4c1b530",
"si... |
import unittest
import mock
from six.moves import http_client
import requests
class Test__request(unittest.TestCase):
@staticmethod
def _call_fut(*args, **kwargs):
from google.cloud.datastore._http import _request
return _request(*args, **kwargs)
def test_success(self):
from go... | {
"content_hash": "0b566b11ecc0e404f9389ac6c80707bf",
"timestamp": "",
"source": "github",
"line_count": 765,
"max_line_length": 88,
"avg_line_length": 37.97516339869281,
"alnum_prop": 0.624487969433066,
"repo_name": "dhermes/gcloud-python",
"id": "b402eafc95326949af3f885131f14fc1214ade59",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.