text stringlengths 2 1.04M | meta dict |
|---|---|
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "abudget.settings.base")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
| {
"content_hash": "af70ad57cae9de9eae862ef8bae54202",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 72,
"avg_line_length": 34.2,
"alnum_prop": 0.8011695906432749,
"repo_name": "koriaf/django-abudget",
"id": "d13cb3b3627616acd1ff8b3dddbe5f374b63c382",
"size": "171",
"bina... |
package org.mifos.test.acceptance.loan;
import org.joda.time.DateTime;
import org.mifos.test.acceptance.admin.FeeTestHelper;
import org.mifos.test.acceptance.framework.MifosPage;
import org.mifos.test.acceptance.framework.UiTestCaseBase;
import org.mifos.test.acceptance.framework.admin.FeesCreatePage;
import org.mi... | {
"content_hash": "1bb53a7bcdcc2d35b19aece55fa04c84",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 189,
"avg_line_length": 50.22857142857143,
"alnum_prop": 0.7593856655290102,
"repo_name": "maduhu/head",
"id": "cdc2e0f751f126e4b6fd685db98c9c050d0650eb",
"size": "6035",
... |
package org.xdi.oxauth.session.ws.rs;
import com.google.common.collect.Sets;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.xdi.model.security.Identity;
import org.xdi.oxauth.audit.ApplicationAuditLogger;
import org.xdi.oxauth.model.audit.Action;
import org.xdi.oxauth.model.audit.OAu... | {
"content_hash": "94d3b8519c3e98360335d21e2b66ff26",
"timestamp": "",
"source": "github",
"line_count": 332,
"max_line_length": 147,
"avg_line_length": 40.62951807228916,
"alnum_prop": 0.6442286307361554,
"repo_name": "madumlao/oxAuth",
"id": "3262aff43ab9f2946ac9bc4509b6664fdfdb4385",
"size": "136... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (12.0.2) on Wed Feb 02 09:07:18 EST 2022 -->
<title>Uses of Package org.opensextant.extractors.geo.rules (Xponents Extraction Toolkit)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" co... | {
"content_hash": "bc4ef43a2edeeedc2acbf7ea6fe15dc7",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 228,
"avg_line_length": 37.52910052910053,
"alnum_prop": 0.6410545608346256,
"repo_name": "OpenSextant/Xponents",
"id": "25d6ca941b0a5754f15b87bf9e9269c34daf59f4",
"size":... |
var EnvatoWizard = (function($){
var t;
// callbacks from form button clicks.
var callbacks = {
install_plugins: function(btn){
var plugins = new PluginManager();
plugins.init(btn);
},
install_content: function(btn){
var content = new ContentMan... | {
"content_hash": "c7e1eccdaa016073f733c75a9925e549",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 115,
"avg_line_length": 34.866863905325445,
"alnum_prop": 0.4605854900296988,
"repo_name": "PramaAditya/pramaaditya.github.io",
"id": "57b0ee3fb88b22500693e4006d0be23d381f5e... |
// -----------------------------------------------------------------------
// <copyright file="DataGridSettingsSerializer.cs" company="">
// Copyright 2014 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.Collections.Generic;
using S... | {
"content_hash": "ec36352966cb5435163faba279eff702",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 81,
"avg_line_length": 34.32,
"alnum_prop": 0.539044289044289,
"repo_name": "qusma/qdms",
"id": "5e3988a7806c54f9bcfc981c552a834282d38188",
"size": "1718",
"binary": fals... |
#include "third_party/blink/renderer/core/dom/context_features.h"
#include <memory>
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
namespace blink {
std::unique_ptr<ContextFeaturesC... | {
"content_hash": "3f642d90283b959805b503d3d30e3b06",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 79,
"avg_line_length": 31.096153846153847,
"alnum_prop": 0.7272727272727273,
"repo_name": "chromium/chromium",
"id": "97d2fe71e59fc1e3cb3cf0ce7d8bde2ba2131aaa",
"size": "29... |
dnn.controls.DNNRichText=function(initFunc)
{this.supportsCE=(document.body.contentEditable!=null);this.text='';this.supportsMultiLine=true;this.document=null;this.control=null;this.initialized=false;this.isRichText=true;this.loaded=false;if(this.supportsCE)
{this.document=document;this.container=document.createEleme... | {
"content_hash": "3a54b43273b909c4c7aff9ae34cff747",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 301,
"avg_line_length": 77.96153846153847,
"alnum_prop": 0.785397138628515,
"repo_name": "51Degrees/Dnn.Platform",
"id": "8565cb75577573de806e9406fe3cb45958cc6c1e",
"size":... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.editor.impl;
import com.intellij.codeInsight.daemon.GutterMark;
import com.intellij.codeInsight.daemon.NonHideableIconGutterMark;
import com.intelli... | {
"content_hash": "1f7b607a99bb9da7ffac6dec788fa56a",
"timestamp": "",
"source": "github",
"line_count": 1976,
"max_line_length": 158,
"avg_line_length": 37.91801619433198,
"alnum_prop": 0.682540106238155,
"repo_name": "jk1/intellij-community",
"id": "c8f21e5f391f3730778a2c1af3c98be384e17b4b",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_18) on Thu Dec 18 17:18:40 PST 2014 -->
<title>Uses of Class javax.sql.rowset.serial.SerialArray (Java Platform SE 7 )</title>
<meta na... | {
"content_hash": "0047eaef434f1e7795fbefdc6f3ad3dd",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 602,
"avg_line_length": 42.398305084745765,
"alnum_prop": 0.6310213871676994,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "4b3a69b90bf9c5781a98ad13d8bf5274a30ab... |
<?php
namespace PDepend\Source\AST;
/**
* This class encapsulates possible default values for functions, methods,
* parameters and properties. We use a separate class because otherwise you
* cannot differentiate between no default value and a scalar <b>null</b>.
*
* @copyright 2008-2015 Manuel Pichler. All righ... | {
"content_hash": "6a2985eeb4a4617e21aedd6b82d0249a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 78,
"avg_line_length": 23.34328358208955,
"alnum_prop": 0.592071611253197,
"repo_name": "fsaibene/TPlaboratorioIV2016",
"id": "6de89cd169cf8c31d560ca391b8d0a3dea5465f1",
"s... |
namespace krystle
{
ConnectionPool::ConnectionPool():_pool(10000){}
Connection* ConnectionPool::get(boost::asio::io_service& ioService)
{
Connection* connection;
if (!_pool.pop(connection))
{
std::cerr << "[create new connection]" << std::endl;
connection = new Connection(ioService, this);... | {
"content_hash": "f92c6d811b27b35e640c41f21d58b64c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 67,
"avg_line_length": 20.53846153846154,
"alnum_prop": 0.5892634207240949,
"repo_name": "signalfrax/krystle",
"id": "ff55117664fb9171ab7c7a35f5f9199203d4234c",
"size": "23... |
namespace Azure.ResourceManager.MachineLearning.Models
{
/// <summary> HDInsight compute properties. </summary>
public partial class HDInsightProperties
{
/// <summary> Initializes a new instance of HDInsightProperties. </summary>
public HDInsightProperties()
{
}
///... | {
"content_hash": "4ff0793b9054b788b2f46d40d137adbe",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 117,
"avg_line_length": 48.41379310344828,
"alnum_prop": 0.6616809116809117,
"repo_name": "Azure/azure-sdk-for-net",
"id": "35a7b7be0f0396f8b4dc4c93d6f62d41b3a8e0b8",
"size... |
package com.gmail.brian.broll.taxidash.app;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
import android.location.LocationManager;
import android.os.Bundle;
import android.... | {
"content_hash": "d19ed193c972c75c4a030bc4824a2037",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 101,
"avg_line_length": 35.66842105263158,
"alnum_prop": 0.6498450641876937,
"repo_name": "TaxiDash/Android",
"id": "6ae71df10f318bdf5ae280031420d01582c7bb2e",
"size": "67... |
package y
import (
"bytes"
"encoding/binary"
"fmt"
"hash/crc32"
"io"
"math"
"os"
"reflect"
"strconv"
"sync"
"time"
"unsafe"
"github.com/dgraph-io/badger/v3/pb"
"github.com/dgraph-io/ristretto/z"
"github.com/pkg/errors"
)
var (
// ErrEOF indicates an end of file when trying to read from a memory map... | {
"content_hash": "446f4875852a92ef44f66320a2949335",
"timestamp": "",
"source": "github",
"line_count": 585,
"max_line_length": 99,
"avg_line_length": 25.6974358974359,
"alnum_prop": 0.6813676578194638,
"repo_name": "dgraph-io/badger",
"id": "81b8b629af8cad93a0ee053d502e112ecf22e068",
"size": "1565... |
set -eu
source pcf-pipelines/functions/generate_cert.sh
if [[ -z "$SSL_CERT" ]]; then
domains=(
"*.${SYSTEM_DOMAIN}"
"*.${APPS_DOMAIN}"
"*.login.${SYSTEM_DOMAIN}"
"*.uaa.${SYSTEM_DOMAIN}"
)
certificates=$(generate_cert "${domains[*]}")
SSL_CERT=`echo $certificates | jq --raw-output '.certific... | {
"content_hash": "b83e13f913f83e4c2212fca075ee411a",
"timestamp": "",
"source": "github",
"line_count": 634,
"max_line_length": 84,
"avg_line_length": 30.63249211356467,
"alnum_prop": 0.5608362082282066,
"repo_name": "pvsone/pcf-pipelines",
"id": "46f64063d38c1f46507d063213f3f99e2e2511dc",
"size": ... |
layout: post
date: 2016-05-19
share: true
author: dtnguyen
comments: true
tags: [excel]
title: "Công cụ tạo câu hỏi trắc nghiệm, chấm điểm trong Excel"
excerpt: "Công cụ tạo câu hỏi trắc nghiệm, chấm điểm trong Excel"
---
---
Công cụ tạo câu hỏi trắc nghiệm, chấm điểm trong Excel
[**Học Excel Online**][khoa-hoc]
... | {
"content_hash": "af58bada888f1321c0a3e09c7dcffe9e",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 169,
"avg_line_length": 38.69565217391305,
"alnum_prop": 0.7365168539325843,
"repo_name": "ndthanh/ndthanh.github.io",
"id": "f6e64d84e4bf4b98ea1fa3f31a20818c85650cfd",
"si... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Frontend extends CI_Controller{
public function __construct(){
parent::__construct();
$this->load->model('mFrontend','mfrontend');
$this->returnArr = array('status'=> FALSE, 'title'=>'title for sweet alert', 'mess... | {
"content_hash": "a6d80539c436312dd6981ae28983c690",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 119,
"avg_line_length": 29.77777777777778,
"alnum_prop": 0.5746268656716418,
"repo_name": "kunal1400/software",
"id": "a3465f2a6d73540aa5f5625abf129284767e2a2b",
"size": "1... |
require_relative '../../imcmo'
require_relative '../../imccoremeta'
require_relative '../../imcmeta'
class BiosVfMirroringModeConsts
VP_MIRRORING_MODE_INTER_SOCKET = "inter-socket"
VP_MIRRORING_MODE_INTRA_SOCKET = "intra-socket"
VP_MIRRORING_MODE_PLATFORM_DEFAULT = "platform-default"
end
class BiosVfMir... | {
"content_hash": "7601d03f3e83573ec9e4d4f450c90107",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 239,
"avg_line_length": 39.765957446808514,
"alnum_prop": 0.5933654360620653,
"repo_name": "amimanda/cisco_imc_cookbook",
"id": "fdad98b93723ee06aab65f8430346d24af640190",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module cloudi_http_elli_handler</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><... | {
"content_hash": "31d117979890ae14ae8694ad86e00949",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 347,
"avg_line_length": 51.40425531914894,
"alnum_prop": 0.6353476821192053,
"repo_name": "CloudI/website",
"id": "661e6872ce56e390dac49a1f0c8dceb299db9a0e",
"size": "2417"... |
module RuboCop
module Cop
module Bundler
# Gems in consecutive lines should be alphabetically sorted
# @example
# # bad
# gem 'rubocop'
# gem 'rspec'
#
# # good
# gem 'rspec'
# gem 'rubocop'
#
# # good
# gem 'rubocop'
#
... | {
"content_hash": "54d2fc0e8aad72a8bb8e2da174257328",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 80,
"avg_line_length": 28.65714285714286,
"alnum_prop": 0.5473579262213359,
"repo_name": "melch/rubocop",
"id": "7356de1fca5e1be99bb4ecbc64801d1fd2a9dce4",
"size": "2036",
... |
package org.olat.core.commons.modules.glossary.morphService;
import java.util.ArrayList;
/**
* Description:<br>
* Connects to a morphological service and lets retreive flexions for a word.
* <P>
* Initial Date: 23.12.2008 <br>
*
* @author Roman Haag, frentix GmbH, roman.haag@frentix.com
*/
public interface ... | {
"content_hash": "6c10428cf7792b93cfccbadaaffbbd1d",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 167,
"avg_line_length": 27.426470588235293,
"alnum_prop": 0.7163538873994638,
"repo_name": "srinivasiyerb/Scholst",
"id": "f699785bcc462aeef53d81da058b7fc20603e492",
"size"... |
package de.hbt.kicker.elo.statistik;
import java.util.HashMap;
import java.util.Map;
import de.hbt.kicker.elo.v2.model.Spieler;
public class Top3Statistik {
private Map<Spieler, Integer> punkteMap = new HashMap<Spieler, Integer>();
private Spieler spieler1, spieler2, spieler3;
private int punkte1, punkte2, punkt... | {
"content_hash": "58eb0e886bf37c3f2892f87af235dca1",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 95,
"avg_line_length": 23.011627906976745,
"alnum_prop": 0.6523496715512885,
"repo_name": "ilja82/Foosball-League",
"id": "d3475aed7596c9e58aed1d1612f73aea96608017",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</... | {
"content_hash": "cee4d3d161fe8bd0ebba4dc8f100939b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 100,
"avg_line_length": 40.125,
"alnum_prop": 0.7040498442367601,
"repo_name": "lemmy/tlaplus",
"id": "069b6eb7dc1bfa041ad1662866cf7032a79e0b12",
"size": "642",
"binary":... |
@implementation SZShareDialogViewControllerIOS6
//navbar impl is set here, as this is a subclass of SZNavigationController
- (id)initWithEntity:(id<SZEntity>)entity {
if (self = [super initWithEntity:entity]) {
[SZNavigationControllerIOS6 initNavigationBar:self];
}
return self;
}
@end
| {
"content_hash": "f926756938b350a16cdc75faaeac5ac4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 24.153846153846153,
"alnum_prop": 0.7261146496815286,
"repo_name": "socialize/socialize-sdk-ios",
"id": "2fa0266ef82a84282319aca1bc25f1549324f0f6",
"... |
/**
* Returns an error to be thrown when attempting to find an unexisting column.
* @param id Id whose lookup failed.
* @docs-private
*/
export declare function getTableUnknownColumnError(id: string): Error;
/**
* Returns an error to be thrown when two column definitions have the same name.
* @docs-private
*/
e... | {
"content_hash": "c3a5cd10cfd7905e2602e6787882b6e8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 80,
"avg_line_length": 33.166666666666664,
"alnum_prop": 0.7562814070351759,
"repo_name": "tongpa/pypollmanage",
"id": "bb8483bc49b1ccb947ee1f205968e2fe833dc447",
"size": "... |
<?php
namespace AlphaLemon\ThemeEngineBundle\Core\Generator\TemplateParser;
use Symfony\Component\Finder\Finder;
use Symfony\Component\Yaml\Yaml;
/**
* AlTemplateParser parses the twig templates from a given folder to look for
* the information that defines the slot's attributes
*
* @author alphalemon <webmaster... | {
"content_hash": "183fc8cfb42a425624eca8d12c8ae824",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 132,
"avg_line_length": 32.032786885245905,
"alnum_prop": 0.5791538723984988,
"repo_name": "alphalemon/ThemeEngineBundle",
"id": "ad8606ced6a9a289915fe7638ccb1134e11d50d8",
... |
.. autoprogram:: pwndbg.commands.telescope:parser
:prog: telescope
| {
"content_hash": "709306c8929523ab1632dffb5c586cab",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 49,
"avg_line_length": 35,
"alnum_prop": 0.7571428571428571,
"repo_name": "cebrusfs/217gdb",
"id": "af8523a1e6e1767d31f26e0ee062ad37293a498c",
"size": "70",
"binary": fals... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>strategy::centroid::bashein_detmer</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../... | {
"content_hash": "11bb1e1e021e2a507a874ee0aaf40699",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 711,
"avg_line_length": 49.35655737704918,
"alnum_prop": 0.5765174790334634,
"repo_name": "yxcoin/yxcoin",
"id": "7691aad0f1e7332fe7557b2309937fe1736fb022",
"size": "12043... |
package com.google.zxing.common;
import com.google.zxing.DecodeHintType;
import java.nio.charset.Charset;
import java.util.Map;
/**
* Common string-related functions.
*
* @author Sean Owen
* @author Alex Dupre
*/
public final class StringUtils {
public static final String SHIFT_JIS = "SJIS";
public s... | {
"content_hash": "962e28ac5ab1e48c1c4daba46209885b",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 129,
"avg_line_length": 38.14,
"alnum_prop": 0.4872836916622968,
"repo_name": "ben-upsilon/exp-aqr",
"id": "8057fba90be841be80642b2c9bb7d264e11b22eb",
"size": "8229",
"b... |
use core::default; //~ ERROR unresolved import `core`
fn main() {
let _: u8 = ::core::default::Default(); //~ ERROR failed to resolve
}
| {
"content_hash": "5e98ddcc06672ecb495edd5b51d99f42",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 71,
"avg_line_length": 28.2,
"alnum_prop": 0.624113475177305,
"repo_name": "aidancully/rust",
"id": "cff273ce2c55aa182080bd86898ee8bbf5639004",
"size": "141",
"binary": fa... |
Expense Manager JS
==================
#### Signin page

#### History widget

#### Dist... | {
"content_hash": "0b57d1ec26545bb26fe491c808f8bc42",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 228,
"avg_line_length": 53.03030303030303,
"alnum_prop": 0.756,
"repo_name": "themerck/expense-manager-js",
"id": "0b8753208774e3312bef2df5b236b259898fed9e",
"size": "1750"... |
package com.msopentech.odatajclient.engine.data.metadata.edm;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.msopentech.odatajclient.engine.da... | {
"content_hash": "1cd346a54eea0728a29e47458b0ec000",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 125,
"avg_line_length": 50.97959183673469,
"alnum_prop": 0.6164931945556446,
"repo_name": "sujianping/Office-365-SDK-for-Android",
"id": "9f7ccff4f6ce3a6f08df010e25112322c7c1... |
module xlib.ui.element.elements.map {
import IEvent = elements.IEvent;
export interface IElement<T> extends elements.IElement<T> {
getLang(): string;
setLang(value: any): void;
getXmlLang(): string;
setXmlLang(value: any): void;
getDir(): string;
setDir(value: any): void;
getTitle(): s... | {
"content_hash": "953928c35f27d821dde2cf8f28b3edb9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 61,
"avg_line_length": 36.57142857142857,
"alnum_prop": 0.6298828125,
"repo_name": "rodzewich/playground",
"id": "87a8dec6112383b6d9fa89c9c5eb14961b7fe79a",
"size": "1065",... |
package com.alibaba.weex.commons.util;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import javax.annotation.Nullable;
/**
* Listens for the user shaking their phone. Allocation-less once it starts listening... | {
"content_hash": "68963a2eb1282829f7c60279af8baa23",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 90,
"avg_line_length": 27.330434782608695,
"alnum_prop": 0.699968183264397,
"repo_name": "nepaul/learn-web-development-by-codes",
"id": "fd73d48258976cedaf6255612307284e3922... |
require "spec_helper"
describe OpenXml::Docx::Properties::TableDescription do
include ValuePropertyTestMacros
it_should_use tag: :tblDescription, name: "table_description", value: "Something"
with_value("Something Else") do
it_should_work
it_should_output "<w:tblDescription w:val=\"Something Else\"/>"
... | {
"content_hash": "d016996e66b021e418a49b4d8d4d5303",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 83,
"avg_line_length": 22.41176470588235,
"alnum_prop": 0.7165354330708661,
"repo_name": "genebot/rocx",
"id": "b5d4c45879de846182f56f8c619f693e55a9195d",
"size": "381",
... |
from django.conf.urls import patterns
from views import IndexView
urlpatterns = patterns('',
(r'^$', IndexView.as_view()),
)
| {
"content_hash": "e24a551339657d338d3b89c721a6d66a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 37,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.6946564885496184,
"repo_name": "littleq0903/fumoufeed",
"id": "2161d4bf92ce7ec668493ab8ea5814b96d16512e",
"size": ... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?><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>
<parent>
<groupI... | {
"content_hash": "d3d3bb6c2884ca2f7ccaf8f64025c4da",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 258,
"avg_line_length": 31.65686274509804,
"alnum_prop": 0.6200061938680707,
"repo_name": "camelinaction/camelinaction2",
"id": "b8b7b5fa23df456417b5882afca5a0f2ba643979",
... |
/*
* Minimalist Object Storage, (C) 2015 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | {
"content_hash": "77ebb73b215a138d9b866b47a84a7f2b",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 26.27906976744186,
"alnum_prop": 0.7194690265486726,
"repo_name": "flandr/minio",
"id": "389ce63e84054087aa168e66fd74ad4f1fa2ca58",
"size": "1130",
... |
@{
AllNodes =
@(
@{
#Global Settings for the configuration of Desired State Local Configuration Manager:
NodeName = "*"
PSDscAllowPlainTextPassword = $true
RebootNodeIfNeeded = $true
ConfigurationM... | {
"content_hash": "e770c43576b00130f0f639db05efc5b2",
"timestamp": "",
"source": "github",
"line_count": 1116,
"max_line_length": 188,
"avg_line_length": 53.797491039426525,
"alnum_prop": 0.35459209167527234,
"repo_name": "pvs043/cMDTBuildLab",
"id": "0e15a84195e0cdc1578da37dca38553271462a70",
"size... |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>class Firebind::TcpTransport - RDoc Documentation</title>
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
<scri... | {
"content_hash": "9d00cbfaf0c8ecf8d7338050f8039a18",
"timestamp": "",
"source": "github",
"line_count": 479,
"max_line_length": 470,
"avg_line_length": 54.782881002087684,
"alnum_prop": 0.6571776990206166,
"repo_name": "Firebind/firescan-ruby",
"id": "f4d2701456a7211d6ef2ae9040e300513220515c",
"siz... |
package piazza
import (
"encoding/base64"
"io"
"io/ioutil"
"net/http"
"strings"
)
type HeaderBuilder struct {
header [][2]string
}
const GET, PUT, POST, DELETE, HEAD = "GET", "PUT", "POST", "DELETE", "HEAD"
func NewHeaderBuilder() *HeaderBuilder {
return &HeaderBuilder{[][2]string{}}
}
func (builder *Heade... | {
"content_hash": "06603a8885dc636c480d1dee695fb204",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 109,
"avg_line_length": 24.827956989247312,
"alnum_prop": 0.6868774361195322,
"repo_name": "venicegeo/pz-gocommon",
"id": "0526186b8c6006d79fa69269427245154de3dc0e",
"size"... |
package com.linkedin.metadata.kafka;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.elasticsearch.rest.RestClientAutoConfiguration;
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
@Sprin... | {
"content_hash": "0109b2c703df67ec09e93992520afc59",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 93,
"avg_line_length": 35.6,
"alnum_prop": 0.8426966292134831,
"repo_name": "linkedin/WhereHows",
"id": "b308b5dba8b5c8a321b3ee8872b011d3a0dd1b83",
"size": "534",
"binary... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/snapshot_old"
android:layout_width="match_p... | {
"content_hash": "8278a06b0e5024f7e9178c9077c2434b",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 72,
"avg_line_length": 35.714285714285715,
"alnum_prop": 0.6243333333333333,
"repo_name": "yongce/AppTrafficAnalyzer",
"id": "27dee62e432df5768fef8c388da6dbf0b97b3929",
"si... |
layout: default
description: Expressions as attribute names or using subqueries and ZIP()
title: Dynamic Attribute Names in AQL
---
Dynamic Attribute Names in AQL
==============================
You might want an AQL query to return results with attribute names assembled
by a function, or with a variable number of attr... | {
"content_hash": "9140979f90edba0cf31eef41e822c3fd",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 99,
"avg_line_length": 29.084577114427862,
"alnum_prop": 0.6696886760177899,
"repo_name": "arangodb/docs",
"id": "cba9bed31c4e71351d364d5f54910cce16435a84",
"size": "5850"... |
import java.io.File;
import java.io.IOException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.apache.log4j.Logger;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import or... | {
"content_hash": "53b6ca9ca84fb2468b26c58f9725a3ec",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 114,
"avg_line_length": 26.925925925925927,
"alnum_prop": 0.6176066024759285,
"repo_name": "CINERGI/ets-19139",
"id": "9c2ea7c92908ed5ea52f7556fb1ef3126fea70a9",
"size": "... |
namespace CivGen
{
using System;
using System.Collections.Generic;
public partial class Color
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Color()
{
this.PlayerColors = new HashS... | {
"content_hash": "1cfc3251faef71ac05babdba3cab3d47",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 128,
"avg_line_length": 44.62068965517241,
"alnum_prop": 0.6792890262751159,
"repo_name": "ls612/CFCGen",
"id": "5b19e8e3d7cf5b25c321e89216765b92522fde17",
"size": "1718",
... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | {
"content_hash": "c89be2e0b3468d7b73f0497caa16580b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 186,
"avg_line_length": 35.59322033898305,
"alnum_prop": 0.6533333333333333,
"repo_name": "defclass/etw",
"id": "3b127eb60902e4317891e97c0c481150da560a2f",
"size": "2634",
... |
/*
* external.js
* Cal Evans <cal@calevans.com>
* (c) Evans Internet Construction Company, Inc.
* Released under the MIT license
* Load external files into a reveal.js presentation.
*
* This is a reveal.js plugin to load external html files. It replaces the
* content of any element with a data-external="file.... | {
"content_hash": "41500725610bf79216b05a37cd7e8630",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 164,
"avg_line_length": 28.014285714285716,
"alnum_prop": 0.6134625191228965,
"repo_name": "angular-moon/fed-upgrade-ppt-2017",
"id": "3de9ff26ad065dbc1ebd62c12b8ab414076fd69... |
package com.ilivoo.common.resource.core.definition;
import java.util.ArrayList;
import java.util.List;
public class ExcelDefinition extends ResourceDefinition{
private List<String> readedSheet = new ArrayList<String>();
public ExcelDefinition(Class<?> clz, String path){
super(clz, path, Resourc... | {
"content_hash": "d4b382712cca1765a200bcffb73c8d3a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 63,
"avg_line_length": 25.75,
"alnum_prop": 0.6754507628294036,
"repo_name": "ilivoo/ilivoo",
"id": "4817a40e8e8a923e7b6e4bda72f7e868afb9d58e",
"size": "721",
"binary": f... |
Allow configuration mapping to code usages. Simplify configuration use and different formats.
| {
"content_hash": "e6a59a16edb2918a23c7215dfec4a78c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 93,
"avg_line_length": 94,
"alnum_prop": 0.851063829787234,
"repo_name": "perfill/mechmeta",
"id": "7432ee6da55598a9912f932d7cce2d1a0333ad01",
"size": "105",
"binary": fal... |
package controllers
import org.scalatest.{BeforeAndAfterAll, MustMatchers, WordSpec}
import org.scalatestplus.play.guice.GuiceOneAppPerTest
import org.slf4j.LoggerFactory
import play.api.test.Helpers._
import play.api.test._
/**
* Run functional tests using WithApplication
*/
class HomeControllerSpec extends WordSp... | {
"content_hash": "c30dcbc348bd4fc7a0b201d2a077c4b1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 108,
"avg_line_length": 26.060606060606062,
"alnum_prop": 0.7418604651162791,
"repo_name": "websudos/phantom-activator-template",
"id": "137cc401e3b4c140ee28def578adbbde69bd7... |
//
// MAManifestEditor.m
// MunkiAdmin
//
// Created by Hannes Juutilainen on 20.3.2015.
//
//
#import "MAManifestEditor.h"
#import "DataModelHeaders.h"
#import "MASelectManifestItemsWindow.h"
#import "MASelectPkginfoItemsWindow.h"
#import "MAPredicateEditor.h"
#import "MAMunkiAdmin_AppDelegate.h"
#import "MAManife... | {
"content_hash": "fb05f285f78e0d923eb0fbbd9c942bef",
"timestamp": "",
"source": "github",
"line_count": 1227,
"max_line_length": 200,
"avg_line_length": 48.972290138549305,
"alnum_prop": 0.7304664747291517,
"repo_name": "chrisgrande/munkiadmin",
"id": "0de948d7654d5cb777428a1ba8717d4ccc6f63c4",
"si... |
package com.orientechnologies.orient.core.storage.impl.local;
import com.orientechnologies.common.exception.OException;
import com.orientechnologies.common.io.OIOUtils;
import com.orientechnologies.common.log.OLogManager;
import com.orientechnologies.common.serialization.types.OByteSerializer;
import com.orientechnol... | {
"content_hash": "731f24f3829696646e3d4820de151098",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 110,
"avg_line_length": 33.513440860215056,
"alnum_prop": 0.6340739552418384,
"repo_name": "orientechnologies/orientdb",
"id": "c783d78f775b6df922ae3733fb479fe600137190",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lecidea hypopta f. ruficeps Vain.
### Remarks
null | {
"content_hash": "6b2c19bbfa175a21f9effcfdd4da9721",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 33,
"avg_line_length": 10.615384615384615,
"alnum_prop": 0.7028985507246377,
"repo_name": "mdoering/backbone",
"id": "92e1e2fd56c206485c4d8910784149297fe64493",
"size": "20... |
#if defined(__GNUC__)
#warning "Inclusion of header files from include/Qt is deprecated."
#elif defined(_MSC_VER)
#pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.")
#endif
#endif
#include "../Qt3Support/q3sqleditorfactory.h"
| {
"content_hash": "9495406a489563595a69f2a72cdebfef",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 92,
"avg_line_length": 36,
"alnum_prop": 0.6840277777777778,
"repo_name": "kzhong1991/Flight-AR.Drone-2",
"id": "4e537f517a1e2f2e0d0671887fa4bab507f890e0",
"size": "318",
... |
subroutine brkpt(nbrkpt,mxint)
c******************************************************************
c *
c This subroutine is called from SR STMGET to read in rainfall *
c breakpoint data. The first column of data read in is time *
c aft... | {
"content_hash": "2f61c87e2e99f4eb5620eaca4c804502",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 69,
"avg_line_length": 40.8203125,
"alnum_prop": 0.4233492822966507,
"repo_name": "akrherz/idep",
"id": "64ae44fe2ee5d42931ca8183936a7f37d8e94598",
"size": "5225",
"bina... |
"""Implements vlans, bridges, and iptables rules using linux utilities."""
import calendar
import inspect
import netaddr
import os
from nova import db
from nova import exception
from nova import flags
from nova.openstack.common import cfg
from nova.openstack.common import importutils
from nova.openstack.common import... | {
"content_hash": "1fea03fb65ba6922d9fff22e789bfc48",
"timestamp": "",
"source": "github",
"line_count": 1341,
"max_line_length": 79,
"avg_line_length": 38.956002982848624,
"alnum_prop": 0.5266653905053599,
"repo_name": "savi-dev/nova",
"id": "f991b36594137307013ed25c8de7d3a42fefe13d",
"size": "5307... |
package com.lottery.utils;
import android.util.Log;
/**
* Created by Administrator on 2017/5/15 0015.
*/
public class LogUtils {
private static final String TAG = "DSH -> LogUtils";
public static final int VERBOSE = 1;
public static final int DEBUG = 2;
public static final int INFO = 3;
public ... | {
"content_hash": "40e5dc880428de6efa03a55262c1c34b",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 56,
"avg_line_length": 22.544303797468356,
"alnum_prop": 0.4918585064570466,
"repo_name": "dsh923713/lottery",
"id": "c75e272a875f25e513d732c4ae0c43d9210bcd95",
"size": "17... |
/**
* Deconstructs a template into tokens.
*
* @module tokenizer
*/
define(function(require, exports, module) {
"use strict";
// Support.
require("./support/array/some");
/**
* Represents a Tokenizer.
*
* @class
* @memberOf module:tokenizer
* @param {string} template - The template string t... | {
"content_hash": "84dedb1069e3b6f65e6826c048a0462e",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 75,
"avg_line_length": 25.807692307692307,
"alnum_prop": 0.6279185295578739,
"repo_name": "kadamwhite/combyne",
"id": "2377181ea2c309dd501c1c7765042cd41da501c6",
"size": "2... |
package org.scalatest
import SharedHelpers.thisLineNumber
import exceptions.TestFailedException
import org.scalactic.Prettifier
import org.scalatest.funspec.AnyFunSpec
import org.scalatest.matchers.should.Matchers._
class ListShouldBeEmptyLogicalOrSpec extends AnyFunSpec {
private val prettifier = Prettifier.defa... | {
"content_hash": "ecafe161fe1f11aa775a50f9b26cfc06",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 199,
"avg_line_length": 48.85496183206107,
"alnum_prop": 0.659609375,
"repo_name": "cheeseng/scalatest",
"id": "2cacd86299379add01c1e516a22699397029b6d8",
"size": "13400",... |
namespace lldb_private {
// For cases in which there are multiple classes of types that are not
// interchangeable, to allow static type checking.
template <unsigned int C> class TaggedASTType : public CompilerType {
public:
TaggedASTType(const CompilerType &compiler_type)
: CompilerType(compiler_type) {}
T... | {
"content_hash": "aa8e5b26f5b275d1d25a72c449c9620d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.7329411764705882,
"repo_name": "endlessm/chromium-browser",
"id": "f02f99258a3fbd22f4dc975e1e74e2a0c9ab4a88",
"si... |
echo "Delete the Security Policies related config..."
kubectl delete -f "${LOCAL_OUTPUT_DIR}/largeSecurityAuthzPathPolicy.yaml"
rm "${LOCAL_OUTPUT_DIR}/generator"
rm "${LOCAL_OUTPUT_DIR}/largeSecurityAuthzPathPolicy.yaml"
| {
"content_hash": "04809a8e4117ba435fe236ea0dfdd408",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 73,
"avg_line_length": 44.6,
"alnum_prop": 0.7847533632286996,
"repo_name": "istio/tools",
"id": "2c1f49566d669219730aef75ce92fd0688344654",
"size": "808",
"binary": false... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CLogicalSequence.cpp
//
// @doc:
// Implementation of logical sequence operator
//---------------------------------------------------------------------------
#includ... | {
"content_hash": "cd2edccb497837d54956ac5e4ff5227b",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 77,
"avg_line_length": 21.118343195266274,
"alnum_prop": 0.4519473241804427,
"repo_name": "PengJi/gporca-comments",
"id": "227e833c463f480e43001b6d52c703902794ad54",
"size... |
Unconstrained for Active Record converts exceptions raised because of
underlying database constraints to appropriate ActiveModel::Errors
## Usage
In your Gemfile:
```ruby
gem 'unconstrained'
```
## Notes
Only constraints that have to do with referential integrity are handled.
This is intentional, as these require ... | {
"content_hash": "dca3ce2dcec8aa0e1dadf151cc5db60b",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 78,
"avg_line_length": 28.82191780821918,
"alnum_prop": 0.7756653992395437,
"repo_name": "agios/unconstrained",
"id": "a7931f8e993fb9eeea57ad11a3f2fb9e37ec2258",
"size": "2... |
#include "TestClass.h"
using namespace std;
CPPDLL_API void WriteToConsoleGlobal()
{
cout << "Hello world!" << endl;
}
//CPPDLL_API void WriteStringToConsoleGlobal(string value)
//{
// cout << value << endl;
//}
CPPDLL_API void WriteCharArrayToConsoleGlobal(char* value)
{
cout << value << en... | {
"content_hash": "598e0918e08bc55eccb23d41ff7c4b17",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 58,
"avg_line_length": 15.09375,
"alnum_prop": 0.6376811594202898,
"repo_name": "MinexAutomation/Public",
"id": "e2bdb6fc5b1b1a741818e09abc2674f5e2057750",
"size": "504",
... |
package edu.wustl.catissuecore.action;
import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
i... | {
"content_hash": "90729c9968174e4fc4bd1554d47ac3d9",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 75,
"avg_line_length": 34.148648648648646,
"alnum_prop": 0.7467352592006332,
"repo_name": "NCIP/catissue-core",
"id": "880a1cb97b1520de421258b1d176d7fac58e93ef",
"size": "2... |
<textarea>
Pre-formatted <em>tags</em> are used here.
So need to <strong>escape</strong> special characters in textarea, etc.
</textarea>
<div data-prop="Should be >>escaped<< in properties."></div> | {
"content_hash": "76a834a08e5b6f99aa6ef11eda861c2f",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 84,
"avg_line_length": 39.5,
"alnum_prop": 0.7088607594936709,
"repo_name": "team-aries/htttml",
"id": "6d90974afd35e31bc4fdb18436d601cd31d7257c",
"size": "237",
"binary":... |
var browserify = require('gulp-browserify'),
concat = require('gulp-concat'),
Config = require('./gulpfile.config'),
config = new Config(),
connect = require('gulp-connect'),
del = require('del'),
eventStream = require('event-stream'),
gulp = require('gulp');
insert = require('gulp-inser... | {
"content_hash": "d7d07e4d2544a0ded319f6db3c0964e4",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 115,
"avg_line_length": 28.160493827160494,
"alnum_prop": 0.5589653660675142,
"repo_name": "edsilv/pixelpalette",
"id": "9d5aa99e589983c8d4afcda2804f026aa9b99445",
"size": ... |
package sandbox_test
import (
"testing"
"time"
"github.com/cri-o/cri-o/internal/hostport"
"github.com/cri-o/cri-o/internal/lib/sandbox"
. "github.com/cri-o/cri-o/test/framework"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/sirupsen/logrus"
)
// TestSandbox runs the created specs
func Tes... | {
"content_hash": "00da03903ffcb02fc816364753156e24",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 60,
"avg_line_length": 21.369565217391305,
"alnum_prop": 0.6632756866734486,
"repo_name": "kubernetes-incubator/cri-o",
"id": "5bf15cb61380501884aa4ddb6a85dbdb39bf818e",
"s... |
@interface FBLikeButtonBackgroundSelectedPNG : NSObject
{
}
+ (id)image;
@end
| {
"content_hash": "3c43f53586a0c1018209546e460c8c02",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 55,
"avg_line_length": 10.125,
"alnum_prop": 0.7407407407407407,
"repo_name": "Tatsh/tynder",
"id": "db717a729519a40622005560dffc8f0aad9fed25",
"size": "242",
"binary": fa... |
import type { Theme } from '../../common/themes/types';
import type { ButtonProps } from '../../common/components/Button';
import React from 'react';
import { Button } from '../../common/components';
import { Match } from 'react-router';
type LinkProps = ButtonProps & {
activeStyle?: (theme: Theme) => Object,
exac... | {
"content_hash": "6bcc2f1cf2cbd0332b8dcfe785ae3dbe",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 66,
"avg_line_length": 20.057692307692307,
"alnum_prop": 0.5465004793863855,
"repo_name": "chad099/react-native-boilerplate",
"id": "0928d79b80a1e71d48ca68951723657f5ca12506"... |
package org.web3j.utils;
import java.math.BigDecimal;
import org.junit.Test;
import org.web3j.utils.Convert;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
public class ConvertTest {
@Test
public void testFromWei() {
assertThat(Convert.fromWei("21... | {
"content_hash": "abeba4ea4217b4a7719a151f91ea91d8",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 98,
"avg_line_length": 45.953125,
"alnum_prop": 0.6473988439306358,
"repo_name": "saulbein/web3j",
"id": "ffa6605d17c2a050fc911fbe06d9a8898e14aacf",
"size": "2941",
"bina... |
#include "rsys/common.h"
#define Point NeXT_Point
#import <drivers/event_status_driver.h>
#undef Point
#include "rsys/keyboards.h"
keyboard_enum_t ROMlib_get_keyboard_type( void )
{
NXEventHandle handle;
NXEventSystemDevice dev[NX_EVS_DEVICE_MAX];
unsigned int cnt, i;
int interface, id, retval;
if ( (handle = N... | {
"content_hash": "3bc53d5ef679d4a0f191537d97f1e71d",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 70,
"avg_line_length": 23.261904761904763,
"alnum_prop": 0.6591606960081884,
"repo_name": "ctm/executor",
"id": "08bef7c9f3553a902a5119a86bc603f3e0fbb70f",
"size": "977",
... |
Script to capture prometheus DB from the running prometheus pods to local file system. This can be used to look at the metrics later by running
prometheus locally with the backed up DB.
## Run
```
$ ./prometheus_dump.sh <output_dir>
```
## Visualize the captured data locally on prometheus server
```
$ ./prometheus_vi... | {
"content_hash": "a7c68ef507db986cbd780272993c2405",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 143,
"avg_line_length": 34.92307692307692,
"alnum_prop": 0.751101321585903,
"repo_name": "mffiedler/svt",
"id": "b8b4085301a9f9613495a6c08bbff19109d9ee75",
"size": "475",
... |
<!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) on Wed Apr 02 16:16:41 CEST 2014 -->
<title>RL_abstract_type (RL-Glue Java Codec 2.07)</title>
<meta name="date" content="2014-04-02">
<link r... | {
"content_hash": "4d1c08ecb2a8d1c087f80067391b5ace",
"timestamp": "",
"source": "github",
"line_count": 601,
"max_line_length": 524,
"avg_line_length": 37.86189683860233,
"alnum_prop": 0.648560755877829,
"repo_name": "adamse/rl-glue-java-codec",
"id": "ec40ac61a3da3ea632c9c99fdb777a628c604aaf",
"si... |
"""Tests for tf.keras models using DistributionStrategy."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from absl.testing import parameterized
import numpy as np
from tensorflow.contrib.distribute.python import combinations
from tensorflow.contrib.distr... | {
"content_hash": "9120081aa40f7d7cd1aea99f49ab237b",
"timestamp": "",
"source": "github",
"line_count": 1057,
"max_line_length": 92,
"avg_line_length": 38.23084200567644,
"alnum_prop": 0.6515466468695867,
"repo_name": "apark263/tensorflow",
"id": "92de8e643e7588365c23dc8513e197c0869c9ecf",
"size": ... |
/*
Title: YouTube Bots
Description: Bots for youtube.com.
Nav: hidden
*/
{.float-right}
***This is a fairly new section: [would you like to contribute](https://github.com/botwiki/botwiki.org)?***
Bots for [YouTube](https://www.you... | {
"content_hash": "ae81e89de3bd15e823e587f29b22c0b9",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 142,
"avg_line_length": 40.611111111111114,
"alnum_prop": 0.7359781121751026,
"repo_name": "tullyhansen/botwiki.org",
"id": "3e9811d6f40d65361c38c3bd380beaa093a0f189",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `POSIX_FADV_WILLNEED` constant in crate `libc`.">
<meta nam... | {
"content_hash": "b1691eb8f1e22f45195a1e5419121901",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 207,
"avg_line_length": 38.50442477876106,
"alnum_prop": 0.5143645139048495,
"repo_name": "nitro-devs/nitro-game-engine",
"id": "d47fb8a49ddc25db7814a0c50822dbcfddc851f0",
... |
'use strict';
describe('require test', function () {
it('should require args in order', function () {
var req = global.required;
expect(req.indexOf('a.js')).to.equal(0);
expect(req.indexOf('b.coffee')).to.equal(1);
expect(req.indexOf('c.js')).to.equal(2);
expect(req.indexOf('d.coffee')).to.equal(... | {
"content_hash": "280a1b73612e0c222c1293eae41d2f08",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 30.363636363636363,
"alnum_prop": 0.6167664670658682,
"repo_name": "sul4bh/mocha",
"id": "f959a859a814ecbbd5c35ee15df99ef7022e7ec5",
"size": "334",
... |
<?php
class TestCase extends Illuminate\Foundation\Testing\TestCase {
/**
* Default preparation for each test
*/
public function setUp() {
parent::setUp();
Artisan::call('migrate');
Session::start();
Mail::pretend(true);
Route::enableFilters();
}
... | {
"content_hash": "a2441f6e1a7136952c4ce543b3ece599",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 63,
"avg_line_length": 23.322580645161292,
"alnum_prop": 0.5698478561549101,
"repo_name": "TransComics/TransBubbles",
"id": "6bbc0e085da0910327de7fba441cfec8248343d3",
"siz... |
package org.onosproject.net.flowobjective;
import com.google.common.annotations.Beta;
import com.google.common.collect.ImmutableList;
import org.onosproject.core.ApplicationId;
import org.onosproject.net.flow.criteria.Criteria;
import org.onosproject.net.flow.criteria.Criterion;
import java.util.Collection;
import j... | {
"content_hash": "b3b93f56eb413d9f84da706fe25e5fb4",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 87,
"avg_line_length": 29.491869918699187,
"alnum_prop": 0.5714679531357685,
"repo_name": "CNlukai/onos-gerrit-test",
"id": "e5589b4b1b0b97c6d5896d71e6d278dd62b6bb90",
"si... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "af3496e87d707d0a8e4d7953baaa22f3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "0b342c7726c1b9542b4bc80de5112903d60a8505",
"size": "178... |
package services.application
import connectors.OnlineTestEmailClient
import model.EvaluationResults.{ Green, Red }
import model._
import model.exchange.FsbScoresAndFeedback
import model.persisted.fsb.ScoresAndFeedback
import model.persisted.{ ContactDetails, FsbTestGroup, SchemeEvaluationResult }
import org.mockito.... | {
"content_hash": "c8091ddd4c0b2c2538092b088ef777c0",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 145,
"avg_line_length": 60.2027027027027,
"alnum_prop": 0.7716273849607183,
"repo_name": "hmrc/fset-faststream",
"id": "76b87034af2341d7212215b72a53d7892145aa2e",
"size": ... |
<?php
namespace Nwidart\Modules\Lumen;
use Illuminate\Support\Str;
use Nwidart\Modules\Module as BaseModule;
class Module extends BaseModule
{
/**
* {@inheritdoc}
*/
public function getCachedServicesPath(): string
{
return Str::replaceLast('services.php', $this->getSnakeName() . '_modul... | {
"content_hash": "b8d34d70edda2ff8fbe1c3d3ac50bb4e",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 142,
"avg_line_length": 20.529411764705884,
"alnum_prop": 0.5787965616045845,
"repo_name": "nWidart/laravel-modules",
"id": "a250136069ffc4f0cd648075ac9f15105a8ab5b1",
"siz... |
from oslo_log import log as logging
from heat.common.i18n import _LE
LOG = logging.getLogger(__name__)
from zaqarclient.queues.v1 import client as zaqarclient
from zaqarclient.transport import errors as zaqar_errors
from heat.engine.clients import client_plugin
class ZaqarClientPlugin(client_plugin.ClientPlugin):... | {
"content_hash": "acb4085b49c150e479a9e7dccf23dedb",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 73,
"avg_line_length": 28.17391304347826,
"alnum_prop": 0.6319444444444444,
"repo_name": "srznew/heat",
"id": "ba81c4db7a754a09a3f17aee49798774e4ff1514",
"size": "1871",
... |
<!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_252) on Fri Aug 20 17:47:57 BST 2021 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class psidev.psi.mi... | {
"content_hash": "6a7c2a151f159b8a1371cb663b7c496b",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 177,
"avg_line_length": 39.857142857142854,
"alnum_prop": 0.6097172441258463,
"repo_name": "MICommunity/psi-jami",
"id": "921ae8dadeac40ed7e79b290898166c4d74195c7",
"size"... |
<resources>
<string name="app_name">GyroWiFiServer</string>
</resources>
| {
"content_hash": "f5ac0d047aa06a8e95617f04abd1db3f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 51,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.7142857142857143,
"repo_name": "zll5267/gyro",
"id": "6a64f61a324b3acee4e8aaefc700f31bd0188afa",
"size": "77",
"... |
using System;
using System.Collections.Generic;
using System.Linq;
using BlueSheep.Common.Protocol.Types;
using BlueSheep.Common.IO;
using BlueSheep.Engine.Types;
namespace BlueSheep.Common.Protocol.Messages
{
public class ExchangeGoldPaymentForCraftMessage : Message
{
public new const uint ID =5833;
... | {
"content_hash": "3686510e9fc61a7abb4e8f22a9b91060",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 142,
"avg_line_length": 27.829787234042552,
"alnum_prop": 0.595565749235474,
"repo_name": "Sadikk/BlueSheep",
"id": "3dff9d4faf39bdac22ff20af43b10bef2e738496",
"size": "135... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
J. Bot. 4: 313 (1845)
#### Original name
Sphaeria rhodomphala Berk., 1845
### Remarks
null | {
"content_hash": "f20a070c3f59d50500bf639aebe0aff1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 13.692307692307692,
"alnum_prop": 0.6910112359550562,
"repo_name": "mdoering/backbone",
"id": "06eeeb9b68cfebfdbf38a7e6bfef29f4e3769103",
"size": "23... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ce3e30aa68339326406f6bd96abcf7b5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "d007948c00d51e83f345b9b84c4dd1053c3c6a68",
"size": "19... |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Word.WdRelativeVerticalPosition"/> <... | {
"content_hash": "a2593c9cc00da0c6e59ca03e93942dd6",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 146,
"avg_line_length": 30.042857142857144,
"alnum_prop": 0.6419400855920114,
"repo_name": "NetOfficeFw/NetOffice",
"id": "a55fff00b105389a08458517aa0ac2f10ecad7df",
"size"... |
#ifndef _POLARIS10_THERMAL_H_
#define _POLARIS10_THERMAL_H_
#include "hwmgr.h"
#define POLARIS10_THERMAL_HIGH_ALERT_MASK 0x1
#define POLARIS10_THERMAL_LOW_ALERT_MASK 0x2
#define POLARIS10_THERMAL_MINIMUM_TEMP_READING -256
#define POLARIS10_THERMAL_MAXIMUM_TEMP_READING 255
#define POLARIS10_... | {
"content_hash": "cb4b8027191276cfe1a0b1d10180be3a",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 132,
"avg_line_length": 49.4390243902439,
"alnum_prop": 0.772076961026147,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "62f8cbc2d59069d1cd337f51dfa099380becb9d5",
"s... |
using Umbraco.Cms.Core;
using Umbraco.Cms.Infrastructure.Persistence;
using Umbraco.Cms.Infrastructure.Persistence.Dtos;
namespace Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_8_0_0;
public class AddLockObjects : MigrationBase
{
public AddLockObjects(IMigrationContext context)
: base(context)
{
... | {
"content_hash": "3c5a0c6c0d8d7ec2b761430d60d2e5d0",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 95,
"avg_line_length": 35.95454545454545,
"alnum_prop": 0.6826801517067004,
"repo_name": "arknu/Umbraco-CMS",
"id": "96937d399123cd8f5e9338dc7607885c1acc9bf5",
"size": "158... |
from datetime import datetime, date, timedelta
import pytest
import pytz
from icalendar import vRecur
from khal.khalendar.event import Event, AllDayEvent, LocalizedEvent, FloatingEvent
from .aux import normalize_component, _get_text
BERLIN = pytz.timezone('Europe/Berlin')
# the lucky people in Bogota don't know t... | {
"content_hash": "ed7fd0298e9ba9113c25cc978d1ef9e2",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 94,
"avg_line_length": 41.225806451612904,
"alnum_prop": 0.6650305875657988,
"repo_name": "dzoep/khal",
"id": "244516a5f34574df13df9516de3e5fddfc1b4ffc",
"size": "14078",
... |
// Karma configuration
// Generated on 2016-04-03
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,
// base path, that will be used to resolve files and exclude
basePath: '../',
// t... | {
"content_hash": "94455f4bd0cd97000c82c9f5137829c2",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 85,
"avg_line_length": 28.048192771084338,
"alnum_prop": 0.6207044673539519,
"repo_name": "levinmr/homepage",
"id": "6a821f16c11209b792e7d9924b985e124626611d",
"size": "232... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using APE.Umbraco.Core.DTO;
using System.Data.SqlServerCe;
using System.Configuration;
using APE.Umbraco.Core.Models;
namespace APE.Umbraco.Core
{
public class DBConnection
{
... | {
"content_hash": "6f2f995dad6aff932605ec19a640b883",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 188,
"avg_line_length": 39.023715415019765,
"alnum_prop": 0.5126101488909146,
"repo_name": "LAITDK/AwesomePropertyExtractor",
"id": "ecbf71c8fceb07508929bf6707210f2edf1126f8... |
Building Litecoin Core with Visual Studio
========================================
Introduction
---------------------
Solution and project files to build the Litecoin Core applications (except Qt dependent ones) with Visual Studio 2017 can be found in the build_msvc directory.
Building with Visual Studio is an altern... | {
"content_hash": "1a631ebbcb07752f9fc7058b49a645aa",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 187,
"avg_line_length": 43.734693877551024,
"alnum_prop": 0.7456836210919272,
"repo_name": "bespike/litecoin",
"id": "a6e97f7665507bd1990a6b64671ac1a580160bba",
"size": "21... |
/**
* Run integration tests
*
* Uses the `waterline-adapter-tests` module to
* run mocha tests against the appropriate version
* of Waterline. Only the interfaces explicitly
* declared in this adapter's `package.json` file
* are tested. (e.g. `queryable`, `semantic`, etc.)
*/
/**
* Module dependencies
*/
... | {
"content_hash": "1e98d830e49a8391eb99fa5ebeade818",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 94,
"avg_line_length": 27.685714285714287,
"alnum_prop": 0.6848985208118336,
"repo_name": "jpwilliams/sails-aerospike",
"id": "aa23e0613bff01d6a1ace416aaf9a3a72851f9ab",
"... |
function Callback_mouseMove(src, evnt)
plotFig = src;
plotPluginObj = plotFig.UserData.pluginObj;
imagePluginObj = plotPluginObj.controller.guiPlugins.image;
if plotPluginObj.checkWindowExists() && plotPluginObj.view.dynamic.nViewDims > 0
mousePosPx = get(plotFig, 'CurrentPoint'); %pixels
figPos = plotFig.Posi... | {
"content_hash": "0a4d07fbcde0a3bcc253a5537bf85a94",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 121,
"avg_line_length": 33.116279069767444,
"alnum_prop": 0.6371722846441947,
"repo_name": "erik-roberts/GIMBL-Vis",
"id": "26f54f7b97cee5bdee0163f151b748f689408257",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.