text
stringlengths
2
1.04M
meta
dict
class CreateBatchGroups < ActiveRecord::Migration def self.up create_table :batch_groups do |t| t.integer :course_id t.string :name t.timestamps end end def self.down drop_table :batch_groups end end
{ "content_hash": "fe9f013dd19eef8174c6f1e6a0e12b13", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 49, "avg_line_length": 17.142857142857142, "alnum_prop": 0.6583333333333333, "repo_name": "prafula/FedenaT", "id": "e96c2678f1c490079af193a9011975bfc2f3a8e6", "size": "240"...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("10...
{ "content_hash": "9c482a6fb3c94e630364f4ad3b56c063", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.19444444444444, "alnum_prop": 0.7462792345854005, "repo_name": "b-slavov/Telerik-Software-Academy", "id": "2325693e1549de3b769185c57752f1375aa7b08f"...
@Meta title = "cbrewster" author = "Connor" show_date = false @Content ### Hi, my name is **Connor Brewster**. Welcome to my site. Check out my [posts](/posts) or learn more [about me](/about).
{ "content_hash": "f06862dca24b82d165959514df5e31eb", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 62, "avg_line_length": 17.90909090909091, "alnum_prop": 0.6700507614213198, "repo_name": "cbrewster/cbrewster.github.io", "id": "5c580775fa52a4fff83cdf9c85196602f6a471ca", ...
<?php namespace PHPExiftool\Driver\Tag\Qualcomm; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class R2D65Height extends AbstractTag { protected $Id = 'r2_d65_height'; protected $Name = 'R2D65Height'; protected $FullName = 'Qual...
{ "content_hash": "c8115c52f03efb0ec880dbbc12a88b2a", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 46, "avg_line_length": 16.81081081081081, "alnum_prop": 0.6655948553054662, "repo_name": "romainneutron/PHPExiftool", "id": "a8099de9be507bbdce77c74b0746140f61c9461b", "siz...
<?php namespace Artdarek\OAuth\Facade; use Illuminate\Support\Facades\Facade; class OAuth extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'oauth'; } }
{ "content_hash": "8edd89f80ec96a6da6ed4e2efbb4c6be", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 69, "avg_line_length": 15.5, "alnum_prop": 0.6594982078853047, "repo_name": "jipoom/lovedining", "id": "677e7b76a942cca6ec196252b4f34b6004b511c7", "size": "451", "binary"...
CREATE TABLE [ref].[Catalog]( [Catalog_ID] [int] IDENTITY(1,1), [Catalog_Name] [nvarchar](max) NOT NULL, [Indicator_ID] [int] NULL, [Indicator_Name] [nvarchar](max) NULL, [Metric_ID] [int] NULL, [Metric_Name] [nvarchar](max) NULL, [Component_ID] [int] NULL, [Component_Name] [nvarchar](max) NULL, [Component_Sho...
{ "content_hash": "4a4df2f6d31b493eec49f4b58efb3a40", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 54, "avg_line_length": 34.03333333333333, "alnum_prop": 0.6973555337904016, "repo_name": "SGershman/simpleimpact", "id": "b72d6b3cae28a7609080c24fe77c3cc9a29bf0ee", "size":...
/* define the DLL export macro */ #if defined(_WIN32) && !defined(__CYGWIN32__) #define DLLEXPORT(res) __declspec(dllexport) res #else /* redef this default for your system */ #define DLLEXPORT(res) extern res #endif #ifdef COM #define COBJMACROS #define CINTERFACE #endif #include <stdio.h> #if de...
{ "content_hash": "865ebc57ddaf6bbbcadb9ddfde64644d", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 84, "avg_line_length": 19.694915254237287, "alnum_prop": 0.597819850831899, "repo_name": "dchagniot/hdirect", "id": "f12bda4be946b6bd2c6d065167e2e03d519b470b", "size": "34...
''' Add the hubble version to the grains ''' import logging from hubblestack import __version__ log = logging.getLogger(__name__) def hubble_version(): ''' Add the hubble version to the grains ''' return {'hubble_version': __version__}
{ "content_hash": "f0a94036e1b41a1b16e74dad1cae2333", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 42, "avg_line_length": 17.066666666666666, "alnum_prop": 0.6484375, "repo_name": "HubbleStack/Hubble", "id": "00a7f89a43a66b799402e4b50b5b5e26e7e39749", "size": "280", "b...
FROM balenalib/imx8mm-var-dart-fedora:36-run # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast ma...
{ "content_hash": "b89a58172958a5f063772a3e1ba1344b", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 706, "avg_line_length": 77.96774193548387, "alnum_prop": 0.7331402565163426, "repo_name": "resin-io-library/base-images", "id": "7033ef1f1f4861828c802203c256068cbb70383a", ...
/** * Created by Aureliano on 28/01/2016. * This file put a match stage for text search in the operation (better if first) */ 'use strict'; /** global requires and vars */ const MODULE_NAME = 'MatchTextStageOperation'; const underscore = require('underscore'); /** * the function to be invoked by th...
{ "content_hash": "9aeeea4bcb39ffe1f88c1f0ce63b2d9e", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 141, "avg_line_length": 33.36666666666667, "alnum_prop": 0.5437895437895438, "repo_name": "digitalxmobile-dev/digirest", "id": "18cc1b823879a0d89e10d6c2aa605e8e8e8bdb94", "...
<scheme name="Monokai" parent_scheme="Default" version="1"> <option name="LINE_SPACING" value="1.0" /> <option name="EDITOR_FONT_SIZE" value="12" /> <option name="EDITOR_FONT_NAME" value="Menlo" /> <colors> <option name="CONSOLE_BACKGROUND_KEY" value="272822" /> <option name="INDENT_GUIDE" value="3B3A32...
{ "content_hash": "09c3b73feddb6a47f95ca62e83cf2c27", "timestamp": "", "source": "github", "line_count": 1535, "max_line_length": 65, "avg_line_length": 28.18110749185668, "alnum_prop": 0.549748023486985, "repo_name": "romankagan/DDBWorkbench", "id": "f2d69137d6ba83cc1178a9432c35ec96492d88e0", "size...
package models import ( "github.com/jinzhu/gorm" ) type Video struct { gorm.Model Name string YouTubeID string Title string Length string ThumbnailImage VideoImageStorage `sql:"type:varchar(4096)"` Alt string } func (v *Video) DisplayName() string { return v.Name ...
{ "content_hash": "7de81b8f671042399275ca73d4b30ef6", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 60, "avg_line_length": 16.1, "alnum_prop": 0.639751552795031, "repo_name": "8legd/HugoCMS", "id": "ce1f16a9120405ef21fcb1ccf928869810f9513b", "size": "322", "binary": fal...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Fungus.Examples { public class FPDemoPriorityRouter : MonoBehaviour { public Behaviour[] componentEnabledOutsideFungusPriority; public Behaviour[] componentEnabledInsideFungusPriority; void OnEna...
{ "content_hash": "734319837fd5457df6acbed7492fa061", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 110, "avg_line_length": 29.89090909090909, "alnum_prop": 0.6240875912408759, "repo_name": "FungusGames/Fungus", "id": "601fd35da862f7a7c142b54c3a9a029d839f7c22", "size": "1...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Fi...
{ "content_hash": "54a1367e45b5c38d67ec36c3295ea49f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.861111111111114, "alnum_prop": 0.7505226480836237, "repo_name": "artiso-solutions/samples", "id": "836c8bef8bf946b90516d330316b8625a36d4db9", "siz...
require "spec_helper" describe Mongoid::Attributes do describe "\#{attribute}" do context "when setting the value in the getter" do let(:account) do Account.new end it "does not cause an infinite loop" do expect(account.overridden).to eq("not recommended") end end ...
{ "content_hash": "d79a38e4d2d4b37fcdbe98672ed893f4", "timestamp": "", "source": "github", "line_count": 1487, "max_line_length": 90, "avg_line_length": 20.88836583725622, "alnum_prop": 0.5430604294774798, "repo_name": "etomic/mongoid", "id": "9663997beaa668cf9a25c1fcbcec72bbb16abb01", "size": "3106...
#include <assert.h> #include <stdint.h> #include <string.h> #include "KeccakHash.h" #include "keccak.h" void hashsig_keccak_hash (keccak_ctx_t *ctx, uint8_t *out, const uint8_t *in, const size_t len) { keccak_ctx_t hi; assert(ctx != NULL); memcpy(&hi, ctx, sizeof(hi)); hashsig_Keccak_HashUpdate(&hi, in, len * ...
{ "content_hash": "b23e951497f67a1b14937162393720c7", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 148, "avg_line_length": 34.705128205128204, "alnum_prop": 0.6738086442556336, "repo_name": "ps-auxw/libhashsig", "id": "141c0adea1b3bb2f6426dc73d9b4124e6f1c5957", "size": "...
namespace Project.API.Universidade.Models.Estudante { public class EstudanteGetModel : EstudanteModel { } }
{ "content_hash": "e3c837bababf53185c11a39ea6d208c7", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 52, "avg_line_length": 20, "alnum_prop": 0.7333333333333333, "repo_name": "taigosantos/dotnet-architecture", "id": "37f0f7499d10ddcb90e3eb3504c21c38c0220f6d", "size": "122",...
package com.ibm.watson.assistant.v2.model; import com.ibm.cloud.sdk.core.service.model.GenericModel; /** An intent identified in the user input. */ public class RuntimeIntent extends GenericModel { protected String intent; protected Double confidence; protected String skill; /** Builder. */ public static...
{ "content_hash": "927c53a7bc19a26db8ee9740030ca68a", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 100, "avg_line_length": 22.437037037037037, "alnum_prop": 0.6318917134367779, "repo_name": "watson-developer-cloud/java-sdk", "id": "3dbec7b6306ff326ce2c21a2e22c30ea310aa710...
package com.gamingmesh.jobs.tasks; import com.gamingmesh.jobs.Jobs; public class DatabaseSaveThread extends Thread { private volatile boolean running = true; private int sleep; public DatabaseSaveThread(int duration) { super("Jobs-DatabaseSaveTask"); this.sleep = duration * 600...
{ "content_hash": "0161a57258fc11326340ea62b4612330", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 100, "avg_line_length": 25.837209302325583, "alnum_prop": 0.540954095409541, "repo_name": "GamingMesh/Jobs", "id": "eb9676855fc75718dce173963673a5d7fff78057", "size": "1850...
import React from 'react'; import { connect } from 'react-redux'; import IconButton from 'material-ui/IconButton'; import { ListItem } from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import PhoneIcon from 'material-ui/svg-icons/communication/phone'; import LocationIcon from 'material-ui/svg-ico...
{ "content_hash": "ce85d51e9ff2c411b9cbe37fbc5276ea", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 80, "avg_line_length": 29.1, "alnum_prop": 0.6686303387334315, "repo_name": "VasilyShelkov/ClientRelationshipManagerUI", "id": "72b0dae88cd912da6b6fe0cb181b8bdaccf64dae", "...
namespace System.ComponentModel.DataAnnotations { /// <summary> /// This attribute is used to mark the members of a Type that participate in /// optimistic concurrency checks. /// </summary> [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)...
{ "content_hash": "e0162ca77f83b3359e0701a344b0fcf6", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 113, "avg_line_length": 36.09090909090909, "alnum_prop": 0.7178841309823678, "repo_name": "lutsykigor/Perfectial.EntityFramework.Enterprise.Sample", "id": "6843f974d54536b1c6...
// Copyright 2019 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "140d0a710531db98674a85e43e4059bc", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 89, "avg_line_length": 39.42, "alnum_prop": 0.7171486555048199, "repo_name": "werkt/bazel", "id": "ff4b909ebbb5ee9f6536daa90fb2186bcae262bb", "size": "3942", "binary": f...
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by otm (version 3.0) on Wed May 18 14:45:09 EDT 2016 --> <title>Source_Summary</title> <meta name="date" content="2016-05-18"> <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> </head> <body> <script type="text/javascri...
{ "content_hash": "fcbb2c990add412ab4f316f34756ba0e", "timestamp": "", "source": "github", "line_count": 684, "max_line_length": 431, "avg_line_length": 38.5, "alnum_prop": 0.6928305612516139, "repo_name": "OpenTravel-Forum-2016/otaforum-mock-content", "id": "18c773af4dd0c7fffa7d2688e1754ca5dd4a1e4f",...
FROM ppc64le/ubuntu:16.04 MAINTAINER "Jay Joshi<joshija@us.ibm.com>" # Install Dependecies RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823 && \ apt-get update -y && \ apt-get install -y dirmngr nodejs npm wget python gcc g++ make git && \ ln -s /usr/bin/nodejs /usr/bin/node && \ ...
{ "content_hash": "cfe857e093de782daf129f0f4f690ca1", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 78, "avg_line_length": 32.68421052631579, "alnum_prop": 0.6409017713365539, "repo_name": "ppc64le/build-scripts", "id": "3ed1971a4cf6a3093993add9f8475c2a6986be4c", "size": ...
var resources = function(page,meta){ return { js:['graph/nvd3/js/d3.v3.js','graph/nvd3/js/nv.d3.js', 'usage/usage_versions.js', 'bootstrap/bootstrap-dialog.min.js'], code : ['api_identifier.hbs'], css:['graph/nvd3/css/nv.d3.css', 'bootstrap/bootstrap-dialog.min.css'] } };
{ "content_hash": "cfb1d166b22da6c74647dab0bd424e82", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 127, "avg_line_length": 38.25, "alnum_prop": 0.6241830065359477, "repo_name": "ayyoob/carbon-apimgt", "id": "77e0c4004c9b3e5e1ac57db2ea3374cf160501b0", "size": "991", "bin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FindNumber { }
{ "content_hash": "2180fc25fbc2418883d9b8a29a2292a0", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 33, "avg_line_length": 14.8, "alnum_prop": 0.7702702702702703, "repo_name": "shakuu/Homework", "id": "a444fbf53bb783aba59c37549c96ef040906c365", "size": "150", "binary": ...
full_name = input('Enter your name: ') list_of_names = full_name.split() for index, name in enumerate(list_of_names): if name[0].islower(): del list_of_names[index] [print(name[0] + '.', end='') for name in list_of_names]
{ "content_hash": "11245836f7609bc7be4be436d6561318", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 56, "avg_line_length": 26.22222222222222, "alnum_prop": 0.635593220338983, "repo_name": "KristianMariyanov/PythonPlayground", "id": "e72ec34e3a022adb7b09798e5d484568e2b533e9",...
SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment varia...
{ "content_hash": "7c1148f2bbbcde99749b199cd3c9e415", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 343, "avg_line_length": 38.74566473988439, "alnum_prop": 0.7084887363866925, "repo_name": "balthorium/coloradobots", "id": "aaba5cd1be774bc2f64e6eacbe48a004ec22ac40", "siz...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache...
{ "content_hash": "ca296d85ae0cf5f5b59bc9ccb1117696", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 132, "avg_line_length": 40.80392156862745, "alnum_prop": 0.6725132148005767, "repo_name": "apache/geronimo-gshell", "id": "d6c99758e8dc15d0dcc2620637629511b0a37f19", "size...
""" module for generating C, C++, Fortran77, Fortran90 and python routines that evaluate sympy expressions. This module is work in progress. Only the milestones with a '+' character in the list below have been completed. --- How is sympy.utilities.codegen different from sympy.printing.ccode? --- We considered the id...
{ "content_hash": "27031568e1f0c04f530a81b8be92ba32", "timestamp": "", "source": "github", "line_count": 955, "max_line_length": 109, "avg_line_length": 36.27225130890052, "alnum_prop": 0.6032332563510393, "repo_name": "pernici/sympy", "id": "801e5aa10b03b0582235b4b528cb83bb5a1cf466", "size": "34640...
# Replicate an experiment using an experiment description file Experiments describe which artifacts and parameters were used to obtain performance results. They allow the concise specification of a complete configuration. For example, the entire setup that was created step-by-step to [perform an experiment using exist...
{ "content_hash": "61cfacdee111167043dd5696f5494807", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 405, "avg_line_length": 71.03448275862068, "alnum_prop": 0.7694174757281553, "repo_name": "Sable/wu-wei-handbook", "id": "a4f32083fc1832536606a26e5efd0690afa55821", "size":...
using System; using Org.Apache.CuratorNet.Client; using Org.Apache.CuratorNet.Framework.API; using Org.Apache.Java.Types.Concurrent; namespace Org.Apache.CuratorNet.Framework.Imps { public class SyncBuilderImpl : ISyncBuilder, IBackgroundOperation<string>, IErrorListenerPathable<object> { private read...
{ "content_hash": "23402ecf5b5b2f8e84d077f4c75efe6f", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 148, "avg_line_length": 37.25806451612903, "alnum_prop": 0.6216450216450217, "repo_name": "Lagrang/CuratorNet", "id": "dc180a8e3c60203dc9a9799bd8aabad9f96ed6e5", "size": "3...
package org.apache.phoenix.expression.aggregator; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.List; import org.apache.hadoop.conf.Configuration; import...
{ "content_hash": "a86f60f882ff853e800e6207de88a01f", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 144, "avg_line_length": 41.07518796992481, "alnum_prop": 0.6353651839648545, "repo_name": "apache/phoenix", "id": "ef9ca0ff91122cff1c0063daaedc5ccc892a9a9d", "size": "6264...
package libretasks.app.controller.external.helper.telephony; /** * Class for representing the different states of a phone. Please also refer to the state diagram on * {@link http://code.google.com/p/omnidroid/wiki/PhoneCallStateTransition} for an overview of the * different transitions. */ public class PhoneState...
{ "content_hash": "7e43a6e63fcf58a5602d6155e62dc344", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 100, "avg_line_length": 23.3768115942029, "alnum_prop": 0.6732796032238065, "repo_name": "biotinker/LibreTasks", "id": "d77392600d8ea40f4f51eb92a9f1c38484c0db63", "size": ...
<?php class aBlogPageCategoryTable extends PluginaBlogPageCategoryTable { public static function getInstance() { return Doctrine_Core::getTable('aBlogPageCategory'); } }
{ "content_hash": "c99e3bbfa2312d82aac19f7ddbca5fff", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 65, "avg_line_length": 17.818181818181817, "alnum_prop": 0.7091836734693877, "repo_name": "jpasosa/asturiana", "id": "da85e8981902155958f5cbc8139a83aabaf76f9c", "size": "19...
<?php /** * Class Tribe__Events__Importer__File_Importer_Venues */ class Tribe__Events__Importer__File_Importer_Venues extends Tribe__Events__Importer__File_Importer { protected $required_fields = array( 'venue_name' ); protected function match_existing_post( array $record ) { $name = $this->get_value_by_key( ...
{ "content_hash": "93d28eb3049a37b4f5e22d59e7444fd8", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 143, "avg_line_length": 42.18181818181818, "alnum_prop": 0.6023706896551724, "repo_name": "amy2400/amy2400.github.io", "id": "c0be2b29a74aa51872f5630737a26709888ff831", "si...
<?xml version="1.0" encoding="UTF-8"?> <faceted-project> <fixed facet="jst.web"/> <fixed facet="jst.java"/> <installed facet="jst.web" version="2.5"/> <installed facet="jst.java" version="1.6"/> <installed facet="jst.jaxrs" version="1.1"/> </faceted-project>
{ "content_hash": "8f2fb0f78f7ca8a6c8ba1b9958fbe4e5", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 46, "avg_line_length": 33.625, "alnum_prop": 0.6505576208178439, "repo_name": "Iusinda/rms-server", "id": "8b0773189aefc3075b6c5cedb4586e8c9b6eb269", "size": "269", "binar...
package org.ocpsoft.rewrite.faces.annotation.action; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.spec.WebArchive; import org.junit.Test; import org.junit.runner.RunWith; import org.ocpsoft.rewrite.faces.annotation.RewriteFaces...
{ "content_hash": "4fc3e9b3c415b5ae717fabf8fcb212fc", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 87, "avg_line_length": 34.76744186046512, "alnum_prop": 0.7511705685618729, "repo_name": "chkal/rewrite", "id": "52332cb9207dc85771cefa527c5a892b95d3fa42", "size": "1495", ...
/* * Copyright 2001-2003 Red Hat Inc., Durham, North Carolina. * * All Rights Reserved. * * 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 li...
{ "content_hash": "bd9f31e0d8546b1b4a7e44f4ddbb7afb", "timestamp": "", "source": "github", "line_count": 292, "max_line_length": 79, "avg_line_length": 30.873287671232877, "alnum_prop": 0.5724902939545202, "repo_name": "execunix/vinos", "id": "ee187072cee74174e7077464daa79fb2c90ab793", "size": "1036...
body { background: url(../wallpaper-1266561.jpg) center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } h1 { color:#333; } .lead { color:#ffffff; font-weight: 300; } .textbox { margin: 10px; padding: 5px; background-c...
{ "content_hash": "d24102e026f5da948dd780d0b3a303ca", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 64, "avg_line_length": 16.761904761904763, "alnum_prop": 0.6647727272727273, "repo_name": "cyberpunklibrarian/simple-new-tab", "id": "84971719714f61ffe4b6ceade04b99d9286b9676...
// Copyright (c) 2009-2014 The GreenCoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef GREENCOIN_CLIENTVERSION_H #define GREENCOIN_CLIENTVERSION_H #if defined(HAVE_CONFIG_H) #include "config/greencoin-confi...
{ "content_hash": "8a6e10302cff08e9bf744773186c38f6", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 116, "avg_line_length": 30.205882352941178, "alnum_prop": 0.7142161635832522, "repo_name": "GreenCoinX/greencoin", "id": "c0ab3f166e20dbe7efa92800adc19c04eedf2494", "size":...
@interface EmptyView : BasicPlaceholderView @end
{ "content_hash": "277a74b15b3a43754ee4ac04f409742a", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 43, "avg_line_length": 16.666666666666668, "alnum_prop": 0.82, "repo_name": "bxyfighting/BXYStatefulViewController", "id": "abf17bbc250afd10e100f085a5a1685778ea6e78", "size"...
/* * Table styles */ table.dataTable { width: 100%; margin: 0 auto; clear: both; border-collapse: separate; border-spacing: 0; /* * Header and footer styles */ /* * Body styles */ } table.dataTable thead th, table.dataTable tfoot th { font-weight: italic ; } table.dataTable thead th, table...
{ "content_hash": "1e7452b652ba78b79ae5597afbe9f9ea", "timestamp": "", "source": "github", "line_count": 502, "max_line_length": 228, "avg_line_length": 32.310756972111555, "alnum_prop": 0.7197287299630086, "repo_name": "labsletemps/transparence", "id": "43cb952b13e81f80b218f0093978f2524fa91e2e", "s...
'use strict'; const assert = require('assert'); const proxyquire = require('proxyquire').noCallThru(); function stub() { function stubFn(...args) { stubFn.calls = [...stubFn.calls, {args}]; return stubFn.returnValue; } return Object.assign(stubFn, { calls: [], returns(val...
{ "content_hash": "7d5d3ce1a13e45ef1a29e3a3af4b158c", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 70, "avg_line_length": 20.327272727272728, "alnum_prop": 0.4991055456171735, "repo_name": "borys-ihnatyev/npm-travis-deploy-test", "id": "63d0caedc4cb84cffa75b7ef61c42cf4769a...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_65) on Wed Sep 03 20:06:01 PDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Package org...
{ "content_hash": "24b9599d13ab4a48df053c01a544c181", "timestamp": "", "source": "github", "line_count": 376, "max_line_length": 338, "avg_line_length": 44.159574468085104, "alnum_prop": 0.6700192724644664, "repo_name": "lshain/hbase-0.98.6-hadoop2", "id": "70454861b20f26223cdefd113705cdd53abacafd", ...
require 'test_helper' class Settings::ProfilesHelperTest < ActionView::TestCase end
{ "content_hash": "a0e0e97ac1f11e87797ec7993d3efc13", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 57, "avg_line_length": 21.25, "alnum_prop": 0.8117647058823529, "repo_name": "neubt/common", "id": "230adb289e07df3e2b2414641dc801ad1dc79aac", "size": "85", "binary": fals...
<ion-view hide-nav-bar="true" title="Login"> <ion-content> <div class="padding"></div> <div class="padding"></div> <div class="padding"></div> <div class="padding text-center"> <p class="text-center labelText">Social Login</p> <label> <button class="button icon" ng-click="loginWithSocial('linkedin')"...
{ "content_hash": "cf02d8af3ad10c6fee2e03b8dec4a7bb", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 78, "avg_line_length": 37.972972972972975, "alnum_prop": 0.6448398576512455, "repo_name": "DhouseIn/DemoIonicOAuthService", "id": "03aba2674a6036897df942b03eb4a7989b50f285", ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
{ "content_hash": "76e2a720f4f500517177e7025718c720", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 248, "avg_line_length": 30.028169014084508, "alnum_prop": 0.4826454033771107, "repo_name": "mariofertc/Reloj", "id": "0e2efb8bf81eb3080a0693ebf0b06cdb8315e3a5", "size": "4...
namespace mozc { class WinUtil { public: WinUtil() = delete; ~WinUtil() = delete; // Load a DLL which has the specified base-name and is located in the // system directory. // If the function succeeds, the return value is a handle to the module. // You should call FreeLibrary with the handle. // If the ...
{ "content_hash": "04ab3ecec3e17081967c77577c3fdf70", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 79, "avg_line_length": 45.541935483870965, "alnum_prop": 0.7243235585777023, "repo_name": "fcitx/mozc", "id": "5a6f3f33da55e8fa03672aca69f2f7cafcfac7cb", "size": "8902", ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; namespace System.Configuration.Internal { internal interface IInternalCo...
{ "content_hash": "78b635bbd1413bce169aa59be9b4497a", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 71, "avg_line_length": 31.0625, "alnum_prop": 0.7122736418511066, "repo_name": "ViktorHofer/corefx", "id": "d76aedbd3e5213887243aad351ef762903658013", "size": "499", "bin...
import { combineReducers } from 'redux'; import ClientMenuReducer from './reducer_client_menu'; import ProductDetailsReducer from './reducer_product_details.js'; import ChangeSubject from './reducer_change_subject.js'; import {reducer as formReducer} from 'redux-form'; import sendEmail from './reducer_send_email.js'; ...
{ "content_hash": "85f5d2476da5ae777f3ccb275e04fb3c", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 65, "avg_line_length": 34.4375, "alnum_prop": 0.7713248638838476, "repo_name": "gramulos/EpsilonGroups", "id": "d8782241f7fe5ccf254729bbcd7b4fb6a791f4bc", "size": "551", ...
""" WSGI config for {{ project_name }} project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ """ from __future__ import unicode_literals import os os.environ.setdefault("DJANGO_SETTIN...
{ "content_hash": "69d4f4b9a680e9f94e9917693a806e64", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 83, "avg_line_length": 30.4, "alnum_prop": 0.7543859649122807, "repo_name": "rkorkosz/django-base-template", "id": "d29b619238362cf4ef4e7b3ab34ba96589f39d52", "size": "456"...
package net.bytebuddy.utility; import java.util.Arrays; /** * A dispatcher for invoking {@link Object#toString()} and {@link Object#hashCode()} methods that are sensitive to * array values which need redirection to different specialized methods defined by {@link java.util.Arrays}. */ public enum PropertyDispatcher...
{ "content_hash": "ee542ab45305b2547b674bc33f750068", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 130, "avg_line_length": 29.62674094707521, "alnum_prop": 0.5591387739751786, "repo_name": "RobAustin/byte-buddy", "id": "e9db711afbe15c4dc36b07d9f40b7430c51a2b99", "size":...
NSString *VIMActivityType_Channel = @"channel"; NSString *VIMActivityType_Group = @"group"; NSString *VIMActivityType_Category = @"category"; NSString *VIMActivityType_Tag = @"tag"; NSString *VIMActivityType_Appearance = @"appearance"; NSString *VIMActivityType_Like = @"like"; NSString *VIMActivityType_Upload = @"uploa...
{ "content_hash": "70fbdbbd28dd89ae42da11381ddb8b3f", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 90, "avg_line_length": 19.942028985507246, "alnum_prop": 0.6315406976744186, "repo_name": "vimeo/VIMNetworking", "id": "439ef6314f415bd4783f6dab8beea2f016ee072b", "size": "...
A workflow for creating Angular libraries using Webpack
{ "content_hash": "e327c823f225636c266fc628a042d44b", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 55, "avg_line_length": 56, "alnum_prop": 0.8571428571428571, "repo_name": "Foxandxss/angular-libraries-webpack-workflow", "id": "40c96a2f3ff4b4b3940ab4a083cf61325e05b406", "...
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license in root of repo. "use strict"; var __decorate = (this && this.__decorate) || function(decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnProperty...
{ "content_hash": "18ec1bbc44c21fd8bb5bb0ac55ae73dd", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 134, "avg_line_length": 49.15686274509804, "alnum_prop": 0.6218587953729557, "repo_name": "yanxiaodi/WordTemplateHelper", "id": "36998b92e78564f7d5eb81a19b37f399b353c19b", ...
function Controller() { require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments)); this.__controllerPath = "vwCupones"; arguments[0] ? arguments[0]["__parentSymbol"] : null; arguments[0] ? arguments[0]["$model"] : null; arguments[0] ? arguments[0]["__itemTemplate...
{ "content_hash": "4f024f316796d95fff0dcae0b276716d", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 99, "avg_line_length": 39.22222222222222, "alnum_prop": 0.5253383695310041, "repo_name": "bigmiguel/VIRMCorp", "id": "124f4a81112ca34ff2652226639be0fdea4d4563", "size": "31...
package org.apache.hadoop.mapred; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.net.URISyntaxException; import java.net.URL; import java.net.URLClassLoader; import java.security.AccessController; import java.security.PrivilegedAction; import java.util.ArrayList; ...
{ "content_hash": "caf49c5141de17b2336de85692cf1dd5", "timestamp": "", "source": "github", "line_count": 262, "max_line_length": 91, "avg_line_length": 36.1412213740458, "alnum_prop": 0.6724046889851093, "repo_name": "nandakumar131/hadoop", "id": "8f17ffda422d4bb29fdc35b61e90cc1c78a8dcc3", "size": "...
<?php /* AcmeDemoBundle::layout.html.twig */ class __TwigTemplate_113f4443091172e7dcdc2200e6062f37 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'title' => array($this, 'block_title'), 'con...
{ "content_hash": "5eb57b6011828c1b047040ddc0a002e9", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 198, "avg_line_length": 33.53378378378378, "alnum_prop": 0.48740681039693734, "repo_name": "binayak/shopping-yay-", "id": "4ca9e4b4f5a93d063e7a4beaec812c16a50814bb", "size...
<?php /** @var $installer Mage_GiftMessage_Model_Resource_Setup */ $installer = $this; $installer->startSetup(); /** * Create table 'gift_message' */ $table = $installer->getConnection() ->newTable($installer->getTable('giftmessage/message')) ->addColumn('gift_message_id', Varien_Db_Ddl_Table::TYPE_INTEG...
{ "content_hash": "407d3cb5c43110fcf711358b4b8195c1", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 82, "avg_line_length": 29.951219512195124, "alnum_prop": 0.5635179153094463, "repo_name": "Dan-Magebinary/magentoo", "id": "39f7e17a9fbfce289365d0fcec2b055f3dd21290", "size...
SimpleRRD is intended to be a simple way to create pretty, usable graphs with [RRDTool][rrd] in Ruby. It has a simple DSL that provides a simple interface to some predefined graph styles, and also models RRDTool's command syntax with Ruby objects for those who want more control. [rrd]: http://oss.oetiker.ch/rrdtool/ ...
{ "content_hash": "14e124fcc0ed6f09ded8b75503f8a15d", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 84, "avg_line_length": 29.216216216216218, "alnum_prop": 0.6517113783533766, "repo_name": "square/simplerrd", "id": "71df14a6072cad6e64882eb766f7a9862f4d6977", "size": "217...
module Alchemy class Picture < BaseRecord THUMBNAIL_SIZES = { small: "80x60", medium: "160x120", large: "240x180", }.with_indifferent_access.freeze CONVERTIBLE_FILE_FORMATS = %w(gif jpg jpeg png).freeze include Alchemy::NameConversions include Alchemy::Taggable include Alch...
{ "content_hash": "817f81913b6e0ba565bac6e18d92e3c9", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 115, "avg_line_length": 27.983471074380166, "alnum_prop": 0.6281748375664501, "repo_name": "mamhoff/alchemy_cms", "id": "961f14805fc823519656445683b82bc99c9d9f38", "size":...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.acod.play.app"> <application android:allowBackup="true" android:icon="@drawable/muziklogo" android:label="@string/a...
{ "content_hash": "822061610f5dfe702b0bade9698a6737", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 124, "avg_line_length": 44.45, "alnum_prop": 0.6428571428571429, "repo_name": "andrew749/Muzik", "id": "59be589919677d74249cc63037115f1ac5aaa4e7", "size": "3556", "binary...
<?php namespace Fly\Log; use Closure; use Fly\Events\Dispatcher; use Monolog\Handler\StreamHandler; use Monolog\Logger as MonologLogger; use Monolog\Handler\RotatingFileHandler; class Writer { /** * The Monolog logger instance. * * @var \Monolog\Logger */ protected $monolog; /** * All of the error leve...
{ "content_hash": "3a6bf70e5ce56317b6f2756d1cb6fdf8", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 96, "avg_line_length": 19.70281124497992, "alnum_prop": 0.6443130860171219, "repo_name": "flyphp/flyframework", "id": "96bd42c171a2d3df35e69d541828f3ac37831986", "size": "...
<i *ngIf="showLoading" [@fadeOut] class="fas fa-spinner fa-spin fa-2x fa-fw"></i>
{ "content_hash": "debd06d8ef7f52024338442b78a8e8b8", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 81, "avg_line_length": 81, "alnum_prop": 0.6790123456790124, "repo_name": "Xylus/pinpoint", "id": "3c612393afced6ca74a3533534e6955eac7b8ffd", "size": "81", "binary": false...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends Application { public function index() { $pix = $this->images->newest(); foreach ($pix as $picture){ $cells[] = $this->parser->parse('_cell', (array)$picture, true); } $this->load->library('table'); $parms ...
{ "content_hash": "f15101cbfcfc477ca65e20723d0930e0", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 67, "avg_line_length": 23, "alnum_prop": 0.5942028985507246, "repo_name": "kaniseo/comp4711lab2", "id": "c86925aca29f667bd17fcb6f254ee80e34bf5ce8", "size": "690", "binary...
<?php declare(strict_types=1); namespace FSi\Bundle\AdminBundle\spec\fixtures\Admin; use Doctrine\Persistence\ManagerRegistry; class DoctrineElement extends SimpleAdminElement { /** * @var ManagerRegistry */ private $registry; public function setManagerRegistry(ManagerRegistry $registry): v...
{ "content_hash": "1f69b6eaf3d5ea72f99a05dc4ff736f6", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 71, "avg_line_length": 17.444444444444443, "alnum_prop": 0.6751592356687898, "repo_name": "fsi-open/admin-bundle", "id": "66b9b8df0edf1189f6ac82c7add9cc36ce4e15d5", "size":...
 namespace Xceed.Wpf.Toolkit.LiveExplorer.Samples.Text.Views { /// <summary> /// Interaction logic for MaskedTextboxView.xaml /// </summary> public partial class MaskedTextboxView : DemoView { public MaskedTextboxView() { InitializeComponent(); _mask.TextChanged += new System...
{ "content_hash": "4eb291bc494d33af8e83fab2e3a2c0ab", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 100, "avg_line_length": 25.952380952380953, "alnum_prop": 0.6660550458715596, "repo_name": "Ben-Mathews/WpfDockingWindowsApplicationTemplate", "id": "230a3a03a4bb6f1b5a116fe8...
<?xml version="1.0" encoding="UTF-8"?> <view xmlns="http://asyncode.com/View" xmlns:mg="http://asyncode.com/Mongo" xmlns:op="http://asyncode.com/Interpreter" inherits="_settings_"> <condition name="isLoggedIn">$ss.loggedIn</condition> <node name="links" command="mg:find" mg:coll="urls" mg:sort="[[add...
{ "content_hash": "bb3bfe54a74053362a2531cd7879bf33", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 54, "avg_line_length": 19.88888888888889, "alnum_prop": 0.6312849162011173, "repo_name": "GluuIO/Linkbox", "id": "71bd401b00c3514cabf4e3ec06118d8e8614d471", "size": "358", ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>rtree(Range const &amp;)</title> <link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../../i...
{ "content_hash": "2c25f4e9268f367a706e435dfe2e62a2", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 697, "avg_line_length": 64.91469194312796, "alnum_prop": 0.594217711907717, "repo_name": "jmanday/Master", "id": "ef2d6b16d0111a62f7937369f0a9dc8f787f6066", "size": "13697...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model frontend\models\RefMesyuaratPegawaiSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="ref-mesyuarat-pegawai-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method...
{ "content_hash": "dafee8d01235a664dac2cc2700840426", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 75, "avg_line_length": 23.05128205128205, "alnum_prop": 0.5350389321468298, "repo_name": "hung101/kbs", "id": "05cabef9c109dc96d6edb1a8d3c6201a91c38ff8", "size": "899", "...
Remote logger client using Flask and HTML5
{ "content_hash": "a6090c0e754db53267b8f6341dd08e6f", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 42, "avg_line_length": 43, "alnum_prop": 0.8372093023255814, "repo_name": "BlaShadow/Remote-Logger-Web-Client", "id": "02dbfff0511e7e6b8181f9bdad1e0cae78bc2d5f", "size": "70...
module Pebbles class API def post_login(username, password) request( :expects => 200, :method => :post, :path => '/login', :query => { 'username' => username, 'password' => password } ) end end end
{ "content_hash": "f3297b805080b632809203e4400201bd", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 71, "avg_line_length": 18.928571428571427, "alnum_prop": 0.49433962264150944, "repo_name": "pebblescape/pebbles", "id": "ad6425bc2750284824d6e44d72a15bf4c4b433c9", "size": ...
extern VALUE m_Chipmunk; extern VALUE c_cpVect; extern VALUE c_cpBB; extern VALUE c_cpBody; extern VALUE m_cpShape; extern VALUE c_cpCircleShape; extern VALUE c_cpSegmentShape; extern VALUE c_cpPolyShape; extern VALUE m_cpConstraint; extern VALUE c_cpSpace; extern VALUE c_cpArbiter; extern VALUE c_cpStaticBody; exte...
{ "content_hash": "d0cd845b4d288143c5d1019de21331c8", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 124, "avg_line_length": 37.43434343434343, "alnum_prop": 0.5129519697787371, "repo_name": "shawn42/chipmunk", "id": "555a50e7384d46569c90d058e5681736b2427393", "size": "482...
package com.amazonaws.services.dynamodbv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** * <p> * A list of requests that can perform update, put, delete, or check operations on multiple items...
{ "content_hash": "6eb00e8cdf2a17fadeab023004ce9c2c", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 137, "avg_line_length": 28.635087719298244, "alnum_prop": 0.5831393211616224, "repo_name": "aws/aws-sdk-java", "id": "7b54424d92d7615daccd470e1ee8074dc3c6ff73", "size": "8...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="t...
{ "content_hash": "546b20b3b40ee6d6e759f00372086d00", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 86, "avg_line_length": 30.88888888888889, "alnum_prop": 0.591726618705036, "repo_name": "110035/kissy", "id": "18b7d899a76c20f2c813871f446df84d5f00cbbe", "size": "1668", ...
import React from 'react'; import ReactDOM from 'react-dom'; import { Modal, FormGroup, ControlLabel, FormControl, Button, Checkbox } from 'react-bootstrap'; class CreateModal extends React.Component { renderSelectOptions() { const { selectOptions } = this.props; return selectOptions.map(option => <option ...
{ "content_hash": "0761011d9971836025ee2621234e6e2c", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 112, "avg_line_length": 28.57831325301205, "alnum_prop": 0.6041315345699831, "repo_name": "bompi88/grand-view", "id": "4534a94f88b4cbfd73632af452a1cc6bc9dac4bb", "size": "2...
bool FLAGS_quic_allow_oversized_packets_for_test = false; // When true, the use time based loss detection instead of nack. bool FLAGS_quic_use_time_loss_detection = false; // If true, it will return as soon as an error is detected while validating // CHLO. bool FLAGS_use_early_return_when_verifying_chlo = true; // I...
{ "content_hash": "b228605381355f9285fbb25f39e80422", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 80, "avg_line_length": 41.67857142857143, "alnum_prop": 0.7623536132533562, "repo_name": "Pluto-tv/chromium-crosswalk", "id": "d63db76e8675fbdd5d935f677ff07478e5406755", "s...
var Stt_cards = { version: '0.1', /** Como siempre algunas variables útiles */ recognition: '', camp: [], numeroFichas: 0, sepCSV: ";", enter: '\n', longArray: [], elemIn: '', divOut: '', listen: false, /** Inicializamos estos dos elementos, un input pa...
{ "content_hash": "96b24239b7e809f72cf4eb740f4bed4b", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 240, "avg_line_length": 32.16818181818182, "alnum_prop": 0.4631906174932881, "repo_name": "carvilsi/stt_cards", "id": "b42531952f038fdd50cfa2f5a81378c098d66a45", "size": "...
<?php /** * Base class that represents a row from the 'sf_guard_user' table. * * * * This class was autogenerated by Propel 1.6.7 on: * * Sun May 19 15:59:02 2013 * * @package propel.generator.plugins.sfGuardPlugin.lib.model.om */ abstract class BasesfGuardUser extends BaseObject implements Persistent { ...
{ "content_hash": "7ee3f1f846488016cd2a39a88b35b141", "timestamp": "", "source": "github", "line_count": 2243, "max_line_length": 168, "avg_line_length": 36.64556397681676, "alnum_prop": 0.5756119519198014, "repo_name": "JakubDziwoki/volunteers-face", "id": "3489968b17ae75096fa30f0668d47a0260a6f51e", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
{ "content_hash": "2ef1d47acc88ec52943d961ddb937308", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 244, "avg_line_length": 41.32544378698225, "alnum_prop": 0.5093069873997709, "repo_name": "coq-bench/coq-bench.github.io-old", "id": "42e8982355eccf3188296232f81ceac3ab9d738...
require 'spec_helper' # This spec was generated by rspec-rails when you ran the scaffold generator. # It demonstrates how one might use RSpec to specify the controller code that # was generated by Rails when you ran the scaffold generator. # # It assumes that the implementation code is generated by the rails scaffold ...
{ "content_hash": "02cd71aa272ac8550296f7d9f4bfdfbc", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 102, "avg_line_length": 37.6375, "alnum_prop": 0.6627366323480571, "repo_name": "AMC-TUT/himmeli", "id": "cf873b9446784f98eacffd701b642398a488b2f0", "size": "6022", "bin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Graphics.UserInterface; using osu.Game.Overlays.Settings; ...
{ "content_hash": "ce00300514872561e1f270c299c09f07", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 110, "avg_line_length": 34.46296296296296, "alnum_prop": 0.6023643202579259, "repo_name": "UselessToucan/osu", "id": "36fa336d0cf1fe3739ce748316d76ea52e118d9c", "size": "18...
package main import ( "fmt" "io" "io/ioutil" "os" "os/exec" "path" "path/filepath" "strconv" "strings" "syscall" "github.com/chai2010/gettext-go/gettext" "golang.org/x/crypto/ssh/terminal" "github.com/lxc/lxd" "github.com/lxc/lxd/shared/gnuflag" ) type fileCmd struct { uid int gid int mode string...
{ "content_hash": "2330c37fa53d0e663c71ca7aae0e66ce", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 117, "avg_line_length": 20.621323529411764, "alnum_prop": 0.6239971474416117, "repo_name": "ericsnowcurrently/lxd", "id": "c1df76bcf16dc0c1911b3c032f98e91712e83b55", "size...
import { BufferGeometry } from './BufferGeometry.js'; class InstancedBufferGeometry extends BufferGeometry { constructor() { super(); this.isInstancedBufferGeometry = true; this.type = 'InstancedBufferGeometry'; this.instanceCount = Infinity; } copy( source ) { super.copy( source ); this.instanc...
{ "content_hash": "7cfaba2ac42f6202d1e8b3c9ba912424", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 54, "avg_line_length": 13.717391304347826, "alnum_prop": 0.694136291600634, "repo_name": "makc/three.js.fork", "id": "f061ccaadcba7afda7b2c0304bf92c9775b18616", "size": "63...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ h...
{ "content_hash": "4cd6a57443ed2f2a5d0969b1c33269a8", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 201, "avg_line_length": 46.56880733944954, "alnum_prop": 0.5711189913317573, "repo_name": "pulasthi7/carbon-identity", "id": "803b8653b5d85ac1819faf7f36ad808dca6b11c7", "s...
<?php namespace common\models; use Yii; use yii\base\Model; use common\models\User; /** * Login form */ class LoginForm extends Model { public $username; public $password; public $rememberMe = true; private $_user; /** * @inheritdoc */ public function rules() { return...
{ "content_hash": "9c60c61ac932118a8808ab34f81877df", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 100, "avg_line_length": 24.102564102564102, "alnum_prop": 0.5409574468085107, "repo_name": "JJVAAMONDE/JY-APP", "id": "56f8f09f9b64fa20d81dacc31b0418b0599469af", "size": "1...
<box> <vc binder:context="classconfig"> <formline text="{Management address}"> <tooltip text="{host:port or UNIX socket path}"> <textbox bind="[addr]" /> </tooltip> </formline> <formline text="{Password}"> <passwordbox bind="[password]" /> ...
{ "content_hash": "41e86651c1821538a6c77caa1932fc66", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 60, "avg_line_length": 29.666666666666668, "alnum_prop": 0.5028089887640449, "repo_name": "lupyuen/RaspberryPiImage", "id": "4279dc429fbb1064bcf3e1d5cf44d7843896f90f", "siz...
.PHONY: default clean build default: build build: public/vendor.js public/bugger.js clean: rm -f public/vendor.js public/bugger.js public/vendor.js: ./node_modules/.bin/browserify \ --require react \ --require lodash \ --outfile $@ BUNDLE_OPTS := \ --external react \ --external lodash \ --outfile public/...
{ "content_hash": "615fc818c6a63bb164aab10ca82079b4", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 48, "avg_line_length": 18.875, "alnum_prop": 0.6975717439293598, "repo_name": "buggerjs/bugger-daemon", "id": "e00524e619d009b9a4406ebee4f0b7908dd36fbe", "size": "453", "...
package com.droidcon.snaphack.model; import android.graphics.Bitmap; import lombok.Data; @Data public class PhotoItem { private final Bitmap image; private final String filename; public PhotoItem(Bitmap image, String filename) { this.image = image; this.filename = filename; } }
{ "content_hash": "25b7e39292d36096e429a6b07b2c82b6", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 53, "avg_line_length": 19.6875, "alnum_prop": 0.7015873015873015, "repo_name": "kikoso/DroidCon-Poland", "id": "e8a6b26ae236c916a606789f48da6779eb017218", "size": "315", ...
package org.apache.shindig.gadgets; import org.apache.shindig.common.ContainerConfig; import org.apache.shindig.common.util.ResourceLoader; import org.apache.shindig.common.xml.XmlException; import org.apache.shindig.common.xml.XmlUtil; import org.apache.shindig.gadgets.http.HttpFetcher; import org.apache.commons.la...
{ "content_hash": "ca0a0bc173f5e0b811a7d7680c2c7662", "timestamp": "", "source": "github", "line_count": 324, "max_line_length": 102, "avg_line_length": 33.95061728395062, "alnum_prop": 0.6471818181818182, "repo_name": "nevali/shindig", "id": "5d89483c5f2d169aaeb2be6aa726fe593c433ec1", "size": "1180...
<!DOCTYPE html> <html> <head> <title>RightJS - Casting</title> <script type="text/javascript" src="../util/tools.js?casting"></script> <script type="text/javascript"> RightJS.$(document).onReady(function() { var // some RightJS locals $ = RightJS.$, $$ ...
{ "content_hash": "3f2239d95d43d1709dda72a123e00659", "timestamp": "", "source": "github", "line_count": 199, "max_line_length": 85, "avg_line_length": 32.90954773869347, "alnum_prop": 0.5246602534738128, "repo_name": "rightjs/rightjs-plugins", "id": "d24c98a106b526b7e641a1af7cac067c2014a171", "size...
package edu.northwestern.chip.dnorm; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Hash...
{ "content_hash": "33804785888dc54c88aca417eee2558a", "timestamp": "", "source": "github", "line_count": 383, "max_line_length": 222, "avg_line_length": 41.81462140992167, "alnum_prop": 0.7421167655323134, "repo_name": "NUNLP/NCBI-Disease-Corpus", "id": "0706cdca3ba76b5014ebb2e7f3a5021f63f73b1b", "s...
package com.game_machine.core.net.client; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; /** * Custom thread factory to use with examples. */ public class UtilThreadFactory implements ThreadFactory { private static final AtomicInteger counter = new AtomicInteger(...
{ "content_hash": "90d50df9d6195dacc9c73a903aeb16b6", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 76, "avg_line_length": 23.72, "alnum_prop": 0.718381112984823, "repo_name": "cnsoft/game_machine", "id": "0947223c0456ee88f7559188c928db6fba64a90f", "size": "1227", "bina...
var app; (function (app) { (function (BreezeExamples) { var EmployeeController = (function () { function EmployeeController($scope, dataservice) { $scope.vm = this; this.$scope = $scope; this.dataservice = dataservice; this.dataser...
{ "content_hash": "e4a94e0effbf43fb81290408ca935ad8", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 147, "avg_line_length": 43.028985507246375, "alnum_prop": 0.47827551364095655, "repo_name": "maca88/datatables.plugins", "id": "12582d4dc36af765a98d79a74c845b1bd7025957", "...
package com.cinchapi.concourse.server.storage; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel.MapMode; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.annotation.concurrent.ThreadSafe; import jsr166e.StampedLock; import com.cinchapi.concourse.server.io.F...
{ "content_hash": "e7c79f85d50990e86d95585d66744598", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 80, "avg_line_length": 29.19148936170213, "alnum_prop": 0.5411807580174927, "repo_name": "JerJohn15/concourse", "id": "c62ec595aaba24fd1f3a447193eeb3b5b699f60d", "size": "...
namespace content { bool DeserializeNotificationDatabaseData(const std::string& input, NotificationDatabaseData* output) { DCHECK(output); NotificationDatabaseDataProto message; if (!message.ParseFromString(input)) return false; output->notification_id = message.n...
{ "content_hash": "cb6e0924372212b771c3e35a49b0422f", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 80, "avg_line_length": 36.76646706586826, "alnum_prop": 0.7042345276872964, "repo_name": "wuhengzhi/chromium-crosswalk", "id": "381f0d3ef9c24eb83ade721a6a2a4853ca972310", ...
<?php class ExampleSuperClass { private $foo; static protected $bar; private function foo() { } public function propertyFooExists() { return property_exists($this, 'foo'); } } class ExampleSubClass extends ExampleSuperClass { public function methodExists() { ...
{ "content_hash": "635af952f2289447d5eb36df2fee450b", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 55, "avg_line_length": 17.94736842105263, "alnum_prop": 0.6422287390029325, "repo_name": "JSchwehn/php", "id": "d8c6e2d16f8d23fa7a7230cb34757102b05ddef7", "size": "682", ...
module Slack module Web module Api module Endpoints module Apps # # Uninstalls your app from a workspace. # # @option options [string] :client_id # Issued when you created your application. # @option options [string] :client_secret ...
{ "content_hash": "55febcb0c1ec27bad689f5428fad949e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 108, "avg_line_length": 37.041666666666664, "alnum_prop": 0.6074240719910011, "repo_name": "slack-ruby/slack-ruby-client", "id": "277d8c41e952b98926652f15240994c92ec5e99e", ...
package org.kie.workbench.common.widgets.configresource.client.widget.unbound; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gw...
{ "content_hash": "71747507fd3f818b9ffff41e87a55b91", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 117, "avg_line_length": 34.37267080745342, "alnum_prop": 0.6698590531261294, "repo_name": "scandihealth/kie-wb-common", "id": "9bf87725d79428614f8215c1a2bf90c7fad8a647", "...