text stringlengths 2 1.04M | meta dict |
|---|---|
#ifndef CustomElementBinding_h
#define CustomElementBinding_h
#include "bindings/core/v8/ScopedPersistent.h"
#include "wtf/PassOwnPtr.h"
#include <v8.h>
namespace blink {
class CustomElementBinding {
public:
static PassOwnPtr<CustomElementBinding> create(v8::Isolate*, v8::Local<v8::Object> prototype);
~Cus... | {
"content_hash": "c9aabe6a5876e8ea86aa48f1c009ac14",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 98,
"avg_line_length": 22.041666666666668,
"alnum_prop": 0.7504725897920604,
"repo_name": "PeterWangIntel/blink-crosswalk",
"id": "319a67661641a9677eee7c28155c846b6b9fdd56",
... |
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-} -- workaround
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
#if __GLASGOW_HASKELL__ >= 708
{-# LANGUAGE PatternSynonyms #-}
#endif
{-# LANGUAGE RecordWildCards #... | {
"content_hash": "90f3fb6326f6254550a58d2ac671b283",
"timestamp": "",
"source": "github",
"line_count": 434,
"max_line_length": 194,
"avg_line_length": 34.483870967741936,
"alnum_prop": 0.654683950287318,
"repo_name": "liyang/thyme",
"id": "82dd339afb422b2d6a285e423d81a729eb42e375",
"size": "14971"... |
using CroudiaSharp.Data;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
namespace CroudiaSharp {
public class DataConvert {
i... | {
"content_hash": "421e8031ba27182026556c241820d34e",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 106,
"avg_line_length": 42.816,
"alnum_prop": 0.5797832585949177,
"repo_name": "MeilCli/CroudiaShap",
"id": "a6078251ebba6148e3c9ffa01fb0953fbdf3e7ef",
"size": "5354",
"... |
#pragma once
#include <QtNetwork/QTcpSocket>
#include "generatorBase/robotsGeneratorDeclSpec.h"
namespace trik {
/// Class that handles connection to robot and sends commands to it.
class ROBOTS_GENERATOR_EXPORT TcpRobotCommunicator
{
public:
TcpRobotCommunicator();
virtual ~TcpRobotCommunicator();
/// Reads g... | {
"content_hash": "a5c07ee1baf8d3662ed54b14abe513c4",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 88,
"avg_line_length": 25.048780487804876,
"alnum_prop": 0.7585199610516066,
"repo_name": "dvvrd/qreal",
"id": "b1eddd1e3f7e49a06d437d4c0af9936fc863bae9",
"size": "1649",
... |
<?xml version="1.0"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>net.sf.barcode4j</groupId>
<artifactId>barcode4j</artifactId>
<packaging>jar</packaging>
<name>Barcode4J</name>
<version>2.1</version>
<description>Barcode4J is a flexible generator for barcodes written in Java.</description>
<u... | {
"content_hash": "2abe0a1b39ae9e1e95dfe46616c4971a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 113,
"avg_line_length": 30.71641791044776,
"alnum_prop": 0.6574344023323615,
"repo_name": "project-ncl/dependency-analysis",
"id": "cfd8170e3677cd5cc7db41154517d93bea7e2f74",... |
Welcome!
## License
This is [MIT](LICENSE) with no added caveats, so feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer.
| {
"content_hash": "46d762d8d9f7e7e1e6ffbc157e1901f4",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 146,
"avg_line_length": 33.8,
"alnum_prop": 0.757396449704142,
"repo_name": "edrumwri/robotics-course-materials",
"id": "17ce528e0f44b9e4e02200ed7f5bec91f21c7876",
"size": "... |
NSString *STRING = [PPOTJSONHelper stringFromDictionary:DICTIONARY withKey:KEY]; \
if (!STRING) LOG_ERROR_AND_RETURN_NIL
#define DICTIONARY_FROM_DICTIONARY(DICTIONARY1, DICTIONARY2, KEY, REQUIRED) \
NSDictionary *DICTIONARY1 = [PPOTJSONHelper dictionaryFromDictionary:DICTIONARY2 withKey:KEY]; \
if (REQUIRED && !DICTIO... | {
"content_hash": "89afe8c7963649b475d681314d387887",
"timestamp": "",
"source": "github",
"line_count": 496,
"max_line_length": 205,
"avg_line_length": 40.69758064516129,
"alnum_prop": 0.7186664024571485,
"repo_name": "billCTG/braintree_ios",
"id": "094d32e74fdeddd81d8a181ffea7a707bb46b2c5",
"size"... |
package com.hazelcast.cache.jsr;
import org.jsr107.tck.event.CacheEntryListenerClient;
import org.jsr107.tck.event.CacheEntryListenerServer;
import org.junit.After;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
import javax.cache.Cache;
import javax.cache.configuration.CacheEntryLis... | {
"content_hash": "2dc1d4bf3b067a7d876385a057f9b426",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 125,
"avg_line_length": 40.85990338164251,
"alnum_prop": 0.6850319224402932,
"repo_name": "tkountis/hazelcast",
"id": "6507fc6d61c1c1b553d468d519c4913c6889e84a",
"size": "... |
namespace gfx {
class ClientNativePixmapFactory;
}
namespace ui {
// Constructor hook for use in constructor_list.cc
gfx::ClientNativePixmapFactory* CreateClientNativePixmapFactoryWayland();
} // namespace ui
#endif // UI_OZONE_PLATFORM_WAYLAND_CLIENT_NATIVE_PIXMAP_FACTORY_WAYLAND_H_
| {
"content_hash": "135cd6326e94d847aa4c9689bc49a07e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 24.25,
"alnum_prop": 0.7903780068728522,
"repo_name": "ric2b/Vivaldi-browser",
"id": "0e61c41a3c87d65f820079483bc9a30a92848226",
"size": "606",
"bi... |
/**
* Bean Validation TCK
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.beanvalidation.tck.tests.validation.groupconversion;
import java.util.List;
import javax.validation.Valid;
import javax.val... | {
"content_hash": "bc9d2c6f9ac27bc46dc49d2cb59192cd",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 156,
"avg_line_length": 24.488372093023255,
"alnum_prop": 0.7587844254510921,
"repo_name": "marko-bekhta/beanvalidation-tck",
"id": "6750a4b385107698ecebae47d163f79b04d9e201"... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
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/licen... | {
"content_hash": "8512cbd80c1b2e7243cb1a581b23adfe",
"timestamp": "",
"source": "github",
"line_count": 845,
"max_line_length": 100,
"avg_line_length": 28.115976331360947,
"alnum_prop": 0.5831298930886438,
"repo_name": "mjg17/ensembl",
"id": "6cf021ad83342b14b827e50c21f6aaeb5deb4eae",
"size": "2375... |
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/conf/wcmio-archetype-aem65">
<include pattern="/conf/wcmio-archetype-aem65"/>
<include pattern="/conf/wcmio-archetype-aem65/rep:policy(/.*)?"/>
</filter>
<filter root="/conf/wcmio-archetype-aem65/settings/w... | {
"content_hash": "34d1b3c8555397d46ca9481f1d2cf28a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 73,
"avg_line_length": 41.3,
"alnum_prop": 0.6343825665859564,
"repo_name": "wcm-io-devops/conga-aem-plugin",
"id": "1eca4a3588504599aaf07dffac421127750971d5",
"size": "413... |
using namespace geocoder;
using namespace std;
DEFINE_string(hierarchy_path, "", "Path to the hierarchy file for the geocoder");
DEFINE_string(queries_path, "", "Path to the file with queries");
DEFINE_int32(top, 5, "Number of top results to show for every query, -1 to show all results");
void PrintResults(vector<Res... | {
"content_hash": "871c70491cc7762e7950213a9a7a3f66",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 94,
"avg_line_length": 22.74025974025974,
"alnum_prop": 0.6350656767561393,
"repo_name": "ygorshenin/omim",
"id": "629d830cfef4060857caf9b801716c01278ae299",
"size": "1972"... |
<?php
require_once (dirname(__FILE__) . '/VTProto.php');
require_once (dirname(__FILE__) . '/VTContext.php');
class VTGateTx {
protected $client;
protected $session;
public function __construct($client, $session) {
$this->client = $client;
$this->session = $session;
}
private function callExecute(VTContext ... | {
"content_hash": "48c6524165328a3a02f01165a0b8f156",
"timestamp": "",
"source": "github",
"line_count": 339,
"max_line_length": 203,
"avg_line_length": 36.256637168141594,
"alnum_prop": 0.6743958994386137,
"repo_name": "yangzhongj/vitess",
"id": "c02e34b8ec387110b25336ad28da182e90552404",
"size": "... |
const WIDTH_BREAKPOINT = 1955 // less will remove one column
const SINGLE_COL_WIDTH_BREAKPOINT = 1555
const X_OFFSET = 55 // leftside offset whitespace in the PNGs
const Y_OFFSET = 5 // make room for arrows pointing at the cytoban
const OFFSET_X = 60;
const OFFSET_Y = 30;
const CHROMOSOMES = ['1', '2', '3', '4', '5',... | {
"content_hash": "333b794fef09b42aec5b7bad86383461",
"timestamp": "",
"source": "github",
"line_count": 407,
"max_line_length": 115,
"avg_line_length": 36.877149877149876,
"alnum_prop": 0.5839163168765408,
"repo_name": "Clinical-Genomics/scout",
"id": "43b7d74fac2a8a824e0587f34a602939e13d10b4",
"si... |
package com.amazonaws.services.route53.model;
import com.amazonaws.AmazonServiceException;
/**
* <p>
* The health check you are trying to create already exists. Amazon Route 53
* returns this error when a health check has already been created with the
* specified <code>CallerReference</code>.
* </p>
*/
public... | {
"content_hash": "4b247d01d8dcffc0c38deeba9b81e776",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 79,
"avg_line_length": 26.214285714285715,
"alnum_prop": 0.715258855585831,
"repo_name": "flofreud/aws-sdk-java",
"id": "9136b0ea286d50b9a738be4a77966129ef857112",
"size": ... |
#ifndef otbSpectralAngleFunctor_h
#define otbSpectralAngleFunctor_h
#include "otbMath.h"
#include <algorithm>
#include <vector>
#include <numeric>
namespace otb
{
namespace Functor
{
namespace SpectralAngleDetails
{
/** \fn
* \brief This function computes spectral angle between a pixel and a reference, the norm ... | {
"content_hash": "bf9a96ebbc6d344967dc9de16d6f1761",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 137,
"avg_line_length": 24.608695652173914,
"alnum_prop": 0.6949352179034158,
"repo_name": "orfeotoolbox/OTB",
"id": "c8ffe208f8ab58d061937f17f5e3a88f7c3075fc",
"size": "4... |
'use strict';
/*globals define, config, socket, app, utils*/
define('composer/tags', function() {
var tags = {};
tags.init = function(postContainer, postData) {
var tagEl = postContainer.find('.tags');
if (!tagEl.length) {
return;
}
tagEl.tagsinput({
maxTags: config.maximumTagsPerTopic,
maxChars... | {
"content_hash": "4ad6d0e5c614e0db9ceefbbb2de2d279",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 122,
"avg_line_length": 27.414141414141415,
"alnum_prop": 0.6337509211495947,
"repo_name": "trucdev/nodebb-plugin-composer-raogiv2",
"id": "dc2e0874136f0202d473427f80844fdd30... |
#include "lib.h"
#include "ns3/network-module.h"
#include "ns3/mobility-module.h"
#include "ns3/config-store-module.h"
#include "ns3/wifi-module.h"
#include "ns3/internet-module.h"
#include "ns3/olsr-helper.h"
#include "ns3/ipv4-static-routing-helper.h"
#include "ns3/ipv4-list-routing-helper.h"
#include "ns3/olsr-head... | {
"content_hash": "fbfa9050c227e8c08a4d6040482c532c",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 96,
"avg_line_length": 39.708920187793424,
"alnum_prop": 0.6667060770867818,
"repo_name": "dirk/tornados-at-midnight",
"id": "c3874dcff5cc17f89c1355b5d25c876157208caa",
"s... |
/*
* 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 law or agreed to in writing, software distributed under t... | {
"content_hash": "ebfd746122d95ab33d2a4f9a327d9e80",
"timestamp": "",
"source": "github",
"line_count": 973,
"max_line_length": 182,
"avg_line_length": 34.006166495375126,
"alnum_prop": 0.706328578336557,
"repo_name": "googleapis/google-api-java-client-services",
"id": "31f8e11af6b0f1fe363cd2fcf66041... |
package net.lucenews.model;
import java.io.*;
import java.text.*;
import java.util.*;
import net.lucenews.*;
import net.lucenews.model.event.*;
import net.lucenews.model.exception.*;
import net.lucenews.opensearch.*;
import org.apache.log4j.*;
import org.apache.lucene.analysis.*;
import org.apache.lucene.analysis.stan... | {
"content_hash": "33effe01b6828597714b332a03128daa",
"timestamp": "",
"source": "github",
"line_count": 2420,
"max_line_length": 142,
"avg_line_length": 30.844628099173555,
"alnum_prop": 0.5862761909865495,
"repo_name": "lucene-ws/lucene-ws",
"id": "ee7ac9375d0834a046426f11da7bca377c7f13a2",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Xml;
using System.Data;
using System.Web.Configuration;
using System.Configuration;
namespace PatanHospital
{
... | {
"content_hash": "f19cd70437d9650b9f9491592921b25f",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 241,
"avg_line_length": 35.79012345679013,
"alnum_prop": 0.6502242152466368,
"repo_name": "richa615/PatanHospital",
"id": "67345e555dd46be44a4adb839f1231822ec2b87f",
"size"... |
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms.
#region Using Statements
using System.Runtime.Serialization;
using WaveEngine.Networking.Client;
using WaveEngine.Networking.Rooms;
#endregion
namespace WaveEngine.Networking.Components
{
/// <summary>
/// Provides <se... | {
"content_hash": "789496c408513200e42fe2e84b50dd67",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 120,
"avg_line_length": 27.68421052631579,
"alnum_prop": 0.6787072243346007,
"repo_name": "WaveEngine/Extensions",
"id": "32d047227fc72ad172bd608aad58aad705a255a3",
"size":... |
package org.switchyard.deployment.torquebox;
import org.jruby.Ruby;
import org.jruby.ast.Node;
import org.jruby.runtime.builtin.IRubyObject;
import java.io.InputStream;
/**
* @author <a href="mailto:tom.fennelly@gmail.com">tom.fennelly@gmail.com</a>
*/
public class RubyUtil {
public static IRubyObject evalS... | {
"content_hash": "d5a461e00848d046a85d548fde527109",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 24.952380952380953,
"alnum_prop": 0.7251908396946565,
"repo_name": "cunningt/switchyard",
"id": "9dd287422767e4a3a49f427841580b1da1c49b4a",
"size": "... |
"""
Chat Room Demo for Miniboa.
"""
from miniboa import TelnetServer
IDLE_TIMEOUT = 300
CLIENT_LIST = []
SERVER_RUN = True
def on_connect(client):
"""
Sample on_connect function.
Handles new connections.
"""
print "++ Opened connection to %s" % client.addrport()
broadcast('%s joins the conve... | {
"content_hash": "02f40eefe83227a052462526a4b5dcec",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 79,
"avg_line_length": 26.5,
"alnum_prop": 0.5637605725439168,
"repo_name": "tectronics/miniboa",
"id": "42666e6167449056db050dd8176f1929b05e1612",
"size": "3854",
"bina... |
<div class="content-wrap">
<div class="row">
<div class="col-sm-12">
<div class="nest" id="tabletreeClose">
<div class="title-alt">
<h6><?php echo $title; ?></h6>
<div... | {
"content_hash": "73f23b25c8b9264e40c72d0b2847c5bd",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 359,
"avg_line_length": 58.05797101449275,
"alnum_prop": 0.31977034448327507,
"repo_name": "tyua07/laravel-admin",
"id": "d5c6b6a1e8d97731058c13baf336d48e2beaf3db",
"size":... |
package io.fabric8.jaas;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.security.auth.login.AppConfigurationEntry;
import org.apache.curator.framework.CuratorFramework;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.anno... | {
"content_hash": "8afbc8792e3a2bd80b5a8afaa475bbef",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 190,
"avg_line_length": 45.94656488549618,
"alnum_prop": 0.7346735338096029,
"repo_name": "punkhorn/fabric8",
"id": "3f3662791556e8a624b27d11289d4b107affd3d9",
"size": "66... |
export default ['$rootScope', '$scope', 'IgniteDialog', function($root, $scope, IgniteDialog) {
const ctrl = this;
const dialog = new IgniteDialog({
scope: $scope
});
ctrl.show = () => {
dialog.$promise.then(dialog.show);
};
$scope.$watch(() => ctrl.title, () => {
$s... | {
"content_hash": "336b3054b6f46993476b0b6adf472454",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 95,
"avg_line_length": 21.476190476190474,
"alnum_prop": 0.5188470066518847,
"repo_name": "vadopolski/ignite",
"id": "0256b84e4753aad7934e0daa69da1dc2c1a07e26",
"size": "12... |
num1 = 80
num2 = 45
sum = num1 + num2
difference = num1 - num2
quotient = num1.to_f / num2.to_f
product = num1 * num2
modulus = num1 % num2
# RSpec Tests. They are included in this file because the local variables you are creating are not accessible across files. If we try to run these files as a separate file... | {
"content_hash": "dcf9acf5d9f0dafbddc8fd789ba6aeb1",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 236,
"avg_line_length": 21.238636363636363,
"alnum_prop": 0.6869983948635634,
"repo_name": "jameskirkpatrick23/phase-0",
"id": "a99eb8321ea33407077da80173dfaec4307b3023",
"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | {
"content_hash": "d939c2dc3de02d4be45d8b853e2c628d",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 214,
"avg_line_length": 79.87912087912088,
"alnum_prop": 0.7331132205255193,
"repo_name": "user-tony/photon-rails",
"id": "e39be7e1886f8aacc50d4faca3f8c5f1f55d9b56",
"size... |
import angular from 'angular';
angular.module("app").factory('syllabus', ['$q', function ($q) {
let service = {};
service.supportedBelts = supportedBelts;
service.get = get;
service.white = white;
service.yellow = yellow;
service.orange = orange;
function supportedBelts() {
return $... | {
"content_hash": "cbfdfb0a45c45a90497b9369712b8a3b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 64,
"avg_line_length": 20.076923076923077,
"alnum_prop": 0.46934865900383144,
"repo_name": "vquigley/jj-ireland-app",
"id": "4eff4e8549c32a5a954cd6d417061cd804b38ca8",
"siz... |
// $Id: writers.cpp,v 1.2 2002/06/29 17:37:42 t1mpy Exp $
// id3lib: a C++ library for creating and manipulating id3v1/v2 tags
// Copyright 1999, 2000 Scott Thomas Haug
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Library General Public License as published... | {
"content_hash": "9613b39c741fefbd70a8aa4432947836",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 78,
"avg_line_length": 36.77777777777778,
"alnum_prop": 0.733534743202417,
"repo_name": "ssvlab/esbmc-gpu",
"id": "8e9011e5d40abf86b9077cae75ed341047c2346a",
"size": "1655"... |
import * as self from "package";
self;
// @filename: index.mts
// esm format file
import * as self from "package";
self;
// @filename: index.cts
// esm format file
import * as self from "package";
self;
// @filename: package.json
{
"name": "package",
"private": true,
"type": "module",
"ex... | {
"content_hash": "5277066b7208af17331087100c5a0435",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 32,
"avg_line_length": 20.176470588235293,
"alnum_prop": 0.5947521865889213,
"repo_name": "weswigham/TypeScript",
"id": "ec9dd150591ea53ea29903334817593a206b38e1",
"size": ... |
// This file was generated by Mendix Modeler.
//
// WARNING: Only the following code will be retained when actions are regenerated:
// - the import list
// - the code between BEGIN USER CODE and END USER CODE
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
// Other code you write will be lost the next t... | {
"content_hash": "d5ae2431ead3d51ca65bd97964afbcf3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 151,
"avg_line_length": 34.36923076923077,
"alnum_prop": 0.7600716204118174,
"repo_name": "mgroeneweg/mendix-DataTables",
"id": "06a5af404911a402c89a9370ab619b47880d8b22",
... |
<?php
/**
* @see Zend_Service_WindowsAzure_Storage
*/
// require_once 'Zend/Service/WindowsAzure/Storage.php';
/**
* @see Zend_Service_WindowsAzure_Credentials_CredentialsAbstract
*/
// require_once 'Zend/Service/WindowsAzure/Credentials/CredentialsAbstract.php';
/**
* @see Zend_Service_WindowsAzure_Exception
... | {
"content_hash": "5f73562f2292ce509a860d11f1691200",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 270,
"avg_line_length": 31.9438202247191,
"alnum_prop": 0.6072810411537108,
"repo_name": "lsimkins/laravel-zend-bundle",
"id": "a9706d4d584ccad4374f47850a3586384dd50b30",
... |
#if ASTORIA_CLIENT
namespace Microsoft.OData.Client
#else
namespace Microsoft.OData.Service
#endif
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
#if ASTORIA_CLIENT
using System.Net;
#endif
using Microsoft.ODa... | {
"content_hash": "92cd8c7644500c3aa8cf48e38de98c30",
"timestamp": "",
"source": "github",
"line_count": 1279,
"max_line_length": 221,
"avg_line_length": 44.084440969507426,
"alnum_prop": 0.5239429625425652,
"repo_name": "kouweizhong/odata.net",
"id": "cbcd3be950a03c8e5771580ebbd80fbdc0a3a12d",
"siz... |
<?php
class erLhcoreClassModule{
static function runModule()
{
if (isset(self::$currentModule[self::$currentView]))
{
$Params = array();
$Params['module'] = self::$currentModule[self::$currentView];
$Params['module']['name'] = self::$currentModule;
... | {
"content_hash": "3e31c9be1f397cf0fe6b9bac002c048f",
"timestamp": "",
"source": "github",
"line_count": 509,
"max_line_length": 281,
"avg_line_length": 40.278978388998034,
"alnum_prop": 0.5455077553409423,
"repo_name": "AnhThi/Syslytic",
"id": "df69a1fcd134ea06d4dd352dc4b1b932b75a78a0",
"size": "20... |
namespace __tsan {
struct Flags : DDFlags {
#define TSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
#include "tsan_flags.inc"
#undef TSAN_FLAG
void SetDefaults();
void ParseFromString(const char *str);
};
void InitializeFlags(Flags *flags, const char *env);
} // namespace __tsan
#endif // TSAN_FLA... | {
"content_hash": "8c611d02e01e10e03f01a5413a2e33fa",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 21.666666666666668,
"alnum_prop": 0.7107692307692308,
"repo_name": "youtube/cobalt",
"id": "66740def52fa99531cf7448cce35de522db6deec",
"size": "1027"... |
<?php
/**
*
* Author Rizki Mufrizal <mufrizalrizki@gmail.com>
* Since Mar 30, 2016
* Time 6:51:43 PM
* Encoding UTF-8
* Project Aplikasi-Kebudayaan-Aceh
* Package Expression package is undefined on line 12, column 14 in Templates/Scripting/PHPClass.php.
*
*/
class UserController extends CI_Controller {
... | {
"content_hash": "43fd94da1b6bf51e6165c3723acd2e65",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 101,
"avg_line_length": 29.678571428571427,
"alnum_prop": 0.5324909747292419,
"repo_name": "RizkiMufrizal/Aplikasi-Kuliner-Aceh",
"id": "5163d5dda446bfd32920e56a2a73f6b2f2a36... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>boost::system::is_error_code_enum< boost::asio::ssl::error::stream_errors ></title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V... | {
"content_hash": "ba06aae8c45d6726ed725331dfb05566",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 508,
"avg_line_length": 62.853932584269664,
"alnum_prop": 0.6254915981408652,
"repo_name": "vslavik/poedit",
"id": "b44ff6cdc0337b002ade8807b8b4396b91b9f122",
"size": "5594... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/BaseLayout.Clickable"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:id="@+id/opinion_ly_whole">
<View
... | {
"content_hash": "425f1121f863237de21d5cfee0d586d2",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 104,
"avg_line_length": 39.423529411764704,
"alnum_prop": 0.5247687257535064,
"repo_name": "simplelifetian/GomeOnline",
"id": "300abd9c19eaf50de3b74b07935fff06878cc5fd",
"... |
'use strict';
/**
* Non-fatal error, occurred during state run.
* Fails only single state, not the whole app.
*/
function StateError(message, originalError) {
Error.captureStackTrace(this, StateError);
this.name = 'StateError';
this.message = message;
this.originalError = originalError;
}
StateErro... | {
"content_hash": "c7232cc7cc7dffdf739a4e23e07e50f0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 54,
"avg_line_length": 26.058823529411764,
"alnum_prop": 0.7358916478555305,
"repo_name": "sergesemashko/gemini",
"id": "a5c3af4f3b22dd4027cbe23e212c07ff6961357c",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/widget_bar_active_over" />
<item android:state_checked="true" android:drawable="@drawable/widget_bar_active_over" />
<item android:dra... | {
"content_hash": "f628c52733dc65a95058fc2ad89fb7f2",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 93,
"avg_line_length": 53.42857142857143,
"alnum_prop": 0.7192513368983957,
"repo_name": "02110917/XiaoXiao",
"id": "6bfca674cd897262b7abb0315175e0777148ef0a",
"size": "374"... |
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Button,
} from 'react-native';
import {
jump,
resetRouteStack,
} from './Route.js';
import * as NavigationBar from './tools/NavigationBar';
import {API} from './tools/API/API';
const onKeyboardShow = (event) => {
... | {
"content_hash": "34a5be2cfe025d8b06239d4849e8983e",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 55,
"avg_line_length": 16.46788990825688,
"alnum_prop": 0.5231197771587743,
"repo_name": "wangliguang/myRNTools",
"id": "51236e86ab5ec643e87a35636df307ff7eadde3e",
"size":... |
<html>
<head>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/elements-test.js"></script>
<script>
function test()
{
InspectorTest.runTestSuite([
function selectInitialNode(next)
{
InspectorTest.selectNodeAndWaitForStyle... | {
"content_hash": "bab350b5a47fa999553041b3a77a09d2",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 92,
"avg_line_length": 28.98181818181818,
"alnum_prop": 0.6210790464240903,
"repo_name": "modulexcite/blink",
"id": "b3246f23f13cf2caca643ae04a42dd596876ab0d",
"size": "159... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Configuration;
using Rhino.ServiceBus.Config;
using Rhino.ServiceBus.MessageModules;
using Rhino.ServiceBus.Msmq;
using Rhino.ServiceBus.Serializers;
using System.Transactions;
namespace Rhino.ServiceBus.Impl
{
pu... | {
"content_hash": "6de8aa84ae22da39dab1f7e181291de6",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 178,
"avg_line_length": 30.04794520547945,
"alnum_prop": 0.6334625028493276,
"repo_name": "ketiko/rhino-esb",
"id": "8fd8fe4d56ed405279d968cb2b0443307325eb1b",
"size": "43... |
test/runner.sh "$@"
| {
"content_hash": "0fb1a2851cfa662116df62c0d992ea7b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 19,
"avg_line_length": 20,
"alnum_prop": 0.6,
"repo_name": "LuaDist2/lua-nucleo",
"id": "9b4bbb016ba7cef7c88f649f1766925a936ecb43",
"size": "348",
"binary": false,
"copi... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ArgumentOutOfRangeErrorImpl = (function () {
function ArgumentOutOfRangeErrorImpl() {
Error.call(this);
this.message = 'argument out of range';
this.name = 'ArgumentOutOfRangeError';
return this;
}
... | {
"content_hash": "f06e33482b1afb0c011c9a6a54368e96",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 39.642857142857146,
"alnum_prop": 0.7297297297297297,
"repo_name": "youtube/cobalt",
"id": "121be11f431c9b4a6a40ae85de88b42f223ff2bb",
"size": "555",... |
alarmscript
===========
Simple linux alarm script. Is supposed to be run via cron. Requires alsa and mplayer installed.
<h2>Description of the files:</h2>
- <b>incvolume.sh</b> mutes / unmutes sound; gradually increases volume over time. for information on your channels please use alsamixer utility
- <b>play.sh</b>... | {
"content_hash": "6cfaaf19bf4ed547593d2e8a3e3898bb",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 145,
"avg_line_length": 50.916666666666664,
"alnum_prop": 0.7217675941080196,
"repo_name": "borowis/alarmscript",
"id": "f490917bedc57003c7bfce37dfb51427e33975a8",
"size": ... |
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
IFS=$'\n'
REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )"
cd "$REPO_DIR"
# Run the linters and tests
# ./bin/lint.sh
# ./bin/test.sh
# Run all the build scripts
./bin/build_git.sh
./bin/build_docs.sh
./bin/build_pip.... | {
"content_hash": "4d550e74ccc82b1aca6e57c96cc59945",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 85,
"avg_line_length": 20.5,
"alnum_prop": 0.663109756097561,
"repo_name": "pirate/bookmark-archiver",
"id": "34256fada8594854cac8b9a1a321b172467c3b48",
"size": "857",
"b... |
package build.tools.generatenimbus;
import javax.xml.bind.annotation.XmlAttribute;
class Point {
@XmlAttribute private double x;
public double getX() { return x; }
@XmlAttribute private double y;
public double getY() { return y; }
@XmlAttribute(name="cp1x") private double cp1x;
public doub... | {
"content_hash": "e89e5ae8932aad17d1addaf45947e396",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 51,
"avg_line_length": 24.363636363636363,
"alnum_prop": 0.6455223880597015,
"repo_name": "rokn/Count_Words_2015",
"id": "600173e10d9d075923570be3bf1068b2c5bef892",
"size":... |
/**
* @file LinearClassifier.h
*
* @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a>
* Implentation of the Linear Classifier
*/
#ifndef _LINEARCLASSIFIER_H
#define _LINEARCLASSIFIER_H
#include <cmath>
#include <iostream>
#include <vector>
#include <Tools/Math/Vector_n.h>
template<size_t SIZE>
class L... | {
"content_hash": "8da3c05a826b0b6ab03e808adfc04f1d",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 108,
"avg_line_length": 29.75609756097561,
"alnum_prop": 0.48770491803278687,
"repo_name": "BerlinUnited/NaoTH",
"id": "72bbb99f0448416dbb25caf5bf680c911b7f3a7e",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/Tests.iml" filepath="$PROJECT_DIR$/.idea/Tests.iml" />
</modules>
</component>
</project> | {
"content_hash": "a2a86c16b7ef5c5cd005020f84227f85",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 104,
"avg_line_length": 32.75,
"alnum_prop": 0.6526717557251909,
"repo_name": "MehdiBagheri/Tests",
"id": "cdb507c1ecc5b37141139ee5536e00c25c15c5cd",
"size": "262",
"binar... |
var m = require('mithril');
var chessground = require('chessground');
var throttle = require('coach').throttle;
function copy(obj, newValues) {
var k, c = {};
for (k in obj) {
c[k] = obj[k];
}
for (k in newValues) {
c[k] = newValues[k];
}
return c;
}
module.exports = function(opts) {
this.user... | {
"content_hash": "b1abd42e160a444b183707278e2a8034",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 114,
"avg_line_length": 26.083916083916083,
"alnum_prop": 0.5793565683646112,
"repo_name": "TangentialAlan/lila",
"id": "c0002948c20163a5d64a15276c3a2725cffc1a50",
"size":... |
package aima.core.probability;
/**
* Artificial Intelligence A Modern Approach (3rd Edition): page 487.<br>
* <br>
* A probability distribution for discrete random variables.
*
* @see <a href="http://en.wikipedia.org/wiki/Probability_distribution"
* >Probability Distribution</a>
*
* @author Ciaran O'Rei... | {
"content_hash": "f67e7df4a04c4de8f806a62b0dda76f3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 26.533333333333335,
"alnum_prop": 0.7286432160804021,
"repo_name": "marcosruiz/aima-java-AIMA3e",
"id": "d59a286a990c1a4bfbe79c1138c0f56dc2103e3f",
"... |
<!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_112-google-v7) on Thu Feb 08 16:33:18 PST 2018 -->
<title>ShadowResources.ShadowTheme</title>
<meta name="date" content="2018-02-08">
<link rel... | {
"content_hash": "6b81ac9bff97a5c6592b90abf00e407b",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 391,
"avg_line_length": 39.9125,
"alnum_prop": 0.6399937362981523,
"repo_name": "robolectric/robolectric.github.io",
"id": "a7173d3b18736c0c34f9ea0374db9e3fa71e4aa8",
"siz... |
"use strict";
const t = require("../../");
const stringifyValidator = require("../utils/stringifyValidator");
const toFunctionName = require("../utils/toFunctionName");
const NODE_PREFIX = "BabelNode";
let code = `// NOTE: This file is autogenerated. Do not modify.
// See packages/babel-types/scripts/generators/flow... | {
"content_hash": "9b8c0671d770077a995f3fcacdcf5aa3",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 109,
"avg_line_length": 30.65340909090909,
"alnum_prop": 0.643002780352178,
"repo_name": "ChromeDevTools/devtools-node-modules",
"id": "f3d8a85233fd8a852bd3bd0d8b3532a517416... |
//
// GDataFeedYouTubeSubscription.m
//
#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE
#import "GDataFeedYouTubeSubscription.h"
#import "GDataYouTubeConstants.h"
@implementation GDataFeedYouTubeSubscription
+ (GDataFeedYouTubeSubscription *)subscriptionFeed {
GDataFeedYouTubeSubscription... | {
"content_hash": "4f10de35fd7d8844659e8b0b61be6f53",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 74,
"avg_line_length": 19.21951219512195,
"alnum_prop": 0.7766497461928934,
"repo_name": "thomasvl/gdata-objectivec-client",
"id": "068a4749f76e1389c2af6a62f35753753a1d1271",... |
#include <RcppArmadillo.h>
#include <random>
#include <omp.h>
using namespace Rcpp;
#ifndef FLOWREMIX_H
#define FLOWREMIX_H
namespace ParallelNormalGenerator {
static std::vector<std::mt19937> generatorlist;
static bool isinit(void){
if(generatorlist.size()>0){
return true;
}else{
return false;
}
}
sta... | {
"content_hash": "fb05b71c32655eecf3b77f244062bbb4",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 104,
"avg_line_length": 33.16182572614108,
"alnum_prop": 0.55005005005005,
"repo_name": "RGLab/flowReMix",
"id": "a5574c43369eda6fe58cad440e233deb6ef72c21",
"size": "7992"... |
module ManageIQ
module API
class BaseController
module ArbitrationRules
def create_resource_arbitration_rules(type, _id, data)
attributes = build_rule_attributes(data)
arbitration_rule = collection_class(type).create(attributes)
if arbitration_rule.invalid?
... | {
"content_hash": "ed1c61d32152611d306ff2ad11b8b2a3",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 113,
"avg_line_length": 30.93548387096774,
"alnum_prop": 0.6131386861313869,
"repo_name": "KevinLoiseau/manageiq",
"id": "5175d4404f1b12139af74310187b05ec832b2c6c",
"size":... |
package restapi
import (
"encoding/json"
"github.com/cloudawan/cloudone/deploy"
"github.com/cloudawan/cloudone/execute"
"github.com/cloudawan/cloudone/monitor"
"github.com/cloudawan/cloudone/notification"
"github.com/cloudawan/cloudone/utility/configuration"
"github.com/emicklei/go-restful"
"net/http"
)
func ... | {
"content_hash": "365b3e8669d5924b38bc35e9e4bc16b3",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 296,
"avg_line_length": 41.720408163265304,
"alnum_prop": 0.7727828596585629,
"repo_name": "cloudawan/kubernetes_management",
"id": "9d1ce8d8e1f9cded37c32517b6a33a2e874ee04d... |
from django.db import models
from django.conf import settings
from django.http import QueryDict
from django.utils.http import urlencode
from six.moves.urllib.request import urlopen
from six.moves.urllib.parse import unquote_plus
from paypal.standard.models import PayPalStandardBase
from paypal.standard.conf import POS... | {
"content_hash": "94974aecc1ddc0f11dc87a981cef0a4a",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 116,
"avg_line_length": 37.212765957446805,
"alnum_prop": 0.6246426529445397,
"repo_name": "caleb/idea-color-themes",
"id": "9ad330342da81de82fabf98ed6a54272d8d84267",
"siz... |
<!DOCTYPE html>
<html lang="en" class=>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ site.title }}</title>
<!-- <link rel="style... | {
"content_hash": "51f5356e1622ab4e5ab0d0052aec4211",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 119,
"avg_line_length": 44.31395348837209,
"alnum_prop": 0.5665179742849645,
"repo_name": "lucasrodes/lucasrodes.github.io",
"id": "a79a49215f13f9a3b4bd772106af75f099f05e30",... |
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
namespace MvcAjax
{
public partial class _Default : Page
{
public void Page_Load(object sender, System.EventArgs e)
{
// Change the current path so that the Routing handler can correctly interpret
// the reque... | {
"content_hash": "e6eb54375a72273cf9c73c3e83715f17",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 90,
"avg_line_length": 36.04545454545455,
"alnum_prop": 0.6633039092055486,
"repo_name": "amshen/Samples",
"id": "e087854d050aaaede09cfabc67f14e01344a460e",
"size": "795",
... |
layout: frontpage
meta_title: "JESSMAR"
header:
image_fullwidth: "header-jessmar.png"
#
# Use the call for action to show a button on the frontpage
#
# To make internal links, just use a permalink like this
# url: /getting-started/
#
# To style the button in different colors, use no value
# to use the main color o... | {
"content_hash": "fd8b296e1e20167d6ee432d67b20310c",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 165,
"avg_line_length": 29.301204819277107,
"alnum_prop": 0.5945723684210527,
"repo_name": "hs2600/JESSMAR",
"id": "ac021ffdfe2a9d44f6708464ea062692c3550c45",
"size": "2436... |
function sentenceFilter() {
var xhttp = new XMLHttpRequest();
var query = encodeURI("Ouragan Irma en direct : au moins neuf morts dans les Antilles françaises.");
xhttp.open("GET", "https://api.textgain.com/1/tag?q=" + query + "&lang=fr&key=***", false);
// xhttp.setRequestHeader("Content-type", "applic... | {
"content_hash": "c6a82293a014437494dc60f2eedea6af",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 104,
"avg_line_length": 40.75,
"alnum_prop": 0.5617879053461875,
"repo_name": "Squatt/MediaMixProject",
"id": "34d5b5945116855253ab4bc66615a6be374c9b55",
"size": "1142",
... |
\documentclass[9pt]{beamer}
\usetheme[progressstyle=movCircCnt]{PBEsimple}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage{animate}
\usepackage{multicol}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{array,booktabs}
\newcommand{\PR}[1]{\ens... | {
"content_hash": "15c0310b8acd9b47958457d1fe0d79a3",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 101,
"avg_line_length": 26.2992700729927,
"alnum_prop": 0.6940049958368026,
"repo_name": "Biostatistics-UEM/Bio",
"id": "893061da9f67020d50284a8cae69418293ef97d4",
"size":... |
package org.apache.bcel.generic;
import org.apache.bcel.ExceptionConstants;
/**
* CHECKCAST - Check whether object is of given type
* <PRE>Stack: ..., objectref -> ..., objectref</PRE>
*
* @version $Id: CHECKCAST.java 386056 2006-03-15 11:31:56Z tcurdt $
* @author <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>... | {
"content_hash": "73eb013bc5514b50f3e933e5457a0c9c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 116,
"avg_line_length": 32.20289855072464,
"alnum_prop": 0.6552655265526552,
"repo_name": "treejames/JMD",
"id": "7f6cfe368f566935d2cbf7f2ee97ad74f92a097d",
"size": "2855",... |
package com.rackspacecloud.blueflood.inputs.handlers;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Timer;
import com.google.common.util.concurrent.ListenableFuture;
import com.rackspacecloud.blueflood.cache.ConfigTtlProvider;
import com.rackspacecloud.blueflood.exceptions.InvalidDataException;
im... | {
"content_hash": "513293946047953bacee654fae3fa10d",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 143,
"avg_line_length": 48.72527472527472,
"alnum_prop": 0.6588858818222824,
"repo_name": "btravers/blueflood",
"id": "b13ff1d213c5bbd0f5a23cf792cea727abccd0b6",
"size": "... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | {
"content_hash": "dc1f5bc9b2470c7722246f7d651f5cb7",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 40.52777777777778,
"alnum_prop": 0.7258396161754627,
"repo_name": "MarinMarinov/C-Sharp-Part-2",
"id": "e93afdc21182485984e590111f1ce23fd0d38756",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "91f227ef4bc6703a422bf8c1bcd5297a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "76e214f9102bceec2621f60fa0dc4602ea5f61c9",
"size": "179... |
<div class="ek-instance-container-log__content">
<div class="ek-instance-container-log__content__progress" layout="row" layout-align="center center" ng-if="ctrl.loading">
<md-progress-circular md-mode="indeterminate" md-diameter="100"></md-progress-circular>
</div>
<div vs-scroll-parent=".ek-instanc... | {
"content_hash": "84579f4c732a02ef21fc5c5345a0faac",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 125,
"avg_line_length": 62.125,
"alnum_prop": 0.682092555331992,
"repo_name": "ElasticBox/elastickube",
"id": "9934e3eedfe1ece0577a760f87719aa7085b37b2",
"size": "497",
"b... |
[](https://travis-ci.org/guillaumepotier/Parsley.js)
JavaScript form validation, without actually writing a single line of JavaScript!
## Version
2.5.0
## Doc
See `index.html` and `doc/`
## Requirements
[jQuery](ht... | {
"content_hash": "1ba5ac90b935acdbcf93137f7fde6cf5",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 135,
"avg_line_length": 23.774193548387096,
"alnum_prop": 0.6981004070556309,
"repo_name": "Skewmos/Woble",
"id": "84c052c537605ab533dddc54931deb0386b97db1",
"size": "1485"... |
@implementation FMProcessMoveFile
- (id)initWithFileOperation:(FMFileCopyOperation *)fileOperation
{
self = [super init];
if (self)
{
self.fileOperation = fileOperation;
}
return self;
}
- (void)moveFileItem:(FMFileItem *)fileItem toPath:(NSString *)targetFilePath
{
@try
... | {
"content_hash": "88cbc0b624eba315a85066772ab76872",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 113,
"avg_line_length": 23.6,
"alnum_prop": 0.608286252354049,
"repo_name": "LEONID-DOROGIN/simply-apple",
"id": "ed1be7b1aea7b4c26fb864044512d026b8389562",
"size": "1383",... |
ansible-playbook build.yml
grep failed=0 build.out | grep unreachable=0 >/dev/null
if [ "$?" == "0" ]; then
# if all looks good, give it a go
echo "Build completed successfully. Starting the project..."
ansible-container run
else
cat build.out
fi
| {
"content_hash": "e6b026dc3cb635a23782901e973998cc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 26.7,
"alnum_prop": 0.6704119850187266,
"repo_name": "chouseknecht/postgresql-container",
"id": "eabc2a41a53d6c55f97dea5173024f1112d4fd38",
"size": "... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('cr.ui', function() {
/**
* The class name to set on the document element.
* @const
*/
const CLASS_NAME = 'focus-outline-visibl... | {
"content_hash": "4a9ae8473177d3051fc74e531f923438",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 80,
"avg_line_length": 28.391304347826086,
"alnum_prop": 0.6263399693721287,
"repo_name": "ric2b/Vivaldi-browser",
"id": "706afc3933a1b5fc83fdbc7edd9a703928ab85d1",
"size":... |
using LionFire.Compiling;
using System;
using Xunit;
namespace Compiling_
{
public class Simple_
{
[Fact]
public void Pass()
{
var code = @" public class Greeter
{
public string Hello(int iteration)
{
var msg = $""Hello {iteration}!"";
... | {
"content_hash": "f689436d0b4b3c44845d11863b40bf7d",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 116,
"avg_line_length": 24.576923076923077,
"alnum_prop": 0.4968701095461659,
"repo_name": "lionfire/Core",
"id": "7aa344584644d625c5577458324844ece485a28b",
"size": "1278"... |
package brooklyn.management.ha;
import java.util.Map;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableMap;
public class ImmutableManagementPlaneSyncRecord implements ManagementPlaneSyncRecord {
private final String masterNodeId;
private final Map<String, ManagementNodeSyncRec... | {
"content_hash": "4586225802f74d53ab5a031a2a06e1f8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 122,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.7269503546099291,
"repo_name": "aledsage/legacy-brooklyn",
"id": "42fac339a866e610b50a06e73cab3fa23151d8de",
"si... |
<?php
namespace Orm;
/**
* Exception to throw when validation failed
*/
class ValidationFailed extends \FuelException
{
/**
* @var Fieldset the fieldset causing this exception
*/
protected $fieldset;
/**
* Overridden \FuelException construct to add a Fieldset instance into the exception
*
* @param ... | {
"content_hash": "191f14cedc446c54fe0581ef2eeb8e55",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 119,
"avg_line_length": 24.38034188034188,
"alnum_prop": 0.6127957931638913,
"repo_name": "tiagodavi/metacommerce",
"id": "04d0ebf4e8b7a4c4d7386099aecb2edc8f235ee8",
"size... |
var expect = require("chai").expect;
exports.test = function (helpers) {
helpers.spawnSync(["template1.marko"]);
helpers.spawnSync(["template2.marko"]);
expect(helpers.existsSync("template1.marko.js")).to.equal(true);
expect(helpers.existsSync("template2.marko.js")).to.equal(true);
helpers.spawnSync([".", "... | {
"content_hash": "bf210a7c9b230350d75a400a9ae0b892",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 67,
"avg_line_length": 36.30769230769231,
"alnum_prop": 0.7097457627118644,
"repo_name": "marko-js/marko",
"id": "109fa0b5df063c44d76c92e009c63556da50aabb",
"size": "472",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6ed3e462131afcc95663eed45d338425",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "a4aabfbc49db4b1a4d7b457b20a1f339eac58f76",
"size": "196... |
#ifndef SkGradientShader_DEFINED
#define SkGradientShader_DEFINED
#include "SkShader.h"
/** \class SkGradientShader
SkGradientShader hosts factories for creating subclasses of SkShader that
render linear and radial gradients. In general, degenerate cases should not
produce surprising results, but there... | {
"content_hash": "81b0e74e18bf17dfa3a51f7cf8d30c0a",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 111,
"avg_line_length": 64.37795275590551,
"alnum_prop": 0.589041095890411,
"repo_name": "Chlumsky/msdfgen",
"id": "3b537a53808edb35943b7e00fa14ddac9af42a18",
"size": "165... |
require "alfa_ui/version"
module AlfaUi
class << self
# Inspired by Kaminari
def load!
register_rails_engine
configure_sass
end
def gem_path
@gem_path ||= File.expand_path '..', File.dirname(__FILE__)
end
def stylesheets_path
File.join assets_path, 'stylesheets'
... | {
"content_hash": "b17b0a1cb471ad0aaee0e543cea51056",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 105,
"avg_line_length": 18.381818181818183,
"alnum_prop": 0.6261127596439169,
"repo_name": "williantenfen/alfa_ui",
"id": "3852742b533cfcee72071bfae53466db768cb634",
"size"... |
namespace Jayrock.Json
{
#region Imports
using System;
#endregion
public sealed class JsonBoolean
{
public const string TrueText = "true";
public const string FalseText = "false";
private JsonBoolean()
{
throw new NotSupportedException();
... | {
"content_hash": "ef227a6104fff76561c9874acce69f8b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 48,
"avg_line_length": 17.473684210526315,
"alnum_prop": 0.5662650602409639,
"repo_name": "mlocati/betterpoeditor",
"id": "46c1d05f4c9c086b7d5240e5c45ab22e8b64a96c",
"size"... |
/* 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 law or agreed to in writing, software
* distributed... | {
"content_hash": "7718833c76a5ca26ce234a29353d1127",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 149,
"avg_line_length": 45.6,
"alnum_prop": 0.7108918128654971,
"repo_name": "flowable/flowable-engine",
"id": "a1420c85a1cbc61daad7ab91e78e11be284a48c6",
"size": "10944",... |
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Canvas;
import java.awt.event.ActionEvent;
import java.awt.event.KeyListener;
import java.awt.event.KeyEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.awt.Point;
import javax.swing.JFrame;
i... | {
"content_hash": "4145f34ba9c0af99519575db318f705f",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 69,
"avg_line_length": 19.066666666666666,
"alnum_prop": 0.6090273363000636,
"repo_name": "zacswolf/CompSciProjects",
"id": "c58525f7e2da7b7d654925f836c49ca7602e7e95",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "991915334a1af8327d2c9cf02a9d34d0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "adab80d11e26d0f8d634ecb493e880bb539b9069",
"size": "19... |
#include "master.hpp"
namespace factor {
cell code_block::owner_quot() const {
tagged<object> executing(owner);
if (!optimized_p() && executing->type() == WORD_TYPE)
executing = executing.as<word>()->def;
return executing.value();
}
/* If the code block is an unoptimized quotation, we can calculate the
... | {
"content_hash": "f6afa94530b8fc3ac62ecc34400b5163",
"timestamp": "",
"source": "github",
"line_count": 503,
"max_line_length": 80,
"avg_line_length": 33.1610337972167,
"alnum_prop": 0.6325539568345324,
"repo_name": "sarvex/factor-lang",
"id": "8fdc447ea344eaa72851d946a9fad8a04461aa38",
"size": "16... |
"use strict";
/**
* Module dependencies.
*/
var HttpsAgent = require('../').HttpsAgent;
var https = require('https');
var urlparse = require('url').parse;
var should = require('should');
var pedding = require('pedding');
var fs = require('fs');
describe('https_agent.js', function () {
var app = null;
var po... | {
"content_hash": "10620fc7bcbd0d29ad14b9846cff62ab",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 67,
"avg_line_length": 24.452830188679247,
"alnum_prop": 0.5158179012345679,
"repo_name": "bmathews/mail",
"id": "de57e7de2b8dc6de72a9ab2bf2f4509c7ad16bff",
"size": "2704"... |
from sklearn2sql_heroku.tests.classification import generic as class_gen
class_gen.test_model("MLPClassifier" , "FourClass_500" , "hive")
| {
"content_hash": "bf0553d611f84db219f617b85e2a3164",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 72,
"avg_line_length": 35,
"alnum_prop": 0.7785714285714286,
"repo_name": "antoinecarme/sklearn2sql_heroku",
"id": "57499ab98ebab0443c5fcb95fcdb3f74d86faf87",
"size": "140",... |
// The MIT License(MIT)
//
// Copyright(c) 2019 Vadim Slyusarev
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to ... | {
"content_hash": "7749b300ab463c32e573b6fe43bffd6b",
"timestamp": "",
"source": "github",
"line_count": 2031,
"max_line_length": 237,
"avg_line_length": 36.75036927621861,
"alnum_prop": 0.4679394426580922,
"repo_name": "bombomby/brofiler",
"id": "9fc70237e1e27a5b54e4da283fa6db181b899ae1",
"size": "... |
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui">
<ui:with field="i18n" type="piramide.interaction.reasoner.web.client.ui.common.i18n.IPiramideMessages"/>
<g:VerticalPanel width="100%" ho... | {
"content_hash": "6caf7cb29a117f299bd885bfa210d78b",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 105,
"avg_line_length": 36.18181818181818,
"alnum_prop": 0.6758793969849246,
"repo_name": "aitoralmeida/imhotep",
"id": "9b52b1360cdea60850231706535546ee6817662f",
"size": ... |
namespace Shapes.Models
{
using System;
using System.Text;
class Square : Rectangle
{
public Square(double side)
: base(side, side)
{
}
public override string ToString()
{
StringBuilder output = new StringBuilder();
output.Ap... | {
"content_hash": "c67fa60f6e0a760d9ee9c6623b2b4399",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 24.130434782608695,
"alnum_prop": 0.4900900900900901,
"repo_name": "tzigy/TelerikAcademy",
"id": "d3fd812e63183d2ea018e2a22fbbda472e9fa8df",
"size": ... |
namespace Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
public class OrderingService : IOrderingService
{
private HttpClient _httpClient;
private readonly string _remoteServiceBaseUrl;
private readonly IOptions<AppSettings> _settings;
public Order... | {
"content_hash": "7b99d871b25975093318de8a10f5b6a3",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 138,
"avg_line_length": 31.65,
"alnum_prop": 0.6526743398781314,
"repo_name": "albertodall/eShopOnContainers",
"id": "f1422c51f303569bed95368e7819ca01e85c4f72",
"size": "4... |
{% load pages_tags i18n future staticfiles %}
<ol>
{% for page in page_branch %}
<li id="ordering_{{ page.id }}">
<div class="{% cycle 'row1' 'row2' %}">
<a href="#" class="tree-toggle" id="page-{{ page.id }}"
{% if not page.has_children %}style="visibility:hidden;"{% endif ... | {
"content_hash": "e8a273c5261af20bf0a9d9d4e7e53a44",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 132,
"avg_line_length": 44.808510638297875,
"alnum_prop": 0.46058879392212726,
"repo_name": "eRestin/Mezz",
"id": "dfacf6071105a9395635bb1d92995d04fa11288e",
"size": "2106"... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>src.com.dtmilano.android</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" /... | {
"content_hash": "76c67528bd3a1a7bf638d7c66f58d766",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 123,
"avg_line_length": 35.45967741935484,
"alnum_prop": 0.5722083238571753,
"repo_name": "akimo12345/AndroidViewClient",
"id": "9bf6c0de91988dc0837a65cc0ff2cb8d30c21376",
... |
package gr.iti.openzoo.servlets;
import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;
import gr.iti.openzoo.ui.Deployer;
import gr.iti.openzoo.ui.Blackboard;
import gr.iti.openzoo.pojos.Server;
import gr.iti.openzoo.ui.Utilities;
import j... | {
"content_hash": "fc9df8c00da43b5b5a04c85f2d247ee0",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 173,
"avg_line_length": 35.098765432098766,
"alnum_prop": 0.5416813225466057,
"repo_name": "VisualComputingLab/OpenZoo",
"id": "fced8b3f6dc41d7ab5069b348d6f91d100d87813",
... |
@interface BaseView : UIView
@property (nonatomic, strong) UIImageView *logoView;
@property (nonatomic, strong) UIImageView *logoLabelImage;
@property (nonatomic, strong) UIButton *navigationBarButton;
@property (nonatomic, strong) UIButton *searchButton;
@property (nonatomic, strong) UIView *titleBar;
- (void) showT... | {
"content_hash": "3b9ed545e03706eab684d5d6a20580e2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 60,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.7907608695652174,
"repo_name": "march830830/Practice",
"id": "5a492c0026906262cd88e1ad14450982ec3be1c8",
"size": ... |
import version
version.append ('$Revision: 89494 $')
del version
import ktl
import os
import time
import tkFileDialog
import Tkinter
from Tkinter import N, E, S, W
import traceback
import Color
import Font
import Event
import Log
import Popup as kPopup # avoid name conflict with class Popup below
import Value
des... | {
"content_hash": "710c60bbf8c23d0060dece908bd4c181",
"timestamp": "",
"source": "github",
"line_count": 1332,
"max_line_length": 102,
"avg_line_length": 21.813063063063062,
"alnum_prop": 0.6483221476510067,
"repo_name": "alexrudy/Cauldron",
"id": "bb40bd00558d566498953c0b5a85a2de02d9baf3",
"size": ... |
package com.intellij.openapi.diagnostic;
import com.intellij.util.ExceptionUtil;
import java.util.concurrent.atomic.AtomicInteger;
/**
* @author peter
*/
public class FrequentEventDetector {
private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.diagnostic.FrequentEventDetector");
private... | {
"content_hash": "5fdb7691cfb1f289f80780fd23f0d37f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 113,
"avg_line_length": 30.923076923076923,
"alnum_prop": 0.7164179104477612,
"repo_name": "romankagan/DDBWorkbench",
"id": "e7b3254e6de663c6e2f3d1a586d02f4c95e968f1",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.