text stringlengths 2 1.04M | meta dict |
|---|---|
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("2.... | {
"content_hash": "2db714b7fafa29a8ac8891d35c963c44",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.97222222222222,
"alnum_prop": 0.744832501781896,
"repo_name": "aleksandra992/TelerikAcademy",
"id": "263792203e6d2084129200154e57cfc5723ffeba",
"s... |
import time
# ============= local library imports ==========================
from pychron.core.helpers.strtools import csv_to_floats
from pychron.lasers.laser_managers.serial_laser_manager import SerialLaserManager
class ReadPositionError(BaseException):
def __init__(self, xyz):
self._msg = "ReadPositio... | {
"content_hash": "bf44f6ab0bef03b04d1d4352c1c8f4af",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 109,
"avg_line_length": 30.90459363957597,
"alnum_prop": 0.49485479076149097,
"repo_name": "NMGRL/pychron",
"id": "f10c4d9598b40f94fc5891c5b729f38b844b2364",
"size": "9612... |
@implementation APYahooDataPullerGraph
-(void)reloadData
{
if ( !graph ) {
graph = [[CPTXYGraph alloc] initWithFrame:CGRectZero];
CPTTheme *theme = [CPTTheme themeNamed:@"Dark Gradients"];
[graph applyTheme:theme];
graph.paddingTop = 30.0;
graph.paddingBottom = 30.0;
... | {
"content_hash": "c0ea3cc11f27ad857a69955764ac24bf",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 157,
"avg_line_length": 31.24590163934426,
"alnum_prop": 0.6962224554039874,
"repo_name": "aufflick/core-plot",
"id": "eae625f580b7deea72934a12d912b2f926c91daf",
"size": "... |
database(
thermoLibraries = ['primaryThermoLibrary'],
reactionLibraries = [],
seedMechanisms = [],
kineticsDepositories = ['training'],
kineticsFamilies = ['!Intra_Disproportionation','!Substitution_O'],
kineticsEstimator = 'rate rules',
)
# List of species
species(
label='ethane',
reac... | {
"content_hash": "fd7c7180b6c77dcbd5e505a45a9d04a7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 71,
"avg_line_length": 19.557692307692307,
"alnum_prop": 0.6460176991150443,
"repo_name": "enochd/RMG-Py",
"id": "1bf80ef09e70a9645ec76339de3d4e0b475ed181",
"size": "1032",... |
// ***********************************************************************
// Assembly : EveLib.EveOnline
// Author : Lars Kristian
// Created : 03-06-2014
//
// Last Modified By : Lars Kristian
// Last Modified On : 06-19-2014
// *************************************************************... | {
"content_hash": "751bae93c078792c202828881180cf1a",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 92,
"avg_line_length": 33.99354838709677,
"alnum_prop": 0.45606376921617003,
"repo_name": "RapidFiring/evelib",
"id": "d2ee1459783872f849e4ca7138a21e7bbdbabdde",
"size": "... |
/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/build/beam/targeting/targetservice.C $ */
/* ... | {
"content_hash": "c492bfaaea2bd657b2c36af688504e54",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 75.33333333333333,
"alnum_prop": 0.3877212389380531,
"repo_name": "shenki/hostboot",
"id": "4e069351d4bd42b141bd15aec004233ab6ab9cee",
"size": "1808"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4b358da5e6cad959852be282e7923a82",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "be60b4686dd0b05b05a73b6eda46ee5752d94561",
"size": "200... |
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.analysis;
import com.intellij.codeInsight.daemon.ProblemHighlightFilter;
import com.intellij.lang.injection.InjectedLanguageManager;
import com.intellij.openapi.application.App... | {
"content_hash": "26a80b02403f5025ecd6fbbe867c60c1",
"timestamp": "",
"source": "github",
"line_count": 733,
"max_line_length": 169,
"avg_line_length": 35.29331514324693,
"alnum_prop": 0.6920757634325474,
"repo_name": "smmribeiro/intellij-community",
"id": "5c1d0e35380f7853a20f996789df9716fa71c62b",
... |
import warnings
import numpy as np
from ..base import BaseEstimator, TransformerMixin
from ..utils.metaestimators import available_if
from ..utils.validation import (
_allclose_dense_sparse,
_check_feature_names_in,
check_array,
)
from ..utils._param_validation import StrOptions
def _identity(X):
""... | {
"content_hash": "ac11c8ca07c36d55dad8b573127874d3",
"timestamp": "",
"source": "github",
"line_count": 339,
"max_line_length": 88,
"avg_line_length": 35.84365781710915,
"alnum_prop": 0.6006913011274793,
"repo_name": "betatim/scikit-learn",
"id": "d4c2cf6de7af2163f29eeda2d5b261924427e1f6",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BeeHive.Configuration;
namespace ConveyorBelt.Tooling.Configuration
{
public interface ISourceConfiguration
{
IEnumerable<DiagnosticsSource> GetSources();
void UpdateSour... | {
"content_hash": "5f7837b6657151554c0d2502203600b1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 114,
"avg_line_length": 24.94736842105263,
"alnum_prop": 0.7637130801687764,
"repo_name": "aliostad/ConveyorBelt",
"id": "5fb82d5d07730f0e7105357d8e85edb3fcc7e899",
"size":... |
namespace Framework
{
namespace Posix
{
class CVolumeStream : public CStream
{
public:
CVolumeStream(const char*);
virtual ~CVolumeStream();
virtual void Seek(int64, STREAM_SEEK_DIRECTION);
virtual uint64 Tell();
virtual uint64 Read(void*, uint64);
virtual uint64 Write(const void*, u... | {
"content_hash": "c2d442f72acaccb37aa7ed8008555906",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 51,
"avg_line_length": 17.666666666666668,
"alnum_prop": 0.630188679245283,
"repo_name": "Flav900/Play-",
"id": "8cbf09bb2194e29e20eda6c3bb99e044000415f6",
"size": "614",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ae1f995e38e80da8be9583f33d477cf9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "d007b6073bace5483e68d4d73664cc6567a6fc78",
"size": "181... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "6363ee646c560e5f8b1052b8c2be2b6c",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 699,
"avg_line_length": 39.37735849056604,
"alnum_prop": 0.6632327104296438,
"repo_name": "MozCCBham/RaspberryPiNodebots",
"id": "786f35ed6a2c3532c7852abbba29b824168278b2",
... |
JsonapiSpecHelpers::Payload.register(:event_with_metadata) do
key(:lims_id, String, description: 'Short identifier indicating the originating lims')
key(:occured_at, String, description: 'Time at which the event occurred (ISO 8601)')
key(:user_identifier, String, description: 'A unique identifier for the user who... | {
"content_hash": "597214e375456db1829d8e2b04861681",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 103,
"avg_line_length": 64,
"alnum_prop": 0.7633928571428571,
"repo_name": "JamesGlover/event_warehouse",
"id": "bd28ff9a1f1c9a811d4d4102ea31dbc3e81ebeb3",
"size": "479",
... |
package jfxtras.internal.scene.control.skin.agenda.base24hour;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.TimeZone;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.Simple... | {
"content_hash": "842333cdf6bdd11e0b48985ece21fef4",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 229,
"avg_line_length": 38.3494623655914,
"alnum_prop": 0.7330716388616291,
"repo_name": "palawchust/jfxtras",
"id": "6890335d69d8b259c8535f6f409936526e42a2a1",
"size": "8... |
namespace clotho {
namespace genetics {
template < class AlleleType >
struct trait_helper_of;
} // namespace genetics
} // namespace clotho
#endif // CLOTHO_TRAIT_HELPER_OF_HPP_
| {
"content_hash": "bb545d2b033ebbfd0d6c1cc8766b004a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 38,
"avg_line_length": 18.6,
"alnum_prop": 0.7150537634408602,
"repo_name": "putnampp/clotho",
"id": "af08d7fa726f1091c3367f49e65a241767023802",
"size": "870",
"binary": ... |
/*
* FPGAState.h
*
* Created on: Feb 7, 2015
* Author: carl, james
*/
#ifndef FPGASTATE_H_
#define FPGASTATE_H_
#include <list>
#include <vector>
#include "State.h"
#include "FPGAData.h"
/**
* FPGAState is an Observable used by FPGAModel to hold data sent from the FPGA.
*/
class FPGA... | {
"content_hash": "e5b1788032a063a6bcd72e0c869fda87",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 103,
"avg_line_length": 31.095744680851062,
"alnum_prop": 0.6199110502907971,
"repo_name": "James534/SubZero",
"id": "f5765f052daab109de63460b1ed5e387ff11b3e1",
"size": "29... |
echo "Time to download some data!"
mkdir -p ../historical_data
cd ../historical_data
rm LoanStats3*
rm RejectStats*
rm LCDataDictionary.xlsx
wget https://resources.lendingclub.com/LCDataDictionary.xlsx
wget https://resources.lendingclub.com/LoanStats3a_securev1.csv.zip
unzip LoanStats3a_securev1.csv.zip
sed -i '' '1d... | {
"content_hash": "00332f9465b5910666627910d0d88a71",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 80,
"avg_line_length": 34.30232558139535,
"alnum_prop": 0.7491525423728813,
"repo_name": "ahuus1/lending-club-elasticsearch",
"id": "4380a502503d506e6405cd586ee38b3d86e2ce7b"... |
.instructions{
border: solid;
border-radius: 5px;
background-color: #ec971f; /*orange*/
margin-top: 10px;
position: relative;
}
.instructions h2{
padding: 5px;
}
.btn-success{
border: solid;
border-radius: 5px;
color: #fff;
/*background-color: #337ab7;*/
border-color: #FFFF... | {
"content_hash": "1efe09c138c3252655aab93cd8ccfb84",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 41,
"avg_line_length": 15.75,
"alnum_prop": 0.6172839506172839,
"repo_name": "akowalz/regex-adventures",
"id": "c0e19df44ed9f70c4d7050f856a53c253d62fb12",
"size": "567",
... |
require "active_support/core_ext/hash/deep_merge"
module ActiveSupport
class OptionMerger #:nodoc:
instance_methods.each do |method|
undef_method(method) unless method.match?(/^(__|instance_eval|class|object_id)/)
end
def initialize(context, options)
@context, @options = context, options
... | {
"content_hash": "4b107b9a588f5b94dd7d081355138435",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 86,
"avg_line_length": 29.11111111111111,
"alnum_prop": 0.6272264631043257,
"repo_name": "arunagw/rails",
"id": "fdd954b7601a2cafc0062c8691508914cb1ab760",
"size": "817",
... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | {
"content_hash": "fc3fb606ff936de13b0849af1957f05d",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 562,
"avg_line_length": 40.2625,
"alnum_prop": 0.5740453275380316,
"repo_name": "kuhlenh/port-to-core",
"id": "6831f35fcd1697a29500ce944765be1fa902470d",
"size": "9663",
... |
var express = require('express')
var mongoose = require('mongoose')
var bodyParser = require('body-parser')
var morgan = require('morgan')
var app = express();
mongoose.connect('mongodb://localhost/AstroRunDB');
app.use(express.static('../public'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({
ex... | {
"content_hash": "0d669d78999acd260100dc96bc77713f",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 71,
"avg_line_length": 25.0354609929078,
"alnum_prop": 0.5073654390934844,
"repo_name": "Chris113113/AstroRun",
"id": "485438cc3bbc0c91ce66bec6f87a1d11c6790bce",
"size": "... |
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Builders
{
/// <summary>
/// CombinatorialStrategy creates test cases by using all possible
/// combinations of the parameter data.
/// </summary>
public class Combinator... | {
"content_hash": "b820e511a0ba900586e669509f9027c2",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 77,
"avg_line_length": 31.78,
"alnum_prop": 0.5437382001258654,
"repo_name": "mjedrzejek/nunit",
"id": "22f1728dc6cd2c38306761378071a47bd7bb16e5",
"size": "1699",
"binary... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostic... | {
"content_hash": "41f3731220fb589e1198403fff8c7482",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 101,
"avg_line_length": 24.90740740740741,
"alnum_prop": 0.4587360594795539,
"repo_name": "jmarolf/roslyn",
"id": "ff3fa70d951b8a3d52baac975540d145a850f609",
"size": "4037... |
package com.salesforce.androidsdk.smartsync.manager;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
... | {
"content_hash": "7ae9859b7e6f083e9dcd376756d2001e",
"timestamp": "",
"source": "github",
"line_count": 1196,
"max_line_length": 143,
"avg_line_length": 41.718227424749166,
"alnum_prop": 0.5834051508167151,
"repo_name": "kchitalia/SalesforceMobileSDK-Android",
"id": "e8f66f4630fbc5ecd89a452f1d5c06d0a... |
module EventsHelper
# フォームのURL
def form_url
if params[:action] == 'edit'
return { action: :update, id: @event.id, admin_token: @event.admin_token }
else
return { action: :create }
end
end
# イベント削除リンク
def link_to_destroy_event(label='このイベントを削除する',
html_options={}
)
link_... | {
"content_hash": "2eb62d628fca257e543eeec2c3ad5763",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 25.814814814814813,
"alnum_prop": 0.6327116212338594,
"repo_name": "kosenconf/conf-in",
"id": "0645bb78b7427f7d75d90e05e57a3e6ca203b79c",
"size": "84... |
/*
* Global definition of all the bootwrapper operations.
*
* Author: Mark A. Greer <mgreer@mvista.com>
*
* 2006 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether expres... | {
"content_hash": "40ee14ed5eb64c5ff502ef17c40a0d3e",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 80,
"avg_line_length": 28.931297709923665,
"alnum_prop": 0.653957783641161,
"repo_name": "publicloudapp/csrutil",
"id": "5e75e1c5518e8a986dd9bce6b43a2b564112e120",
"size":... |
<?php
require_once realpath(__DIR__ . '/..') . '/vendor/autoload.php';
require_once realpath(__DIR__ . '/..') . '/Utils.php';
use Aspose\Tasks\TasksApi;
use Aspose\Tasks\AsposeApp;
class Calendars {
public $tasksApi;
public function __construct() {
AsposeApp::$appSID = Utils::appSID;
AsposeApp::$apiKey = Util... | {
"content_hash": "abdd99f33d1b6a12b1f7acb90df6045e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 109,
"avg_line_length": 23,
"alnum_prop": 0.6681159420289855,
"repo_name": "asposetasks/Aspose_Tasks_Cloud",
"id": "29d6cf600ace6e84e6c608c53802b3196c210240",
"size": "701"... |
package org.infinispan.commands.tx;
import org.infinispan.commands.Visitor;
import org.infinispan.commands.write.ApplyDeltaCommand;
import org.infinispan.commands.write.ClearCommand;
import org.infinispan.commands.write.DataWriteCommand;
import org.infinispan.commands.write.PutKeyValueCommand;
import org.infinispan.c... | {
"content_hash": "737ce349287c7be47a4f16303b36a674",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 127,
"avg_line_length": 35.226148409893995,
"alnum_prop": 0.6949543585113853,
"repo_name": "nmldiegues/stibt",
"id": "a3c047a152f1499b1ca1bd542a7d1f28c5bdc515",
"size": "1... |
#include "drmP.h"
#include "drm.h"
#include "i915_drm.h"
#include "i915_drv.h"
#include "i915_trace.h"
#include "intel_drv.h"
struct change_domains {
uint32_t invalidate_domains;
uint32_t flush_domains;
uint32_t flush_rings;
uint32_t flips;
};
/*
* Set the next domain for the specified object. This
* may not ... | {
"content_hash": "6402e1540196720df1a2e3fd3a523196",
"timestamp": "",
"source": "github",
"line_count": 1316,
"max_line_length": 87,
"avg_line_length": 26.596504559270517,
"alnum_prop": 0.6533241907374076,
"repo_name": "sahdman/rpi_android_kernel",
"id": "4934cf84c320336aa84320da544cc1e0d091da1c",
... |
@interface ViewModel : RVMViewModel
// VC
@property (nonatomic, assign) NSInteger currentPage;
@property (nonatomic, strong) NSArray *tableViewData;
- (void)triggerRequest;
// Cell
@property (nonatomic, strong) id data;
@property (nonatomic, copy) NSString *textLabelText;
@end
| {
"content_hash": "9d92673ecf5cb0524b4d03e9be0b9b1e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 53,
"avg_line_length": 20.214285714285715,
"alnum_prop": 0.7561837455830389,
"repo_name": "snownothing/ReactiveCocoaTableViewDemo",
"id": "e595a2da3db5ec0a4ce27a0e61ffd008975... |
package assert
import os__ "os"
import bytes__ "bytes"
import http__ "net/http"
import json__ "encoding/json"
import exec__ "os/exec"
import ioutil__ "io/ioutil"
// ValueAssertionResult represents operations that may be performed on
// the result of value assertion. For example:
//
// assert.For(t).ThatActual(val... | {
"content_hash": "0d4207907b8651b5503f02f4984d6540",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 145,
"avg_line_length": 31.61,
"alnum_prop": 0.7187598861119899,
"repo_name": "workfit/tester",
"id": "cdc423a4a1f3726ee9674e9c997924b3b39459d5",
"size": "3161",
"binary... |
<?php
namespace Magento\Catalog\Test\Constraint;
use Magento\Catalog\Test\Page\Adminhtml\CatalogProductAttributeNew;
use Magento\Mtf\Constraint\AbstractConstraint;
/**
* Class AssertAbsenceDeleteAttributeButton
* Checks the button "Delete Attribute" on the Attribute page
*/
class AssertAbsenceDeleteAttributeButt... | {
"content_hash": "c075a5214225665db3ea7bdce1e0f732",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 97,
"avg_line_length": 27.92105263157895,
"alnum_prop": 0.6974552309142319,
"repo_name": "andrewhowdencom/m2onk8s",
"id": "20b3959a0b9baadda36a11b4d4f424acf4a8fabe",
"size"... |
package org.jvmmonitor.core;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Status;
/**
* The JVM core exception.
*/
public class JvmCoreException extends CoreException {
/** The serial version UID. */
private static final long serialVersionUID = 1L;
/**
* The con... | {
"content_hash": "2dac62e6f19537f20f4172396e04f115",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 72,
"avg_line_length": 23.964285714285715,
"alnum_prop": 0.6214605067064084,
"repo_name": "TANGO-Project/code-optimiser-plugin",
"id": "1f7b683833a2f9672bcd36acae7248c67158f6... |
.. @raise litre.TestsAreMissing
.. _FAQ:
Frequently Asked Questions about Swift
======================================
Obviously many more questions can be added.
Do you plan to rewrite the Swift compiler in Swift?
---------------------------------------------------
Not in the short term. C++ is a very pragmatic... | {
"content_hash": "0a98134abff13d362f3ec751341169ec",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 80,
"avg_line_length": 44.50877192982456,
"alnum_prop": 0.7169885691761924,
"repo_name": "sdulal/swift",
"id": "c7cdcdf70521994cfe3de4a56f552e34b3a7a099",
"size": "2537",
... |
package com.theOldMen.swipelistview;
import android.content.Context;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.ViewConfigurationCompat;
import android.util.AttributeSet;
import android.view.MotionEv... | {
"content_hash": "386df1e771fa947192d78dd6c5a70813",
"timestamp": "",
"source": "github",
"line_count": 517,
"max_line_length": 232,
"avg_line_length": 29.100580270793035,
"alnum_prop": 0.6331006979062812,
"repo_name": "ChanJLee/DecryptStranger",
"id": "3e9d6565363617da882fd8b1b02594f011aed4d2",
"s... |
movieFile=$1
workDir=$2
framesDir=$workDir/frames
tilesDir=$workDir/tiles
tiledMovieDir=$workDir/movie.tdmovie
scriptsDir=~eolson/am-macs/src/flPy/flTile/scripts
. ~eolson/am-macs/env.sh
cd ~eolson/am-macs/src/flPy/flTile/scripts
echo "Converting movie to frames"
mkdir -p $framesDir
python $scriptsDir/movieToImages.p... | {
"content_hash": "3e5b871d10b05707b4a6e7f59edfc97d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 85,
"avg_line_length": 27.06,
"alnum_prop": 0.7398373983739838,
"repo_name": "rpwagner/tiled-display",
"id": "b336788c0a50584e3b7c7603c134b9e56dce734e",
"size": "1366",
"... |
package org.openkilda.persistence.repositories;
import org.openkilda.model.GroupId;
import org.openkilda.model.MirrorGroup;
import org.openkilda.model.PathId;
import org.openkilda.model.SwitchId;
import java.util.Collection;
import java.util.Optional;
public interface MirrorGroupRepository extends Repository<Mirro... | {
"content_hash": "ed4fee5c5e92dc64036c2feb7cffaee1",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 115,
"avg_line_length": 30.183333333333334,
"alnum_prop": 0.688017669795693,
"repo_name": "telstra/open-kilda",
"id": "26292c8244d7d73ce87eba333a0c6936fa68da4f",
"size": "2... |
<!DOCTYPE html >
<html>
<head>
<script src="../libraries/RGraph.common.core.js" ></script>
<script src="../libraries/RGraph.common.dynamic.js" ></script>
<script src="../libraries/RGraph.common.key.js" ></script>
<script src="../libraries/RGraph.drawing.rect.js" ></script>
<script src="../libraries/... | {
"content_hash": "e1a705a5e997a401118533bf18a9046b",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 519,
"avg_line_length": 33.57017543859649,
"alnum_prop": 0.5377580350143716,
"repo_name": "mkiwebs/churchapp",
"id": "eb9ba5bd4263d33094e4c00f91321ba185d7ffe1",
"size": "3... |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
set I18NSPHINXOPTS=%SPHINXOPTS% source
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
... | {
"content_hash": "25f6dbb5d446abff9325d43cceb28729",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 80,
"avg_line_length": 26.70722433460076,
"alnum_prop": 0.7064350797266514,
"repo_name": "qPCR4vir/orange3",
"id": "3064e1fb18d368f56a86dca33801fb2bd1fce6b0",
"size": "702... |
Upgrading UnicodeSetAttribute
=============================
.. warning::
The behavior of 'UnicodeSetAttribute' has changed in backwards-incompatible ways
as of the 1.6.0 and 3.0.1 releases of PynamoDB.
The following steps can be used to safely update PynamoDB assuming that the data stored
in the item's Unico... | {
"content_hash": "9a164b7f655b95e9728408a707ea0350",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 89,
"avg_line_length": 43.432432432432435,
"alnum_prop": 0.7411325451151214,
"repo_name": "pynamodb/PynamoDB",
"id": "1c69a93abcfe788398f1b3873898f2529e4fdbfa",
"size": "16... |
var TsugiUtils = require('../src/util/TsugiUtils');
describe('TsugiUtils', function() {
it('emptyPromise', function () {
TsugiUtils.emptyPromise(42).then( function(val) {
assert.equal(val, 42);
console.log("Empty 42 success (correct):", val);
}, function(val) {
assert.fail("Empty 42 f... | {
"content_hash": "308ef4e1fd2ad05a967ac3a8124f8ead",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 79,
"avg_line_length": 30.307692307692307,
"alnum_prop": 0.5717005076142132,
"repo_name": "csev/tsugi-node",
"id": "d14d3086af18107cf9541baddf45e3c0cb861b24",
"size": "1578... |
namespace base {
class DictionaryValue;
}
namespace google_apis {
class AboutResource;
class ChangeResource;
class FileResource;
}
namespace drive {
// This class implements a fake DriveService which acts like a real Drive
// service. The fake service works as follows:
//
// 1) Load JSON files and construct the in-m... | {
"content_hash": "558fc5cc2b74996e6668ec0ce2ae8487",
"timestamp": "",
"source": "github",
"line_count": 393,
"max_line_length": 80,
"avg_line_length": 40.025445292620866,
"alnum_prop": 0.7204068658614113,
"repo_name": "lihui7115/ChromiumGStreamerBackend",
"id": "09ae14a11413f093424478da4211f0974758d6... |
package com.googlecode.batchfb.test;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import com.googlecode.batchfb.Batcher;
import com.googlecode.batchfb.FacebookBatcher;
/**
* Some simple tools common to all tests
*
* @author Jeff Schnitzer
*/
public cl... | {
"content_hash": "bea6d45f654e45985c00da0b5232fb9c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 81,
"avg_line_length": 23.62162162162162,
"alnum_prop": 0.7242562929061785,
"repo_name": "google-code/batchfb",
"id": "be89f390a95351d6bdc6a15b8f0796b140db1f37",
"size": "2... |
/*
Responsive Mobile Menu v1.0
Plugin URI: responsivemobilemenu.com
Author: Sergio Vitov
Author URI: http://xmacros.com
License: CC BY 3.0 http://creativecommons.org/licenses/by/3.0/
*/
.rmm {
display:block;
position:relative;
width:100%;
padding:0px;
margin:0 auto !important;
text-align: center;
line-heigh... | {
"content_hash": "624a359a291de7ddd1de5a99e33c8cb0",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 63,
"avg_line_length": 20.148606811145513,
"alnum_prop": 0.7194222495390289,
"repo_name": "shumanac/BBF",
"id": "e595e305aba383a0cbc0018b556bd1437e18d7ab",
"size": "6508",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Prodr. 5:642. 1836
#### Original name
null
### Remarks
null | {
"content_hash": "72f2e080269e156b8e4314d5aa6c0e44",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.307692307692308,
"alnum_prop": 0.6870748299319728,
"repo_name": "mdoering/backbone",
"id": "f8ef1fd1af31680f4e29321530cb6e6bb06614d2",
"size": "20... |
package com.metl.utils
import net.liftweb.actor.LiftActor
import net.liftweb.http._
import net.liftweb.util.Helpers.TimeSpan
import net.liftweb.util.Schedule
case object Refresh
case object Stop
class PeriodicallyRefreshingVar[T](acceptedStaleTime:TimeSpan, valueCreationFunc:()=>T, startingValue:Option[T] = None) ext... | {
"content_hash": "57fd060994a083e9bed1b1db33e8e4cc",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 138,
"avg_line_length": 29.09090909090909,
"alnum_prop": 0.72625,
"repo_name": "StackableRegiments/analyticalmetlx",
"id": "1318cc9d8ed704c18e71f58d76305ec527bea255",
"size... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "6a50f386ba74b27f60275409be595aff",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 960,
"avg_line_length": 62.95945945945946,
"alnum_prop": 0.6919939901266366,
"repo_name": "scamicha/SCC15HPCRepast",
"id": "357af678aef3b0a29d7b9f0786acf115fa063427",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017 Victor Campos
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | {
"content_hash": "9a91936dbccaf40534e450e8a84e8407",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 72,
"avg_line_length": 35.94915254237288,
"alnum_prop": 0.693069306930693,
"repo_name": "vic797/prowebview",
"id": "21db82f8262ca277baf7349b9d376088d2502152",
"size": "2121... |
var gameSvg = document.getElementById("gameSVG");
var gameObjects = [];
var currentDrone = null;
var currentHelicopter = null;
var currentAmbulance = null;
var helicopterIndex = 0;
var droneIndex = 0;
var ambulanceIndex = 0;
var input = {
keyMap: {
37: 'left',
... | {
"content_hash": "167122c6685952e419438076af30aae6",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 240,
"avg_line_length": 41.254612546125465,
"alnum_prop": 0.5254919499105546,
"repo_name": "rsksenthil/Y2K-30",
"id": "54f7462a3473a71d6afa9fc1a8b1b504c94dea7b",
"size": "... |
var WebpackRewirePlugin = require('rewire-webpack');
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
framework... | {
"content_hash": "88fd16bbe9d0eb03a5d2e5a8e8db05fa",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 120,
"avg_line_length": 23.38888888888889,
"alnum_prop": 0.6484560570071259,
"repo_name": "katranci/PositionSticky",
"id": "d3593eca6ef95d7d84b89d28dca0fb832d38ed42",
"size... |
package sdk
import (
"math/big"
"github.com/fractalplatform/fractal/params"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/fractalplatform/fractal/common"
"github.com/fractalplatform/fractal/rpc"
"github.com/fractalplatform/fractal/types"
)
// SendRawTransaction send signed tx
func (api *API) Se... | {
"content_hash": "f56ab66141aa9a885a216d9a224c282f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 95,
"avg_line_length": 31.346666666666668,
"alnum_prop": 0.7218205019140791,
"repo_name": "fractalPlatform/Fractal",
"id": "225fb8238f9d1e11d67b8c43130b31141c5665d6",
"size... |
Wakeup-Lamp
===========
## **WARNING:** This project users mains voltage and misuse or lack of knowledge could result in severe injury or even death.
If you don't know what you are doing or are unsure of what you are doing don't attempt this project.
The software required to make a wakeup lamp using a Raspberry Pi, V... | {
"content_hash": "dc800a621ffe389a3b77b2ded96329a2",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 149,
"avg_line_length": 49.04,
"alnum_prop": 0.7707993474714518,
"repo_name": "thelukemccarthy/Wakeup-Lamp",
"id": "a14c5935d106ebc1588c5a05c2e0a0028adb8171",
"size": "1227... |
<?php
namespace Doctrine\ODM\MongoDB\Tests\Functional\Ticket;
class MODM117Test extends \Doctrine\ODM\MongoDB\Tests\BaseTest
{
public function testIssue()
{
$user = new MODM117User();
$user->first_name = 'jon';
$user->last_name = 'wage';
$this->dm->persist($user);
$this... | {
"content_hash": "d6773d3f095f6d91daccdcc7b22a5f1b",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 21.88095238095238,
"alnum_prop": 0.5495103373231773,
"repo_name": "l3l0/BehatExamples",
"id": "e22f66431a3279bf59a4cee24a32f3fc83591feb",
"size": "91... |
using base::ASCIIToUTF16;
namespace chromeos {
extern const char* kExtensionImePrefix;
namespace input_method {
namespace {
const char pinyin_ime_id[] = "zh-t-i0-pinyin";
const char zhuyin_ime_id[] = "zh-hant-t-i0-und";
class TestableInputMethodUtil : public InputMethodUtil {
public:
explicit TestableInputMeth... | {
"content_hash": "5a09df0a85cdfed26e47f668d20af6f6",
"timestamp": "",
"source": "github",
"line_count": 437,
"max_line_length": 82,
"avg_line_length": 40.74828375286041,
"alnum_prop": 0.6504183747964284,
"repo_name": "ondra-novak/chromium.src",
"id": "da79a35533b39028a2f103422cf38a0275c647ce",
"siz... |
<!--
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.0
(the "License"); you may not... | {
"content_hash": "273737a3f5af109b3357f57b4ca2ac20",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 201,
"avg_line_length": 35.339285714285715,
"alnum_prop": 0.5497726124305204,
"repo_name": "lburgazzoli/apache-activemq-artemis",
"id": "97f4f9fd6890dda5b6859aa1911b8826b80c... |
(function () {
'use strict';
angular
.module('contactus')
.factory('ContactusService', ContactusService);
ContactusService.$inject = ['$resource'];
function ContactusService($resource) {
return $resource('api/contactus/:contactuId', {
contactuId: '@_id'
}, {
update: {
meth... | {
"content_hash": "98fe2d5eff9d868c29423392025ee63f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 51,
"avg_line_length": 18.736842105263158,
"alnum_prop": 0.5702247191011236,
"repo_name": "ProjectGroupB/SchoolNotes",
"id": "cb8b4cdfa1cba04223c69baf333a5be92b5ac30f",
"si... |
def extractKysqiWordpressCom(item):
'''
Parser for 'kysqi.wordpress.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loiterous', 'L... | {
"content_hash": "6c201c49e771c66d0ee8a72b9087c9ef",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 104,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.6284153005464481,
"repo_name": "fake-name/ReadableWebProxy",
"id": "6b70057fc5edb708e0f2bcbcdb6ad38a20566880",
"... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
Imports Analyzer.Utilities.Extensions
Imports Microsoft.CodeAnalysis.Analyzers
Imports Microsoft.CodeAnalysis.Diagnostics
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
N... | {
"content_hash": "e4c8a55c841e12ad1e42903b6ec0f387",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 144,
"avg_line_length": 42.51111111111111,
"alnum_prop": 0.7370622059592263,
"repo_name": "dotnet/roslyn-analyzers",
"id": "3146ef4850ced0ee307891e66800eac0b5350723",
"size... |
require 'digest/md5'
def traverse_dir()
theFileDir = '/Users/Shared/GitHub/QuanGe.github.io/images/jhds/copy/pepole/'
if File.directory? theFileDir
Dir.foreach(theFileDir) do |file|
if file !="." and file !=".." and file !=".DS_Store"
#File.rename('/Users/git/Desktop/jhds/copy/... | {
"content_hash": "6fd5fc2a97d986400b9edfd83635a8e3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 115,
"avg_line_length": 35.578947368421055,
"alnum_prop": 0.6035502958579881,
"repo_name": "QuanGe/QuanGe.github.io",
"id": "460c5be9205592146883559a7cda30f5283110ba",
"siz... |
var loadState = {
preload: function(){
debug ? d('Loading assets...') : null;
game.load.tilemap('level_map', 'assets/level1.json', null, Phaser.Tilemap.TILED_JSON);
game.load.image('tileset_image', 'assets/tileset.png');
game.load.image('ship_sprite', 'assets/ship.png');
game.load.image('s... | {
"content_hash": "6ea5c05835400735eb4c97b5c6934913",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 88,
"avg_line_length": 29.142857142857142,
"alnum_prop": 0.6299019607843137,
"repo_name": "Mornius/Captainz",
"id": "93898cb181086dee744de3bc76659c03858b8c2a",
"size": "408... |
<?php
namespace AppBundle\Controller;
use AppBundle\Entity\MsvEvaluacion;
use AppBundle\Entity\MsvCategoria;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoun... | {
"content_hash": "be632004c957d702c952ec0f092e1642",
"timestamp": "",
"source": "github",
"line_count": 482,
"max_line_length": 224,
"avg_line_length": 37.68879668049792,
"alnum_prop": 0.530936915116151,
"repo_name": "edosgn/colossus-sit",
"id": "66ad39207cd7676bc451d3afca3ae60d711ef986",
"size": "... |
package at.forsyte.apalache.tla.imp.src
import at.forsyte.apalache.tla.lir.TlaEx
import at.forsyte.apalache.tla.lir.transformations.{TlaExTransformation, TransformationTracker}
/**
* This is a special form of transformation tracker that records the changes directly in the source store.
* In general, this behavior... | {
"content_hash": "41833806271c0b261aff4bbd993ccc0e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 107,
"avg_line_length": 38.285714285714285,
"alnum_prop": 0.7257462686567164,
"repo_name": "konnov/dach",
"id": "03ec895da57877d94af506b56ab099fcbed672d1",
"size": "1072",
... |
package org.kuali.rice.ksb.messaging.remotedservices;
import org.kuali.rice.core.api.util.jaxb.MapStringStringAdapter;
import org.kuali.rice.core.api.util.jaxb.MultiValuedStringMapAdapter;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import... | {
"content_hash": "b586c1c45bf25e3473322b4abe4d3464",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 84,
"avg_line_length": 30.71794871794872,
"alnum_prop": 0.7195325542570952,
"repo_name": "sbower/kuali-rice-1",
"id": "74170e8bc36a047c42053e52ffe7912b84f8a784",
"size": "1... |
Python Client for Cloud Spanner
===============================
|pypi| |versions|
`Cloud Spanner`_ is the world's first fully managed relational database service
to offer both strong consistency and horizontal scalability for
mission-critical online transaction processing (OLTP) applications. With Cloud
Spanner you e... | {
"content_hash": "5f81aa948d56e4122de0e4e278b3efdf",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 126,
"avg_line_length": 31.56084656084656,
"alnum_prop": 0.6670578373847443,
"repo_name": "tseaver/gcloud-python",
"id": "a596b827a80155b98a7948dcf45e24734d5d9e12",
"size"... |
<?php
namespace Mfc\Prometheus\Services\Metrics;
use Mfc\Prometheus\Domain\Repository\FeUsersRepository;
class FeUsersMetrics extends AbstractMetrics
{
protected $velocity = 'fast';
public function getVelocity()
{
return parent::getVelocity();
}
public function getMetricsValues()
{
... | {
"content_hash": "9a5e004851f96795d76efa4d903a550e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 90,
"avg_line_length": 26.5,
"alnum_prop": 0.7135506003430532,
"repo_name": "marketing-factory/typo3_prometheus",
"id": "b8d05664c920f44109fc9447e95ab15da33e32cc",
"size": ... |
<?php
/**
* Property filter form.
*
* @package propertyx
* @subpackage filter
* @author Daniel Londero <daniel.londero@gmail.com>
*/
class PropertyFormFilter extends BasePropertyFormFilter
{
public function configure()
{
$this->widgetSchema['municipality'] = new sfWidgetFormFilterInput(array('with... | {
"content_hash": "4412289024012140b2a943f24664068c",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 99,
"avg_line_length": 38.098591549295776,
"alnum_prop": 0.677634011090573,
"repo_name": "rew-by/propertyx",
"id": "2b393c1f7431877ae88b8d0fd27ccd3c9d7ece7e",
"size": "2943... |
<!DOCTYPE html>
<html lang="en-uk">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme" content="hugo-academic">
<meta name="generator" content="Hugo 0.56.3" />
<meta name="author" conten... | {
"content_hash": "146693a3dc98fb316e03bce1e51b7319",
"timestamp": "",
"source": "github",
"line_count": 446,
"max_line_length": 602,
"avg_line_length": 29.50896860986547,
"alnum_prop": 0.6066408327634678,
"repo_name": "clapping-bunny/clapping-bunny.github.io",
"id": "6a23a55519dbfc38e58829708413a9595... |
<!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.5.0_13) on Tue Dec 18 21:43:38 EST 2007 -->
<TITLE>
DomainAccessor.DomainCreator
</TITLE>
<META NAME="keywords" CONTENT="org.purl.accessor.DomainAccesso... | {
"content_hash": "9474df941c57d9c0990fb4b4c8f77622",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 359,
"avg_line_length": 44.634980988593156,
"alnum_prop": 0.6463923673225999,
"repo_name": "prototypo/persistenturls",
"id": "7ea695490e39e73099378653fb98998be8beeade",
"s... |
package schemas
import (
"fmt"
"strings"
)
// enumerate all index types
const (
IndexType = iota + 1
UniqueType
)
// Index represents a database index
type Index struct {
IsRegular bool
Name string
Type int
Cols []string
}
// NewIndex new an index object
func NewIndex(name string, indexType i... | {
"content_hash": "d0b4f8bac3834828d0d6957500e96eef",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 75,
"avg_line_length": 20.264705882352942,
"alnum_prop": 0.6400580551523948,
"repo_name": "cez81/gitea",
"id": "9541250f55aa96c97065adeab821872473453ce2",
"size": "1540",
... |
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads">
<!-- 320 x 50 ad -->
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:50px"
data-ad-client="{... | {
"content_hash": "d1ebf5f61081460ab638a4f6de063f57",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 330,
"avg_line_length": 57.53333333333333,
"alnum_prop": 0.6581691772885284,
"repo_name": "joystick2020/joystick2020.github.io",
"id": "31fa4b7d58580c2469ce2da4375b531d6a3856... |
namespace Microsoft.AzureStack.Management.Fabric.Admin
{
using Microsoft.AzureStack;
using Microsoft.AzureStack.Management;
using Microsoft.AzureStack.Management.Fabric;
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Gen... | {
"content_hash": "28e969222992c9a4736ad2849f0cee50",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 265,
"avg_line_length": 39.333333333333336,
"alnum_prop": 0.638771186440678,
"repo_name": "shutchings/azure-sdk-for-net",
"id": "3d1b6766f849806d775848467ee49e5ee1c7ce8f",
... |
package org.hellojavaer.poi.excel.utils.write;
import org.hellojavaer.poi.excel.utils.common.Assert;
import java.util.List;
/**
* @author <a href="mailto:hellojavaer@gmail.com">zoukaiming</a>
*/
public abstract class ExcelWriteSheetProcessor<T> {
public abstract void beforeProcess(ExcelWriteContext<T> contex... | {
"content_hash": "1520ba7a5b91d2b390fd860ab256326a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 100,
"avg_line_length": 26.316239316239315,
"alnum_prop": 0.6404676843130886,
"repo_name": "hellojavaer/poi-excel-utils",
"id": "795750f5afc65a3c0b7bd51d6096bd38341c49d2",
... |
import Tree from './Tree';
export default Tree;
| {
"content_hash": "923112b91049a04acb2a13c43c582c62",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 26,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.7142857142857143,
"repo_name": "suitejs/suite",
"id": "97204303399d6a9a64f3693ec5489c0ecb3d8747",
"size": "49",
... |
layout: post
title: How to install this theme
icon: fa fa-wrench
categories: articles
tags: [sample-post]
comments: true
description: How to install this theme, follow steps, very easy!
---
## How to install Freshman theme?
{% highlight Bash shell scripts linenos%}
# please make sure you have already installed git t... | {
"content_hash": "ba746d14059e914f9e17695b02cdfa6b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 75,
"avg_line_length": 24.03846153846154,
"alnum_prop": 0.7504,
"repo_name": "abushmelev/oalex",
"id": "bf8fc2063c1a87fddc640ac5dd1da0e53e274aed",
"size": "629",
"binary"... |
package org.jsonschema2pojo.rules;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import static org.mockito.Matchers.*;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.*;
import org.jsonschema2pojo.Annotator;
import org.jsonschema2pojo.Schema;
import org... | {
"content_hash": "cec1e5192a4a9da86006be4ce7aa5592",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 99,
"avg_line_length": 37.91463414634146,
"alnum_prop": 0.721132196847861,
"repo_name": "s13o/jsonschema2pojo",
"id": "67d7e7f3246e767c5dd4a1c744fdcd20e221d96f",
"size": "3... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30311.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... | {
"content_hash": "0eb9896324359e31bf1173da913624be",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 81,
"avg_line_length": 34.75,
"alnum_prop": 0.4910071942446043,
"repo_name": "jbwilliamson/MaximiseWFScaffolding",
"id": "26d78901f61a6b63ade3a7104fe614a404535d6c",
"size":... |
package org.apache.flink.runtime.state;
import org.apache.flink.annotation.Internal;
import org.apache.flink.core.fs.FSDataOutputStream;
import javax.annotation.Nullable;
import java.io.IOException;
import java.io.OutputStream;
/**
* A dedicated output stream that produces a {@link StreamStateHandle} when closed... | {
"content_hash": "6c094c8164f6b2d3aec733f4cf37c774",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 100,
"avg_line_length": 43.839285714285715,
"alnum_prop": 0.7279022403258656,
"repo_name": "apache/flink",
"id": "485823526f7b450870060f3f31a868f2aefa3261",
"size": "3260",... |
<!DOCTYPE html>
<html itemscope lang="en-us">
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g... | {
"content_hash": "56679b4cdcde2861adb4b6f127904b65",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 723,
"avg_line_length": 78.44578313253012,
"alnum_prop": 0.6478267547227768,
"repo_name": "gomex/devopsdays-web",
"id": "6dad832a50471f65741c951fb9281ef880182a61",
"size":... |
<!--
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.0 (the
"License"); yo... | {
"content_hash": "377eb74f1d099af44f4a407f1129aa9c",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 126,
"avg_line_length": 40.292857142857144,
"alnum_prop": 0.5259705725935118,
"repo_name": "pantsbuild/ivy",
"id": "566f011cb5d0161dbad8f27bb888dd454d2e2b5d",
"size": "564... |
#ifdef WX_PRECOMP
#include "wx_pch.h"
#endif
#include "stdafx.h"
#include "WTFortuneApp.h"
#include "WTFortuneMain.h"
IMPLEMENT_APP(WTFortuneApp);
bool WTFortuneApp::OnInit()
{
WTFortuneDialog* dlg = new WTFortuneDialog(0L);
dlg->SetIcon(wxICON(WTFish)); // To Set App Icon
dlg->Show();
... | {
"content_hash": "1f10f0f8a36c69f729e2a17ded982b19",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 52,
"avg_line_length": 18,
"alnum_prop": 0.6491228070175439,
"repo_name": "vvps/WTFortune",
"id": "8bc8976a8febec677fbd2d5323e3b246019b0cbe",
"size": "342",
"binary": fal... |
/*
* This file is part of the Wayback archival access software
* (http://archive-access.sourceforge.net/projects/wayback/).
*
* Licensed to the Internet Archive (IA) by one or more individual
* contributors.
*
* The IA licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | {
"content_hash": "1039c50d915264df5d66401fb7204519",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 76,
"avg_line_length": 22.56038647342995,
"alnum_prop": 0.6107066381156316,
"repo_name": "nlnwa/openwayback",
"id": "33d2a61e81005ea2088f2432a69dbc71616eb0da",
"size": "46... |
import _ from 'lodash';
import parseKey from './key';
function parse(orderby) {
if (_.isNull(orderby) || _.isUndefined(orderby)) {
return ['ORDERBY', null];
}
if (_.isString(orderby) || _.isPlainObject(orderby)) {
orderby = [orderby];
}
const arr = orderby.map((e, i) => {
if (_.isString(e)) {
... | {
"content_hash": "b885b4f3d8f335826a9eba9599bdac45",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 115,
"avg_line_length": 24.146341463414632,
"alnum_prop": 0.5777777777777777,
"repo_name": "jmike/naomi",
"id": "368187bdebc95823258c4b036b71563fe4010761",
"size": "990",
... |
package me.lorenc.dreadlogs.captor.log4j;
import static org.hamcrest.Matchers.equalTo;
import org.apache.log4j.Level;
import org.hamcrest.Matcher;
import me.lorenc.dreadlogs.captor.LogExpectations;
public class Log4jMatchers {
private Log4jMatchers() {
}
public static Log4jHasLogMatcher hasLog(String ... | {
"content_hash": "8f64169b38b0d504dfb5055d0c97e024",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 127,
"avg_line_length": 38.38297872340426,
"alnum_prop": 0.7677383592017738,
"repo_name": "d-lorenc/dread-logs",
"id": "761cda82e6950615f6fa89995d8ed16e84e18f2c",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@color/white">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
... | {
"content_hash": "685101c6dcafe4664caaefa3eeae3c77",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 74,
"avg_line_length": 36.42307692307692,
"alnum_prop": 0.6589229144667371,
"repo_name": "linuxjava/CodingAndroid",
"id": "2dee1a9407b05489b922d813a09f5f4be264991e",
"size"... |
class Comment < ActiveRecord::Base
validates :body, presence: true
validates :commenter, presence: true
validates :review, presence: true
belongs_to :commenter, class_name: "User"
belongs_to :review
has_many :ratings, as: :ratingable
end | {
"content_hash": "16288075557994b3bedcbf784a76d6c5",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 44,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6902985074626866,
"repo_name": "ospreys-2014/LiveHub",
"id": "679f535257d22c68b093f84822cf5dc3b0c4e7b3",
"size": ... |
class LeftButton: public Button {
public:
LeftButton(byte attachToPin);
protected:
void shortClick();
void longClick();
};
#endif
| {
"content_hash": "b3918ff653f23ca809106607ae8ecec9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 33,
"avg_line_length": 8.4,
"alnum_prop": 0.5892857142857143,
"repo_name": "PLSCO/Glowdeck_Firmware",
"id": "fd33d5edd2605ec5855cf6385c57d76e8b1a5599",
"size": "376",
"bi... |
/*******************************************************************************
ADC Peripheral Library Template Implementation
File Name:
adc_VoltageReference_Default.h
Summary:
ADC PLIB Template Implementation
Description:
This header file contains template implementations
For Feature : Vol... | {
"content_hash": "388f4f0cae5010c0b04e3c70f1b4c8b9",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 112,
"avg_line_length": 36.71111111111111,
"alnum_prop": 0.6555690072639225,
"repo_name": "mzeitler/openstrom",
"id": "f2a16418e2bc1690ac3730757f279b676dd07bba",
"size": "3... |
using namespace std;
using namespace boost;
//txlock - Locks transaction
//
//step 1.) Broadcast intention to lock transaction inputs, "txlreg", CTransaction
//step 2.) Top 10 masternodes, open connect to top 1 masternode. Send "txvote", CTransaction, Signature, Approve
//step 3.) Top 1 masternode, waits for 10 messag... | {
"content_hash": "e9f2729df73f9ec325c9294e946629a6",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 112,
"avg_line_length": 31.89189189189189,
"alnum_prop": 0.635593220338983,
"repo_name": "Bitcoinlover123/siliconcoin",
"id": "77cc0aee2836b754ff54a42449588fb56a2d0b9c",
"s... |
<?php
namespace HWI\Bundle\OAuthBundle\Tests\OAuth\ResourceOwner;
use HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\SinaWeiboResourceOwner;
class SinaWeiboResourceOwnerTest extends GenericOAuth2ResourceOwnerTest
{
protected $userResponse = <<<json
{
"id": "1",
"screen_name": "bar",
"profile_image_url"... | {
"content_hash": "65dcc45b57fceb7581612d0b14f75b5c",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 113,
"avg_line_length": 36.18666666666667,
"alnum_prop": 0.6215917464996316,
"repo_name": "johnyjamma93/prod_lokisalle",
"id": "e3c6b829774c2859caa06da5f4267bc9aa647c69",
"... |
/**
*
*/
package com.github.reels_project.reels.query;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import com.github.reels_project.reels.query.meta.IDBTable;
import com.github.reels_project.reels.query.query.QueryExecutor;
import com.github.reels_pr... | {
"content_hash": "4b07d59433099d01f8ad54f94ffdc0bf",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 112,
"avg_line_length": 24.202205882352942,
"alnum_prop": 0.6697554306547167,
"repo_name": "reels-project/reels",
"id": "a2c4eadd0ea37e4d7735e684d233628f6e370552",
"size":... |
$().ready(function () {
$("form.comment").on("submit", function (event) {
event.preventDefault();
var $form = $(this);
var $commentTableFirstColumn = $(".comment.list .list-item:first");
var $input = $("textarea.comment");
$.post($form.attr("action"), $form.serialize(), function (data, status) {
... | {
"content_hash": "405bda3b4e81be1870e83dc3c24e1422",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 110,
"avg_line_length": 32.674418604651166,
"alnum_prop": 0.5508896797153024,
"repo_name": "kxxoling/Programmer-Sign",
"id": "799d80be9db20d9c240e72d0a33f92c75a5853d6",
"si... |
include(RunCMake)
set(RunCMake_GENERATOR_PLATFORM "")
run_cmake(NoPlatform)
if("${RunCMake_GENERATOR}" MATCHES "^Visual Studio ([89]|1[0124])( 20[0-9][0-9])?$")
set(RunCMake_GENERATOR_PLATFORM "x64")
run_cmake(x64Platform)
else()
set(RunCMake_GENERATOR_PLATFORM "Bad Platform")
run_cmake(BadPlatform)
endif()
... | {
"content_hash": "fb0e167188c5ba723346e1438f75a916",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 103,
"avg_line_length": 31.964285714285715,
"alnum_prop": 0.7463687150837989,
"repo_name": "hlzz/dotfiles",
"id": "4d0a0a1a1b0032e972cd70cc447ec021ac3e811d",
"size": "895",... |
import torch
from fairseq.optim.amp_optimizer import AMPOptimizer
from fairseq.tasks import register_task
from fairseq.tasks.speech_to_text import SpeechToTextTask
from .data.speech_to_text_dataset_with_domain import SpeechToTextDatasetCreatorWithDomain
from .loss.attention_head_selection import HeadSelectionLoss
@r... | {
"content_hash": "f98678d2f682cd8f1bfabade36553480",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 132,
"avg_line_length": 43.137142857142855,
"alnum_prop": 0.5788846204795337,
"repo_name": "pytorch/fairseq",
"id": "6e0ce11d6307493b30da865ba23adf23d0015b7c",
"size": "77... |
module Virtus
# Instance methods that are added when you include Virtus
module InstanceMethods
# Set attributes during initialization of an object
#
# @param [#to_hash] attributes
# the attributes hash to be set
#
# @return [undefined]
#
# @api private
def initialize(attribut... | {
"content_hash": "dc5e1ad5032f1b6ee36627c32bcf338c",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 81,
"avg_line_length": 21.683982683982684,
"alnum_prop": 0.5432222000399282,
"repo_name": "kristianmandrup/virtus",
"id": "06c29d524328c7b2e4f494d3eaa140d722521592",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<bitmap android:src="@drawable/ic_menu_search_mtrl_alpha" android:tint="?colorControlNormal"
xmlns:android="http://schemas.android.com/apk/res/android" /> | {
"content_hash": "b044442b3e65537e11bd573b1189c146",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 92,
"avg_line_length": 65,
"alnum_prop": 0.7384615384615385,
"repo_name": "hexiaoshuai/Flyme_device_ZTE_A1",
"id": "c025efc267944b2dc7a120e4d186cf68b26f0ddc",
"size": "195",... |
namespace blink {
class AnimationInterpolableValueTest : public ::testing::Test {
protected:
InterpolableValue* interpolationValue(Interpolation& interpolation)
{
return interpolation.getCachedValueForTesting();
}
double interpolateNumbers(double a, double b, double progress)
{
Ref... | {
"content_hash": "cc39f04d00dfca4e9b303804e6a13982",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 135,
"avg_line_length": 41.819148936170215,
"alnum_prop": 0.7099974561180361,
"repo_name": "collinjackson/mojo",
"id": "3faf9db25c9974c929270a1766f139c1fb6a8eb4",
"size": "... |
def foo(some_pa<caret>ram: str):
pass | {
"content_hash": "3fece53c695081387e9ba090fc3f314c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 32,
"avg_line_length": 20.5,
"alnum_prop": 0.6585365853658537,
"repo_name": "siosio/intellij-community",
"id": "70e1da13e07e268bd7b70917d66290f638745660",
"size": "41",
"b... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | {
"content_hash": "d7ccedd867d22648fdd7d29ca7e02d52",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 150,
"avg_line_length": 52.48888888888889,
"alnum_prop": 0.6342082980524979,
"repo_name": "dmusev/gMenu",
"id": "41ba9eada770256679d7b8ee44494fa356f8602b",
"size": "2362",
... |
@implementation UIImage (Utilities)
+ (UIImage *)arcImageWithRadius:(CGFloat )radius
borderColor:(UIColor *)color
{
CGFloat size = 2.0*radius;
UIGraphicsBeginImageContextWithOptions(CGSizeMake(size, size), NO, 0.0f);
CGContextRef context = UIGraphicsGetCurrentContext();
CGC... | {
"content_hash": "22d0d665ee23559a8321b3b1c82dd0b3",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 77,
"avg_line_length": 34.14754098360656,
"alnum_prop": 0.5914546327412386,
"repo_name": "noxytrux/AdvancedCoreAnimations",
"id": "1ae580cebba2f1f40d6defc2f4f67d4f685c5aa9",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.