text stringlengths 2 1.04M | meta dict |
|---|---|
package com.wut.resources.storage.row;
import com.wut.model.Data;
import com.wut.model.map.MappedData;
import com.wut.model.scalar.IdData;
import com.wut.model.scalar.StringData;
import com.wut.pipeline.WutRequest;
import com.wut.provider.Provider;
import com.wut.provider.row.RowProvider;
import com.wut.provider.table... | {
"content_hash": "7a15c509c0a7956a785de03206467bfe",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 88,
"avg_line_length": 37.645161290322584,
"alnum_prop": 0.7677806341045416,
"repo_name": "WebUtilityKit/api-server",
"id": "ee04d747fffed8d3986af6f47ab2cade9af16c8d",
"siz... |
int main() {
float cel;
float fa;
printf("\n Escreva uma temperatura em Celsius e converterei para Fahrenheit");
scanf("%f",&cel);
fa=(1.8*cel)+32;
printf("%f",fa);
return 0;
}
| {
"content_hash": "d5e0e46968c5f50529e535dc4b6c17da",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 79,
"avg_line_length": 20.444444444444443,
"alnum_prop": 0.6467391304347826,
"repo_name": "PaulaGVF/Celsius-to-Fahrenheit",
"id": "d47ed6227a4ea5dc994b99d696cb750bbdc18703",
... |
package com.joy.threadpool;
import java.util.Collection;
public interface IQueue<T> {
public void enqueue(T object) throws Exception;
public void enqueue(Collection<T> objects) throws Exception;
public T dequeue();
}
| {
"content_hash": "e788061f8199282f3a7b45bdc66cbd8e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 63,
"avg_line_length": 22.8,
"alnum_prop": 0.7543859649122807,
"repo_name": "joyghosh/ThreadPool",
"id": "82f7e1bf3419f2eb3e81f925ce44e1cf5218a41e",
"size": "228",
"binar... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>axiomatic-abp: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "1f586096bfb20310d079099d1179d328",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 236,
"avg_line_length": 42.82035928143713,
"alnum_prop": 0.5505523702978604,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "554fd11e691daf3a395f43df3137ba2bb57a67f4",
... |
<?php
namespace Predis\Protocol\Text\Handler;
use Predis\CommunicationException;
use Predis\Connection\ComposableConnectionInterface;
use Predis\Response\Iterator\MultiBulk as MultiBulkIterator;
use Predis\Protocol\ProtocolException;
/**
* Handler for the multibulk response type in the standard Redis wire protoco... | {
"content_hash": "d665a2ddd028824fb85b814aede68932",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 99,
"avg_line_length": 30.615384615384617,
"alnum_prop": 0.7160804020100503,
"repo_name": "cola1129/devtool",
"id": "a2d66b7fc736ceec20f248802249971b53e8cfeb",
"size": "142... |
(function () {
'use strict';
angular
.module('contracts')
.factory('RewardsContractService', RewardsContractService);
RewardsContractService.$inject = [/*Example: '$state', '$window' */];
function RewardsContractService(/*Example: $state, $window */) {
// Rewards service logic
// ...
// ... | {
"content_hash": "f3038c25cd52a18b65058b07c8c6d3be",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 71,
"avg_line_length": 22.142857142857142,
"alnum_prop": 0.5709677419354838,
"repo_name": "etkirsch/cnd-mean",
"id": "af48bed4d31767994c9c140dc4d3340d413696b9",
"size": "62... |
package org.spongycastle.crypto.tls.test;
import java.io.IOException;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.security.SecureRandom;
import org.spongycastle.crypto.tls.TlsServerProtocol;
import org.spongycastle.util.io.Streams;
import... | {
"content_hash": "0c33737929e3f478af03e54c7d4481f1",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 128,
"avg_line_length": 28.88888888888889,
"alnum_prop": 0.5397435897435897,
"repo_name": "iseki-masaya/spongycastle",
"id": "af74ec77dae71a9a61e476a8a1aeaa26808b9113",
"si... |
<?php
/**
* Category flat model
*
* @category Mage
* @package Mage_Catalog
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Catalog_Model_Resource_Category_Flat extends Mage_Index_Model_Resource_Abstract
{
/**
* Amount of categories to be processed in batch
*/
... | {
"content_hash": "a9534546bc7d1f74e825b8e7f4bb13a5",
"timestamp": "",
"source": "github",
"line_count": 1485,
"max_line_length": 119,
"avg_line_length": 34.43905723905724,
"alnum_prop": 0.5052598646904697,
"repo_name": "Louspirit/E-Commerce-Website",
"id": "02d960a86a8bf28ca86fec355020f2cfdfba2801",
... |
#ifndef QmitkEuler3DTransformViewWidgetHIncluded
#define QmitkEuler3DTransformViewWidgetHIncluded
#include "ui_QmitkEuler3DTransformControls.h"
#include "MitkRigidRegistrationUIExports.h"
#include "QmitkRigidRegistrationTransformsGUIBase.h"
#include <itkImage.h>
/*!
* \brief Widget for rigid registration
*
* Displa... | {
"content_hash": "9c1390affb2480bc752cb0ec6b59b981",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 132,
"avg_line_length": 26.491525423728813,
"alnum_prop": 0.7991042866282789,
"repo_name": "NifTK/MITK",
"id": "32d97bed34f7ee4e781d4cbbdfc0d5b4a7db610e",
"size": "2061",
... |
<html>
<head>
<title>OGRE: Member List - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="doxygen.css">
<link type="text/css" rel="stylesheet" href="tabs.css">
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="... | {
"content_hash": "a4f10b5402cc790ca8837dd1951285b5",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 481,
"avg_line_length": 86.77272727272727,
"alnum_prop": 0.7033350794482277,
"repo_name": "milram/ogre-1.7.4-osx",
"id": "269f69e96a9402cf1b29e81f85e271627af89829",
"size":... |
package com.sumologic.marathon.client
import akka.actor.ActorSystem
import akka.util.Timeout
import com.sumologic.marathon.client.model.MarathonJsonProtocol._
import com.sumologic.marathon.client.model._
import spray.http._
import spray.httpx.SprayJsonSupport._
import scala.concurrent.{ExecutionContext, Future}
cla... | {
"content_hash": "dccd91a8fcaf63e2a69a15c717668f85",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 141,
"avg_line_length": 37.48275862068966,
"alnum_prop": 0.7405703771849126,
"repo_name": "SumoLogic/marathon-client",
"id": "ba26cbd65dd388da2c82d187a7785ff969720d32",
"si... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>GridPanel demo</title>
<!--Ext and ux styles -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/classic/theme-triton/resources/theme-triton-all.css" rel="stylesheet" type="text/css"... | {
"content_hash": "c52e6a34e86e5c8090abb98e49e52385",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 162,
"avg_line_length": 40.03846153846154,
"alnum_prop": 0.6868395773294909,
"repo_name": "CrestoneDigital/extjs-carto",
"id": "362c0101b68a33d36dda7e23f3b720791e5ab13d",
"... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wind.Geometry.Vectors;
namespace Macaw.Utilities
{
public class mSampleBitmap
{
Bitmap bmp = null;
Color color = Color.White;
public mSample... | {
"content_hash": "056246022feaa36917a07f3df03e2ff4",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 90,
"avg_line_length": 19.40625,
"alnum_prop": 0.5974235104669887,
"repo_name": "interopxyz/Aviary",
"id": "caad397183a55e6a7a3d45a877d983387de1d1cc",
"size": "623",
"bin... |
`laravel-admin` has built-in` RBAC` permissions control module, expand the left sidebar `Auth`, you can see user, permissions and roles management panel, the use of permissions control as follows:
## Route permission
In the `laravel-admin 1.5`, the permissions and routes are bound together, in the edit permission pag... | {
"content_hash": "8bb7420399b8c2dd66d1d823e825d3b0",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 320,
"avg_line_length": 28.007194244604317,
"alnum_prop": 0.7025430259440021,
"repo_name": "never615/laravel-admin",
"id": "dc7bfc206ad798223821fcc7c355013befa34f66",
"siz... |
var assert = require("assert");
var _ = require('../bower_components/lodash/lodash');
var WEBSOCKET_SERVICE = 'http://localhost:5280/http-bind';
var Logger = require('../src/logger');
var HaikuConnection = require('../src/haiku-connection');
var HaikuChatRoom = require('../src/haiku-chat-room');
var adminuser = "spri... | {
"content_hash": "d9e1e948708d954d4c4834a0329fb24b",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 121,
"avg_line_length": 31.14396887159533,
"alnum_prop": 0.5438530734632684,
"repo_name": "springnz/haiku",
"id": "b056bd876dbd323de48d44ecaf23fd2a52dda744",
"size": "1600... |
package com.syncano.library.simple;
import com.syncano.library.Syncano;
import com.syncano.library.api.IncrementBuilder;
import com.syncano.library.api.Response;
import com.syncano.library.api.SendRequest;
import com.syncano.library.callbacks.SyncanoCallback;
import com.syncano.library.data.Entity;
import com.syncano.... | {
"content_hash": "7c52874c79bf53f72818297bb621ab41",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 113,
"avg_line_length": 35.48823529411764,
"alnum_prop": 0.6996519144704128,
"repo_name": "Syncano/syncano-android",
"id": "d7a34412a97a1e23f9f57d79cfdd34c16496c2f5",
"siz... |
Maven project for Google App Engine with Jersey, Jackson, and JDO dependencies.
| {
"content_hash": "d4f678176ee351181107ce45753c03d6",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 79,
"avg_line_length": 80,
"alnum_prop": 0.8125,
"repo_name": "kerafill1116/appengine-jersey-jackson-jdo",
"id": "a9ece8cb1196c7e1a149cf71ffdec00778a5d555",
"size": "111",
... |
/**
* Created by thomas on 02/09/17.
*/
import 'rxjs/add/operator/mergeMap';
import 'rxjs/add/operator/reduce';
export interface Field {
readonly name: string;
readonly type: any;
value?: any
subtype?: 'html'|'choices'|'image';
choices?: string[];
relation?: Entity;
required?: boolean; // us... | {
"content_hash": "8e71f720ead3d9b4d92f6d14a61ccf33",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 104,
"avg_line_length": 27.01063829787234,
"alnum_prop": 0.6132335565183143,
"repo_name": "Thomas-Webber/webberAdmin",
"id": "b8fb072c41a225005016b7b7ccc05b97285b08e4",
"si... |
using Serenity;
using Serenity.ComponentModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
namespace CoinNews.Northwind
{
public partial class EmployeeListFormatterAttribute : CustomFormatterAttribute
{
public const string Key = "CoinNews.Nort... | {
"content_hash": "c0456419e753f21564ef126809a8838b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 82,
"avg_line_length": 22.6,
"alnum_prop": 0.7212389380530974,
"repo_name": "knifecaojia/CoinsPro",
"id": "4221d52ef52669ea67ade764d540f79c8b25e71f",
"size": "454",
"bina... |
<?php
namespace Assetic\Test\Extension\Twig;
use Assetic\Factory\AssetFactory;
use Assetic\Extension\Twig\AsseticExtension;
use Assetic\Asset\AssetCollection;
use Assetic\Asset\FileAsset;
class AsseticExtensionTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \PHPUnit_Framework_MockObject_MockObject|\... | {
"content_hash": "2f2151ae01b7b40e1231e0a8d86ef140",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 153,
"avg_line_length": 31.84710743801653,
"alnum_prop": 0.5648112105877774,
"repo_name": "Ismailmehri/zcom-dev",
"id": "3d3cf25a59aa7277b0a6a83ac49c4b0c116435c2",
"size":... |
require 'uri'
require 'awesome_spawn'
module MiqCockpit
class WS
DEFAULT_PORT = 9002
# Used when the cockpit-ws worker is not enabled
COCKPIT_PUBLIC_PORT = 9090
MIQ_REDIRECT_URL = "/dashboard/cockpit_redirect".freeze
COCKPIT_WS_PATH = '/usr/libexec/cockpit-ws'.freeze
COCKPIT_SSH_PATH = '/us... | {
"content_hash": "94f639e02671ef996ca82bdc8c939a8a",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 99,
"avg_line_length": 26.932926829268293,
"alnum_prop": 0.6042562825447136,
"repo_name": "billfitzgerald0120/manageiq",
"id": "3f720278ab712aed35b684b264bcf9149ad06082",
... |
require 'spec_helper'
describe AgentAutocompleteController do
before :each do
allow(controller).to receive(:go_config_service).and_return(@go_config_service = Object.new)
allow(controller).to receive(:environment_config_service).and_return(@environment_config_service = Object.new)
allow(controller).to r... | {
"content_hash": "536d33cce78310404e75630538051302",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 186,
"avg_line_length": 43.16949152542373,
"alnum_prop": 0.6721633294071456,
"repo_name": "sghill/gocd",
"id": "6cd503679b99b6926599ed26dd5aacd770129df5",
"size": "5827",
... |
package com.gcarrillo.android.weatherclient.network.apimodel;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Coord {
@SerializedName("lon")
@Expose
private Double lon;
@SerializedName("lat")
@Expose
private Double lat;
public Do... | {
"content_hash": "be8921df8b56527cca4e9c750acfa094",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 61,
"avg_line_length": 17.967741935483872,
"alnum_prop": 0.6319569120287253,
"repo_name": "MrArizona/Weather-Client-MVP",
"id": "1eaec4527dc15272e91bbc19bd6de541bae72901",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<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="">
<meta name="author" content="">
<title>Portfolio Item</titl... | {
"content_hash": "4cec062f84655befbba79fa0e3b413ea",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 153,
"avg_line_length": 31.58653846153846,
"alnum_prop": 0.4873668188736682,
"repo_name": "Iankelly451/assignment-2",
"id": "dde8bd14a79f8ab52edbc531ace4ec3b6997f0cc",
"si... |
new_version="$1"
old_version="$(git tag | grep -E 'v.*\..*\..*' | sort -V | tail -n 1 | sed -E 's/v(.*)/\1/')"
version_file=setup.py
if [[ $(git branch --show-current) != 'master' ]]; then
echo 'Not on dev branch'
exit -1
fi
echo "Upgrading from $old_version to $new_version"
upload_pypi() {
rm -r dist
... | {
"content_hash": "bbd86e0bd25575e7f784a42cf6b38bd3",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 93,
"avg_line_length": 24.70731707317073,
"alnum_prop": 0.633761105626851,
"repo_name": "KillianMeersman/telemeter",
"id": "d63bb23b1fca2b536b3a070250aa021880fbf326",
"size... |
package org.ema.activities;
import android.app.FragmentManager;
import android.content.Intent;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
import java.util.List;
imp... | {
"content_hash": "8967484b1c0173339b22c6e314fc61cb",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 116,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.6564935064935065,
"repo_name": "samuelyuri/E-MobileActivities",
"id": "a0504b2a80b3bf579d9771da72536ebcf396ebac",
... |
<?php
/**
* For fetching data by URL.
*
* http://php.net/manual/en/function.curl-setopt.php
*
* @author Chris Ullyott <contact@chrisullyott.com>
*/
class Curl
{
/**
* An array of default options for Curl.
*
* @var array
*/
private $defaultOpts = array(
CURLOPT_VERBOSE => fals... | {
"content_hash": "1d2e87956e499f16595a8f7859c9d5c1",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 84,
"avg_line_length": 20.80658436213992,
"alnum_prop": 0.5270965189873418,
"repo_name": "chrisullyott/wayback-cache",
"id": "c08516fdca0ef4dbe8460ee05fb12932a6dbe0f5",
"s... |
一段完整的Android平台上短信功能的接口源码,利用扩展的API可以通过js实现如下功能:
1. getContentUris():读取短信相关的所有数据库表的Uri地址;
2. get(int number):读取若干条短信;
3. getUnread(int number):读取若干条未读短信;
4. getRead(int number):读取若干条已读短信;
5. getInbox(int number):从收件箱读取若干条短信;
6. getSent(int number):读取若干条已发短信;
7. getByThread(int threadID):读取会话中所有短信;
8. getThreads(int numbe... | {
"content_hash": "85d91c354ec24420c20b40978815f872",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 90,
"avg_line_length": 33.541666666666664,
"alnum_prop": 0.6354924578527062,
"repo_name": "EManual/EManual.github.io",
"id": "bc9f4927f3a351f5e8eb1da5de8e92395e9b3049",
"s... |
namespace PatientManagement.Administration.Endpoints
{
using Serenity;
using Serenity.Data;
using Serenity.Services;
using System.Data;
using Microsoft.AspNetCore.Mvc;
using MyRepository = Repositories.ExternalAccessRepository;
using MyRow = Entities.ExternalAccessRow;
[Route("Service... | {
"content_hash": "3b04e007d2387a0eea6c23d8aca1ff65",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 98,
"avg_line_length": 34.11363636363637,
"alnum_prop": 0.6722185209860093,
"repo_name": "Magik3a/PatientManagement_Admin",
"id": "e878dc9ee4bcc9de89c77073be1d312ea2ae7746",
... |
#include "bgp/inetmcast/inetmcast_route.h"
#include "bgp/inetmcast/inetmcast_table.h"
using namespace std;
InetMcastPrefix::InetMcastPrefix() {
}
InetMcastPrefix InetMcastPrefix::FromString(const string &str,
boost::system::error_code *errorp) {
InetMcastPrefix prefix;
size_t pos1 = str.rfind(':')... | {
"content_hash": "a25aee0439391f52162061cfd98e4026",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 77,
"avg_line_length": 25.951612903225808,
"alnum_prop": 0.6047234307022996,
"repo_name": "safchain/contrail-controller",
"id": "a0611273fd7d3148fe39848067fa8dcdbb0bad02",
... |
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, ... | {
"content_hash": "81cd351da04b863dd62085493c456648",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 79,
"avg_line_length": 32.85950413223141,
"alnum_prop": 0.42932595573440646,
"repo_name": "joshmassey/sga-itracker",
"id": "fd2f1971a0cef06bae799696c48a78ecc3c6deea",
"siz... |
package com.google.javascript.jscomp.transpile;
import static com.google.common.truth.Truth.assertThat;
import static org.mockito.Answers.RETURNS_SMART_NULLS;
import static org.mockito.Mockito.when;
import com.google.javascript.jscomp.bundle.TranspilationException;
import java.nio.file.Path;
import java.nio.file.Pa... | {
"content_hash": "527bb40e9b6dd37129cfa941d4e25377",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 93,
"avg_line_length": 36,
"alnum_prop": 0.7156862745098039,
"repo_name": "MatrixFrog/closure-compiler",
"id": "636dddd39c8147e8c7a43e675d252728a8835584",
"size": "3672",
... |
#include "texture.h"
#include "../glx/hardext.h"
#include "../glx/streaming.h"
#include "array.h"
#include "blit.h"
#include "decompress.h"
#include "debug.h"
#include "enum_info.h"
#include "fpe.h"
#include "framebuffers.h"
#include "gles.h"
#include "init.h"
#include "loader.h"
#include "matrix.h"
#include "pixel.h"... | {
"content_hash": "c9de6b45f7fcc11cc33c0c983bc5a922",
"timestamp": "",
"source": "github",
"line_count": 937,
"max_line_length": 270,
"avg_line_length": 39.062966915688364,
"alnum_prop": 0.5533304191027812,
"repo_name": "ptitSeb/glshim",
"id": "597ae4394862f89467d8521fd0dc6b1f386f834e",
"size": "366... |
php ./bin/console doctrine:generate:entities SiteBundle --no-backup
php ./bin/console doctrine:generate:entities UserBundle --no-backup
( exec "./app/bin/migrate.sh" ) | {
"content_hash": "b19c4720653b143171173ac7a1bb69bd",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 67,
"avg_line_length": 42,
"alnum_prop": 0.7678571428571429,
"repo_name": "plalance/fototek",
"id": "995bb9bd3269dc3b6a490812ce97fcc4f05c33fc",
"size": "178",
"binary": fa... |
#ifndef itkMeshConvertPixelTraits_h
#define itkMeshConvertPixelTraits_h
#include "itkArray.h"
#include "itkMatrix.h"
#include "itkOffset.h"
#include "itkCovariantVector.h"
#include "itkVariableLengthVector.h"
#include "itkVector.h"
#include "itkPoint.h"
namespace itk
{
/** \class MeshConvertPixelTraits
* \brief ... | {
"content_hash": "22c1fcd20b716dfff7238c5f8e88aac9",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 87,
"avg_line_length": 61.50909090909091,
"alnum_prop": 0.39335332122798866,
"repo_name": "spinicist/ITK",
"id": "1c824b64354d0aa5ad88e2cd564d0c21a59ed5fd",
"size": "24456... |
require 'spec_helper'
describe 'APIv3 Area details' do
before { get("/api/v3/areas/#{id}") }
context 'with a valid area ID' do
let(:id) { 'nl' }
it 'responds successfully' do
expect(response).to have_http_status(:ok)
end
it 'replies with JSON' do
expect(response.media_type).to eq('ap... | {
"content_hash": "23e92341950b37fde62e896377633d6e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 65,
"avg_line_length": 22.548387096774192,
"alnum_prop": 0.6251788268955651,
"repo_name": "quintel/etengine",
"id": "b49af54bf56e7319bc83880be245b1419fa0bdf0",
"size": "699... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.13) on Thu Sep 22 11:06:07 MDT 2022 -->
<title>Uses of Class mil.nga.geopackage.tiles.reproject.PlatteCarreOptimize (GeoPackage Core 6.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name=... | {
"content_hash": "d5fba1c064702cd7a3148d99fd6d10bb",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 275,
"avg_line_length": 38.777227722772274,
"alnum_prop": 0.6464955955572578,
"repo_name": "ngageoint/geopackage-core-java",
"id": "0915b74844a7727cc84e96d7855724a6a14ccb19"... |
from importlib import import_module
from django.apps import apps
from django.core.management.base import BaseCommand, CommandError
from django.core.management.color import no_style
from django.core.management.sql import emit_post_migrate_signal, sql_flush
from django.db import DEFAULT_DB_ALIAS, connections
class Com... | {
"content_hash": "90e534a92002b3ee5fb56d648f41b877",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 92,
"avg_line_length": 43.78048780487805,
"alnum_prop": 0.6072423398328691,
"repo_name": "edmorley/django",
"id": "f6ae83940a534c18bf9029f0ba7b1f023ab296c2",
"size": "3590"... |
#!/bin/bash
# Copyright 2014 The Kubernetes Authors All rights reserved.
#
# 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 require... | {
"content_hash": "a7d2b3cfb47accef9c4c3855f256e4e3",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 117,
"avg_line_length": 35.27272727272727,
"alnum_prop": 0.6848946660690274,
"repo_name": "kenmoore/kubernetes",
"id": "82e294fbf0b5ed9f235deb03eeb057becd4a36c6",
"size": ... |
{% load helplink %}
{% load editor_controls %}
<div class="form-group">
<label class="label-block">
<div class="{{form_label_class}} control-label">
{{label}}
{% if help_url %}{% helplink help_url %}{% endif %}
</div>
<div class="{{form_control_class}}">
<... | {
"content_hash": "ed145caff216a5dd3663dbcee4853fd1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 63,
"avg_line_length": 30.466666666666665,
"alnum_prop": 0.49452954048140046,
"repo_name": "numbas/editor",
"id": "c9929862bd16212b5533092be6c4a6322a2eb29a",
"size": "457",... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="jquery.mobile-1.0a2.min.css" />
<script src="scripts/phonegap.js"></script>
<script src="scripts/jquery-1.4.4.min.js"></script>
<script src="scripts/Lawnchair.js"></script>
<script src="scripts/LawnchairAdaptorHelpers.js"></script>
<script src="scr... | {
"content_hash": "acf05c44e2912e6e9fefd541c211526a",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 69,
"avg_line_length": 28,
"alnum_prop": 0.5998542274052479,
"repo_name": "sub/yacf",
"id": "6f66734cce702631f15b6d5fdc452825d98367f5",
"size": "1372",
"binary": false,
... |
package ru.org.linux.topic;
import ru.org.linux.user.Userpic;
import javax.annotation.Nullable;
public class TopicMenu {
private final boolean topicEditable;
private final boolean tagsEditable;
private final boolean resolvable;
private final boolean commentsAllowed;
private final boolean deletable;
@... | {
"content_hash": "d44842e1aa5c9c9eb72df4cddefb190e",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 43,
"avg_line_length": 20.3015873015873,
"alnum_prop": 0.6989835809225958,
"repo_name": "hizel/lorsource",
"id": "8b67edbff4e13c63590d3725b5e824dc12da480b",
"size": "1903",... |
class ParametrisedEvent
include AASM
aasm do
state :sleeping, :initial => true
state :showering
state :working
state :dating
state :prettying_up
event :wakeup do
transitions :from => :sleeping, :to => [:showering, :working]
end
event :dress do
transitions :from => :slee... | {
"content_hash": "ca8486c0c594862446f622df50563a65",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 117,
"avg_line_length": 24.482758620689655,
"alnum_prop": 0.6295774647887324,
"repo_name": "allspiritseve/aasm",
"id": "23e013e9c5acdb1243fd8b70f7375556f6d3436e",
"size": "... |
/**
* Federated User
*/
@interface SecurityTokenServiceFederatedUser:NSObject
{
NSString *federatedUserId;
NSString *arn;
}
/**
* The string that identifies the federated user associated with the
* credentials, similar to the unique ID of an IAM user.
* <p>
* <b>Constraints:</b><br/>
* <b>Lengt... | {
"content_hash": "ec8c41f09aeef35d207be0e807181242",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 86,
"avg_line_length": 26.65277777777778,
"alnum_prop": 0.7087024491922876,
"repo_name": "Maxwell2022/S3Upload",
"id": "e5c98343cbbb331b4b43c0e9a254b5e81a46435b",
"size": "... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capab... | {
"content_hash": "9aab4bf4a97daf7e9e24073c1a557aff",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 107,
"avg_line_length": 37.95876288659794,
"alnum_prop": 0.5111352525801195,
"repo_name": "wh1100717/dingo-coder",
"id": "5eeded098c3f91d9af3dc48be731dc446c180063",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ca9c3b29762c6d81bc985e625a7c438f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "19ee1581b5343377223f31fbdbc79036f6cd0c9b",
"size": "184... |
import sys
try:
pyreadline_codepage=sys.stdout.encoding
except AttributeError: #This error occurs when pdb imports readline and doctest has replaced
#stdout with stdout collector
pyreadline_codepage="ascii" #assume ascii codepage
def ensure_unicode(text):
... | {
"content_hash": "958a00912cca2a40159f723b2cf16283",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 100,
"avg_line_length": 34.95,
"alnum_prop": 0.6666666666666666,
"repo_name": "chvrga/outdoor-explorer",
"id": "f33fa099c5dec12401b6f5ceb82eadbca9244350",
"size": "1101",
... |
Cookbook
========
.. toctree::
:maxdepth: 1
complex-joins
table-prefix
| {
"content_hash": "62b15a9ced287c49453bc844e2fa394a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 17,
"avg_line_length": 10.625,
"alnum_prop": 0.5529411764705883,
"repo_name": "shabbyrobe/amiss",
"id": "d84eb256e85161b8a0bebaa203efdd927c16845d",
"size": "85",
"binary":... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>colour.models.dataset.srgb — Colour 0.3.0 documentation</title>
<link rel="stylesheet" href="../../../../_static/basic.css" type="text/css" />
... | {
"content_hash": "b839771a0e759b82054eb7bd6f5e9895",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 562,
"avg_line_length": 58.105932203389834,
"alnum_prop": 0.5956391745059433,
"repo_name": "colour-science/colour-science.org",
"id": "5c78348d5ce60600ff61af41e5ba7405649e6a... |
import { Contacts } from '../../api/contacts/contacts.js';
import { Meteor } from 'meteor/meteor';
Meteor.publish('Contacts', function publishContactsData() {
return Contacts.find();
}); | {
"content_hash": "8515fba8c9b02bbfa23a19571b180228",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 59,
"avg_line_length": 31.5,
"alnum_prop": 0.7037037037037037,
"repo_name": "gviloria/digits",
"id": "35ada806ececfe0f31bee86713094a2b696ab165",
"size": "189",
"binary": f... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8eb109a64a4d424dc669e569658bf42a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "2631fa21852fd740933f8cc1ef7880fd8b89b84c",
"size": "19... |
<?php
declare(strict_types=1);
namespace StingerSoft\DoctrineEntitySearchBundle\Entity;
use StingerSoft\DoctrineEntitySearchBundle\Model\Document as BaseDocument;
class Document extends BaseDocument {
protected function newFieldInstance(): \StingerSoft\DoctrineEntitySearchBundle\Model\Field {
return new Field(... | {
"content_hash": "cbeefb4b8526def1223d26414073dd35",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 93,
"avg_line_length": 21.8,
"alnum_prop": 0.8165137614678899,
"repo_name": "Stinger-Soft/DoctrineEntitySearchBundle",
"id": "cb05e2ebd35cd2b49853ab95fdbc0a859279f280",
"si... |
@protocol CategorySearchDelegate <NSObject>
-(void)search:(NSPredicate *)forCategory;
@end
| {
"content_hash": "f27ed857d363aa5189e5c170fb2e6cb1",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 43,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.8021978021978022,
"repo_name": "liamdkane/wineClubChallenge",
"id": "e74082ee5bca0492f3d6623db1bb495fbeacb5c8",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f9fec549ab384584d9678ae7d5d80ac9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "5a17c32355010e016f80a16970300af7a325dd87",
"size": "174... |
<?xml version="1.0" encoding="utf-8"?><resources>
<string name="activity_resolver_use_always">"Sempre"</string>
<string name="activity_resolver_use_once">"Só uma vez"</string>
<string name="candidates_style">"candidatos"</string>
<string name="capital_off">"DESL"</string>
<string name="capital_on">"... | {
"content_hash": "095af770818e69626b88caa076fcf070",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 127,
"avg_line_length": 69.3529411764706,
"alnum_prop": 0.7171331636980492,
"repo_name": "mercadolibre/HoloEverywhere",
"id": "4386dc96afd3a8b397fdc67aadffcd7135190338",
"s... |
layout: post
date: '2016-06-03'
title: "Jasmine Bridal M170067 Sleeveless Knee-Length Sheath/Column"
category: Jasmine
tags: [Jasmine ,Jasmine,Sheath/Column,Bateau,Knee-Length,Sleeveless]
---
### Jasmine Bridal M170067
Just **$239.99**
### Sleeveless Knee-Length Sheath/Column
<table><tr><td>BRANDS</td><td>Jasmine</... | {
"content_hash": "7324f42009d32f9c370f763736aa5665",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 240,
"avg_line_length": 79.42857142857143,
"alnum_prop": 0.7266187050359713,
"repo_name": "variousweddingdress/variousweddingdress.github.io",
"id": "43dc4096bbc51ff1e239dee3... |
'''
Copyright 2016, EMC, Inc.
Author(s):
George Paulos
'''
import fit_path # NOQA: unused import
import os
import sys
import subprocess
import fit_common
# Select test group here using @attr
from nose.plugins.attrib import attr
@attr(all=True, regression=True, smoke=True)
class redfish10_api_schemas(fit_common.un... | {
"content_hash": "7e356ed80a96ad8b74672ea424d8bed3",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 133,
"avg_line_length": 38.2,
"alnum_prop": 0.6581899775617053,
"repo_name": "srinia6/RackHD",
"id": "e7a5d35027b92f8db95233e5cc363cb44660581f",
"size": "1337",
"binary":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a9aa1214f0e92f566ee659a4c37915a7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f80f6afe71e2d6e5d1a36a3c7f5c03bbeb039bcf",
"size": "182... |
package support
import (
"fmt"
"io"
"strings"
"sync"
"time"
"github.com/golang/glog"
kerrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime"
utilerrors "k8s.io/apimachine... | {
"content_hash": "5b67cc2e5c79d81431407e8a0d13cd9b",
"timestamp": "",
"source": "github",
"line_count": 587,
"max_line_length": 178,
"avg_line_length": 36.37819420783646,
"alnum_prop": 0.7205675751615622,
"repo_name": "smarterclayton/origin",
"id": "89a9c772928132d8f2dfc734aa7e0025585a8e61",
"size"... |
package no.kantega.openaksess.rest.jersey;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.databind.type.TypeFactory;
im... | {
"content_hash": "79b46034bfa1334565442982548f459d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 114,
"avg_line_length": 36,
"alnum_prop": 0.7635135135135135,
"repo_name": "kantega/Flyt-cms",
"id": "1a1bdc8197e4392cb70c1d13458d839c6b14e903",
"size": "1332",
"binary":... |
module Fastlane
module Actions
class CleanBuildArtifactsAction < Action
def self.run(options)
[
Actions.lane_context[Actions::SharedValues::IPA_OUTPUT_PATH],
Actions.lane_context[Actions::SharedValues::SIGH_PROFILE_PATH],
Actions.lane_context[Actions::SharedValues::DSYM... | {
"content_hash": "2fb4464aff5eae3aa5b987bb95327e6e",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 143,
"avg_line_length": 32.54545454545455,
"alnum_prop": 0.5565642458100558,
"repo_name": "cpsloal/fastlane",
"id": "fd7a02884c65b2dacb4991b1f73db1ec4d61f443",
"size": "143... |
module FraseHelper
end
| {
"content_hash": "909f332b02f199e55fb3093b9a655721",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 18,
"avg_line_length": 11.5,
"alnum_prop": 0.8695652173913043,
"repo_name": "marciojrtorres/ds2-2014",
"id": "7150237f6515e78763906a453940b2f30e09416c",
"size": "23",
"bin... |
Dummy::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
# Do not eager load code on boot.
config.eager_load = true
# Full error reports are disabled and caching is turned on
co... | {
"content_hash": "35b386781215fac72e9aea1b732557c5",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 104,
"avg_line_length": 35.93939393939394,
"alnum_prop": 0.7449409780775716,
"repo_name": "mirrec/token_field",
"id": "88a0205997d6e637f40437f0747b42eff1cc5517",
"size": "2... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
public class EventsClient : ApiClient, IEventsClient
{
public EventsClient(IApiConnection apiConnection)
: base(apiConnection)
{
}
/// <summary>
/// Gets all the public even... | {
"content_hash": "851fa9b36bc17f785c8c619a5d048b50",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 111,
"avg_line_length": 43.76158940397351,
"alnum_prop": 0.6203087167070218,
"repo_name": "yonglehou/octokit.net",
"id": "f21ed2144ff8bf394c3f2160103f73e8afe669e8",
"size"... |
package iso20022
// Specifies the type of the document line identification.
type DocumentLineType1 struct {
// Provides the type details of the referred document line identification.
CodeOrProprietary *DocumentLineType1Choice `xml:"CdOrPrtry"`
// Identification of the issuer of the reference document line identif... | {
"content_hash": "eb7232173f64d92f3359f06ccf1dd588",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 83,
"avg_line_length": 31.4,
"alnum_prop": 0.7929936305732485,
"repo_name": "fgrid/iso20022",
"id": "a5118625ffefa0d33cd0519ce54b9e805d920024",
"size": "628",
"binary": f... |
{% extends "layout_lr.html" %}
{% block page_title %}
Local land charges
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-large">Register a local land charge </h1>
<h2 class="heading-medi... | {
"content_hash": "95d0713e69fbcb6b29267a64b1750c7d",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 113,
"avg_line_length": 29.837209302325583,
"alnum_prop": 0.5003897116134061,
"repo_name": "LandRegistry/llc-prototype",
"id": "44851176522f68f1b0ae6acc3d6c099b72cdc5e9",
"... |
module("magic.ComboBox");
test("render, default param", function(){
stop();
ua.loadcss(upath + 'setup/combobox/combobox.css', function() {
var div1 = document.createElement("div");
document.body.appendChild(div1);
div1.id = "div1";
var combobox1 = new magic.ComboBox({
'items' : [{
... | {
"content_hash": "c99a9a6a75702562d2773850208f40ea",
"timestamp": "",
"source": "github",
"line_count": 909,
"max_line_length": 194,
"avg_line_length": 34.76897689768977,
"alnum_prop": 0.5669988925802879,
"repo_name": "BaiduFE/Magic",
"id": "76b7b78997220b81b818e5b5b9ca4fcbd36ae036",
"size": "31911... |
import os
import pytest
import sh
from molecule.verifier import testinfra
@pytest.fixture()
def testinfra_instance(molecule_instance):
return testinfra.Testinfra(molecule_instance)
@pytest.fixture
def patched_code_verifier(mocker):
return mocker.patch('molecule.verifier.testinfra.Testinfra._flake8')
@py... | {
"content_hash": "8ce4f32a7d8860c4cb03b63187b05daa",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 79,
"avg_line_length": 30.01123595505618,
"alnum_prop": 0.6918757019842755,
"repo_name": "rgreinho/molecule",
"id": "16a8b596be2567f267fb41cd2ca03201a6d5033b",
"size": "379... |
package com.decker.javaProgramming.lab.lab2;
import com.decker.javaProgramming.utils.InputType;
import org.apache.commons.lang3.StringUtils;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class LastDigit {
public static void main(String[] args) throws Exception {
LastDigit las... | {
"content_hash": "5e9b5c8b47582a59e23ce8389e2f87e5",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 152,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.6280487804878049,
"repo_name": "DeckerCHAN/COMP6700_Java_Programming",
"id": "edc4b89566421a6ac6da16126a2a46658124... |
This is an attempt at a piece of software that can turn recordings of whistling into a midi file.
Right now, it is mostly miss with a few hits included. Every now and then it will reconstruct the correct notes in the generated midi file, but it needs a lot more tuning until it's actually usuable.
##Why?
I wanted to ... | {
"content_hash": "9328c282d7cf52b2717c06cf27ed97ac",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 199,
"avg_line_length": 71.42857142857143,
"alnum_prop": 0.79,
"repo_name": "trb/whistle2midi",
"id": "272339f143e6a9e448170c256af2dcedc1ac03ba",
"size": "518",
"binary": ... |
using namespace fst;
namespace fst {
namespace script {
REGISTER_FST(VectorFst, KaldiLatticeArc);
REGISTER_FST(ConstFst, KaldiLatticeArc);
REGISTER_FST(EditFst, KaldiLatticeArc);
REGISTER_FST_CLASSES(KaldiLatticeArc);
REGISTER_FST_OPERATIONS(KaldiLatticeArc);
REGISTER_FST_FAR_OPERATIONS(KaldiLatticeArc);
... | {
"content_hash": "26ef997c5ea46952e7deed7b2cf8f6d5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 25.076923076923077,
"alnum_prop": 0.7791411042944786,
"repo_name": "opendcd/opendcd",
"id": "a4045c2aabde034414c0c2f459078292d770f2bb",
"size": "1269... |
DROP MATERIALIZED VIEW IF EXISTS weightdurations CASCADE;
CREATE MATERIALIZED VIEW weightdurations as
-- This query extracts weights for adult ICU patients with start/stop times
-- if an admission weight is given, then this is assigned from intime to outtime
with wt_stg as
(
SELECT
c.icustay_id
, c.c... | {
"content_hash": "8c5e8cc8fdfd953414ee56c5d16fd964",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 91,
"avg_line_length": 28.548571428571428,
"alnum_prop": 0.6621297037630104,
"repo_name": "MIT-LCP/mimic-code-sharing",
"id": "51817da24d457f29ab0d476e5d3a52e8cd7f9ec2",
"... |
package envoy_config_ratelimit_v3
import (
"bytes"
"errors"
"fmt"
"net"
"net/mail"
"net/url"
"regexp"
"strings"
"time"
"unicode/utf8"
"github.com/golang/protobuf/ptypes"
v3 "github.com/datawire/ambassador/pkg/api/envoy/config/core/v3"
)
// ensure the imports are used
var (
_ = bytes.MinRead
_ = errors... | {
"content_hash": "9aff38ee6c7553b34dd92c4c60f482dd",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 122,
"avg_line_length": 23.938931297709924,
"alnum_prop": 0.7044005102040817,
"repo_name": "datawire/ambassador",
"id": "3179765d0fc9fc956fcd1a1de6763eae4705cbce",
"size":... |
package org.mybatis.generator.config;
/**
* This class holds constants useful in the XML and Java merging operations.
*
* @author Jeff Butler
*
*/
public class MergeConstants {
/**
* Utility class - no instances
*
*/
private MergeConstants() {
}
public static final String[] OLD_X... | {
"content_hash": "0bbac0cf41a76b9a7956445614c5b2c7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 151,
"avg_line_length": 27.208333333333332,
"alnum_prop": 0.6447166921898928,
"repo_name": "caixu23/mybatis-generator",
"id": "e8cb9119bb4d6f58fa134665ad1c5796ebe0d612",
"s... |
require 'gooddata'
describe GoodData::Model::ProjectBlueprint do
before(:each) do
@blueprint = GoodData::Model::ProjectBlueprint.from_json('./spec/data/blueprints/test_project_model_spec.json')
@invalid_blueprint = GoodData::Model::ProjectBlueprint.from_json('./spec/data/blueprints/invalid_blueprint.json')
... | {
"content_hash": "575c6082b858e1b62328990047ae7d33",
"timestamp": "",
"source": "github",
"line_count": 642,
"max_line_length": 239,
"avg_line_length": 38.04828660436137,
"alnum_prop": 0.6387603880951406,
"repo_name": "korczis/app_store",
"id": "5766cf88d324a10acfea0b67f50b1c2a9abff3d8",
"size": "2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace Xamarin_PCL78
{
public class App
{
public static Page GetMainPage()
{
return new NavigationPage(new MainPage());
}
}
}
| {
"content_hash": "71b8fea725358db8547974dfc47e23cb",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 54,
"avg_line_length": 16.88235294117647,
"alnum_prop": 0.6376306620209059,
"repo_name": "moonmile/FSharp.Data.PCL",
"id": "9d90c3e7507c5b855566027e724d251640fb65c5",
"size... |
package android.support.v4.content;
import android.content.Context;
import android.graphics.drawable.Drawable;
import java.io.File;
class ContextCompatApi21
{
ContextCompatApi21()
{
}
public static File getCodeCacheDir(Context context)
{
return context.getCodeCacheDir();
}
publi... | {
"content_hash": "608cf3320c9fb5bae992f68efb1a23da",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 19.5,
"alnum_prop": 0.6941391941391941,
"repo_name": "Hamz-a/MyCTFWriteUps",
"id": "376db48e44ae14c82b53be25ff2967bf7b74c360",
"size": "721",
"bina... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Error** | [**Error**](Error.md) | | [optional]
**Metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
**Success** | **bool?** | Indicates if API call was successful | [optional]
**Warning** | [**Warn... | {
"content_hash": "174fa2126294b8a54e99762992b22137",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 161,
"avg_line_length": 52.1,
"alnum_prop": 0.564299424184261,
"repo_name": "UltraCart/rest_api_v2_sdk_csharp",
"id": "66d5a960a1e83b8a25066b0c980947573dfd653f",
"size": "5... |
<link rel="stylesheet" href="<?php echo baseUrl ?>assets/bower/trumbowyg/dist/ui/trumbowyg.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-maskmoney/3.0.2/jquery.maskMoney.min.js"></script>
<script src="<?php echo baseUrl ?>assets/bower/trumbowyg/dist/trumbowyg.min.js"></script>
<div id="panel" cla... | {
"content_hash": "e45c983c21c4899f9af6274b245e663b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 150,
"avg_line_length": 42.37837837837838,
"alnum_prop": 0.5924744897959183,
"repo_name": "dexternidia/redcomand",
"id": "d26ba6c1fa6a9d0db2b09168aa876822bf42499c",
"size":... |
package com.facebook.buck.android;
import com.facebook.buck.cxx.CxxPlatformUtils;
import com.facebook.buck.io.ProjectFilesystem;
import com.facebook.buck.model.BuildTarget;
import com.facebook.buck.rules.AbstractNodeBuilder;
import com.facebook.buck.rules.CommandTool;
import com.facebook.buck.rules.PathSourcePath;
im... | {
"content_hash": "bf4d89420a05e5c39488ca9d49f818ed",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 98,
"avg_line_length": 35.31944444444444,
"alnum_prop": 0.7333857648446717,
"repo_name": "grumpyjames/buck",
"id": "6e75b7ddf3728577f42d2b1575449aa7c28407c7",
"size": "3148... |
<?php
/**
* To unite the 5 parts of Kaspay API call
*/
class Kaspay_api_parameter {
/**
* @var string GET/POST/PUT/DELETE
*/
protected $verb;
/**
* @var string Full URL
*/
protected $url;
/**
* @var string User's identifier
*/
protected $uaccount;
/**
* @var int UNIX timestamp
*/
protected $t... | {
"content_hash": "1cdfe5b4391fad2ff84a4d4937d6bc0e",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 71,
"avg_line_length": 14.770491803278688,
"alnum_prop": 0.6137624861265261,
"repo_name": "kaspay/kaspay-php",
"id": "a07cc566e26283f46168b838ec53c32fc8204b3b",
"size": "90... |
var baseURL = window.location.protocol + "//" + window.location.host + "/";
/**
* prevent console.log errors on older browsers
*/
(function() {
var method;
var noop = function () {};
var methods = [
"assert", "clear", "count", "debug", "dir", "dirxml", "error",
"exception", "group", "groupC... | {
"content_hash": "6a76a1860eb66b8aa44b0f337c3a365b",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 128,
"avg_line_length": 26.614285714285714,
"alnum_prop": 0.6065485775630703,
"repo_name": "OxiAction/softwprakt",
"id": "c4b19b1bfe2bd2ecfeddb12e152d738ce5fd8ce0",
"size":... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Model_Protocol_deviation_form extends CI_Model {
function __construct() {
parent::__construct();
}
function all() {
$this->db->select('protocol_deviation_form.*');
$this->db->from('protocol_deviation... | {
"content_hash": "927f166111b2d1a8b5cb62cb16a74f8a",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 76,
"avg_line_length": 29.28301886792453,
"alnum_prop": 0.541881443298969,
"repo_name": "DeathEmpire/Subject-Management-Demo",
"id": "1965b7c3e5eeeb9b3e089694aa9c3592edb9f0b3... |
/*
官方文档:https://work.weixin.qq.com/api/doc#13473
*/
using Senparc.CO2NET.Helpers.Serializers;
using Senparc.NeuChar;
using Senparc.Weixin.CommonAPIs;
using Senparc.Weixin.Entities;
using Senparc.Weixin.Work.AdvancedAPIs.External;
using Senparc.Weixin.Work.AdvancedAPIs.External.ExternalJson;
using System.Collec... | {
"content_hash": "eafea3651025ac5d34be79ce5c38568e",
"timestamp": "",
"source": "github",
"line_count": 1852,
"max_line_length": 254,
"avg_line_length": 46.95194384449244,
"alnum_prop": 0.603680064401127,
"repo_name": "JeffreySu/WeiXinMPSDK",
"id": "0c7f8e0dbc448ad8aa416a49e7d29321e766b906",
"size"... |
layout: archive
title: "Useful for Developers"
permalink: /collection-archive/
author_profile: true
---
{% capture written_label %}'None'{% endcapture %}
{% for collection in site.collections %}
{% unless collection.output == false or collection.label == "posts" %}
{% capture label %}{{ collection.label }}{% en... | {
"content_hash": "5db6b8ee3e31782556571fa2623c89f8",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 33.72727272727273,
"alnum_prop": 0.6145552560646901,
"repo_name": "w9wen/w9wen.github.io",
"id": "05c0e7166f88e71b189e01ff20fbf393808d68bd",
"size": ... |
/* FileServer loads files from FileList.bin. Stores files in shared_files directory. */
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import ja... | {
"content_hash": "26b3cadb071610ec3ebb7fc62d51813a",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 93,
"avg_line_length": 32.16417910447761,
"alnum_prop": 0.582830626450116,
"repo_name": "Bryan-Heim/CodingSamples",
"id": "1ca36a323723221f253d32bac593b802af3e819a",
"size... |
module Announcer
RSpec.describe Subscription do
let(:event_name) { :name }
let(:params) { Hash.new }
subject { Subscription.new(event_name, params.merge(instance: Instance.new))}
context 'with string event name' do
let(:event_name) { 'name' }
it 'should convert event_name to symbol' do
... | {
"content_hash": "82fc9b6d3bb753acce31653f10d44fb4",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 95,
"avg_line_length": 30.4875,
"alnum_prop": 0.6084460844608446,
"repo_name": "ribbon/event_bus",
"id": "008dbfe3fc3db2b6b96facc2f5e950863cd53fbf",
"size": "2439",
"bina... |
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file:///C:/Program%20Files%20(x86)/Publican/DocBook_DTD/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
%BOOK_ENTITIES;
]>
<section id="roles">
<title>Roles</title>
<para>
The CloudPlatform API s... | {
"content_hash": "38fb4db510cc267cb1cae4d28471369c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 147,
"avg_line_length": 52.25,
"alnum_prop": 0.7308612440191388,
"repo_name": "cinderella/incubator-cloudstack",
"id": "8e027278c2487ec5bc9bff20eb028eaedb0385ec",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>weak-up-to: 21 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="... | {
"content_hash": "f4c3da04592dba17faa759ae0d6b0056",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 159,
"avg_line_length": 52.56038647342995,
"alnum_prop": 0.5799632352941176,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6ec3d694a627e2809ecbf996717138a8fa938589",
... |
<?php
namespace PHPExiftool\Driver\Tag\FLIR;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class AboveColor extends AbstractTag
{
protected $Id = 6;
protected $Name = 'AboveColor';
protected $FullName = 'FLIR::PaletteInfo';
... | {
"content_hash": "ffd29503dcec4910b171de8cd02d7936",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 46,
"avg_line_length": 15.783783783783784,
"alnum_prop": 0.6558219178082192,
"repo_name": "romainneutron/PHPExiftool",
"id": "44bf92e7799a4739b443d2d6ae8e57b8ec5e922e",
"si... |
<div class="navbar navbar-default navbar-static-top" ng-controller="NavbarCtrl">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" ng-click="isCollapsed = !isCollapsed">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span... | {
"content_hash": "83dc4a28daa799614199f08e18d46ff0",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 88,
"avg_line_length": 39.45,
"alnum_prop": 0.5906210392902408,
"repo_name": "richbs/secret-lana",
"id": "4213988d9727580f44f38d00e07dd38453324b0c",
"size": "789",
"binar... |
'use strict'
/* npm modules */
var Ajv = require('ajv');
var ajvErrors = require('ajv-errors')
/* exports */
module.exports = initGlobal
/**
* @function initGlobal
*
* initialize global data
*/
function initGlobal (args) {
// do nothing if global data already defined
if (global.__immutable_core_model__) ... | {
"content_hash": "7d828ea521ea3b2278eb19da9c2652e4",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 71,
"avg_line_length": 27.24,
"alnum_prop": 0.6240822320117474,
"repo_name": "warncke/immutable-core-model",
"id": "201478cacd8f112c63cc034a1fea3f88284ca6c8",
"size": "1362... |
package com.shansown.androidarchitecture.ui.bugreport;
import android.app.Dialog;
import android.content.Context;
import android.support.v7.app.AlertDialog;
import android.view.LayoutInflater;
import com.shansown.androidarchitecture.R;
import static com.shansown.androidarchitecture.ui.bugreport.BugReportView.Report;... | {
"content_hash": "cb0363b3ad3b702d220d6c11aa5f934f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 96,
"avg_line_length": 30.541666666666668,
"alnum_prop": 0.7551159618008185,
"repo_name": "ShansOwn/android-architecture",
"id": "45ebadcf66d2d91fa6fd938ba730a56d1d94ada7",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cours-de-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "14bc0e75921fdbcda14fe4eda9c79489",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 159,
"avg_line_length": 41.3719512195122,
"alnum_prop": 0.5357406042741342,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "fc13d87f67cb56fe801be5debafc2aabfe862b3e",
... |
package org.hisp.dhis.dxf2.metadata;
import java.util.Set;
/**
* Acts as a bridge between the importer and the persistence/cache layer.
* <p/>
* The flag {@code writeEnabled} is used to indicate if writing to the persistence layer
* is enabled or not.
*
* @author Morten Olav Hansen <mortenoh@gmail.com>
*/
pu... | {
"content_hash": "11f3ccbc1cf87a88095c1bb0c0e02ed3",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 116,
"avg_line_length": 29.805825242718445,
"alnum_prop": 0.6400651465798045,
"repo_name": "kakada/dhis2",
"id": "b73bd0968e76b9ce7e2c1fe4b92d2eba3589a40c",
"size": "4633"... |
#include <aws/ec2/model/MemoryMiBRequest.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::Utils::Xml;
using namespace Aws::Utils;
namespace Aws
{
namespace EC2
{
namespace Model
{... | {
"content_hash": "f9cf87c38982b4498e00975682a4be5c",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 135,
"avg_line_length": 22.40909090909091,
"alnum_prop": 0.6526369168356998,
"repo_name": "cedral/aws-sdk-cpp",
"id": "f7d0f71f094a5b0a279c50c8831e5ab60ab8070d",
"size": "2... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template otherwise</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../index.html" title=... | {
"content_hash": "0f6020ee7bc00d28f2c251951e261679",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 751,
"avg_line_length": 92.4054054054054,
"alnum_prop": 0.6623281661304475,
"repo_name": "babycaseny/poedit",
"id": "7d31b189a423bdec2befa15f15aabb88a454220e",
"size": "683... |
import {TmplAstTemplate} from '@angular/compiler';
import ts from 'typescript';
import {absoluteFrom, getSourceFileOrError} from '../../file_system';
import {runInEachFileSystem} from '../../file_system/testing';
import {getTokenAtPosition} from '../../util/src/typescript';
import {CompletionKind, GlobalCompletion, ... | {
"content_hash": "8f0d8ea1336978576ee08f19204b217c",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 99,
"avg_line_length": 38.227586206896554,
"alnum_prop": 0.6379217030488905,
"repo_name": "gkalpak/angular",
"id": "d6b0b763b743d9116401db6793a8ac8b29f0f9df",
"size": "574... |
package org.loofer.weread.mvp.presenter;
import android.app.Application;
import android.content.Intent;
import android.net.Uri;
import android.view.View;
import org.loofer.framework.base.DefaultAdapter;
import org.loofer.framework.di.scope.ActivityScope;
import org.loofer.framework.mvp.BasePresenter;
import org.loofe... | {
"content_hash": "67edf5a0010b65aba3315b3e0a04b236",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 140,
"avg_line_length": 37.01657458563536,
"alnum_prop": 0.5240298507462686,
"repo_name": "Loofer/WeRead",
"id": "d3d771b879fad24d6f795b389ae6df6145ca8ba0",
"size": "6880"... |
// MIT © 2017 azu
"use strict";
const fs = require("fs");
import {UseCase} from "almin";
import textlintAppRepository from "../../infra/repository/TextlintAppRepository";
export default class OpenNewFileUseCase extends UseCase {
static create() {
return new this({textlintAppRepository});
}
constru... | {
"content_hash": "cdfa5f7616fbfc7b733604efa2b5d5bd",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 81,
"avg_line_length": 29.20689655172414,
"alnum_prop": 0.5962219598583235,
"repo_name": "textlint/textlint-app",
"id": "f6088ddf51a6a935341c2a9fa10a835aacfe8ce0",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.