text stringlengths 2 1.04M | meta dict |
|---|---|
import { ForceSourceDeployErrorResponse } from '@salesforce/salesforcedx-utils-vscode';
import { expect } from 'chai';
import * as path from 'path';
import { DiagnosticCollection, languages, Uri } from 'vscode';
import {
getAbsoluteFilePath,
getFileUri,
getRange,
handleDiagnosticErrors
} from '../../../src/di... | {
"content_hash": "69f3decc05e4200074a9ea955e30c2c0",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 119,
"avg_line_length": 33.93916349809886,
"alnum_prop": 0.6764508178355366,
"repo_name": "forcedotcom/salesforcedx-vscode",
"id": "6da5149a73db4367ec7179b57aa89ba30f4070c6"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Openbizx Cubi Application Platform
LICENSE http://code.google.com/p/openbiz-cubi/wiki/CubiLicense
Copyright (c) 2005-2011, Openbiz Technology LLC
Version $Id: HelpListForm.xml 3660 2012-07-18 02:31:35Z hellojixian@gmail.com $
-->
<EasyForm Name="HelpListForm" Class="H... | {
"content_hash": "51bb4261c962b3eaae85db29b4229f79",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 434,
"avg_line_length": 93.83561643835617,
"alnum_prop": 0.670948905109489,
"repo_name": "openbizx/cubix",
"id": "3cbbe1f183dfbd984192a66d12a314fa58390804",
"size": "6850",... |
package fr.bouyguestelecom.tv.bboxiot.events;
import org.json.JSONException;
import org.json.JSONObject;
import fr.bouyguestelecom.tv.bboxiot.events.constant.GenericEventConstant;
import fr.bouyguestelecom.tv.bboxiot.events.enums.EventTopic;
import fr.bouyguestelecom.tv.bboxiot.events.enums.EventType;
/**
* Abstra... | {
"content_hash": "acbe5679bde980078152cb837b4ba7b6",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 97,
"avg_line_length": 23.977777777777778,
"alnum_prop": 0.6380908248378128,
"repo_name": "BboxLab/bboxiot-library",
"id": "209c55719181d95cb73302d7fcbe30959f3c1d5e",
"size... |
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
});
} else if (typeof module === "object" && module.exports) {
module.exports = factory(root);
} else {
... | {
"content_hash": "461df70ee250da364b08573820f2e855",
"timestamp": "",
"source": "github",
"line_count": 14059,
"max_line_length": 552,
"avg_line_length": 37.58254498897503,
"alnum_prop": 0.5353017659872855,
"repo_name": "cdnjs/cdnjs",
"id": "e0f5f24e6b83c20dc358fc36648435baa1d4cdec",
"size": "52837... |
#![crate_name = "uu_relpath"]
extern crate getopts;
#[macro_use]
extern crate uucore;
use std::env;
use std::io::Write;
use std::path::{Path, PathBuf};
use uucore::fs::{canonicalize, CanonicalizeMode};
static NAME: &'static str = "relpath";
static VERSION: &'static str = env!("CARGO_PKG_VERSION");
pub fn uumain(... | {
"content_hash": "98750e549fa5ec3e6cac7c9332286be2",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 121,
"avg_line_length": 29.26595744680851,
"alnum_prop": 0.5597964376590331,
"repo_name": "keunwoo/coreutils",
"id": "74cb47f7bcea87778b443ba7945220eeaf53947d",
"size": "30... |
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using FluentSpotifyApi.Model.Tracks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FluentSpotifyApi.IntegrationTests.CCF
{
[TestClass]
public class PlaylistsTests : TestsBase
{
[TestMethod]
[TestCatego... | {
"content_hash": "c31ab71300ec822896ffe834c8c33580",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 140,
"avg_line_length": 32.19834710743802,
"alnum_prop": 0.5598049281314168,
"repo_name": "dotnetfan/FluentSpotifyApi",
"id": "b64a7c52bacfc5b0a606a7d013e8291b045a8b23",
"... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Microsoft.Build.BuildEngine;
using Microsoft.Build.Framework;
using Microsoft.Build.UnitTests;
namespace Microsoft.Build.UnitTests.OM.OrcasCompatibility
{
/// <summary>
/// Tests for BuildPropertyGroup
/// </summary>
[TestFix... | {
"content_hash": "9004660920885ed04d2b97ccd0dd0201",
"timestamp": "",
"source": "github",
"line_count": 1226,
"max_line_length": 159,
"avg_line_length": 37.69004893964111,
"alnum_prop": 0.5652268005540166,
"repo_name": "cdmihai/msbuild",
"id": "b2ddc24b96eb149af97d8aa91bee27dc055a4ee3",
"size": "46... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2014 ZXing authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... | {
"content_hash": "b963f7b497342b00b67159d5269ccbe9",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 141,
"avg_line_length": 50.911764705882355,
"alnum_prop": 0.7504332755632582,
"repo_name": "jonzl/sample-zxing",
"id": "f5ef067e197595232208249f1782eb2279f7fdab",
"size": "... |
<?php
namespace Drupal\Component\Utility;
/**
* Helper class URL based methods.
*
* @ingroup utility
*/
class UrlHelper {
/**
* The list of allowed protocols.
*
* @var array
*/
protected static $allowedProtocols = array('http', 'https');
/**
* Parses an array into a valid, rawurlencoded que... | {
"content_hash": "812211a025a2227c023d8a4e48a8365d",
"timestamp": "",
"source": "github",
"line_count": 407,
"max_line_length": 115,
"avg_line_length": 36.88697788697789,
"alnum_prop": 0.6002797575434623,
"repo_name": "lammensj/tfs",
"id": "1395d818f041b1af3ca4727f9748655e66cb80c0",
"size": "15013"... |
StandaloneDir.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({
type: StandaloneDir,
standalone: true
}); | {
"content_hash": "06a1b4551a5ceba19048dbeeb1fa88b0",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 57,
"avg_line_length": 25.75,
"alnum_prop": 0.6893203883495146,
"repo_name": "gnomeontherun/angular",
"id": "e908a69aa2969c23040b74cd867005fa4bd682c4",
"size": "106",
"bin... |
{-# LANGUAGE DeriveGeneric #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.InstalledPackageInfo
-- Copyright : (c) The University of Glasgow 2004
--
-- Maintainer : libraries@haskell.org
-- Portability : portable
--
-- This is the information ... | {
"content_hash": "0474ac783f86b0dfb4288b9574c8505a",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 122,
"avg_line_length": 40.30562347188264,
"alnum_prop": 0.5705793145283591,
"repo_name": "enolan/cabal",
"id": "fa4f721d4b910c6ca5bdbf5b65f6b58c39191b86",
"size": "16485"... |
package org.saiku.web.rest.resources;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import org.saiku.olap.dto.SaikuConnecti... | {
"content_hash": "10390a5b92060f8cbf76f4ddac4427a2",
"timestamp": "",
"source": "github",
"line_count": 359,
"max_line_length": 111,
"avg_line_length": 32.373259052924794,
"alnum_prop": 0.6938564790913784,
"repo_name": "github-iis-soft-ru/saiku",
"id": "786587b00820a1d8fb83ee19d0f29ecb9e874cd9",
"s... |
package org.apache.uima.analysis_engine.impl;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
* This object holds the set of RsTypes for a result spec There is one instance of this per
* ResultSpecification_impl
*/
public class RsTypesMap implements Iterable<RsType> {
private fi... | {
"content_hash": "3a657a1c27a1d4225811ca3ff9330f7a",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 99,
"avg_line_length": 24.56704980842912,
"alnum_prop": 0.5865564566437929,
"repo_name": "apache/uima-uimaj",
"id": "164a580ca1bf2e7895844860d49220283eca74c0",
"size": "72... |
package com.temple.util.net.http;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.List;
import java.util.Map.Entry;
import com.temple.util.AbstractLogger;
public final cl... | {
"content_hash": "2ef375bfcb5ab77dbd6a1ba4b6cb03f8",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 113,
"avg_line_length": 30.5,
"alnum_prop": 0.7038934426229508,
"repo_name": "florent-pallaver/temple",
"id": "cc03a2ea2a5917148c3a858df6ee3513eb76c4cf",
"size": "2928",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qdeclarativei... | {
"content_hash": "fcb4c23228fc3116b07b369d2ea70be3",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 221,
"avg_line_length": 46.21951219512195,
"alnum_prop": 0.5572559366754617,
"repo_name": "stephaneAG/PengPod700",
"id": "dfaafb2e28e6fd6b38d8785eb5496ef593c6704d",
"size"... |
namespace RDFSharp.Model
{
/// <summary>
/// RDFTargetSubjectsOf represents a SHACL target of type "SubjectsOf" within a shape.
/// </summary>
public class RDFTargetSubjectsOf : RDFTarget
{
#region Ctors
/// <summary>
/// Default-ctor to build a subjectsOf target on the gi... | {
"content_hash": "c13b2d8b74ea6e681f1a7473ffa030e4",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 133,
"avg_line_length": 30.23076923076923,
"alnum_prop": 0.5877862595419847,
"repo_name": "mdesalvo/RDFSharp",
"id": "63e773fd9f51225b21568c96d06ee994c124732b",
"size": "17... |
<?xml version="1.0" encoding="UTF-8"?>
<config>
<basicConfig>
<zstackManagementIp>$zstackManagementIp</zstackManagementIp>
<zstackAdminPassword>$zstackAdminPassword</zstackAdminPassword>
<zstackPkg>$zstackPkg</zstackPkg>
<zstackISO>$zstackISO</zstackISO>
</basicConfig>
<deployerConfig xmlns="http://zs... | {
"content_hash": "9ae1710670b8ec63f1f32dd455a46a82",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 95,
"avg_line_length": 42.58974358974359,
"alnum_prop": 0.6592414208308248,
"repo_name": "zstackorg/zstack-woodpecker",
"id": "c80387629e3a4762ff52777ebc498bccdb060e0a",
"s... |
import time
from shotgun import settings
class Config(object):
def __init__(self, data=None):
self.data = data
self.time = time.localtime()
def _timestamp(self, name):
return "{0}-{1}".format(
name,
time.strftime('%Y-%m-%d_%H-%M-%S', self.time)
)
... | {
"content_hash": "d3108e257814d3fd6aa99d47bd83750b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 62,
"avg_line_length": 27.294117647058822,
"alnum_prop": 0.5506465517241379,
"repo_name": "andrei4ka/fuel-web-redhat",
"id": "86d4dce74e6c2c66162a581e555b5fcb4e6bbb79",
"si... |
package com.mapswithme.maps.bookmarks;
import android.os.Bundle;
import androidx.annotation.NonNull;
import com.mapswithme.util.statistics.Statistics;
public class AuthBundleFactory
{
@NonNull
public static Bundle saveReview()
{
return buildBundle(Statistics.EventParam.AFTER_SAVE_REVIEW);
}
@NonNull
... | {
"content_hash": "0695297c641f0c3ddf381d50e1e28bf4",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 64,
"avg_line_length": 21.04255319148936,
"alnum_prop": 0.7431749241658241,
"repo_name": "darina/omim",
"id": "5068d075211e6812c09b933e1e5fdcb8f3977904",
"size": "989",
"... |
<?php
/**
* Created by PhpStorm.
* User: assadmahmood
* Date: 30/06/15
* Time: 10:45 AM
*/
namespace Aspose\Words\QuickStart;
class FindAndReplace {
public static function run($dataDir=null)
{
if(is_null($dataDir)) die("Data Directory Undefined");
$comHelper = new \COM("Aspose.Words.Co... | {
"content_hash": "cfc1cdd47904b1e8837d3045a213ad44",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 117,
"avg_line_length": 25.657894736842106,
"alnum_prop": 0.6153846153846154,
"repo_name": "asposewords/Aspose_Words_NET",
"id": "0a5a2f069f5cef57162f0fa68227bcca265fa85c",
... |
'use strict';
const amphtmlValidator = require('amphtml-validator');
const colors = require('ansi-colors');
const log = require('fancy-log');
const through = require('through2');
const PLUGIN_NAME = 'gulp-amphtml-validator';
const PluginError = require('plugin-error');
const STATUS_FAIL = 'FAIL';
const STATUS_PASS... | {
"content_hash": "21e21d822c518f8431dd8f4fc61c9834",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 85,
"avg_line_length": 29.12121212121212,
"alnum_prop": 0.6451612903225806,
"repo_name": "BenDz/amphtml",
"id": "a2e1e41dea8a41c8f59020b1fd442a347e957d87",
"size": "5444",... |
<?php namespace Anomaly\Streams\Platform\Entry\Parser;
use Anomaly\Streams\Platform\Stream\Contract\StreamInterface;
/**
* Class EntryTranslatedAttributesParser
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ryan Thompson <ryan@pyrocms.com>
*/
class EntryTranslatedAtt... | {
"content_hash": "04ed9163a30c30182fc4dd28eef25617",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 112,
"avg_line_length": 24.942857142857143,
"alnum_prop": 0.6219931271477663,
"repo_name": "vileopratama/portal-toyotadjakarta",
"id": "9321d43c50c058088dfcaab8e224f783de22b4... |
package jhazm.tokenizer;
import jhazm.utility.RegexPattern;
import java.util.Arrays;
import java.util.List;
/**
* @author Mojtaba Khallash
*/
public class SentenceTokenizer {
public static SentenceTokenizer instance;
private final RegexPattern pattern;
public SentenceTokenizer() {
this.pattern... | {
"content_hash": "3ab53d864529868462c8db96da621f7c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 25.78787878787879,
"alnum_prop": 0.6204465334900118,
"repo_name": "mojtaba-khallash/JHazm",
"id": "3bbfa49b6383cdb8df572faf900404db4a9f7145",
"size":... |
using System;
namespace Chroniton
{
public class Constants
{
/// <summary>
/// When a schedule returns this value, the job will effectively be expired and will not run again
/// </summary>
public static readonly DateTime Never = new DateTime(1919, 5, 29, 14, 30, 0);
//... | {
"content_hash": "5aeb7dca5f5e69b261009ca7cf0cd30d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 106,
"avg_line_length": 31.133333333333333,
"alnum_prop": 0.6359743040685225,
"repo_name": "leosperry/Chroniton",
"id": "dedddb82e2f9f4349a94d84e5d915c71d77e692f",
"size": ... |
package org.apache.coyote;
import java.util.Locale;
/**
* Constants.
*
* @author Remy Maucherat
*/
public final class Constants {
// -------------------------------------------------------------- Constants
public static final String DEFAULT_CHARACTER_ENCODING="ISO-8859-1";
public static final ... | {
"content_hash": "1b7f5c33db9ebd63280803b6df41c0d8",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 98,
"avg_line_length": 25.050847457627118,
"alnum_prop": 0.6359945872801083,
"repo_name": "whitingjr/JbossWeb_7_2_0",
"id": "208d5409835af602811795dcd745609f9a1e9896",
"siz... |
'use strict';
// Service used to save and retreive runs from the database
angular.module('glotApp').factory('Runs', function(Couch, Response) {
return {
// Get result by language and code
resultByCode: function(language, code) {
code = code.trim();
var key = [language, Crypt... | {
"content_hash": "8c013df7faebdae7935cd2a3763dc0e3",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 95,
"avg_line_length": 30.45,
"alnum_prop": 0.45867542419266555,
"repo_name": "prasmussen/glot.io",
"id": "9511d34ba63eb8ec54778fb957c804bb550593dc",
"size": "1827",
"bin... |
/** Description of Program
* @file: MainInterface.java
* @author: Alex Dodge, YongHong Chan
* @date: 14/03/2014
*
* The main GUI component for the video store.
*/
package graphicalComponent;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent... | {
"content_hash": "807901357bed8707fe54ec2e4b18973c",
"timestamp": "",
"source": "github",
"line_count": 946,
"max_line_length": 95,
"avg_line_length": 33.99788583509514,
"alnum_prop": 0.7032522853056402,
"repo_name": "PeterYHChen/DVDStore",
"id": "0acdaa98715e10c8a311dfcab2486b0a9f71ce49",
"size": ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
* chameera.lakshitha212@gmail.com
*/
function checkPaginate(tblId) {
jQuery('#' + tblId + '_paginate').hide();
jQuery('#' + tblId + '_info').hide();
jQuery('#comboId').change(function() {
if (jQuery('#c... | {
"content_hash": "fe30228889458956335d350ae4c526c4",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 511,
"avg_line_length": 40.87323943661972,
"alnum_prop": 0.593039283252929,
"repo_name": "lakshitha212/ALL-IN-TABLE",
"id": "913016b0787f6e06f1ecdce41f91b463a084091b",
"siz... |
<!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 (1.8.0_45) on Sat Apr 09 10:11:08 EDT 2016 -->
<title>Uses of Package org.apache.cassandra.cql3.restrictions (apache-cassandra API)</title>
<meta name... | {
"content_hash": "b67ee4f01e2dadba1995b82c6600c75d",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 340,
"avg_line_length": 43.708695652173915,
"alnum_prop": 0.6714413607878246,
"repo_name": "jasonwee/videoOnCloud",
"id": "3224e39ea0852c4d080c826ad94924a562555734",
"size... |
<?php
/**
* Elgg exception (fallback mode)
* Displays a single exception
*
* @package Elgg
* @subpackage Core
* @author Curverider Ltd
* @link http://elgg.org/
*
* @uses $vars['object'] An exception
*/
global $CONFIG;
?>
<p class="messages-exception" style="background:#FDFFC3;display:block;p... | {
"content_hash": "7b6b47497594dd107f1b94eefac2f0e7",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 93,
"avg_line_length": 19.486486486486488,
"alnum_prop": 0.6047156726768377,
"repo_name": "namaggarwal/elgg",
"id": "12e49c50f5b81738f43d329b0a6cd1960bc04066",
"size": "721... |
package dk.deck.resolver.model;
import java.util.ArrayList;
import java.util.List;
public class Versioning {
protected String latest;
protected String release;
protected Snapshot snapshot;
protected String lastUpdated;
protected List<Version> versions = new ArrayList<Version>();
public... | {
"content_hash": "a93f9984f3be17d18f3a00d6963cc81b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 64,
"avg_line_length": 20.033898305084747,
"alnum_prop": 0.6387478849407784,
"repo_name": "JesperTerkelsen/artifact-resolver",
"id": "6e341fa5b376d9c924a2057f4730df0af9987541... |
package com.spike.giantdataanalysis.flink.example.model.streamingledger2;
import static java.util.Objects.requireNonNull;
public class TransactionResult {
private TransactionEvent transaction;
private boolean success;
private long newSourceAccountBalance;
private long newTargetAccountBalance;
... | {
"content_hash": "93946784c30386570f7584f9a7b59408",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 92,
"avg_line_length": 30.93103448275862,
"alnum_prop": 0.5897435897435898,
"repo_name": "zhoujiagen/giant-data-analysis",
"id": "a9f66bad773b86cfee83a400608bffc5f7614adc",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c67f5590df668c0883e146faa99cdba4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "b201fead91704bd889f4d7c3c264898d259ab6e5",
"size": "18... |
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer
class AlertHandler(BaseHTTPRequestHandler):
def do_POST(self):
# print out new alert changes
print(self.rfile.read(int(self.headers['Content-Length'])))
self.send_response(200)
self.end_headers()
def run():
httpd ... | {
"content_hash": "1e457eb02734c82199d106f905de7b0c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 67,
"avg_line_length": 23.1,
"alnum_prop": 0.645021645021645,
"repo_name": "yaacov/mohawk",
"id": "667ae4ba83fca63cbb6ca67eb78f888e814765a8",
"size": "484",
"binary": fal... |
package hudson.scm;
import hudson.MarkupText;
import hudson.Util;
import hudson.model.AbstractBuild;
import hudson.model.User;
import org.kohsuke.stapler.export.Exported;
import org.kohsuke.stapler.export.ExportedBean;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.I... | {
"content_hash": "1f749ff9c1f6412fda702c24226ebfc1",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 110,
"avg_line_length": 29.207964601769913,
"alnum_prop": 0.5732464778063929,
"repo_name": "lvotypko/jenkins3",
"id": "27c099d71ae42efc5a7fbd3a45026a3f4cae435a",
"size": "... |
/**
* Checks whether user has paid plan and adds to Cloudflare list
* @param {Object} metadata
* @return {Promise}
*/
module.exports = async function addIpToAccessList({ user }, ctx) {
const { amqp, config: { router: { routes }, cfAccessList: { enabled } } } = this;
if (!enabled) return;
const { remoteip, a... | {
"content_hash": "b4fabbb08f5edaf8fd79f4beaa532e59",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 83,
"avg_line_length": 34.6875,
"alnum_prop": 0.6432432432432432,
"repo_name": "makeomatic/ms-users",
"id": "7b475462ca3ce5360518e16f8cb2ff5eb9e4e9eb",
"size": "555",
"bi... |
<?php if (!defined('APPLICATION')) exit();
/**
* An associative array of information about this application.
*/
$ThemeInfo['mobile'] = array(
'Name' => 'Mobile',
'Description' => "A refined design for mobile browsers",
'Version' => '1.1.3',
'Author' => "Mark O'Sullivan",
'AuthorEmail' => 'mark@vanill... | {
"content_hash": "e24715891b5c10f71bac1b9f5ce2f007",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 62,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.6256544502617801,
"repo_name": "sorrowgrave/NothingToSeeHere",
"id": "5d167f8298001f030d35e1c9f9360c7579e18c11",
... |
export declare abstract class Attribute<TValue> {
static create<TValue>(value: TValue): Attribute<TValue>;
valueOf(): TValue;
toString(): string;
protected value: TValue;
}
export declare type IAttribute<TValue> = TValue | Attribute<TValue>;
export interface IStringificationParams {
indentChar?: ... | {
"content_hash": "fee15f93610e76dc9a5619a77a2966fe",
"timestamp": "",
"source": "github",
"line_count": 711,
"max_line_length": 155,
"avg_line_length": 39.144866385372715,
"alnum_prop": 0.6988718022420236,
"repo_name": "LabsRS-Dev/AiEXifCool",
"id": "49308dd2a6742e6b5fc64ab843463bf82e2f8137",
"size... |
namespace MyGame {
namespace Example2 {
struct Monster;
struct MonsterT;
} // namespace Example2
namespace Example {
struct Test;
struct TestSimpleTableWithEnum;
struct TestSimpleTableWithEnumT;
struct Vec3;
struct Stat;
struct StatT;
struct Monster;
struct MonsterT;
enum Color {
Color_Red = 1,
Color_Gree... | {
"content_hash": "d4c06b456df68b2c497c1cbe936e5da7",
"timestamp": "",
"source": "github",
"line_count": 737,
"max_line_length": 865,
"avg_line_length": 50.29443690637721,
"alnum_prop": 0.6966034478107211,
"repo_name": "afTrolle/KTS-Kinect-Tracking-Server",
"id": "bb37b9536ee93a8577c9362e13f4a9cf23759... |
import DrawableFeeder from './DrawableFeeder.js'
const sleep = async (time) => new Promise(resolve => setTimeout(resolve, time))
const fakeDrawable = { model: { go () { } } }
describe('DrawableFeeder', () => {
it('when there are no drawables I get nothing when I call get drawable', () => {
const drawableFeeder ... | {
"content_hash": "01030c35fc277da63f6f3d60ad8931d4",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 114,
"avg_line_length": 42.3,
"alnum_prop": 0.723741979061128,
"repo_name": "SamuelFare/RecrutmentGame",
"id": "a12c9e943501e11b2ffd104da640347c0d68141f",
"size": "2961",
... |
<!DOCTYPE html>
<html>
<head><meta charset="utf-8" />
<title>peeker_hier_add</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<style type="text/css">
/*!
*
* Twitter Boots... | {
"content_hash": "149cbd950148210542da67f42459e678",
"timestamp": "",
"source": "github",
"line_count": 11915,
"max_line_length": 984,
"avg_line_length": 21.95853965589593,
"alnum_prop": 0.6578414285495879,
"repo_name": "xesscorp/myhdlpeek",
"id": "88d79bd7f8d06ab793986a5766327b11ee04fb20",
"size":... |
package org.datatransferproject.datatransfer.google.music;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.stream.Collectors.toCollection;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.d... | {
"content_hash": "421d5d97fb2224a61cf992ad2d8b3e8a",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 100,
"avg_line_length": 41.39393939393939,
"alnum_prop": 0.7281600780868717,
"repo_name": "google/data-transfer-project",
"id": "9d3a73050b2934980eac222808c036cfdf146392",
... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :provider
t.string :uid
t.string :name
t.string :email
t.timestamps
end
end
end
| {
"content_hash": "a0e49f855acc54fcbdf7b2e2a3b8083b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 43,
"avg_line_length": 17.833333333333332,
"alnum_prop": 0.6214953271028038,
"repo_name": "ferdinandrosario/orientation",
"id": "fb0319396d1289ad4c5044918a38e735d72e704c",
... |
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _assertThisInitialized from "@babel/run... | {
"content_hash": "3f24b9b0b67895b59dd340d55c6be5e6",
"timestamp": "",
"source": "github",
"line_count": 548,
"max_line_length": 306,
"avg_line_length": 39.16970802919708,
"alnum_prop": 0.6193803866759842,
"repo_name": "cdnjs/cdnjs",
"id": "1f72e8ddb343d9b13e3dba01c74acea409d041dc",
"size": "21786",... |
using NUnit.Framework;
namespace ImTools.UnitTests
{
[TestFixture]
public class OptTests
{
[Test]
public void Test()
{
var o1 = new DataObject(100, "Value1", new DataObject2(10m, "CleanPrice"));
var o2 = o1.With(500, obj: o1.Object.With(500));
Ass... | {
"content_hash": "56be597324eef0794a168f7c926e44f6",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 121,
"avg_line_length": 29.390625,
"alnum_prop": 0.48219032429558745,
"repo_name": "dadhi/ImTools",
"id": "b66942ea1bfa567083ed049637640eabf311d301",
"size": "1881",
"bin... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>camunda-qa-glassfish-runtime</artifactId>
<packaging>pom</pac... | {
"content_hash": "464793903df1aac2cfdb1f5a1109e4e4",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 252,
"avg_line_length": 34.94444444444444,
"alnum_prop": 0.5389507154213037,
"repo_name": "tcrossland/camunda-bpm-platform",
"id": "90f2d6384f34e15a1c556e0a7cccf2a0a8f6e753"... |
SET gp_create_table_random_default_distribution=off;
-- end_ignore
DROP TABLE IF EXISTS reindex_heap;
CREATE TABLE reindex_heap (a INT);
insert into reindex_heap select generate_series(1,1000);
insert into reindex_heap select generate_series(1,1000);
create index idx_btree_reindex_heap on reindex_heap(a);
SELECT 1 AS ... | {
"content_hash": "c8ae8bb5d6bfc0b2418afecb73c29102",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 235,
"avg_line_length": 60.44444444444444,
"alnum_prop": 0.7665441176470589,
"repo_name": "lintzc/gpdb",
"id": "8d4fcba18d663e60910e64d05a4e050506203d95",
"size": "560",
"... |
namespace keyczar {
class DSAPrivateKey : public PrivateKey {
public:
// Takes ownership of |public_key| and |dsa_impl|.
DSAPrivateKey(DSAImpl* dsa_impl, DSAPublicKey* public_key, int size)
: PrivateKey(public_key, size), dsa_impl_(dsa_impl) {}
// Creates a key from |root_key|. The caller takes ownership... | {
"content_hash": "fdde873fccda4de9704c9b5450a51a15",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 79,
"avg_line_length": 34.16279069767442,
"alnum_prop": 0.6820966643975493,
"repo_name": "divegeek/keyczar",
"id": "8eabe91ed9f08d3198171c0341d1b92218928d69",
"size": "2378... |
<?php
namespace Google\Cloud\Samples\VideoIntelligence;
// [START video_speech_transcription_gcs]
use Google\Cloud\VideoIntelligence\V1\VideoIntelligenceServiceClient;
use Google\Cloud\VideoIntelligence\V1\Feature;
use Google\Cloud\VideoIntelligence\V1\VideoContext;
use Google\Cloud\VideoIntelligence\V1\SpeechTrans... | {
"content_hash": "bf182083a408ba7ba87bcdd544a8ece6",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 98,
"avg_line_length": 37.8375,
"alnum_prop": 0.6349520977865873,
"repo_name": "GoogleCloudPlatform/php-docs-samples",
"id": "a829defa092c78198f6d7bd0f32e7100e359889e",
"si... |
namespace boost { namespace mpl {
template< typename Tag > struct contains_impl;
template< typename Sequence, typename T > struct contains;
}}
#endif // BOOST_MPL_CONTAINS_FWD_HPP_INCLUDED
| {
"content_hash": "fd8a3320452dc0f00ec40daf4b424967",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 24,
"alnum_prop": 0.7552083333333334,
"repo_name": "Ezeer/VegaStrike_win32FR",
"id": "56e2abfafc44d7e583a812102c74d9821d9a3b2e",
"size": "665",
"bin... |
echo "Checking Travis ENV for whether this is a merge to master..."
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo "Done, this is a pull request."
exit 0
elif [ "$TRAVIS_BRANCH" != "master" ]; then
echo "Done, this is a merge to another branch."
exit 0
fi
echo "Setting Docker Hub credentials..."
docker lo... | {
"content_hash": "a36a4b80d64285a10dcd8b7c8f3eb4cf",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 90,
"avg_line_length": 35.142857142857146,
"alnum_prop": 0.7134146341463414,
"repo_name": "codeforamerica/somerville-teacher-tool",
"id": "3e6c0a6c7c940a9b111be270c235a8c90e2... |
Mungegithub provides a number of tools intended to automate github processes. While mainly for the kubernetes community, some thought is put into making it generic. Mungegithub is built as a single binary, but is run in 3 different ways for 3 different purposes.
1. submit-queue: This looks at open PRs and attempts to ... | {
"content_hash": "a9e9f70a07d2161218372053e25e518a",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 911,
"avg_line_length": 86.86086956521739,
"alnum_prop": 0.7700470517569327,
"repo_name": "gmarek/test-infra",
"id": "8847960aa2fa83cbbd1211b0e50787c41a216276",
"size": "1... |
/* @name Herencia
* @description Una clase puede ser definida usando otra clase como base.
* En la terminología de la programación orientada a objetos, una clase
* puede heredar campos y métodos de otra. Un objeto que hereda
* de otro se llama subclase, y el objeto del que hereda se
* llama superclase. Una subclas... | {
"content_hash": "a34e3f213815e57efa3096f61e1af6fd",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 73,
"avg_line_length": 20.042857142857144,
"alnum_prop": 0.6065573770491803,
"repo_name": "processing/p5.js-website",
"id": "b1a0af42033b1d186c77ce9f040e3e036905f91f",
"siz... |
@echo off
@rem Check for mvn in path, use it if found, otherwise use maven wrapper
@set MAVEN_CMD=mvn
@WHERE /Q mvn
@IF %ERRORLEVEL% NEQ 0 set MAVEN_CMD=.\mvnw.bat
@if "%1" == "" call:help
@if "%1" == "copy" call:copy
@if "%1" == "clean" call:clean %2 %3 %4
@if "%1" == "package" call:package %2 %3 %4
@if "%1" == "boo... | {
"content_hash": "7d247baa59d9c054f428f513220174e9",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 123,
"avg_line_length": 25.5,
"alnum_prop": 0.6441539578794481,
"repo_name": "ConnCollege/cas-5",
"id": "1ced102ad15956a861a2c5e4bfc923246965c74c",
"size": "1377",
"binar... |
function testGetTagSearchService() {
let TagSearch = Cc["@mozilla.org/autocomplete/search;1?name=hbookmark-tag"].
getService(Ci.nsIAutoCompleteSearch);
assert.isTrue(TagSearch instanceof Ci.nsIAutoCompleteSearch);
}
| {
"content_hash": "3157d3b64f738b5eaa32962ac0131b10",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 80,
"avg_line_length": 48.8,
"alnum_prop": 0.7254098360655737,
"repo_name": "KenshoFujisaki/hatena-bookmark-xul",
"id": "777eecaf4400676ee73fc1ce4aeaa17099c57ddb",
"size": "... |
<!DOCTYPE html>
<html>
<head>
<title>Blog index</title>
<link rel="stylesheet" type="text/css" href="../stylesheets/default.css">
<link rel="stylesheet" type="text/css" href="../stylesheets/blog.css">
<meta charset="UTF-8">
</head>
<body>
<nav>
<ul>
<li class="name">Dave Spivey</li>
<li class="navigat... | {
"content_hash": "35b664c93b56b79fd40755ada08f17d5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 108,
"avg_line_length": 38.21311475409836,
"alnum_prop": 0.6040326040326041,
"repo_name": "DaveSpivey/DaveSpivey.github.io",
"id": "b6a7ca3eecaaa742329ab9558920aa921b51d608",... |
Am I in Las Vegas?
==================
Sometimes it's hard to know, because the city limits have the complexity of a fractal curve.
http://amiinlasvegas.com/
### Press!
* ["An Interactive Map Shows Leaving Las Vegas Is Easier Than You Think"](http://www.citylab.com/politics/2014/12/an-interactive-map-shows-leaving-l... | {
"content_hash": "23d46ce96799d20803cdcf6b5232a046",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 269,
"avg_line_length": 35.82142857142857,
"alnum_prop": 0.7234961781322699,
"repo_name": "codeforamerica/amiinlv",
"id": "92e6869c683e93c02ed08bbabc0f441265611d77",
"size"... |
frozendict
==========
`frozendict` is an immutable wrapper around dictionaries that implements the
complete mapping interface. It can be used as a drop-in replacement for
dictionaries where immutability is desired.
Of course, this is `python`, and you can still poke around the object's
internals if you want.
The `fr... | {
"content_hash": "d376f2c7554af7c2fc7421325975a116",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 80,
"avg_line_length": 31.636363636363637,
"alnum_prop": 0.7164750957854407,
"repo_name": "NcLang/vimrc",
"id": "a213312837e7752108a835a16810474c1d7e3689",
"size": "1044",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "bac66e561bd3abfabcd1a55a71c7cda8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "9a004da8f19601d53cd863711a82911e3265c61c",
"size": "20... |
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("10... | {
"content_hash": "2d6a556283f3eae603561f8686fecb1f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.361111111111114,
"alnum_prop": 0.744530698659139,
"repo_name": "dushka-dragoeva/TelerikSeson2016",
"id": "7f7bfc94fd0b3ed194dd23c1297bfcc38bd82eef",... |
package org.apache.shardingsphere.database.protocol.mysql.packet.command.query.binary.close;
import org.apache.shardingsphere.database.protocol.mysql.payload.MySQLPacketPayload;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import stati... | {
"content_hash": "9c9f7ca70e7c34f0a731782ec0a4f631",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 92,
"avg_line_length": 30.585365853658537,
"alnum_prop": 0.7312599681020734,
"repo_name": "leeyazhou/sharding-jdbc",
"id": "9cc0358a3030dadc92ed4c881ad4161e0103ad7f",
"size... |
<?php
App::uses('Node', 'Model');
App::uses('CroogoTestCase', 'Croogo.TestSuite');
class CroogoTranslateBehaviorTest extends CroogoTestCase {
public $fixtures = array(
'plugin.users.aco',
'plugin.users.aro',
'plugin.users.aros_aco',
'plugin.blocks.block',
'plugin.comments.comment',
'plugin.contacts.conta... | {
"content_hash": "dd73cddc4ed7be43b1c144e5076df717",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 79,
"avg_line_length": 23.594059405940595,
"alnum_prop": 0.6575744859420898,
"repo_name": "CaoLP/tranhviet",
"id": "8475353ce508ef62f14add92b5c49de3b8921c93",
"size": "238... |
package org.testng.asserts;
/**
* Life cycle methods for the assertion class.
*/
public interface IAssertLifecycle {
/**
* Run the assert command in parameter.
*/
void executeAssert(IAssert assertCommand);
/**
* Invoked when an assert succeeds.
*/
void onAssertSuccess(IAssert assertCommand);
... | {
"content_hash": "35fb521ac5463c33082779e536a8df83",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 90,
"avg_line_length": 21.153846153846153,
"alnum_prop": 0.6836363636363636,
"repo_name": "tremes/testng",
"id": "c9340878d42e5aa06b6c954496669a179c7f75cd",
"size": "825",
... |

====
CTFd is a CTF in a can. Easily modifiable and has everything you need to run a jeopardy style CTF.
Install:
1. `./prepare.sh` to install dependencies using apt.
2. Modify [CTFd/config.py](https://github.com/isislab/CTFd/blob/m... | {
"content_hash": "c2be756583da30f56e70839bfa74701f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 103,
"avg_line_length": 40.11764705882353,
"alnum_prop": 0.7360703812316716,
"repo_name": "breadchris/CTFd",
"id": "55964a8c6d03c51c74e377baffae4ae5d86c0ee3",
"size": "682"... |
#include "OgreStableHeaders.h"
#include "OgreOldBone.h"
#include "OgreSkeleton.h"
namespace Ogre {
//---------------------------------------------------------------------
OldBone::OldBone(unsigned short handle, Skeleton* creator)
: OldNode(), mHandle(handle), mManuallyControlled(false), mCreator(cr... | {
"content_hash": "520158749defed18ccda8c4f73bdccb9",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 108,
"avg_line_length": 36.63636363636363,
"alnum_prop": 0.5027295285359802,
"repo_name": "shadowkun/Ogre4Rviz",
"id": "bee7c0999f0c87f2199404ce73bb37b2b0eb90da",
"size": ... |
test:
RESULT_PATH=/dev/null PYTHONPATH=network_tap/ncontrol:network_tools_lib python3 -m pytest -l -s -v --cov=. --cov-report term-missing
# TODO: complete pytype coverage for pcap_stats
PYTHONPATH=network_tap/ncontrol:network_tools_lib pytype -k --exclude=pcap_stats .
./network_tap/ncapture/test_ncapture.sh
| {
"content_hash": "1a1c1f90dfc84204d0f0ec5f4778d68e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 133,
"avg_line_length": 62.8,
"alnum_prop": 0.7643312101910829,
"repo_name": "CyberReboot/vent-plugins",
"id": "822306237b7dd5b558bc47b2f8a66c3b4b4d4afa",
"size": "314",
"... |
namespace app { namespace Uno { namespace IO { struct Stream; } } }
namespace app {
namespace Uno {
namespace IO {
struct StreamWriter;
struct StreamWriter__uType : ::app::Uno::IO::TextWriter__uType
{
};
StreamWriter__uType* StreamWriter__typeof();
void StreamWriter___ObjInit_1(StreamWriter* __this, ::app::Uno::IO... | {
"content_hash": "c507763aa18d744b68b685aae85941b8",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 111,
"avg_line_length": 36.1,
"alnum_prop": 0.6952908587257618,
"repo_name": "blyk/BlackCode-Fuse",
"id": "b1c2b8eb921babe4c3781c0a7dcfac91d3b91de3",
"size": "1779",
"bin... |
#ifndef SRC_BASECLASSES_TWBUCKET_H_
#define SRC_BASECLASSES_TWBUCKET_H_
#include <deque>
#include <set>
#include <string>
#include <algorithm>
#ifdef DOVRPLOG
#include "./logger.h"
#endif
#include "./basictypes.h"
#include "./vrp_assert.h"
#include "./node.h"
class Prob_trash;
/*! \class TwBucket
* \brief A tem... | {
"content_hash": "8480dcf073a2399e3b921d259a251e37",
"timestamp": "",
"source": "github",
"line_count": 1272,
"max_line_length": 121,
"avg_line_length": 31.89072327044025,
"alnum_prop": 0.600049303586836,
"repo_name": "cvvergara/vrp-trash-collection",
"id": "d0b4b02e11965761e3a5047a50f0f211b1420c0c",... |
<header class="symbol-info-header"><h1 id="ihttpfactory">IHttpFactory</h1><label class="symbol-info-type-label decorator">Decorator</label><label class="api-type-label private" title="private">private</label></header>
<!-- summary -->
<section class="symbol-info"><table class="is-full-width"><tbody><tr><th>Module</th><... | {
"content_hash": "a685e3e11d9b9396cf2b241f01206808",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 656,
"avg_line_length": 55.54716981132076,
"alnum_prop": 0.7102581521739131,
"repo_name": "lwallent/ts-express-decorators",
"id": "417cbfa0b0c3594dbb9d2661323fb52e026c1674",
... |
#include "application_manager/hmi_capabilities.h"
#include <map>
#include "json/json.h"
#include "utils/file_system.h"
#include "interfaces/HMI_API.h"
#include "config_profile/profile.h"
#include "smart_objects/smart_object.h"
#include "application_manager/smart_object_keys.h"
#include "application_manager/message_... | {
"content_hash": "827232e1b989e8b586ed481235d63e9c",
"timestamp": "",
"source": "github",
"line_count": 830,
"max_line_length": 93,
"avg_line_length": 40.353012048192774,
"alnum_prop": 0.6545546830681038,
"repo_name": "VProdanov/sdl_core",
"id": "5c7f3f0b5d713c6e7ca61d4c81d882ec12d230cc",
"size": "... |
<?xml version='1.0' encoding='UTF-8'?>
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
<!-- The tool that generated this table lives in the
openstack-doc-tools repository. The editions made in
this file will *not* be lost if you run the script again. -->
<table rules="all">
<caption>Descrip... | {
"content_hash": "97c6eb8d0eccffb6a3546834d54fd544",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 85,
"avg_line_length": 33.76,
"alnum_prop": 0.6113744075829384,
"repo_name": "saeki-masaki/openstack-manuals",
"id": "1c31f6fa5b3e1f65df536677417b9ba066039521",
"size": "84... |
package org.wildfly.extension.cassandra;
import org.jboss.as.controller.AttributeDefinition;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.controller.PathAddress;
import org.jboss.as.controller.RestartParentWriteAttributeHandler;
import ... | {
"content_hash": "1c84a352225bf2a1a80214c14d738230",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 139,
"avg_line_length": 37.53488372093023,
"alnum_prop": 0.7949194547707559,
"repo_name": "hawkular/wildfly-cassandra",
"id": "7da327696b40daaed1f1d574f46b965ee43bb0c3",
"s... |
class Logger : public QObject
{
Q_OBJECT
public:
enum LogLevel { UNSET=0,DEBUG=1, INFO=2,WARNING=3,ERROR=4,OFF=5 };
typedef struct
{
QString appName;
QString loggerName;
QString function;
unsigned int line;
QString fileName;
time_t utime;
QString message;
LogLevel ... | {
"content_hash": "25b0a5edb4eb8afd97af71f43eba595d",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 117,
"avg_line_length": 24.070422535211268,
"alnum_prop": 0.6986541837331773,
"repo_name": "redPanther/hyperion.ng",
"id": "2504b48ee3193dcfea626497c729fc9af0908ab0",
"size... |
layout: post
published: true
title: "Reverse Engineering: Logitech Z680 LCD Replacement, Part 1"
author: Varun
image: /img/lcd-electronics.jpg
categories: Technology
galleries:
z680-lcd-problem:
pictures:
- url: "z680-problem-off.jpg"
caption: "The LCD looks okay in bright light, when the backlight ... | {
"content_hash": "d22d0d8914f771a9b922f648f4c73938",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 734,
"avg_line_length": 76.45812807881774,
"alnum_prop": 0.7147091037948585,
"repo_name": "smartperson/varunmehta.com",
"id": "0ad558072c7106faf33da8dff5c6429db100490a",
"... |
describe('linezero index page', function() {
it('should have a title', function() {
browser.ignoreSynchronization = true;
browser.get('http://localhost:8000/index.html');
expect(browser.getTitle()).toEqual('LineZero');
});
});
| {
"content_hash": "48c82ae79f5bd8e0de550925fc0eee92",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 34.714285714285715,
"alnum_prop": 0.6707818930041153,
"repo_name": "uicoded/linezero",
"id": "e9b4bd29772249ecbabac5767e973cf5cc61e136",
"size": "243"... |
var calendar = "abc";
var len = 3;
var expected = new Intl.DateTimeFormat("en").resolvedOptions().calendar;
var df;
for (var i = 3; i < 20; i++, len++, calendar += "a") {
assertDoesNotThrow(() => df = new Intl.DateTimeFormat("en", {calendar}),
"Well-formed calendar should not throw");
assertEquals(expected,... | {
"content_hash": "35e4b030002640dde4d89d54988ce475",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 29.5,
"alnum_prop": 0.6174334140435835,
"repo_name": "youtube/cobalt",
"id": "faeb6ad2bf0144c3c719d65bd92ad2acdbc06a37",
"size": "646",
"binary": f... |
void ATDPlayerController::SetupInputComponent()
{
Super::SetupInputComponent();
InputComponent->BindAction("PrimaryAttack", IE_Pressed, this, &ATDPlayerController::OnPrimaryAttackStart);
InputComponent->BindAction("PrimaryAttack", IE_Released, this, &ATDPlayerController::OnPrimaryAttackStop);
InputComponent->Bind... | {
"content_hash": "e0098db1a191fb4f3b106b480c81ef9a",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 208,
"avg_line_length": 23.658088235294116,
"alnum_prop": 0.770940170940171,
"repo_name": "Superbelko/TopdownShooterTemplate",
"id": "52eb4631cb50244fb273706c1496fe0da0af397... |
Clazz.declarePackage ("J.constant");
Clazz.load (["java.lang.Enum"], "J.constant.EnumQuantumShell", ["JU.SB"], function () {
c$ = Clazz.decorateAsClass (function () {
this.tag = null;
this.tag2 = null;
this.id = 0;
this.idSpherical = 0;
Clazz.instantialize (this, arguments);
}, J.constant, "EnumQuantumShell", Enum);
Cl... | {
"content_hash": "d895b56eeb578edb005aa2ec6d242f2d",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 365,
"avg_line_length": 40.640776699029125,
"alnum_prop": 0.6581462016244625,
"repo_name": "khaliiid/visualizer",
"id": "06486cd137791772054c91e524c9e34b78c9e757",
"size":... |
/*!
* PSWD v1.1.0:
* (c) 2017 Sevenissimo
* MIT License
* http://github.com/sevenissimo/pswd
*/
/*! Tabby v11.1.0 | (c) 2016 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/tabby */
(function (root, factory) {
if ( typeof define === 'function' && define.amd ) {
define([], factory(root));
} el... | {
"content_hash": "6db5490d74f2424ed85318a590ad8f80",
"timestamp": "",
"source": "github",
"line_count": 550,
"max_line_length": 162,
"avg_line_length": 26.476363636363637,
"alnum_prop": 0.6352836148880648,
"repo_name": "sevenissimo/pswd",
"id": "c0adcf8617eb585a609fd64f7b958ec6183ac7f4",
"size": "1... |
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
| {
"content_hash": "54d18da78ef17c0eaf180f2048faba91",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 45,
"avg_line_length": 27.818181818181817,
"alnum_prop": 0.6633986928104575,
"repo_name": "danteinforno/PhysX.Net",
"id": "c1b5c15962dd3176d997f0937810041c475cf8f8",
"size"... |
using UnityEngine;
using System.Collections;
public class Push : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| {
"content_hash": "97f4b326a9fecdbb15ec4e46b5ec6f35",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 35,
"avg_line_length": 13.4,
"alnum_prop": 0.6716417910447762,
"repo_name": "Catriona93/ProgrammingClass",
"id": "94095b12d6a96e031ed1d6cc0c9386f3833a7e2e",
"size": "203",
... |
package cn.sixlab.sixtools.dao.bean.sqlite;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Column;
@Table("tools_code_line")
public class ToolsCodeLine {
@Id
private int id;
@Column("check_date")
private String checkDate;
... | {
"content_hash": "fa55b4a5b98a6ce6664e2445c5ec4992",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 48,
"avg_line_length": 19.43661971830986,
"alnum_prop": 0.6108695652173913,
"repo_name": "nianqinianyi/SixTools",
"id": "4e4cb8d8fd8086ec35982d19b1bdbbd3669e6646",
"size": ... |
package yalantis.com.sidemenu.sample.ui.previousScores;
import javax.inject.Inject;
import io.reactivex.annotations.NonNull;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.functions.Consumer;
import yalantis.com.sidemenu.sample.DataManager;
import yalantis.com.sidemenu.sample.network.model.p... | {
"content_hash": "a5d2d4b6b2d906ee38e58c187cb3983b",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 139,
"avg_line_length": 41.020833333333336,
"alnum_prop": 0.6394108684611478,
"repo_name": "MayoufAppExperts/SportsAPP",
"id": "6bef85a66ab68cbc7b93b9fc7662e298ab816248",
"... |
use prelude::v1::*;
use old_io::{self, IoError, IoResult, MemReader};
use iter::repeat;
use libc::types::os::arch::extra::LPCVOID;
use libc::{c_int, HANDLE, LPDWORD, DWORD, LPVOID};
use libc::{get_osfhandle, CloseHandle};
use mem;
use ptr;
use str::from_utf8;
use super::c::{ENABLE_ECHO_INPUT, ENABLE_EXTENDED_FLAGS};
u... | {
"content_hash": "7b692d019055bb6954db3d37b0690903",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 87,
"avg_line_length": 34.285714285714285,
"alnum_prop": 0.4875,
"repo_name": "untitaker/rust",
"id": "8a8b53090570cadcd188b6f840b41ffbe81771ed",
"size": "6065",
"binary... |
package net.bytebuddy.dynamic.scaffold.inline;
import net.bytebuddy.ClassFileVersion;
import net.bytebuddy.build.HashCodeAndEqualsPlugin;
import net.bytebuddy.description.annotation.AnnotationList;
import net.bytebuddy.description.annotation.AnnotationValue;
import net.bytebuddy.description.method.MethodDescription;
... | {
"content_hash": "6c1a501dd114cca529b343850576ec90",
"timestamp": "",
"source": "github",
"line_count": 562,
"max_line_length": 165,
"avg_line_length": 38.16548042704626,
"alnum_prop": 0.5568557974730757,
"repo_name": "raphw/byte-buddy",
"id": "9df1c37c4c48e70afe6598e89be51dce029f9d4f",
"size": "22... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | {
"content_hash": "1dcd05f340f96c86e2ab21059affb6ce",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 191,
"avg_line_length": 42.48837209302326,
"alnum_prop": 0.69896004378763,
"repo_name": "chaigler/Torque3D",
"id": "fdaeaa84b825f0ef52121087f1595f3c3e897203",
"size": "3654... |
<!DOCTYPE html>
<html>
<body>
<ul>
<table bgcolor="#bbf9f9">
<tr>
<td>
<table border>
<tr>
<th> Exercise </th>
<th> Type </th>
<th> Title </th>
<th> Set by </th... | {
"content_hash": "fde2947dcad7d45cfab25091a491f8e5",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 146,
"avg_line_length": 46.66904761904762,
"alnum_prop": 0.4376817509310749,
"repo_name": "louisblin/cate-monitor",
"id": "7690ff2af7a6754d17fe13f8c3e7c7de898d555e",
"size... |
answer1 = widget_inputs["radio1"]
answer2 = widget_inputs["radio2"]
answer3 = widget_inputs["radio3"]
answer4 = widget_inputs["radio4"]
answer5 = widget_inputs["radio5"]
answer6 = widget_inputs["radio6"]
answer7 = widget_inputs["radio7"]
answer8 = widget_inputs["radio8"]
answer9 = widget_inputs["radio9"]
answer10 = wid... | {
"content_hash": "2ccd185fb403ef5950fb82516294f14e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 103,
"avg_line_length": 26.67924528301887,
"alnum_prop": 0.698019801980198,
"repo_name": "udacity/responsive-images",
"id": "746bfcfc47937f4cd108e5619081c7af8daa7e76",
"siz... |
package com.rbmhtechnology.eventuate
import java.util.{ List => JList, Optional => JOption }
import java.util.function.BiFunction
import scala.collection.JavaConverters._
import scala.compat.java8.OptionConverters._
import scala.util._
import VersionedAggregate._
/**
* Manages concurrent versions of an event-sou... | {
"content_hash": "076413ab2a631a9f33302c9e28890629",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 118,
"avg_line_length": 31.112903225806452,
"alnum_prop": 0.6841195783653016,
"repo_name": "ianclegg/eventuate",
"id": "f07b42b6affd0aaa4c5adbd298c9eae375a6010c",
"size": ... |
package uk.co.listpoint.contextmap;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by the JAX-WS RI.
... | {
"content_hash": "1728f1512997db50a13b146301bff674",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 201,
"avg_line_length": 53.83832335329341,
"alnum_prop": 0.7110443777110443,
"repo_name": "davidcarboni/listpoint-ws",
"id": "1ecef5d3df81edce4418d3989a45bce5cc9777d5",
"s... |
simple demo for ASP.NET 5
| {
"content_hash": "9b71bb1fffd1d69f47c4ddf386969583",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.7692307692307693,
"repo_name": "wki/AspNet5Demo",
"id": "6c0609eac5ff37cbb494c05d0c5760df478f3568",
"size": "40",
"binary": fals... |
package com.amazonaws.services.route53.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.stream.events.XMLEvent;
import com.amazonaws.services.route53.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.MapEntry;
import com.amazonaws.transform.Stax... | {
"content_hash": "05bd166ee494b19fc4d5e1b4b8e0779e",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 129,
"avg_line_length": 42.875,
"alnum_prop": 0.6285714285714286,
"repo_name": "SaiNadh001/aws-sdk-for-java",
"id": "5a496b6a02dfc6b8041e026b44e086bd4f9982b5",
"size": "401... |
package io.trivium.dep.org.objectweb.asm.util;
import io.trivium.dep.org.objectweb.asm.Opcodes;
import io.trivium.dep.org.objectweb.asm.signature.SignatureVisitor;
/**
* A {@link SignatureVisitor} that checks that its methods are properly used.
*
* @author Eric Bruneton
*/
public class CheckSignatureAdapter ext... | {
"content_hash": "852427996a06e378a803b20ca64c57f5",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 81,
"avg_line_length": 30.13907284768212,
"alnum_prop": 0.5813008130081301,
"repo_name": "trivium-io/trivium",
"id": "4568432d75b86a9a53a233494bc0a078fec4a587",
"size": "1... |
<?php
/**
* Description of FoursquarePhoto
*
* @author ner0tic
*/
namespace Ddnet\FoursquareBundle\Foursquare;
class FoursquarePhoto {
protected
$id = null,
$createdAt = null,
$url = null,
$sizes = array(),
$source = array(),
$us... | {
"content_hash": "84776b4fb9f25064ff105da40260b450",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 73,
"avg_line_length": 28.47826086956522,
"alnum_prop": 0.5625954198473282,
"repo_name": "ner0tic/daviddurost.net",
"id": "8e924c4d33c2de52fd9199de8d313c60642599be",
"size"... |
namespace BON {
//###############################################################################################################################################
//
// C L A S S : BON::EventMessage
//
//###################################################################################################################... | {
"content_hash": "732dda5c0833c4111d002890e7784fb9",
"timestamp": "",
"source": "github",
"line_count": 911,
"max_line_length": 145,
"avg_line_length": 26.934138309549944,
"alnum_prop": 0.5924522150222113,
"repo_name": "ronia/flame-adapter",
"id": "a433c562aafb6895d8c12ccafd069d1f72f5965c",
"size":... |
namespace vkDebug
{
// Default validation layers
extern int validationLayerCount;
extern const char *validationLayerNames[];
// Default debug callback
VkBool32 messageCallback(
VkDebugReportFlagsEXT flags,
VkDebugReportObjectTypeEXT objType,
uint64_t srcObject,
size_t location,
int32_t msgCode,
const ... | {
"content_hash": "0590ab193046abba0f87a380917a8dfe",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 26.5,
"alnum_prop": 0.7793904208998549,
"repo_name": "jaakkowork/Vulkan",
"id": "6b722a8548a58bc8e03f6124a0762cc06488a26f",
"size": "1013",
"binary... |
padding:5px;
font-weight:bold; font-size:1.3em;
font-family:Arial, Helvetica, sans-serif;
text-align:center;
background:#f2f2f2;
color:#3366cc;
border:1px solid #ccc;
display:inline;
cursor:pointer !important;
-moz-border-radius:5px; -webkit-border-radius:5px;
}
.darkbg{
background:#ddd !important;
}
#status... | {
"content_hash": "f2184929c5583a094be7d0779d454951",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 90,
"avg_line_length": 27.6,
"alnum_prop": 0.7318840579710145,
"repo_name": "dautushenka/car-market",
"id": "b54b41b6095f67d9c40c83a433d98c133e51a60e",
"size": "561",
"bi... |
extern "C" {
#endif
#define GAME_NAME "Mr.Boom"
#define GAME_VERSION "5.2"
#define PATH_MAX_LENGTH 256
#define WIDTH 320
#define HEIGHT 200
#define NB_COLORS_PALETTE 256
#define nb_dyna 8
#ifndef PLATFORM
#define PLATFORM "Unknown"
#endif
... | {
"content_hash": "e503b8010fa803efe370484a5133c110",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 131,
"avg_line_length": 27.738636363636363,
"alnum_prop": 0.6767718148299877,
"repo_name": "Javanaise/mrboom-libretro",
"id": "34adfe11c27dd0f10d8e820af1f86bff491db72d",
"s... |
<?php
/**
* @see Zend_Crypt_Math_BigInteger
*/
require_once 'Zend/Crypt/Math/BigInteger.php';
/**
* @category Zend
* @package Zend_Crypt
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
cl... | {
"content_hash": "7ed6ea109bfd1838c969f959d5fbbbd2",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 87,
"avg_line_length": 25.301204819277107,
"alnum_prop": 0.5476190476190477,
"repo_name": "studiodev/archives",
"id": "de0679fa4fbc6d984bae196b8c20878c531fdfb6",
"size": "2... |
package com.amazonaws.services.lambda.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum PackageType {
Zip("Zip"),
Image("Image");
private String value;
private PackageType(String value) {
this.value = value;
}
... | {
"content_hash": "9e4d66f9bc425a89d192e779e9f31cc6",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 91,
"avg_line_length": 23.79591836734694,
"alnum_prop": 0.5943396226415094,
"repo_name": "aws/aws-sdk-java",
"id": "ea8e0183da2c9eba0163113c9390a396b323a0b1",
"size": "1746... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.