text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HKN EOH 2015 Spark Demo</title>
<!-- ratchet meta -->
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<!-- Makes your prototype chrome-less once bookmarked to y... | {
"content_hash": "11b68aefceece8f71a8819c6e62d37e0",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 353,
"avg_line_length": 38.914529914529915,
"alnum_prop": 0.5774214803426312,
"repo_name": "kashev/spark-eoh-demo",
"id": "a8a890b3fe67d0df473ab4f608f182f04f68cdd8",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Nov 12 13:03:03 UTC 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... | {
"content_hash": "f8200edfcb349ee9bbe27757e94a932f",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 325,
"avg_line_length": 42.22360248447205,
"alnum_prop": 0.6479847013827597,
"repo_name": "SoCe/SoCe",
"id": "c377d3fbeaff6c08d84200eb479bb83868d7e552",
"size": "6798",
... |
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main"><source path="/Users/jbur0473/Documents/workspace/AdMobBanner/app/src/androidTest/assets"/></dataSet></merger> | {
"content_hash": "58d7cf40348fb6ed96e0bc6d358b589b",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 153,
"avg_line_length": 96,
"alnum_prop": 0.7447916666666666,
"repo_name": "JordanBurnett1210/AdMobBanner",
"id": "3b9c55e88c5a2b3a5e9eaa44c39462346af14958",
"size": "192",
... |
<img src="https://raw.githubusercontent.com/Urucas/zoster/master/logo.png" />
# Zoster [](https://travis-ci.org/Urucas/zoster)
Zoster is a simple way to automate deep linking url testing on Android, by simply setting a few capabilities and maybe wri... | {
"content_hash": "7208293d73e4cfd41ab726f25cdee83e",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 257,
"avg_line_length": 39.89320388349515,
"alnum_prop": 0.7060111949379411,
"repo_name": "Urucas/zoster",
"id": "fb0f61707c99ba0cbe8989db2f39144f90ce2636",
"size": "4109"... |
<div ng-controller="playerSelection as player" class=" centre animated fadeInDownBig">
<h1>Select Your Players</h1>
<h3>{{player.playerSelection.player1 | uppercase}} vs {{player.playerSelection.player2 | uppercase}}</h3>
<div ng-click="player.playerSelection.togglePlayer(1)" class="{{player.playerSelection... | {
"content_hash": "75d652d00189418492387c0b84bde5e2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 109,
"avg_line_length": 54.69230769230769,
"alnum_prop": 0.7032348804500703,
"repo_name": "domTombola/Noughts-and-Crosses",
"id": "cd2f5de47b55a00e335510e00d925271a27c624e",
... |
<?php
namespace core\components\vcs;
use core\components\Component;
use core\exceptions\components\vcs\StageException;
use core\exceptions\components\vcs\VCSException;
use core\helpers\PathHelper;
use core\helpers\JSONHelper;
use core\interfaces\vcs\StageInterface;
class VCS extends C... | {
"content_hash": "ca7fb72fa2e6d7fdbe09bb6418658d90",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 139,
"avg_line_length": 36.74752475247525,
"alnum_prop": 0.5239121648929005,
"repo_name": "savchukoleksii/beaversteward",
"id": "6d4932e68b56354c75da7bb9ecffb32fd8455bb1",
... |
/**
* THIS FILE IS AUTO-GENERATED
* DON'T MAKE CHANGES HERE
*/
import { absDependencies } from './dependenciesAbs.generated';
import { addDependencies } from './dependenciesAdd.generated';
import { identityDependencies } from './dependenciesIdentity.generated';
import { invDependencies } from './dependenciesInv.gene... | {
"content_hash": "9c837e07b5948d301b4318c02c070ff0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 72,
"avg_line_length": 44.535714285714285,
"alnum_prop": 0.7947072975140337,
"repo_name": "Michayal/michayal.github.io",
"id": "cf450f5311eb4f6a0c6a5f9663a3077aa3b5d8c9",
"... |
<?php
namespace Loren138\CASServer\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
class CASTicket extends Model
{
/*
CREATE TABLE dbo.CASTicket (
id VARCHAR(32) PRIMARY KEY NOT NULL,
authenticationId bigint FOREIGN KEY REFERENCES dbo.CASAuthentication(id),
servi... | {
"content_hash": "aa347407d90d0d6a723f037d0aa828ca",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 117,
"avg_line_length": 27.36774193548387,
"alnum_prop": 0.5568128241395568,
"repo_name": "loren138/cas-server",
"id": "8c755bacd1fb2724b9b451188cf8785238e26ebf",
"size": ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | {
"content_hash": "4383c2cca95a4fd6af753b6ac57700bb",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 35.758620689655174,
"alnum_prop": 0.7405978784956606,
"repo_name": "newnottakenname/FollowshowsWP",
"id": "2747848eadd19552b1a72ede09e57a22856f8609",
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vibrant.Tsdb.Helpers;
namespace Vibrant.Tsdb.Sql.Serialization
{
internal static class SqlSerializer
{
public static BinaryReader CreateReader( Stream stream )
{... | {
"content_hash": "82e160ce6050857a92c75317e9790ece",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 114,
"avg_line_length": 28.89156626506024,
"alnum_prop": 0.5996663886572143,
"repo_name": "MikaelGRA/Tsdb",
"id": "b91b14d658e850411887847aee60914dce398c5f",
"size": "2400"... |
<HTML><HEAD>
<TITLE>Review for Scream (1996)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0117571">Scream (1996)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?David+Landers">David Land... | {
"content_hash": "a467147900a3cac3911984090eb905f4",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 194,
"avg_line_length": 67.62222222222222,
"alnum_prop": 0.7394019060138022,
"repo_name": "xianjunzhengbackup/code",
"id": "b5717ebea07bd86be5b37c095eab3b882a767cd9",
"size... |
require 'spec_helper'
RSpec.describe 'Creation of a new commit' do
include GraphqlHelpers
let_it_be(:current_user) { create(:user) }
let_it_be(:project) { create(:project, :public, :repository) }
let(:input) { { project_path: project.full_path, branch: branch, message: message, actions: actions } }
let(:bra... | {
"content_hash": "2a1287a540e1be83184ec02a806fd99d",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 105,
"avg_line_length": 28.836734693877553,
"alnum_prop": 0.6510969568294409,
"repo_name": "mmkassem/gitlabhq",
"id": "ac4fa7cfe83e208c7f178f554ed9d2594ef95178",
"size": "1... |
import pyaf.Bench.TS_datasets as tsds
import tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 5, transform = "Logit", sigma = 0.0, exog_count = 100, ar_order = 12); | {
"content_hash": "327b40af5616683db9e9f101d1750b69",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 167,
"avg_line_length": 38.142857142857146,
"alnum_prop": 0.7078651685393258,
"repo_name": "antoinecarme/pyaf",
"id": "a383373f2a4acb9cd18114f6129efe16e4725870",
"size": "26... |
<bill session="111" type="s" number="112" updated="2009-03-07T13:45:24-05:00">
<status><introduced date="1231218000" datetime="2009-01-06"/></status>
<introduced date="1231218000" datetime="2009-01-06"/>
<titles>
<title type="official" as="introduced">A bill to treat certain hospital support organizations as qual... | {
"content_hash": "b97b0667818e479915b7945a591e1549",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 249,
"avg_line_length": 43.72222222222222,
"alnum_prop": 0.7407878017789072,
"repo_name": "hashrocket/localpolitics.in",
"id": "3741d55935d377cfc57a6fbaae60459eda405baa",
"... |
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: *");
header("Access-Control-Allow-Headers: *");
header('X-Powered-By:0xBADCAB1E');
if(isset($_GET['rd'])) {
if(is_numeric($_GET['rd'])) {
$rd = ($_GET['rd']+1);
if($rd < 5) {
header("Location: http://cdn.simon.waldhe... | {
"content_hash": "dcd16b8ad53d9183988b35bf88c27351",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 97,
"avg_line_length": 32.371428571428574,
"alnum_prop": 0.5979699911738746,
"repo_name": "TheGlycerine/Nux",
"id": "248f83785f4ed078441bcdded7fa45e33ec4f4be",
"size": "226... |
package org.assertj.core.api.byte_;
import static org.mockito.Mockito.verify;
import org.assertj.core.api.ByteAssert;
import org.assertj.core.api.ByteAssertBaseTest;
/**
* Tests for <code>{@link ByteAssert#isNotPositive()}</code>.
*
* @author Nicolas François
*/
class ByteAssert_isNotPositive_Test extends Byt... | {
"content_hash": "ae268467e6dd29b9cde6b743a1c06192",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 82,
"avg_line_length": 22.53846153846154,
"alnum_prop": 0.7457337883959044,
"repo_name": "assertj/assertj-core",
"id": "526878912b6ee484403ae5b6e95a4587d1e49e95",
"size": "... |
<?php
Header( 'Cache-Control: no-cache, must-revalidate');
Header( 'Pragma: no-cache');
error_reporting(E_ALL | E_NOTICE | E_STRICT | E_WARNING );
ini_set('display_errors', 1);
define('litepublisher_mode', 'xmlrpc');
include('index.php');
litepublisher::$debug = true;
set_time_limit(300);
$p = tme... | {
"content_hash": "ebaaadaeca71e27f6d2c42e3b77f9776",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 64,
"avg_line_length": 27.962962962962962,
"alnum_prop": 0.6423841059602649,
"repo_name": "litepubl/cms",
"id": "769b06352465054dce3332dcfec3e3255aa73873",
"size": "755",
... |
import * as utils from '../src/utils.js';
import {registerBidder} from '../src/adapters/bidderFactory.js';
import { Renderer } from '../src/Renderer.js';
import { VIDEO, BANNER } from '../src/mediaTypes.js';
import { config } from '../src/config.js';
const BIDDER_CODE = 'trustx';
const ENDPOINT_URL = 'https://sofia.tr... | {
"content_hash": "8f8c54a0885dd04f97551b2a41e14547",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 122,
"avg_line_length": 27.663282571912013,
"alnum_prop": 0.623524374579485,
"repo_name": "mcallari/Prebid.js",
"id": "247a1f6d048f0d9a8d1153cfa36f4cea9fd07527",
"size": "... |
extern NSTimeInterval const kShortToastDuration;
extern NSTimeInterval const kLongToastDuration;
@class UILabel;
@interface BPToast : NSObject{
UILabel *_toastLabel;
}
- (instancetype)initWithText:(NSString *)text;
@property (readonly, nonatomic) NSString *text;
- (void)show;
- (void)showWithDuration:(NSTim... | {
"content_hash": "289a7084a9b0f3ae0e9f73d9a6ea762a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 82,
"avg_line_length": 20.14814814814815,
"alnum_prop": 0.7628676470588235,
"repo_name": "mikeooye/BPKITs",
"id": "f45350483b019cc40f11e6d28674af04767c5549",
"size": "734",... |
namespace ParentLoad.DataAccess.ERCLevel
{
public partial interface IB07_Country_ChildDal
{
}
}
| {
"content_hash": "38edbb814767b784cb66bbcb101e53bb",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 19,
"alnum_prop": 0.6842105263157895,
"repo_name": "CslaGenFork/CslaGenFork",
"id": "834517bd2ef0909ab1fb81163338e09f1859041b",
"size": "114",
"bina... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ce35378eed252a324b1f2a347ebd51a6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "07675bcb3d6f689862a2e9816b790b0d29a315f2",
"size": "187... |
// -*- C++ -*-
//==========================================================================
/**
* @file SV_Message.h
*
* $Id: SV_Message.h 74005 2006-08-14 11:30:00Z johnnyw $
*
* @author Doug Schmidt
*/
//==========================================================================
#ifndef ACE_SV_MESSAGE_H... | {
"content_hash": "28f77734e8af1f022a001055beef469e",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 76,
"avg_line_length": 18.71641791044776,
"alnum_prop": 0.5550239234449761,
"repo_name": "eSDK/esdk_uc_plugin_ucservice",
"id": "f6bd95f5bada66bdc6e6e579088886a1a1b147ac",
... |
__version__ = '0.1.2'
from .widgets import BootstrapSelect # noqa
| {
"content_hash": "4a10ee5808f1dedceb29d559d20c69d7",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 44,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.6764705882352942,
"repo_name": "voxy/django-bootstrap-select",
"id": "2c20c23b38596cc288d9db4ba279936e88549464",
"... |
<?php
namespace Cloudtek\DynamoDM\Test\Functional;
use Cloudtek\DynamoDM\Mapping\Annotation as ODM;
use MongoId;
class EmbeddedIdTest extends \Cloudtek\DynamoDM\Test\BaseTest
{
public function testEmbeddedIdsAreGenerated()
{
$test = new DefaultIdEmbeddedDocument();
$this->dm->persist($test);... | {
"content_hash": "765d745cc368e91f420d02dcd8078bac",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 193,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.6702393712040015,
"repo_name": "cloudtek/dynamodb-odm",
"id": "6c532bd80c159b6401242337770b338d0f803866",
"size... |
(function() {
var Async, NwGlobal, app, appConfig;
Async = require('async');
NwGlobal = require('nwglobal');
app = angular.module('CBLandingPage.controllers.appInstance', ['CBLandingPage.models', 'CBLandingPage.services']);
appConfig = cloudbrowser.parentAppConfig;
app.controller('AppInstanceCtrl', [
... | {
"content_hash": "8c26494c36fcc2f79d9d8cc7bdf16e27",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 116,
"avg_line_length": 34.39887640449438,
"alnum_prop": 0.5446676465784746,
"repo_name": "bladepan/cloudbrowser",
"id": "df8b5e16f818f7ddf5730140c3e0d9430ddfd569",
"size"... |
from rest_framework import status
from rest_framework.response import Response
from rest_framework_bulk import generics as bulk_generics
from rest_framework.exceptions import PermissionDenied, ValidationError
from django.db.models import Q
from api.base.settings import BULK_SETTINGS
from api.base.exceptions import Con... | {
"content_hash": "2783ba18cef675c76d51a245793194fa",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 128,
"avg_line_length": 39.263803680981596,
"alnum_prop": 0.64203125,
"repo_name": "HalcyonChimera/osf.io",
"id": "11a18da07481eae9109f5dfa6bb0c227eaedf61b",
"size": "6400... |
#include <iostream>
#include "SpinWaveGenie/Interactions/ExchangeInteractionSameSublattice.h"
#include "SpinWaveGenie/Genie/Neighbors.h"
#include "SpinWaveGenie/Memory.h"
using namespace std;
using namespace Eigen;
namespace SpinWaveGenie
{
ExchangeInteractionSameSublattice::ExchangeInteractionSameSublattice(string ... | {
"content_hash": "2c9114dc8826fb7ae449b2b34d8a0303",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 120,
"avg_line_length": 32.3448275862069,
"alnum_prop": 0.6481876332622601,
"repo_name": "peterfpeterson/SpinWaveGenie",
"id": "a43a63a54fac03cbfa7ca827e3d8fef4cdd1cfe5",
"... |
using namespace llvm;
#define DEBUG_TYPE "block-placement2"
STATISTIC(NumCondBranches, "Number of conditional branches");
STATISTIC(NumUncondBranches, "Number of uncondittional branches");
STATISTIC(CondBranchTakenFreq,
"Potential frequency of taking conditional branches");
STATISTIC(UncondBranchTakenFreq,
... | {
"content_hash": "d7d012f66a2179109e39ebdba8cb0dce",
"timestamp": "",
"source": "github",
"line_count": 1159,
"max_line_length": 80,
"avg_line_length": 41.23554788610871,
"alnum_prop": 0.6430574154670238,
"repo_name": "Fairly/opencor",
"id": "33ae573407e3dafcecd2bdfa6a2c54b4ec6fa17c",
"size": "4983... |
require 'qtc/client'
require_relative '../common'
module Qtc::Cli::Platform
class SshKeys
include Qtc::Cli::Common
def list
response = platform_client.get('/user/ssh_keys')
response['results'].each do |ssh_key|
say "~ #{ssh_key['name']}"
end
end
def create(options)
r... | {
"content_hash": "02e7bcf896c7416f614a7785836dfe72",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 83,
"avg_line_length": 28.4390243902439,
"alnum_prop": 0.6166380789022299,
"repo_name": "qtcloudservices/qtc-sdk-ruby",
"id": "5913fe9a251effc8f826b2db75b7ca1e0783e743",
"s... |
namespace MCEBuddy.GUI
{
partial class StatusForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | {
"content_hash": "1bbfb4569ee6fa44762718e5a8b99b54",
"timestamp": "",
"source": "github",
"line_count": 610,
"max_line_length": 173,
"avg_line_length": 59.20327868852459,
"alnum_prop": 0.6441546214764358,
"repo_name": "AshitakaLax/MCE-Clean-Buddy",
"id": "7508da65d12b162a4269e2c41fdef342a9f24415",
... |
var earcut = require('earcut');
import { polygon } from '@turf/helpers';
/**
* Tesselates a {@link Feature<Polygon>} into a {@link FeatureCollection<Polygon>} of triangles
* using [earcut](https://github.com/mapbox/earcut).
*
* @name tesselate
* @param {Feature<Polygon>} poly the polygon to tesselate
* @returns ... | {
"content_hash": "a7b6f3e1339ee197d7f00f690641f9ac",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 104,
"avg_line_length": 29.355263157894736,
"alnum_prop": 0.5894217839533842,
"repo_name": "hooplert/jesper",
"id": "0416a9002056abc24c11a63e99032eaf4bbe5765",
"size": "223... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/aotarolaalvarad/AndroidStudioProjects/MySimpleTweets/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.0/res/values-w500dp/values-w500dp.xml -->
<eat-comment/>
<integer name="abc_max_action_buttons">4</integer... | {
"content_hash": "27218a40bd89563c2e3edeb3bf320a39",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 196,
"avg_line_length": 55.666666666666664,
"alnum_prop": 0.7395209580838323,
"repo_name": "aotarola/x-twit",
"id": "e0f8118fa686f56febffed421bbd4cabf24744fa",
"size": "334"... |
package org.apache.hc.client5.http.impl.classic;
import java.io.IOException;
import java.io.InputStream;
import org.apache.hc.client5.http.HttpResponseException;
import org.apache.hc.core5.http.ClassicHttpResponse;
import org.apache.hc.core5.http.HttpEntity;
import org.apache.hc.core5.http.io.entity.EntityUtils;
im... | {
"content_hash": "a0f08bd2536de485c5316e73d55a9ad0",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 117,
"avg_line_length": 38.03225806451613,
"alnum_prop": 0.7145886344359627,
"repo_name": "UlrichColby/httpcomponents-client",
"id": "24b297571a37dc32ebc57ef59800f8478f7e9128... |
<?php
namespace MCNElasticSearch\Service\Document\Writer\Exception;
use MCNElasticSearch\Service\Exception as ServiceException;
/**
* Class InvalidArgumentException
*/
class InvalidArgumentException extends ServiceException\InvalidArgumentException
{
}
| {
"content_hash": "a9b10df877b8c7060fb4dd299cede4ad",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 80,
"avg_line_length": 19.923076923076923,
"alnum_prop": 0.833976833976834,
"repo_name": "macnibblet/MCNElasticSearch",
"id": "abf17328453fd53257726c8bad6d28af0855d7d1",
"s... |
package com.atlassian.theplugin.jira.api;
public interface JIRAProject extends JIRAQueryFragment {
String getKey();
String getUrl();
String getLead();
String getDescription();
}
| {
"content_hash": "79ebb4716d645e3aa38931b22a5b0cd5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 15.384615384615385,
"alnum_prop": 0.71,
"repo_name": "joewalnes/idea-community",
"id": "ea3b4946e671e31e5f808a220c3ba207bb99dd2a",
"size": "799",
"... |
module SettingsHelper
def timeago(time)
if time.nil?
'N/A'
else
content_tag(:time, time.to_s(:feed), datetime: time.utc.iso8601, class: 'timeago', title: "Last updated: #{time.to_s(:feed)}" )
end
end
end
| {
"content_hash": "75fa36085a23df275a235400fd793078",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 133,
"avg_line_length": 25.77777777777778,
"alnum_prop": 0.6206896551724138,
"repo_name": "azukiapp/feedbin",
"id": "5c2cd272f5688f31edc354515dca463fe93e70d5",
"size": "232"... |
import _Object$getPrototypeOf from "@babel/runtime-corejs3/core-js/object/get-prototype-of";
import _Object$setPrototypeOf from "@babel/runtime-corejs3/core-js/object/set-prototype-of";
export default function _getPrototypeOf(o) {
_getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getProtot... | {
"content_hash": "63ad49ca54ddf184f3206aab148e003f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 99,
"avg_line_length": 52.375,
"alnum_prop": 0.7565632458233891,
"repo_name": "ChromeDevTools/devtools-frontend",
"id": "193b6325f85c58503118b3ee086eae28ca1ea576",
"size": "... |
DROP FUNCTION IF EXISTS photo.get_gps(INTEGER);
CREATE OR REPLACE FUNCTION photo.get_gps
(
_photo_id INTEGER,
_roles TEXT[]
)
RETURNS TABLE
(
source_latitude REAL,
source_longitude REAL,
override_latitude REAL,
override_longitude REAL
)
LANGUAGE SQL
AS $$
SELECT DISTINCT
p.gps_l... | {
"content_hash": "e31339c1124ea09417c8f0191eff7083",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 72,
"avg_line_length": 24.352941176470587,
"alnum_prop": 0.6618357487922706,
"repo_name": "AerisG222/mikeandwan.us",
"id": "b86294ab3d166b81e4d7af254d98bee4353bf62e",
"size... |
'use strict';
angular.module( 'com.teachscape.coding' ).filter( 'date', function(){
return function( input ){
if( typeof input === "undefined" ){ return ""; } //nothing to format
var date = new Date( input );
return date.getMonth() + "/" + date.getDate() + "/" + date.getUTCFullYear();
}
} ); | {
"content_hash": "9a192f5a39cfe3c9eb6929ac49e79939",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 27.727272727272727,
"alnum_prop": 0.6131147540983607,
"repo_name": "webnesto/com.teachscape.coding",
"id": "527445243e241edbdda2cc93cb18c6fdc7a1a519",
... |
#ifndef _OGREBULLETCOLLISIONS_MinkowskiSumShape_H
#define _OGREBULLETCOLLISIONS_MinkowskiSumShape_H
#include "OgreBulletCollisionsPreRequisites.h"
#include "OgreBulletCollisionsShape.h"
namespace OgreBulletCollisions
{
// -------------------------------------------------------------------------
// basic Mi... | {
"content_hash": "8eaa544b5f5e30d977ee9f24cdcca560",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 80,
"avg_line_length": 26.17391304347826,
"alnum_prop": 0.6843853820598007,
"repo_name": "HATtrick-games/ICT312",
"id": "af9a6dd9da6a7199b480af942888334a377729e4",
"size": ... |
$(document).ready(function () {
var obj = window.dialogArguments;
if (obj)
{
if (obj.IsDetails)
{
ideaDerivedId = obj.IdeaDerivedId;
ShowDetails(ideaDerivedId);
if (obj.Status == "success") {
$("#submitBtn").hide();
}
... | {
"content_hash": "970749fcbb535ddf78b8bfc01cd42d17",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 289,
"avg_line_length": 35.46682464454976,
"alnum_prop": 0.5033072760072159,
"repo_name": "QiQi57/TestGulpCmd",
"id": "f1ad79a7e9b9e8ba2b292a9e31f1c8657bea680c",
"size": "... |
#include "db_config.h"
#include "db_int.h"
/* vxworks API to get system clock rate */
int sysClkRateGet (void);
/*
* __os_yield --
* Yield the processor, optionally pausing until running again.
*/
void
__os_yield(env, secs, usecs)
ENV *env;
u_long secs, usecs; /* Seconds and microseconds. */
{
int ticks_del... | {
"content_hash": "c2974417e03307f61699d8681ec31724",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 71,
"avg_line_length": 25.488372093023255,
"alnum_prop": 0.6605839416058394,
"repo_name": "genehallman/node-berkeleydb",
"id": "1a588d3eddb7e9560fa4ee8434f488c30563154b",
"... |
layout: post100
title: Advanced Configuration
categories: XAP100
parent: maven-plugin.html
weight: 100
---
This page contains information beyond the basics. It was created for those who want to know a little bit more about how OpenSpaces and Maven integrate. Basically, the information given in [OpenSpaces Ma... | {
"content_hash": "d40b1788025dfd19e0b64d636c3a8afd",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 353,
"avg_line_length": 45.144,
"alnum_prop": 0.7226652489810385,
"repo_name": "yuvaldori/gigaspaces-wiki-jekyll",
"id": "aedb507f4c29943727490036f0507367a95c83a2",
"size"... |
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/DefaultRetryStrategy.h>
#include <aws/core/platform/OSVersionInfo.h>
#include <aws/core/utils/memory/AWSMemory.h>
#include <aws/core/utils/threading/Executor.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <aws/core/Version... | {
"content_hash": "5889e845cb86ccc986862d09a4a1b8a9",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 110,
"avg_line_length": 29.617021276595743,
"alnum_prop": 0.7363505747126436,
"repo_name": "chiaming0914/awe-cpp-sdk",
"id": "5dc7e01134a793f5281908b14645d6da209280f5",
"si... |
from .client import CampaignBudgetServiceClient
__all__ = ("CampaignBudgetServiceClient",)
| {
"content_hash": "8993b8bf3376cc4ecb5b69a256f17416",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 47,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.7934782608695652,
"repo_name": "googleads/google-ads-python",
"id": "dc744cac0029aaa885563dc81d6847aaee7eebc8",
"s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Bull. Soc. mycol. Fr. 34(1-2): 73 (1918)
#### Original name
Bertia collapsa Romell, 1889
### Remarks
null | {
"content_hash": "a972adc9dc10ff02fdbd764fd258b7dd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 14.923076923076923,
"alnum_prop": 0.6855670103092784,
"repo_name": "mdoering/backbone",
"id": "237100852680aa940425ee41cd370d3ea2ca3604",
"size": "26... |
package com.kevinquan.cwa.model.creatures.corn;
public class CornLord extends AbstractCornCreature {
@SuppressWarnings("unused")
private static final String TAG = CornLord.class.getSimpleName();
public CornLord() {
super("Corn Lord", 5, Rarity.AlgebraicRare);
mDescription = "Choose a... | {
"content_hash": "4ccd8a52e4f878f06482a28e8c02de7e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 74,
"avg_line_length": 31.714285714285715,
"alnum_prop": 0.6816816816816816,
"repo_name": "kquan/card-wars-almanac",
"id": "39f5c2837eb01a4e5c9a4f503fac3d04983e06f1",
"size... |
- [Creating objects to store information](creating-objects.md)
- [Getting aliases of a command](getting-aliases-of-a-command.md)
- [Getting strings from objects](getting-strings-from-objects.md)
- [Select strings from an input](select-strings-from-input.md)
- [Testing a command before executing it](testing-command.md)
... | {
"content_hash": "f6bc3769555a1d70127e490eae10cc55",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 71,
"avg_line_length": 45.9,
"alnum_prop": 0.7363834422657952,
"repo_name": "weirdpattern/tipit",
"id": "9bf47866e57dfbedf408ffe0f9c4186fd2153e99",
"size": "487",
"binary... |
@interface ResponseTableViewCell : UITableViewCell
@property (nonatomic) NSString *cellTitle;
@property (nonatomic) NSString *cellDetails;
@end
| {
"content_hash": "5c7e63654a7595bfd3b91cdf4a5e75e0",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 24.333333333333332,
"alnum_prop": 0.8082191780821918,
"repo_name": "Ares42/Guidebox",
"id": "c93edc1b85a17c1df885d1881b04e671365f9c8a",
"size": "258",... |
package chatty.bot.Run;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import chatty.bot.Accounts.Account;
import chatty.bot.Accounts.AccountManager;
import chatty.bot.Run.RunBot.Sender;
import chatty.bot.Spam.ComposedSpam;
import chatty.bot.commands.CmdRunInput;
import cha... | {
"content_hash": "83643bf0885764a25826a0c4d380043e",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 86,
"avg_line_length": 26.512820512820515,
"alnum_prop": 0.718568665377176,
"repo_name": "Jolicost/ChattyTpp",
"id": "6c4b635a0cf271e9f8be707ef8e32224bc6a1c09",
"size": "10... |
/**
* Last Revision Information (full log at bottom of file)
*
*
* RELEASED WITH THE SWA PART OF LIBSVX.
* THIS IS A UTILITY FILE THAT IS USED IN THE SWA PROCESSING.
*
* THIS CODE IS RELEASED UNDER THE MIT-LIKE LICENSE INCLUDED
* WITH THE SOURCE CODE.
*
* CONTACT jcorso@buffalo.edu FOR ANY QUESTIONS.
*
*... | {
"content_hash": "ab5c20f89511ecec0e7a4303465de614",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 114,
"avg_line_length": 31.139303482587064,
"alnum_prop": 0.7025083879213931,
"repo_name": "zhefan/ObjectFlow",
"id": "c7b857e99e0fac6322eae9cc7eff643688b4e190",
"size": "... |
package honor
import ranking.common.EvolutionBase
import scala.collection.breakOut
object Fetishism extends HonorCategory {
import com.ponkotuy.value.ShipIds._
override def category: Int = 18
override def comment: String = "対象艦娘の合計Lvを一定以上"
val groups = Vector(
FetiGroup("メガネフェチ", Set(Mochizuki, Chokai... | {
"content_hash": "6158f2c151580825b5a71bc46461fc36",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 117,
"avg_line_length": 27.870967741935484,
"alnum_prop": 0.6689814814814815,
"repo_name": "b-wind/MyFleetGirls",
"id": "c80a1c6a1d5ba634868dfc939df6b93f1afa2891",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 o... | {
"content_hash": "c65dfc1fa1ec34899ea7f4e0baffac46",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 204,
"avg_line_length": 38.609756097560975,
"alnum_prop": 0.6873025900189513,
"repo_name": "charithag/carbon-device-mgt-plugins",
"id": "fef0fd4a4f6b85edebe076d6680009ed10f77... |
package com.ding.smallweather.util;
public class AddressUtils {
//不确定代码的城市
public static String countyCode_address = "http://www.weather.com.cn/data/list3/city";
public static String countyCode_address1 = "http://wthrcdn.etouch.cn/weather_mini?citykey=";
//城市列表
public static String city_address = "http://www.we... | {
"content_hash": "a660baaf8bbeba2f2e3ce921c906653c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 93,
"avg_line_length": 34.888888888888886,
"alnum_prop": 0.7372611464968153,
"repo_name": "ding327/SmallWeather",
"id": "e044e88923c39fd9a6979cf7c7f5f9b6a856f39e",
"size": ... |
namespace LessGravity.Engine.Graphics.Shaders
{
public enum ShaderType
{
Undefined = 0,
ComputeShader,
DomainShader,
GeometryShader,
HullShader,
PixelShader,
VertexShader
}
} | {
"content_hash": "5678374a72d2ca71959df88295b2982e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 18.692307692307693,
"alnum_prop": 0.588477366255144,
"repo_name": "deccer/LessGravity",
"id": "5a8a419c22c69b15f7dbc9f19f309ce5cf20b020",
"size": "24... |
using System;
namespace LNF.Billing
{
public class StoreDataCleanItem
{
public int StoreDataID { get; set; }
public int ClientID { get; set; }
public int ItemID { get; set; }
public DateTime OrderDate { get; set; }
public int AccountID { get; set; }
public decim... | {
"content_hash": "102aba5f53d8eb740639957b66c25fc6",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 54,
"avg_line_length": 30.27777777777778,
"alnum_prop": 0.5963302752293578,
"repo_name": "lurienanofab/lnf",
"id": "9ecd8067cd8a090ee08801d838f4e16ac5776201",
"size": "547"... |
import subprocess
import sys
import shlex
def runcmd(cmd):
return subprocess.check_output(shlex.split(cmd)).decode('utf8').split('\n')
def getsrpm(rpm):
rpminfo = runcmd(f'rpm -qi {rpm}')
for inf in rpminfo:
if inf.startswith('Source RPM'):
srpm = inf.split(':', 1)[1].strip()
... | {
"content_hash": "27b27d344cda954c12099bbc34bb3004",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 23.53191489361702,
"alnum_prop": 0.5840867992766727,
"repo_name": "xcat2/confluent",
"id": "99bb848444f534ef765381bc916ec8a96a1dfe04",
"size": "1106"... |
package jj.webdriver.panel;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.*;
import jj.webdriver.panel.ByStack;
import org.junit.Test;
/**
* @author jason
*
*/
public class ByStackTest {
@Test
public void test() {
ByStack b = new ByStack();
assertThat(b.resolve("hi"), is("hi... | {
"content_hash": "25c4bde6d37113ff4795875d3cf3cc60",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 17.714285714285715,
"alnum_prop": 0.6592741935483871,
"repo_name": "heinousjay/Pandia",
"id": "06f14a7fb993b54043016557a83c0855d5067689",
"size": "10... |
package com.google.auth.oauth2;
import static org.junit.Assert.assertEquals;
import com.google.api.client.json.GenericJson;
import com.google.api.client.json.JsonFactory;
import com.google.api.client.json.JsonObjectParser;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.nio.... | {
"content_hash": "f359a354044d4511ec3a41d0e166b6ab",
"timestamp": "",
"source": "github",
"line_count": 515,
"max_line_length": 152,
"avg_line_length": 44.72233009708738,
"alnum_prop": 0.7279437304619659,
"repo_name": "googleapis/google-auth-library-java",
"id": "fd2c26d12254f8ba3959c40cdd69ec817d2c7... |
/* GET home page. */
exports.index = function(req, res){
res.render('index');
};
| {
"content_hash": "5a924c1659724f51d8c8df1ef30dd361",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 35,
"avg_line_length": 21.75,
"alnum_prop": 0.5862068965517241,
"repo_name": "xueeinstein/jekyll-editor",
"id": "d9fc3e32e7b4516c81fff4fe4cb8bcfa5e1d100d",
"size": "87",
"... |
{% extends 'admin/glitter/dialog.html' %}
{% block title %}Discard this unsaved page version{% endblock %}
{% block form %}
{% csrf_token %}
<h2 class="glitter-message">Are you sure you want to delete this version?</h2>
{% endblock %}
{% block buttons %}
<input type="submit" value="Yes, delete it" class=... | {
"content_hash": "3ff06764ac320e4d8581ee9b1d161686",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 128,
"avg_line_length": 38.46153846153846,
"alnum_prop": 0.678,
"repo_name": "blancltd/django-glitter",
"id": "d2131ae194c141bdf850685921f225d86939a047",
"size": "500",
"... |
namespace {
#if !defined(OS_ANDROID)
// This list should be kept in sync with chrome/common/url_constants.h.
// Only include useful sub-pages, confirmation alerts are not useful.
const char* const kChromeSettingsSubPages[] = {
chrome::kAutofillSubPage,
chrome::kClearBrowserDataSubPage,
chrome::kContentSettingsSu... | {
"content_hash": "80e4975b2f0cfa5db05b5370be0e4313",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 80,
"avg_line_length": 44.73548387096774,
"alnum_prop": 0.6721949812518027,
"repo_name": "SlimRoms/android_external_chromium_org",
"id": "480af5ce9b83703332c46614cbe1fc4c0db... |
package vm
import (
"fmt"
"os"
"testing"
)
func TestItemInList(t *testing.T) {
os.Setenv("ANKO_DEBUG", "1")
tests := []Test{
{Script: `"a" in ["a"]`, RunOutput: true},
{Script: `"a" in ["b"]`, RunOutput: false},
{Script: `"a" in ["c", "b", "a"]`, RunOutput: true},
{Script: `"a" in ["a", "b", 1]`, RunOutp... | {
"content_hash": "30b693c881243582b1b913ac46ef9e00",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 155,
"avg_line_length": 71.4895104895105,
"alnum_prop": 0.5923897094786267,
"repo_name": "leecalcote/gitlic-check",
"id": "25a6dee1df691f6e7a82b9389d201f87d9376e05",
"size... |
Jormungandr
===========
A world/campaign setting generator written in Python.
## JSON Generation File Structure ##
Each JSON generation file has two main objects. These are the "profile" and the "resources" section.
The values stored in each sections are lists of objects called "options".
### Profile ###
This specif... | {
"content_hash": "e268f98363c746e4856fea84a84a3192",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 349,
"avg_line_length": 71.5,
"alnum_prop": 0.757396449704142,
"repo_name": "Riizade/Jormungandr",
"id": "4b5ef31b0b127eacc63a7d6a8fdb1c16fe7e8de8",
"size": "5577",
"bina... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:18 PDT 2006 -->
<TITLE>
IBMJSSESocketFactory (Axis API)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.axis.components.n... | {
"content_hash": "875ab001504e8d6258e7aaaec9120f6f",
"timestamp": "",
"source": "github",
"line_count": 359,
"max_line_length": 380,
"avg_line_length": 48.740947075208915,
"alnum_prop": 0.6545319465081724,
"repo_name": "jgallimore/axis-with-mods",
"id": "e6670b9cdd99b83ff9a53d3b241fbb16ade4c3eb",
"... |
<?php
/**
* Created by JetBrains PhpStorm.
* User: Prasad
* Date: 10/21/13
* Time: 11:09 PM
* To change this template use File | Settings | File Templates.
*/
?>
<?php $this->load->view('/template/teacherHeader');?> | {
"content_hash": "35e784d719f96d2d1855f0d40329a386",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 22.1,
"alnum_prop": 0.6470588235294118,
"repo_name": "webnerd/schoolManager",
"id": "e02b41bea2d05fab2411d8a8c8d59c307b37e11f",
"size": "221",
"bin... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ca">
<context>
<name>AboutDialog</name>
<message>
<source>About %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source><h2>%1 Client %2</h2></source>
... | {
"content_hash": "a4cb27b4b0659c2528f91ecd3a90e058",
"timestamp": "",
"source": "github",
"line_count": 3340,
"max_line_length": 219,
"avg_line_length": 32.16526946107784,
"alnum_prop": 0.6242460347010201,
"repo_name": "haiwen/seafile-client",
"id": "d86eeebf1f72aabebea542cc8a13f63b3aaa485f",
"size... |
require 'spec_helper'
require Rails.root.join('db', 'post_migrate', '20170816102555_cleanup_nonexisting_namespace_pending_delete_projects.rb')
describe CleanupNonexistingNamespacePendingDeleteProjects do
before do
# Stub after_save callbacks that will fail when Project has invalid namespace
allow_any_instanc... | {
"content_hash": "4b7774a9e7815f683d22f82baecd6c96",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 167,
"avg_line_length": 44.9375,
"alnum_prop": 0.7573018080667594,
"repo_name": "axilleas/gitlabhq",
"id": "8f40ac3e38be08837a99a1b66769f41f6a49aaf8",
"size": "1438",
"bi... |
require 'cgi'
module RubyAMI
class AGIResultParser
attr_reader :code, :result, :data
FORMAT = /^(?<code>\d{3})( result=(?<result>-?\d*))? ?(?<data>\(?.*\)?)?$/
DATA_KV_FORMAT = /(?<key>[\w\d]+)=(?<value>[\w\d]*)/
DATA_CLEANER = /(^\()|(\)$)/
def initialize(result_string)
@res... | {
"content_hash": "e671b9ed0b78bd822f13e5693d3dd8f8",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 126,
"avg_line_length": 24.738095238095237,
"alnum_prop": 0.5717035611164581,
"repo_name": "ThomasSevestre/ruby_ami",
"id": "351e0c7f75b19d90c80766282868c7a6093c17de",
"siz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RayTracer.Animation
{
public interface IAnimation
{
void Animate(float time);
}
}
| {
"content_hash": "136ef064fe6a196d8b970a37266e39b3",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 33,
"avg_line_length": 16.666666666666668,
"alnum_prop": 0.71,
"repo_name": "MortenChristiansen/Rend-Studio",
"id": "11482dcf0f3740a70cff98e084ea46d7b27aadf6",
"size": "202... |
namespace v8 {
namespace internal {
TF_BUILTIN(FastFunctionPrototypeBind, CodeStubAssembler) {
Label slow(this);
// TODO(ishell): use constants from Descriptor once the JSFunction linkage
// arguments are reordered.
Node* argc = Parameter(Descriptor::kJSActualArgumentsCount);
Node* context = Parameter(Descr... | {
"content_hash": "b0f18a5c1c2cc753757c1b77d6eb0b13",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 80,
"avg_line_length": 40.266666666666666,
"alnum_prop": 0.7047885888945492,
"repo_name": "fceller/arangodb",
"id": "2f3c876852ddbacc74c1f4c58be19c247ad921ac",
"size": "82... |
use clippy_utils::consts::{constant, Constant};
use clippy_utils::diagnostics::span_lint_and_sugg;
use clippy_utils::higher;
use clippy_utils::source::snippet_with_applicability;
use clippy_utils::ty::is_copy;
use if_chain::if_chain;
use rustc_errors::Applicability;
use rustc_hir::{BorrowKind, Expr, ExprKind, Mutabilit... | {
"content_hash": "67f998b57ac3119b25d001888f717429",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 108,
"avg_line_length": 35.53086419753087,
"alnum_prop": 0.45639332870048643,
"repo_name": "aidancully/rust",
"id": "d3234b5758a575b2066f57cb673959ef5420ed3b",
"size": "57... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE761_Free_Pointer_Not_at_Start_of_Buffer__char_connect_socket_51a.c
Label Definition File: CWE761_Free_Pointer_Not_at_Start_of_Buffer.label.xml
Template File: source-sinks-51a.tmpl.c
*/
/*
* @description
* CWE: 761 Free Pointer not at Start of Buffer
* BadSourc... | {
"content_hash": "8d9de676f94879ab41547d1df6d854f4",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 112,
"avg_line_length": 31.029166666666665,
"alnum_prop": 0.5477373438968712,
"repo_name": "JianpingZeng/xcc",
"id": "42abf7c60e4e3b6d19e71fc7f5622e300d6ecf21",
"size": "7... |
using System;
using System.IO;
using System.Threading;
using Android.OS;
using Android.App;
using Android.Widget;
using Android.Content;
using Android.Content.PM;
using Sensus.UI;
using Sensus.Context;
using Xamarin;
using Xamarin.Forms;
using Xamarin.Facebook;
using Xamarin.Forms.Platform.Android;
using Plugin.Curren... | {
"content_hash": "1b740bd7aa85bf3f940ce5653d3aa511",
"timestamp": "",
"source": "github",
"line_count": 465,
"max_line_length": 278,
"avg_line_length": 41.950537634408605,
"alnum_prop": 0.550879171579433,
"repo_name": "jtb8vm/sensus",
"id": "fbad798f25164892063e04582329bb2c05adfc52",
"size": "20136... |
<?xml version='1.0' encoding='UTF-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... | {
"content_hash": "8b6633edec18a88c50a305a2a890c594",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 204,
"avg_line_length": 33.033734939759036,
"alnum_prop": 0.5853818659274929,
"repo_name": "khmarbaise/maven-plugins",
"id": "3eb9de5e19106bc8ed9597b6affcc5db39f31aab",
"s... |
package api
import "net/http"
type Route struct {
Name string
Method string
Pattern string
HandlerFunc http.HandlerFunc
}
type Routes []Route
var routes = Routes{
Route{
"AttackList",
http.MethodGet,
"/attacks",
AttackList,
},
Route{
"AttackShow",
http.MethodGet,
"/attacks/{atta... | {
"content_hash": "8e8137663995f1d9e464418f3274042c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 29,
"avg_line_length": 12.820512820512821,
"alnum_prop": 0.642,
"repo_name": "nehayward/DOS",
"id": "38d9cbb217fdb650391bed7372f866067551d0c0",
"size": "500",
"binary": f... |
Country.create(id: 1, name: "Brasil")
State.create(id: 1, name: "Paraná", initial: "PR", country_id: 1)
State.create(id: 2, name: "Rio de Janeiro", initial: "RJ", country_id: 1)
State.create(id: 3, name: "São Paulo", initial: "SP", country_id: 1)
City.create(id: 1, name: "Mandaguari", state_id: 1)
City.create(id: 2, na... | {
"content_hash": "34d4b89424e8e7b48842aeb2856219f5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 50.333333333333336,
"alnum_prop": 0.6847682119205298,
"repo_name": "maxjuniorbr/mobOdonto",
"id": "e9933fc721a6252295ff6d937ec3905ca07c72d5",
"size":... |
declare let global:any;
export const MouseEvent = (global as any).MouseEvent as MouseEvent;
export const KeyboardEvent = (global as any).KeyboardEvent as KeyboardEvent;
| {
"content_hash": "61ea81c1d2c1e7c9552716c2566fb8e2",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 76,
"avg_line_length": 42.5,
"alnum_prop": 0.8,
"repo_name": "stupiduglyfool/ngx-datatable",
"id": "626a296082015a3951d6c6c0032f07c24724557a",
"size": "170",
"binary": fal... |
Windows serial port control of a DirecTV receiver using Python.
I wrote this when I was using [SageTV][4] for my home media center/server.
Haven't used it since [Google bought SageTV][3] and shut everything down.
## Thanks
Jim Storch for [pydtvcmd][1], the inspiration for this program.
[Kevin Timmerman][2] and Any E... | {
"content_hash": "66e35a293d5a39a26e6bb55766f31be5",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 35.857142857142854,
"alnum_prop": 0.7410358565737052,
"repo_name": "h0tw1r3/sandbox",
"id": "2d15d91bf4f30cdf90246d889dd1524943603b2c",
"size": "532"... |
import { createMuiTheme, ThemeOptions } from '@material-ui/core'
export const paletteColorsDark = {
primary: '#0f4c75',
secondary: '#3282b8',
error: '#E44C65',
background: '#1b262c',
text: '#bbe1fa',
}
export const paletteColorsLight = {
primary: '#6886c5',
secondary: '#ffe0ac',
error: '#E44C65',
ba... | {
"content_hash": "2703ae0087910835cfd7a4d00eb63016",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 23.28125,
"alnum_prop": 0.6469798657718121,
"repo_name": "lemtzas/rollem-discord",
"id": "28d8275bf42b5b67362da25088841357cef2c4f6",
"size": "745",
... |
//
// RCDCommonString.h
// SealTalk
//
// Created by Sin on 2019/6/3.
// Copyright © 2019 RongCloud. All rights reserved.
//
#ifndef RCDCommonString_h
#define RCDCommonString_h
#define RCDIMTokenKey @"userToken"
#define RCDAppKeyKey @"appKey"
#define RCDUserIdKey @"userId"
#define RCDPhoneKey @"phoneNumber"
#defi... | {
"content_hash": "7eb67a2f5934b30de89d10f3d48111fc",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 86,
"avg_line_length": 44.95918367346939,
"alnum_prop": 0.8524738992283251,
"repo_name": "sealtalk/sealtalk-ios",
"id": "a5769789a886cb11c3d9da280961b9e3f0d672d5",
"size": ... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" /><link rel="canonical" href="http://mongoc.org/libbson/current/mongoc_apm_command_started_get_request_id.html"/>
<title>mongoc_apm_command_started_get_request_id() — libmongoc 1.21.2</title>
<link re... | {
"content_hash": "76e0f3968c885571b9f47543a4bb5498",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 243,
"avg_line_length": 58.2887323943662,
"alnum_prop": 0.686480608916274,
"repo_name": "treefrogframework/treefrog-framework",
"id": "00b358a18daf13229531086f0db71980aa9970... |
@implementation HBHShipNode {
SKAction *deathAction;
}
- (instancetype) init {
if (self = [super initWithImageNamed:@"heisenberg"]) {
// self.color = [UIColor colorWithRed:220.0f/255.0f green:122.0f/255.0f blue:0.0f/255.0f alpha:1.0f];
// self.colorBlendFactor = 1.0f;
self.texture.filteri... | {
"content_hash": "7ed7e2180584ba4541b5174b4073096f",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 129,
"avg_line_length": 41.4390243902439,
"alnum_prop": 0.7151265450264862,
"repo_name": "harlanhaskins/SpaceJam",
"id": "7f7f332c32b3c80ef11b6173d3fb55baaa296de7",
"size":... |
package fm.last.citrine.service;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.quartz.SchedulerException;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.fact... | {
"content_hash": "382ae4248451063d7bc42bf596706a3b",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 120,
"avg_line_length": 25.78832116788321,
"alnum_prop": 0.7127087461081234,
"repo_name": "choss/citrine-scheduler",
"id": "b813241a111022991bc0d694104a35a0be362d6f",
"siz... |
inline static double c_ceil(double x)
{
return ceil(x);
}
| {
"content_hash": "40ceb36f8ad4ab47e0feebeafa5351a6",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 37,
"avg_line_length": 15.5,
"alnum_prop": 0.6612903225806451,
"repo_name": "cyamauch/sli",
"id": "7ae1e7782513a36489108f8c50f3c1aa373e81dc",
"size": "80",
"binary": false... |
/* Brya board configuration */
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
#include "compile_time_macros.h"
/* Baseboard features */
#include "baseboard.h"
/*
* This will happen automatically on NPCX9 ES2 and later. Do not remove
* until we can confirm all earlier chips are out of service.
*/
#define C... | {
"content_hash": "638eef458fb50dea8c31b69808d45f8f",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 75,
"avg_line_length": 27.729007633587788,
"alnum_prop": 0.7439779766001376,
"repo_name": "coreboot/chrome-ec",
"id": "1d4099e7ebdd9fc6053b7ddef7315e9b556a95f0",
"size": "... |
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace QuantConnect.Algorithm
{
/// <summary>
/// Imports data from the web
/// </summary>
public class WebDataImport
{
private const string DATA_SOURCE_URI = @"http://54.69.46.205/filter_csv_withcache.php?sdate=1/1/20... | {
"content_hash": "3c16c1e81da1c8741b35348303a28e73",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 162,
"avg_line_length": 32.56140350877193,
"alnum_prop": 0.5495689655172413,
"repo_name": "bizcad/LeanAbhi",
"id": "44f2f7f82d085d1e9d6476f2a0c6094fcc60be1a",
"size": "1858... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">AngryStudents</string>
</resources>
| {
"content_hash": "802b81995d932afd944fd67ab50f5854",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 19.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "bobxiv/AngryStudents",
"id": "bdda0e6d792ea057069a1b4061d9d0e4d90cc7f7",
"size": "117",
"binar... |
<!--
~ Copyright (c) 2015 David Schulte
~
~ 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, modify, merg... | {
"content_hash": "0f6c905be7159f7251c74482f2699ffa",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 93,
"avg_line_length": 48.82692307692308,
"alnum_prop": 0.6990941315478535,
"repo_name": "Arcus92/PlayMusicExporter",
"id": "1dc6fba3d3d955cd50283565b837239670b87c7b",
"siz... |
Voiceprint Recognition program using MFCC and DTW. There are two versions by matlab and C#.
| {
"content_hash": "b7910504d589a516c587bf3ee186c57c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 91,
"avg_line_length": 92,
"alnum_prop": 0.8043478260869565,
"repo_name": "Featherlet/VoiceprintRecognition",
"id": "0d72f936b607e0b34dc800a58947ac6b2b8a9a26",
"size": "116"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Tue May 14 03:45:00 CEST 2013 -->
<title>SharedLibraryLoader (libgdx API)</title>
<meta name="date" content="2013-05-14">
<link ... | {
"content_hash": "32259354b5cdff1cfd4b5d3174dd374c",
"timestamp": "",
"source": "github",
"line_count": 459,
"max_line_length": 265,
"avg_line_length": 36.90631808278867,
"alnum_prop": 0.6563754427390791,
"repo_name": "leszekuchacz/Leszek-Uchacz",
"id": "31d5f66b5ea3065c4879457d3b190d6ca04ef25c",
"... |
<?php
/*
Template Name: Full Width
*/
get_header(); ?>
<?php get_template_part( 'template-parts/featured-image' ); ?>
<div id="page-full-width" role="main">
<?php do_action( 'foundationpress_before_content' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<article <?php post_class('main-content') ?> id="post-<?... | {
"content_hash": "3a74774b12f5064de8850afcf8eca8c4",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 142,
"avg_line_length": 28.310344827586206,
"alnum_prop": 0.5554202192448234,
"repo_name": "kenziebottoms/makenashville",
"id": "91e80d602bb35f3a137df2feef484cb30c710630",
... |
<!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="Logic and Proof">
<meta name="author" content="Jeremy Avigad, Floris van Doorn... | {
"content_hash": "e26d4c794c1ec379b2be5ae7410be6cb",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 154,
"avg_line_length": 60.36986301369863,
"alnum_prop": 0.6501021102791015,
"repo_name": "soonhokong/logic_and_proof",
"id": "c3c7faad37304f94cbb551186925a6c7d370f757",
"s... |
// <copyright file="EqualsOverrideNewObjectAssertionTests.cs" company="natsnudasoft">
// Copyright (c) Adrian John Dunstan. 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 Lice... | {
"content_hash": "f115bee5b2f74f5660f4b0b7639db261",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 100,
"avg_line_length": 35.955357142857146,
"alnum_prop": 0.6453935932455922,
"repo_name": "natsnudasoft/NatsnudaLibrary",
"id": "99c2a27e9c30b91b15637744af759d14d009936a",
... |
package java.text;
import org.apache.harmony.text.internal.nls.Messages;
/**
* <code>RuleBasedCollator</code> is a concrete subclass of
* <code>Collator</code>. It allows customization of the
* <code>Collator</code> via user-specified rule sets.
* <code>RuleBasedCollator</code> is designed to be fully compliant... | {
"content_hash": "1e972ea0f40ab8c529e7c58d07ccaaee",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 88,
"avg_line_length": 36.18090452261306,
"alnum_prop": 0.6215277777777778,
"repo_name": "freeVM/freeVM",
"id": "b53cb65fd68b35a13d6bef47137e04c0edc6ecbc",
"size": "8004",... |
#!/usr/bin/env node
'use strict';
/*
Taken from https://github.com/tapio/live-server for modification
*/
var fs = require('fs'),
connect = require('connect'),
serveIndex = require('serve-index'),
logger = require('morgan'),
WebSocket = require('faye-websocket'),
path = require('path'),
url = require('url'),
... | {
"content_hash": "73f8ae1fd6841e3c927548f70001ae93",
"timestamp": "",
"source": "github",
"line_count": 466,
"max_line_length": 117,
"avg_line_length": 28.321888412017167,
"alnum_prop": 0.6330504621912411,
"repo_name": "ritwickdey/vscode-live-server",
"id": "2bf73317e1943b14a3d69c6850795a4e4cd88fe1",... |
package com.abina.poi;
/**
* @author abina
* @Data 2018-03-08
*/
public class WordUtil {
/**
* @方法名称 exportCtrAtch
* @功能描述 <pre>生成合同附件</pre>
* @作者 zouyaobin@tansun.com.cn
* @创建时间 2018年3月7日 上午9:32:47
* @param params
* @param response
* @throws FileNotFoundException
* @throws IOExc... | {
"content_hash": "a4bf8f6ec02780285916beb4ec512c50",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 151,
"avg_line_length": 34.01129943502825,
"alnum_prop": 0.6541528239202657,
"repo_name": "tzou24/abina-common-util",
"id": "37a1683bfcedf8c06fe383ec2aaf9cdb6bdcab30",
"si... |
<?php
/**
* @file
* Definition of Drupal\Core\DrupalKernelInterface.
*/
namespace Drupal\Core;
use Symfony\Component\HttpKernel\HttpKernelInterface;
/**
* The interface for DrupalKernel, the core of Drupal.
*
* This interface extends Symfony's KernelInterface and adds methods for
* responding to modules bein... | {
"content_hash": "86e7e2f19d164809dad8419f9e5f752d",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 87,
"avg_line_length": 23.215384615384615,
"alnum_prop": 0.6911862160371107,
"repo_name": "nickopris/musicapp",
"id": "96b2f922ea12975a71d614c116d324c342f857ee",
"size": "1... |
package DataObjects;
/**
*
* @author Noah Fujioka
*/
import DatabaseUtilities.DatabaseDataObjectUtilities;
public class FlightSummary {
private String startTimestamp;
private String pilotId;
private String pilotFirstName;
private String pilotLastName;
private String gliderNnumber... | {
"content_hash": "e6e690e9e7525b959163dd35a51b836b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 28.361702127659573,
"alnum_prop": 0.6136534133533383,
"repo_name": "GliderWinchCommons/hc",
"id": "7b5ce145cf8da5eeb5ff73ea2176e1e43636bb79",
"size":... |
import { deepMerge } from "../utils/object";
export default class Config {
constructor() {
if (!Config.instance) {
Config.instance = this;
}
return Config.instance;
}
get OVERHEAD() {
return {
"TCP+IPv4+ETH": 1500 / (1500 - (20 + 20 + 14)),
"TCP+IPv6+ETH": 1500 / (1500 - (20 + ... | {
"content_hash": "292148b9a42cf57d90b01301a8b73c54",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 103,
"avg_line_length": 22.303571428571427,
"alnum_prop": 0.5608486789431545,
"repo_name": "e7d/speedtest",
"id": "fe6b3a6f2c951f200104392d3956b66a0da87d6d",
"size": "2498... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.