text
stringlengths
2
1.04M
meta
dict
<?php namespace FishDiary\Test\TestCase\Controller; use Cake\TestSuite\IntegrationTestCase; use FishDiary\Controller\CaughtFishesController; /** * FishDiary\Controller\CaughtFishesController Test Case */ class CaughtFishesControllerTest extends IntegrationTestCase { /** * Fixtures * * @var array...
{ "content_hash": "ee1849e88c5d44b049d72088aa285faf", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 60, "avg_line_length": 18.423076923076923, "alnum_prop": 0.5539318023660403, "repo_name": "makallio85/fish-diary", "id": "1e6894eeea100b99873d45c6a11ef4b09545c22f", "size":...
package com.thinkgem.jeesite.modules.cms.web; import java.util.List; import java.util.Map; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.spr...
{ "content_hash": "2a70ebecc7cf4aff2f83a4bf79dbf0f9", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 81, "avg_line_length": 27.204545454545453, "alnum_prop": 0.7744360902255639, "repo_name": "chu888chu888/Chuguangming.Java.Fork.CMS.jeesite", "id": "914168a6d1fa48147ff4c15308...
 /** * @fileOverview Defines the {@link CKFinder.lang} object for the Croatian * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['hr'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label in the span. ...
{ "content_hash": "5e0c1598118a54a15726a7d03179833f", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 179, "avg_line_length": 32.77946768060836, "alnum_prop": 0.690871128639369, "repo_name": "thanhdv193/cuteshop", "id": "8ba7bb26ed919578f5fb49702fe1eea0b5402c48", "size": "...
////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2008-2012, Shane Liesegang // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redist...
{ "content_hash": "d9bbe667de3be3c47c5777296ed0da34", "timestamp": "", "source": "github", "line_count": 452, "max_line_length": 79, "avg_line_length": 30.88938053097345, "alnum_prop": 0.6920212004010887, "repo_name": "d909b/GADEL-Snake", "id": "ed77c4c6d3ba10c662222b5607725f17fdd72fe5", "size": "13...
<?php namespace FOS\RestBundle\Util\Inflector; use Doctrine\Common\Inflector\Inflector; use FOS\RestBundle\Inflector\DoctrineInflector as NewDoctrineInflector; /** * Inflector object using the Doctrine/Inflector. * * @author Mark Kazemier <Markkaz> * * @deprecated since 1.8, to be removed in 2.0. Use {@link \...
{ "content_hash": "ee6d743ce1eef523ca1f053cbc230d6b", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 188, "avg_line_length": 26.21212121212121, "alnum_prop": 0.6890173410404624, "repo_name": "smeagonline-developers/OnlineEducationPlatform---SMEAGonline", "id": "e72dcbc4e6ef6...
/* * Copyright (C) 2002, * * Hewlett-Packard Arjuna Labs, * Newcastle upon Tyne, * Tyne and Wear, * UK. * * $Id: BaseTransaction.java 2342 2006-03-30 13:06:17Z $ */ package com.arjuna.ats.internal.jta.transaction.arjunacore; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.Callab...
{ "content_hash": "51e485b69635b7623609e60341890002", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 154, "avg_line_length": 28.602040816326532, "alnum_prop": 0.7227970032108455, "repo_name": "nmcl/wfswarm-example-arjuna-old", "id": "4650ef4e0abd27c559d4d7d6d70282dfc428412d...
<?php /** * customers defined options * * @author Magento Core Team <core@magentocommerce.com> */ namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type; class Select extends \Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type\AbstractType { /** * @var string */ ...
{ "content_hash": "6de54c313457fae0936a2cc00a52f73f", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 96, "avg_line_length": 24.51063829787234, "alnum_prop": 0.5269097222222222, "repo_name": "enettolima/magento-training", "id": "92a1da98a0c555dda4ae4777cba54f2531c84931", "s...
"use strict"; describe("Unit Test for The Profile Service: ", function () { var profileService; beforeEach(function () { module("yoda.home.services.socialMedia"); inject(["yoda.home.service.getProfile", function (_profileService_) { profileService = _profileService_; }]); ...
{ "content_hash": "f94d58855aec265dccd0e8e659b09b61", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 77, "avg_line_length": 31.666666666666668, "alnum_prop": 0.6090225563909775, "repo_name": "yoda-yoda/yoda-face", "id": "5547eac105664728a21906bb70b96f549ad17d67", "size": "...
package solr import "testing" func TestSolrQueryAddParam(t *testing.T) { q := NewQuery() q.AddParam("qf", "some qf") if q.String() != "qf=some+qf" { t.Errorf("Expected to be: 'some qf'") } } func TestSolrQuerySetParam(t *testing.T) { q := NewQuery() q.SetParam("qf", "some qf") if q.String() != "qf=some+...
{ "content_hash": "33fc2e5eafe9c900fbc6fd71eea02e29", "timestamp": "", "source": "github", "line_count": 222, "max_line_length": 164, "avg_line_length": 24.684684684684683, "alnum_prop": 0.6545620437956204, "repo_name": "vanng822/go-solr", "id": "fda7195c47fb15f696d1ca9939da238365b8394d", "size": "5...
use events::VirtualKeyCode; use winapi; pub fn vkeycode_to_element(code: winapi::WPARAM) -> Option<VirtualKeyCode> { match code as i32 { //winapi::VK_LBUTTON => Some(VirtualKeyCode::Lbutton), //winapi::VK_RBUTTON => Some(VirtualKeyCode::Rbutton), //winapi::VK_CANCEL => Some(VirtualKeyCode::...
{ "content_hash": "17ec6af993f27d2cc3322d81406d1110", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 84, "avg_line_length": 54.751381215469614, "alnum_prop": 0.6251261352169526, "repo_name": "retep998/glutin", "id": "6fbde816538c0e24e551c0136e941fb69118bc4f", "size": "991...
using System; class ParseURL { static void Main() { string url = Console.ReadLine(); int indexOfDoubleDots = url.IndexOf(':'); int indexFrom = indexOfDoubleDots + 3; int indexTo = url.IndexOf('/', indexFrom); string protocol = url.Substring(0, indexOfDoubleDots); ...
{ "content_hash": "fed7830d65c4af00bf4e11c2db406568", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 70, "avg_line_length": 32.10526315789474, "alnum_prop": 0.6098360655737705, "repo_name": "VVoev/Telerik-Academy", "id": "8d0f49a09e9a11fef7a9d698dcdbfbfc145b7d62", "size": ...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; define(["require", "exports"], function (require, exports) { var DataModel; (fu...
{ "content_hash": "1d7ed65eee12c048ed1accc9169f7f6d", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 97, "avg_line_length": 39.00704225352113, "alnum_prop": 0.4839321177107781, "repo_name": "anthonyhiga/novelidea", "id": "ab91e9a580a488bf9d1bb2f8e0a0eb7e78de8076", "size":...
<?php namespace Snail\App; use Snail\App\Config\SNAIL; use Snail\App\Utils\Debug; class View { /** * @var string * Path to the controllers folder */ private $path_to_controllers = './controllers/'; /** * @var string * Path to the views folder */ private $path_to_views...
{ "content_hash": "c3a747acf812a0859de217a544db56b8", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 84, "avg_line_length": 25.629032258064516, "alnum_prop": 0.5034612964128382, "repo_name": "dennisslimmers01/Snail-MVC", "id": "f7d46711c005b0519a666d750d56bf26940e912c", "...
package com.intellij.execution.configurations; import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.util.text.StringUtil; import com.intellij.util.EnvironmentUtil; import com.intellij.util.SmartList; import com.intellij.util.containers.ContainerUtil; import org.jetbrains.annotations.NotNull; impor...
{ "content_hash": "4177b3938bcd2af88f6d2a37a8849741", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 128, "avg_line_length": 37.9344262295082, "alnum_prop": 0.6914433880726015, "repo_name": "semonte/intellij-community", "id": "ea4bcab1f2e5b6f6eabe98c053a8bd69702290cf", "s...
(function () { 'use strict'; angular.module('auth.admin') .directive('svManagerProfileSummary', function () { return { replace: true, templateUrl: 'scripts/auth/manager/directives/sv-manager-profile-summary.html', scope: {}, ...
{ "content_hash": "481984b9683de53553ae9a50009679f9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 95, "avg_line_length": 32.15384615384615, "alnum_prop": 0.4569377990430622, "repo_name": "SvitlanaShepitsena/svet-media-node", "id": "739ff6d6bbb69d72578e2e32ad2fefdb9d84b3dc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nucleo.DataMapper.Incrementing { /// <summary> /// Represents the collection of mappings. /// </summary> public class IncrementMappings { private IncrementMappingCollection _values = null; #region " Properties ...
{ "content_hash": "cb7029564a8bf936bfe8cdefb5ce79d5", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 103, "avg_line_length": 21.045454545454547, "alnum_prop": 0.661987041036717, "repo_name": "brianmains/Nucleo.NET", "id": "b036b716d9535a3d1e5df190b4c581fafd178bb9", "size":...
namespace blink { namespace scheduler { WebTaskRunnerImpl::WebTaskRunnerImpl(scoped_refptr<TaskQueue> task_queue) : task_queue_(task_queue) {} WebTaskRunnerImpl::~WebTaskRunnerImpl() {} void WebTaskRunnerImpl::postTask(const blink::WebTraceLocation& location, blink::WebTaskRunner...
{ "content_hash": "2e3d5443364630b377384c90dbbdac79", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 80, "avg_line_length": 34.79032258064516, "alnum_prop": 0.6518312471024571, "repo_name": "danakj/chromium", "id": "3144fcaab010338f256d487ca876de7862375d58", "size": "2618"...
@interface VideoPlayerViewController : UIViewController<YouTubeDirectTagDelegate, UIWebViewDelegate> @property(nonatomic, strong) UIWebView *webView; @property(nonatomic, strong) VideoData *videoData; @property(nonatomic, retain) GTLServiceYouTube *youtubeService; @property(nonatomic, strong) YouTubeDirectTag *directTa...
{ "content_hash": "dc47f4134ac049fb2a8a26f1a3ece082", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 100, "avg_line_length": 54.5, "alnum_prop": 0.8440366972477065, "repo_name": "hash3r/ios-app-youtube-token-test", "id": "656221362c247ba27b09dcc97098b4730ae91224", "size": "...
package ru.contextguide.adgroup.dynamicTextAdGroup; //TODO public class DynamicTextAdGroupFieldEnum { }
{ "content_hash": "0340b1205292a39c75b83e1ee09c7600", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 51, "avg_line_length": 21, "alnum_prop": 0.8380952380952381, "repo_name": "kubikrubikvkube/yandexDirectJavaApi", "id": "91665bfee232ce2b61d4f6ef50d07b21a45928b6", "size": "1...
 using Markdig.Renderers.Agg.Inlines; using MatterHackers.MatterControl; namespace Markdig.Renderers.Agg { public class AggMatchingTextRenderer : AggObjectRenderer<MatchingTextInline> { private ThemeConfig theme; public AggMatchingTextRenderer(ThemeConfig theme) { this.theme = theme; } protected ove...
{ "content_hash": "d92983e69c1424b7cd08a2a1363b21e2", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 77, "avg_line_length": 20.62962962962963, "alnum_prop": 0.755834829443447, "repo_name": "jlewin/MatterControl", "id": "1615c443f4fd60fc0a03d546dfc80b16594fa0a3", "size": "2...
package bingo.lang; public abstract class Lazy1<T,R> implements Func1<T,R>{ private transient R r; public final R apply(T in) { if(null == r){ r = get(in); } return r; } protected abstract R get(T in); }
{ "content_hash": "3bab2d3acd20bf684d1a2d8c51bf2f43", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 55, "avg_line_length": 15, "alnum_prop": 0.5875, "repo_name": "bingo-open-source/bingo-core", "id": "96269caf31e9a1b1d4ef4ac2100266f18fa51374", "size": "869", "binary": f...
require 'spec_helper' describe MergeWorker do describe "remove source branch" do let!(:merge_request) { create(:merge_request, source_branch: "markdown") } let!(:source_project) { merge_request.source_project } let!(:project) { merge_request.project } let!(:author) { merge_request.author } befor...
{ "content_hash": "fe627d74748993066ed23378b2b6a566", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 79, "avg_line_length": 32.36666666666667, "alnum_prop": 0.698249227600412, "repo_name": "stoplightio/gitlabhq", "id": "138a99abde67bda60a048b7fc6252f9041bd487b", "size": "1...
// Copyright (c) 2013-2021 niXman (github dotty nixman doggy pm dotty me) // All rights reserved. // // This file is part of EASYNET(https://github.com/niXman/easynet) project. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions...
{ "content_hash": "9dd101dab50deae264d713e1b6675288", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 83, "avg_line_length": 36.3875, "alnum_prop": 0.6702164204740639, "repo_name": "niXman/easynet", "id": "9c306d2746bb0054f2cdc9c7c5c4311b449aca5d", "size": "2911", "binary...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"> <struts> <package name="default-wechat" namespace="/wechat" extends="default" > <interceptors> <interceptor name...
{ "content_hash": "046c07e6b3260e2e518575307d4638af", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 120, "avg_line_length": 54.09090909090909, "alnum_prop": 0.6603514132925897, "repo_name": "nature2014/nature", "id": "f72b723019732721b166c2689e9438f4f4b7f41a", "size": "6...
/** * AtomicHashArray is the building block for AtomicHashMap. It provides the * core lock-free functionality, but is limited by the fact that it cannot * grow past its initialization size and is a little more awkward (no public * constructor, for example). If you're confident that you won't run out of * ...
{ "content_hash": "cb744265bd4f1c23c3a08c1068c510e4", "timestamp": "", "source": "github", "line_count": 422, "max_line_length": 80, "avg_line_length": 34.867298578199055, "alnum_prop": 0.6578088894929999, "repo_name": "floxard/folly", "id": "96a647d1a3da6bcf0e0f907273a20da1c09f7a24", "size": "15309...
All Notable changes to `gravitymedia/ghostscript` will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## NEXT - YYYY-MM-DD ### Added - Nothing ### Changed - Nothing ### Deprecated - Nothing ### Removed - Nothing ### Fixed - Nothing ### Security - Nothing
{ "content_hash": "569fed60126c269aa82bd67b293fda40", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 82, "avg_line_length": 14.136363636363637, "alnum_prop": 0.6913183279742765, "repo_name": "GravityMedia/Ghostscript", "id": "637b564a44b496a1b7ca68d12bffce62689587d3", "siz...
require "rails_helper" feature "Admin authorization" do scenario "admin accesses dashboard" do stub_admin_usernames(["admin_user", "other_admin_user"]) admin = create(:user, username: "admin_user") sign_in_as(admin, token) visit admin_blacklisted_pull_requests_path click_link "Owners" expec...
{ "content_hash": "1d6c5367645de8d3e93206c08fb9468d", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 60, "avg_line_length": 23.17142857142857, "alnum_prop": 0.6954377311960542, "repo_name": "thoughtbot/hound", "id": "6b5d335366b7edda67cc0a028d5a251149dadf45", "size": "811"...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you ma...
{ "content_hash": "51fec204a75f99d97c8b52ab5f156145", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 115, "avg_line_length": 35.457142857142856, "alnum_prop": 0.7308622078968574, "repo_name": "tcNickolas/incubator-reef", "id": "a1fe2a9058c0898ff407883f75085dbff643d459", "s...
<?php /* | ------------------------------------- | @file : Edp.php | @date : 3/26/2015 | @author: | ------------------------------------- */ class Edp extends CI_Controller { public $numberOfStudents; public $yearL = array(0 => 0,1 => 0,2 => 0,3 => 0); function add_room() { $this->api->userM...
{ "content_hash": "0a2699a5e20e543455fa9069826035ef", "timestamp": "", "source": "github", "line_count": 483, "max_line_length": 277, "avg_line_length": 36.25258799171843, "alnum_prop": 0.454768703597944, "repo_name": "Jheysoon/lcis", "id": "6bb0cf57099944aada934d48ed954ef8e42a1752", "size": "17510"...
React Native Webpack Server is a development server that leverages the [Webpack Dev Server](https://github.com/webpack/webpack-dev-server) and the [React Packager](https://github.com/facebook/react-native/tree/master/packager) to enable building React Native JavaScript bundles with webpack. This allows you to use the e...
{ "content_hash": "09e5c663224c514d3f2d534662da8364", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 481, "avg_line_length": 52.84070796460177, "alnum_prop": 0.769887790989784, "repo_name": "pascience/react-native-webpack-server", "id": "e22f69afa60e39ecc03a994b13834e1bea6e...
<?php namespace Application\Controller; use Application\Service\LanguageService; use Zend\Mvc\Controller\AbstractActionController; use Zend\View\Model\ViewModel; class IndexController extends AbstractActionController { /** * @var LanguageService */ private $languageService; public function se...
{ "content_hash": "6c3f6383fc61f0722eac7418feec35b9", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 87, "avg_line_length": 28.215686274509803, "alnum_prop": 0.6323835997220292, "repo_name": "kristjanAnd/SimpleIV", "id": "bdbd55ae653a110711c227eb39b431427fe63377", "size": ...
import warnings from collections.abc import Callable from django.conf import settings from django.utils.module_loading import import_string def su_login_callback(user): if hasattr(settings, "SU_LOGIN"): warnings.warn( "SU_LOGIN is deprecated, use SU_LOGIN_CALLBACK", DeprecationWar...
{ "content_hash": "b61d3630f1c38f69dc0be21cacb85272", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 60, "avg_line_length": 26, "alnum_prop": 0.65625, "repo_name": "PetrDlouhy/django-su", "id": "160993be44b5a7c68b7e0de6539b73ec5bec65ff", "size": "857", "binary": false, ...
var Slave = mkClass({ initialize: function (thunk) { this.thunk = thunk }, die: function () {this.dead = true;}, nMoreTimes: function (times) { this.times = this.times || 0; this.times += times; var oldThunk = this.thunk; this.thunk = function (data) { oldThunk.call(this, data); ...
{ "content_hash": "18cdff004ef9620871ee286e16f15d4a", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 98, "avg_line_length": 25.2, "alnum_prop": 0.588023088023088, "repo_name": "ingenthr/ns_server", "id": "08d9d7a746abc680a76b0af08058147c8148e422", "size": "1386", "binary...
<?php namespace Matrix\ServiceBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * ProductPrices * * @ORM\Table(name="product_prices", indexes={@ORM\Index(name="Ref_12", columns={"product"}), @ORM\Index(name="Ref_13", columns={"currency"})}) * @ORM\Entity(repositoryClass="Matrix\ServiceBundle\Repository\Product...
{ "content_hash": "6693d0068372f3ef7661a50a7b208b34", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 143, "avg_line_length": 18.637426900584796, "alnum_prop": 0.5120803263256981, "repo_name": "Serge009/service", "id": "3043972d522a4841b24631ac6a7d6d53ec18ac62", "size": "3...
@implementation UpdateMessageDescription @synthesize title, body; + (id)description { return [[[[self class] alloc] init] autorelease]; } - (void)dealloc { self.title = nil; self.body = nil; [super dealloc]; } - (id)init { return (self = [super init]); } - (id)copyWithZone:(NSZone *)zone { ...
{ "content_hash": "8bd6978a67e1101ab369a7a8002545d8", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 79, "avg_line_length": 18.03846153846154, "alnum_prop": 0.6140724946695096, "repo_name": "highorderbit/bug-watch", "id": "1468b581cfcce9f2619e8c8daf0ee039aaf75324", "size":...
<Record> <Term>Nifurmerone</Term> <SemanticType>Pharmacologic Substance</SemanticType> <ParentTerm>Antifungal Agent</ParentTerm> <ClassificationPath>Chemicals_and_Drugs_Kind/Drug, Food, Chemical or Biomedical Material/Pharmacologic Substance/Anti-Infective Agent/Antifungal Agent/Nifurmerone</ClassificationPath> <B...
{ "content_hash": "c913aba54fab7cb08bf83497bcac251e", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 183, "avg_line_length": 49.06666666666667, "alnum_prop": 0.8152173913043478, "repo_name": "detnavillus/modular-informatic-designs", "id": "09b60f0d53fc13069420cecbbadd55d1b09...
\hypertarget{InventoryCommand_8java}{\section{Inventory\-Command.\-java} \label{InventoryCommand_8java}\index{pkg\-\_\-commands/\-Inventory\-Command.\-java@{pkg\-\_\-commands/\-Inventory\-Command.\-java}} } \begin{DoxyCode} 00001 \textcolor{keyword}{package }pkg\_commands; 00002 00003 \textcolor{keyword}{import} \hyp...
{ "content_hash": "eaac911e557f350fef0f5a5f15e2c3b7", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 359, "avg_line_length": 76.9090909090909, "alnum_prop": 0.793144208037825, "repo_name": "minijackson/Bad-Philophobia", "id": "0b5be21d09a44aceb8d47496ebf6b4cb7568e377", "si...
<?xml version="1.0" encoding="utf-8"?> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:drawable="@drawable/window_popup_background_inner" android:insetTop="@dimen/window_popup_corner_radius" android:insetRight="@dimen/window_popup_corner_radius" android:...
{ "content_hash": "4a8b9163782620497cb4f16c0ebebf73", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 66, "avg_line_length": 54, "alnum_prop": 0.6990740740740741, "repo_name": "AnySoftKeyboard/AnySoftKeyboard", "id": "02d648e5319defde236a0d82e7085c1f72ac3f50", "size": "432",...
module Errors class UserNotAuthorizedError < AuthenticationError; end end
{ "content_hash": "b9cc83bfae901be75c3c2a95a492be5d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 57, "avg_line_length": 25.333333333333332, "alnum_prop": 0.8421052631578947, "repo_name": "the-oneacct-export-project/oneacct-export", "id": "7bf29a78a8aa03bf4fc27bb837bf49fe8...
package org.dcm4chex.archive.hl7; import org.dom4j.Document; import org.xml.sax.ContentHandler; /** * @author gunter.zeilinger@tiani.com * @version $Revision: 14795 $ $Date: 2011-01-31 23:15:13 +0800 (周一, 31 1月 2011) $ * @since 27.10.2004 * */ public interface HL7Service { boolean process(MSH msh, Docume...
{ "content_hash": "38eb6e1c06fa3cbabb3726c1674b960f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 107, "avg_line_length": 20.842105263157894, "alnum_prop": 0.7146464646464646, "repo_name": "medicayun/medicayundicom", "id": "5d971a46f98f5774898e1d0b73db2ba3ec340869", "si...
package org.apache.harmony.test.stress.jni.strings; import org.apache.harmony.test.stress.jni.share.STTest; import org.apache.harmony.test.stress.jni.share.JNITestError; import org.apache.harmony.test.share.stress.ReliabilityRunner; /** * @author Vladimir Nenashev * @version $Revision: 1.7 $ */ public class...
{ "content_hash": "2c158f046007a0885ba456a62ace0732", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 80, "avg_line_length": 32.68, "alnum_prop": 0.5862913096695227, "repo_name": "freeVM/freeVM", "id": "59bf6c6231fc0667246477a41a73be25078e762b", "size": "2441", "binary": ...
package org.gwtproject.aria.client; ///////////////////////////////////////////////////////// // This is auto-generated code. Do not manually edit! // ///////////////////////////////////////////////////////// import org.gwtproject.dom.client.Element; /** * A type that represents the <a href="http://www.w3.org/TR/w...
{ "content_hash": "7c630201deea3d5baf10b36638856a68", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 99, "avg_line_length": 33.973684210526315, "alnum_prop": 0.6444616576297444, "repo_name": "gwtproject/gwt-aria", "id": "f1c52260c521c12863ef55d3043046768f587761", "size": "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0-beta2) on Mon Mar 19 19:32:17 CST 2007 --> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> 类 org.omg.CORBA.PolicyListHelp...
{ "content_hash": "c1b42cf95e9c9b7218587e7c413f1cf8", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 441, "avg_line_length": 45.33793103448276, "alnum_prop": 0.6241253422573776, "repo_name": "piterlin/piterlin.github.io", "id": "aef5ea52ac1d1075171eb02c68004cd7554f009f", ...
<html> <body> {% if filename %} <audio controls src="{{url_for('static', filename=filename)}}" type="wav"> </audio> {% else %} No audio available for record. {% endif %} </body> </html>
{ "content_hash": "2a95ed4aab0c261aa8401f4cf74c802f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 74, "avg_line_length": 18.6, "alnum_prop": 0.6236559139784946, "repo_name": "guyrt/court-reminder", "id": "9bd3f64b0439e1dfb985391ceeca8b857f58b806", "size": "186", "bina...
<?php namespace app\assets; use yii\web\AssetBundle; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class AppAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'plugins/font-awesome/css/font-awesome.min.css', 'plugin...
{ "content_hash": "01ed9edea331ccb7922f1c8798d31168", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 68, "avg_line_length": 24.06153846153846, "alnum_prop": 0.5735294117647058, "repo_name": "rpeerbits/demo-yii", "id": "cc5ef22ad24b72306472627e36fddd7fc6fa1064", "size": "17...
/* Ractive.js v1.3.0 Build: 57f1a675a961008dbe2e58f6bb058a9413eb2959 Date: Mon Feb 04 2019 20:06:47 GMT+0000 (UTC) Website: https://ractive.js.org License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function'...
{ "content_hash": "bd6008d22a09b211304e67e8b1b64645", "timestamp": "", "source": "github", "line_count": 19196, "max_line_length": 667, "avg_line_length": 26.529693686184622, "alnum_prop": 0.6155314335982909, "repo_name": "cdnjs/cdnjs", "id": "89070268cceb888fb119236c2a9f4c29d30484fe", "size": "5092...
using System; using System.Collections.Generic; using System.Text; namespace NAudio.Utils { class MergeSort { /// <summary> /// In-place and stable implementation of MergeSort /// </summary> static void Sort<T>(IList<T> list, int lowIndex, int highIndex, IComparer<T> comparer) ...
{ "content_hash": "1765da58eee12abc350a57627e801117", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 94, "avg_line_length": 29.486842105263158, "alnum_prop": 0.4524765729585007, "repo_name": "Aragas/VKPlayer", "id": "421b315268a9bd27363b99092d5461861881b890", "size": "2241...
import java.util.concurrent.*; public class EvenChecker implements Runnable { private IntGenerator generator; private final int id; public EvenChecker(IntGenerator g, int ident) { generator = g; id = ident; } public void run() { while(!generator.isCanceled()) { int val = generator.next(); ...
{ "content_hash": "56769d79fb806b13c21404e4add3df0a", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 59, "avg_line_length": 28.322580645161292, "alnum_prop": 0.6332574031890661, "repo_name": "alvachien/aclearning", "id": "c1c96e69f4bf15fbd2dccb3fa261d2bcce472c9a", "size": ...
from networkx import DiGraph, dijkstra_path import os.path, sys from pydispatch import dispatcher try: import xml.etree.cElementTree as ElementTree except ImportError: import xml.etree.ElementTree as ElementTree import inspect, marshal, types from object import Object from region import Region from pathway imp...
{ "content_hash": "d5309f19709174d67aef448b7c6b0057", "timestamp": "", "source": "github", "line_count": 849, "max_line_length": 277, "avg_line_length": 40.266195524146056, "alnum_prop": 0.6073538875563096, "repo_name": "JaneliaSciComp/Neuroptikon", "id": "10775cd86e4868857ba068762b04488d45cbcaf4", ...
\begin{myex} La droite d'ajustement obtenue grâce au tableur passe par le point moyen $G$ dont nous avons calculé les coordonnées. \begin{center} \includegraphics[scale =0.7]{./img/ex2} \end{center} \end{myex}
{ "content_hash": "36cb4c60f70ab00d2804117d8df0f9ff", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 118, "avg_line_length": 31, "alnum_prop": 0.7327188940092166, "repo_name": "malhys/maths_projects", "id": "7dbdca8f63b4db0ed7cfe5323ef8d5e4795379ad", "size": "220", "binar...
using UnityEngine; using UnityEngine.UI; using UIWidgets; using System.Collections.Generic; using System.Linq; namespace UIWidgetsSamples { public class DialogTreeViewInputHelper : MonoBehaviour { [SerializeField] public TreeView Folders; ObservableList<TreeNode<TreeViewItem>> nodes; bool _InitDone; pu...
{ "content_hash": "f705e16204dd1c835fa5ff77ea83fb31", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 69, "avg_line_length": 19.8, "alnum_prop": 0.6801346801346801, "repo_name": "carlosCn/Unity-EmojiText", "id": "a2097fc5d71db4dd279eedd2a3d4b642fc48cc3f", "size": "596", "...
<?php namespace Cake\ORM\Behavior; use Cake\Database\Expression\IdentifierExpression; use Cake\Datasource\EntityInterface; use Cake\Datasource\Exception\RecordNotFoundException; use Cake\Event\Event; use Cake\ORM\Behavior; use Cake\ORM\Query; use InvalidArgumentException; use RuntimeException; /** * Makes the table...
{ "content_hash": "c80fd8b5d4f93e9c015e07d026d908f9", "timestamp": "", "source": "github", "line_count": 992, "max_line_length": 114, "avg_line_length": 34.32560483870968, "alnum_prop": 0.5385451234912337, "repo_name": "chirstmaxbox/cakephp3_cars", "id": "c4d5cd48a006d0c66a007ec816fd28a1148bd268", "...
#include "ser_phy.h" #include "app_error.h" __weak uint32_t ser_phy_open(ser_phy_events_handler_t events_handler) { /* A function stub. Function should be implemented according to ser_phy.h API. */ APP_ERROR_CHECK_BOOL(false); return NRF_SUCCESS; } __weak uint32_t ser_phy_tx_pkt_send(const uint8_t * p_...
{ "content_hash": "1953ac45c1bd88ac7b2f836f563fe5e0", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 85, "avg_line_length": 24, "alnum_prop": 0.6841666666666667, "repo_name": "weiyuliang/rt-thread", "id": "c2d1ba62c63b8319c3efb0fa92e6d7a0f5f772c1", "size": "3237", "binar...
describe('<About />', () => { it('Expect to have unit tests specified', () => { expect(true).toEqual(false); }); });
{ "content_hash": "cdd9d60f3a207431128ce426793d641b", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 51, "avg_line_length": 25, "alnum_prop": 0.536, "repo_name": "tarioto/Portfolio", "id": "46f429fdab1acb618884dfb6de6eaa775eff9c6a", "size": "231", "binary": false, "copi...
@implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. return YES; } - (void)applicationWillResignActive:(UIApplication *)application { // Sent when the ...
{ "content_hash": "991ed1c3c8a0ee512783fb24b63185e3", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 281, "avg_line_length": 51.27777777777778, "alnum_prop": 0.7849404117009751, "repo_name": "dolphinsue319/UIViewToUIImage", "id": "3558253e14aac8f22081655d4bc6936bf16837f3", ...
namespace Google.Cloud.VMMigration.V1.Snippets { // [START vmmigration_v1_generated_VmMigration_CreateGroup_async_flattened_resourceNames] using Google.Api.Gax.ResourceNames; using Google.Cloud.VMMigration.V1; using Google.LongRunning; using System.Threading.Tasks; public sealed partial class G...
{ "content_hash": "9b7a99f3e3a94d911a5bf4c9329212d0", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 132, "avg_line_length": 48.46666666666667, "alnum_prop": 0.6694176983035305, "repo_name": "jskeet/google-cloud-dotnet", "id": "1af83ef4b6909ac6b37014826c23a04cd70a84f1", "s...
package org.drools.xml.jaxb.util; import java.util.Arrays; import java.util.Collection; import java.util.List; import javax.xml.bind.annotation.adapters.XmlAdapter; public class JaxbCollectionAdapter extends XmlAdapter<JaxbListWrapper, Collection> { @Override public JaxbListWrapper marshal(Collection v) t...
{ "content_hash": "7714e7b791b19fdc1cc1670c0eefd399", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 84, "avg_line_length": 25.115384615384617, "alnum_prop": 0.6921898928024502, "repo_name": "psiroky/drools", "id": "317aaba4ae86bfb44aa3a054b3571e02065fa6b1", "size": "1246"...
namespace mscorlib { namespace System { //Constructors Tests //NotSupportedException() TEST(mscorlib_System_NotSupportedException_Fixture,DefaultConstructor) { mscorlib::System::NotSupportedException *value = new mscorlib::System::NotSupportedException(); EXPECT_NE(NULL, value->GetNativeObject()...
{ "content_hash": "faff8bd7d582a873125f5ca4f31dc434", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 103, "avg_line_length": 21.573426573426573, "alnum_prop": 0.6952998379254457, "repo_name": "brunolauze/MonoNative", "id": "0cbc2686007abbc4cd9bf7187492bdaed44654cb", "size...
class AddTokenResetPasswordToUsers < ActiveRecord::Migration def self.up add_column :userdetails, :token_reset_password, :string end def self.down remove_column :userdetails, :token_reset_password end end
{ "content_hash": "de3190ca01df7ed8abd4e84c0109826e", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 60, "avg_line_length": 24.666666666666668, "alnum_prop": 0.7567567567567568, "repo_name": "ANUSF/ADAUsers", "id": "be72d161e971824fb19d3b5d4dc9048acce396c5", "size": "222", ...
namespace Contrib.GoogleAnalytics.Models { public class SettingsRecord { public virtual int Id { get; set; } public virtual bool Enable { get; set; } public virtual string Script { get; set; } } }
{ "content_hash": "4aaab616e19b486a2fce65cd0a5af789", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 50, "avg_line_length": 33.57142857142857, "alnum_prop": 0.6212765957446809, "repo_name": "dminik/voda_code", "id": "398255e4ec2dc83ff3c3581ccfab4f1e7cd2a4d7", "size": "237",...
require 'rubygems' require 'spec/expectations' orm = ENV['ORM'] strategy = ENV['STRATEGY'] if orm && strategy begin require "#{File.dirname(__FILE__)}/../../lib/#{orm}" rescue LoadError raise "You don't have the #{orm} ORM installed" end $:.unshift(File.dirname(__FILE__) + '/../../../lib') ...
{ "content_hash": "e3c9fa3e3fbdb5ae8665458fb81ae017", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 114, "avg_line_length": 24.26086956521739, "alnum_prop": 0.6827956989247311, "repo_name": "cykod/Webiva", "id": "d9fd88a1b43ba61b66cbbd623d07d0678c19df45", "size": "558", ...
package org.apache.druid.client.indexing; import org.apache.druid.indexer.TaskStatusPlus; import org.apache.druid.timeline.DataSegment; import org.joda.time.DateTime; import org.joda.time.Interval; import javax.annotation.Nullable; import java.util.List; import java.util.Map; public interface IndexingServiceClient...
{ "content_hash": "0b5eee293dd783a3c9d02a8991fa3580", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 60, "avg_line_length": 23.76595744680851, "alnum_prop": 0.7806624888093107, "repo_name": "dkhwangbo/druid", "id": "d9d35f5e624935bd215306dfa854d9eb34268e5e", "size": "1924"...
namespace DMLibTest { using Microsoft.Azure.Storage.Auth; using System; public class TestExecutionOptions<TDataInfo> where TDataInfo : IDataInfo { public const int DefaultTimeoutInMs = 20 * 60 * 1000; // 20 min public TestExecutionOptions() { this.TimeoutInMs = Defa...
{ "content_hash": "5f45b653769cae5d5fb7330916e193f0", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 76, "avg_line_length": 20.204819277108435, "alnum_prop": 0.5032796660703638, "repo_name": "Azure/azure-storage-net-data-movement", "id": "df8cdf4f66c8ea76ea32343ce9945368e60e...
class CandyStrobingShader : public Shader { public: inline uint32_t shade (float height, uint32_t color, uint32_t currentColor, float remaining, uint32_t secondaryColor) { int stobeClock = (int) (remaining * 100.0); if ( 0 == (stobeClock % 2) ) { return colorByBrig...
{ "content_hash": "f0bf5dc5071ab04deb4bd0df4fbe163b", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 123, "avg_line_length": 25.63157894736842, "alnum_prop": 0.5954825462012321, "repo_name": "touchtechio/starcatcher", "id": "8e6494cb77e51dd1fb5a3d35ea41607a039253ab", "size...
<!DOCTYPE html><!--[if lt IE 9]><html class="no-js lt-ie9" lang="et" dir="ltr"><![endif]--><!--[if gt IE 8]><!--> <html class="no-js" lang="et" dir="ltr"> <!--<![endif]--> <head> <meta charset="utf-8"> <!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) wet-boew.github.io/wet-boew/License-en...
{ "content_hash": "49c4d409ac847ca0fe7e68540df5a76a", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 155, "avg_line_length": 44.035714285714285, "alnum_prop": 0.6654501216545012, "repo_name": "tweed1e/canadalayercake", "id": "20c412c5fcbe8e47cddb887c19f75ab176651bb5", "siz...
jQuery(document).ready(function ($) { // clone the collapse menu from mainnav (.t3-navbar) $('.t3-navbar').each(function(){ var $navwrapper = $(this), $menu = null, $placeholder = null; if ($navwrapper.find('.t3-megamenu').length) { //...
{ "content_hash": "02db1d4a4b2222e48059e5ebfcc1ac99", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 114, "avg_line_length": 35.85454545454545, "alnum_prop": 0.43331643002028397, "repo_name": "DannyNunez/joomla-solr", "id": "2615efbacb09522943be90c8fb75f44ef514abb7", "siz...
package org.wso2.carbon.analytics.data.commons.service; import org.wso2.carbon.analytics.data.commons.sources.RecordGroup; import java.io.Serializable; import java.util.List; /** * This class represents an analytics data service response. */ public class AnalyticsDataResponse implements Serializable { privat...
{ "content_hash": "e89a76c29f73473c44a34367ab7b6617", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 77, "avg_line_length": 24.473684210526315, "alnum_prop": 0.6422939068100358, "repo_name": "samgregoost/carbon-analytics", "id": "ce1e2917eb12cabc1a1055d3f8c1ae0b90ec8e98", ...
@interface NSDate (GHAPIDateFormatting) @property (nonatomic, readonly) NSString *prettyShortTimeIntervalSinceNow; @property (nonatomic, readonly) NSString *prettyTimeIntervalSinceNow; @property (nonatomic, readonly) NSString *stringInGithubAPIFormat; @property (nonatomic, readonly) NSString *stringInV3Format; @end
{ "content_hash": "0151bb058ce88bce7f53135530e4c55b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 74, "avg_line_length": 35.55555555555556, "alnum_prop": 0.828125, "repo_name": "OliverLetterer/iHubSC", "id": "58d2705a0db33fb78a4c50b51378114b8b1913d0", "size": "500", "b...
<mat-toolbar color="primary"> <span>Hi, I'm material toolbar</span> </mat-toolbar>
{ "content_hash": "9097051d61c2ebdd5bfdb560c4b78bf4", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 39, "avg_line_length": 28.333333333333332, "alnum_prop": 0.6941176470588235, "repo_name": "nycJSorg/angular-presentation", "id": "b40c58a4a2ac0562523e8ecbf3c6b24497428b2a", ...
using System.IO; using System.Web.Mvc; using System.Web.UI; using Nop.Core.Infrastructure; namespace Nop.Web.Framework.Security.Captcha { public static class HtmlExtensions { public static string GenerateCaptcha(this HtmlHelper helper) { var captchaSettings = EngineContext.Current....
{ "content_hash": "20d977a91a1e451e3526501179d869bf", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 88, "avg_line_length": 32.51851851851852, "alnum_prop": 0.6457858769931663, "repo_name": "Anovative/Nop39", "id": "3f7305d4eac81de4b5f207043e4a58c39f5d9298", "size": "880",...
'use strict'; var fs = require('fs'); var async = require('async'); var request = require('request'); var hooks = require('feathers-hooks-common'); var auth = require('feathers-authentication').hooks; exports.before = { all: [], find: [], get: [], create: [ auth.verifyToken(), auth.populateUser(), ...
{ "content_hash": "26ae291488f50db2893d7f546d977385", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 52, "avg_line_length": 20.574468085106382, "alnum_prop": 0.6049638055842813, "repo_name": "aparabolica/DomeGIS", "id": "a567e89ff3d26ec844d000862e4aa16edad631a7", "size": "...
package Google::Ads::GoogleAds::V11::Services::FeedService::MutateFeedsResponse; use strict; use warnings; use base qw(Google::Ads::GoogleAds::BaseEntity); use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; sub new { my ($class, $args) = @_; my $self = { partialFailureError => $args->{partialFailureError}, ...
{ "content_hash": "976dead4613b9579da1e87e01f1a7eeb", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 80, "avg_line_length": 24.318181818181817, "alnum_prop": 0.6822429906542056, "repo_name": "googleads/google-ads-perl", "id": "a6a786d61eef198322ada52a08e2b5ca9a3870b1", "si...
namespace arrow { class Array; class Status; namespace py { struct PyConversionOptions { PyConversionOptions() = default; PyConversionOptions(const std::shared_ptr<DataType>& type, int64_t size, MemoryPool* pool, bool from_pandas) : type(type), size(size), from_pandas(from_pandas) {}...
{ "content_hash": "e56faab240c083173f8b01a0c2085749", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 82, "avg_line_length": 29.893617021276597, "alnum_prop": 0.703914590747331, "repo_name": "laurentgo/arrow", "id": "d167996ba8da6796ac62da0fa0186419a3211930", "size": "2521"...
module RSpec module Mocks module AnyInstance # Given a class `TheClass`, `TheClass.any_instance` returns a `Recorder`, # which records stubs and message expectations for later playback on # instances of `TheClass`. # # Further constraints are stored in instances of [Chain](Chain). ...
{ "content_hash": "f38ed6f13d7bd57c054e12a2f3f60053", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 193, "avg_line_length": 36.592233009708735, "alnum_prop": 0.5988325815866278, "repo_name": "kelseymok/syllable_counter", "id": "64b0a8fadfe5105cb13a37196fa522aa58ae09f5", ...
.. _config: Configuring Holland =================== By default, Holland's configuration files reside in /etc/holland. The main configuration file is holland.conf, however there are a number of other configuration files for configuring default settings for providers and for configuring backup sets. Each configuration...
{ "content_hash": "45f3bc0dfa3bc5fca7a9038a3c4f488b", "timestamp": "", "source": "github", "line_count": 310, "max_line_length": 136, "avg_line_length": 34.32258064516129, "alnum_prop": 0.7161654135338346, "repo_name": "m00dawg/holland", "id": "4ddd231840ed90130b68b851f034a6f38a816e83", "size": "106...
[![Build Status](https://travis-ci.org/darrencauthon/three.png)](https://travis-ci.org/darrencauthon/three) [![Code Climate](https://codeclimate.com/github/darrencauthon/three.png)](https://codeclimate.com/github/darrencauthon/three) This gem started as a minor fork of [six](https://github.com/randx/six), a neat, tiny...
{ "content_hash": "2e2ae14cfd78de9f7380e153e0ac9989", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 233, "avg_line_length": 28.311827956989248, "alnum_prop": 0.7166729965818458, "repo_name": "darrencauthon/three", "id": "9672cbc42c33e4501455dcb940f9239b93e4dda6", "size":...
module LLMH_ExpType where -- Haskell datatypes representing abstract syntax of LLMH types and expressions -- for LLMH allow type variables in types data Type = TypeVar String | TypeConst String | Arrow (Type, Type) | Myb Type | -- Myb t represents Maybe t List Type ...
{ "content_hash": "be8680abbfe74e43e4b0bf4130acaf27", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 79, "avg_line_length": 25.275862068965516, "alnum_prop": 0.557980900409277, "repo_name": "jaanos/TPJ-2015-16", "id": "75377e60726084eb011aaa1b77314c89ec54432a", "size": "73...
<?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 334955 $ --> <refentry xml:id="intlbreakiterator.createlineinstance" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>IntlBreakIterator::createLineInstance</refname> <refpurpose> Create break iterator ...
{ "content_hash": "6da8964e0b5671a262d2ed0bb03978e3", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 144, "avg_line_length": 23.144927536231883, "alnum_prop": 0.715090795241077, "repo_name": "mziyut/.vim", "id": "c409b41213a64b23bc7fbeeb4e34fc0447a6b802", "size": "1597", ...
require 'rails/generators' require 'rails/generators/active_record' module Resort # Module containing Resort generators module Generators # Rails generator to add a migration for Resort class MigrationGenerator < ActiveRecord::Generators::Base # Implement the required interface for `Rails::Generator...
{ "content_hash": "c8653ebe7bc716d45086cfcebc1ed3e8", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 103, "avg_line_length": 35.06666666666667, "alnum_prop": 0.6825095057034221, "repo_name": "YettaWeipert/resort", "id": "46a5ed97fd5cb744f31efd12bcebf0aea8157d87", "size": "...
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/show_user_photo" android:title="@string/download_display_current" android:checkable="true" app:actionViewCl...
{ "content_hash": "1414341303a7c377a1cbfb8fa3adacd2", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 64, "avg_line_length": 39.2, "alnum_prop": 0.673469387755102, "repo_name": "mingdroid/tumbviewer", "id": "0dcf94709fa1013abc4d10b9dff3b76f8e7e7289", "size": "392", "binar...
# go-enum [![Actions Status](https://github.com/abice/go-enum/actions/workflows/build_and_test.yml/badge.svg)](https://github.com/abice/go-enum/actions/workflows/build_and_test.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/abice/go-enum)](https://goreportcard.com/report/github.com/abice/go-enum) [!...
{ "content_hash": "535a281b63a1756258e997413b49ac30", "timestamp": "", "source": "github", "line_count": 344, "max_line_length": 288, "avg_line_length": 35.593023255813954, "alnum_prop": 0.7011597517151258, "repo_name": "abice/go-enum", "id": "d7cda7e81c9d853927105165d77ed300bb3b7e4b", "size": "1224...
namespace DragonSpark.Application.Security.Identity.Authentication; public interface IValidationServices : IAdapters, IAuthenticationValidation {}
{ "content_hash": "3db6be3a7983625e8431533062bed43f", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 78, "avg_line_length": 49.333333333333336, "alnum_prop": 0.8716216216216216, "repo_name": "DragonSpark/Framework", "id": "109a4e84a83874c67eb0241413d7c85a9760ff1b", "size": ...
using Avalonia.Data; namespace Avalonia.PropertyStore { /// <summary> /// Represents an untyped interface to <see cref="IValue{T}"/>. /// </summary> internal interface IValue { BindingPriority Priority { get; } Optional<object?> GetValue(); void Start(); void RaiseV...
{ "content_hash": "b0aed281a9ee20d0f552613198102516", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 86, "avg_line_length": 29.24137931034483, "alnum_prop": 0.6061320754716981, "repo_name": "jkoritzinsky/Perspex", "id": "a4ec06e64e7a5fa4a757cc091175079bdc476e80", "size": "...
package us.nineworlds.serenity.core.subtitles.formats; import java.io.IOException; import java.io.InputStream; public interface TimedTextFileFormat { /** * This methods receives the path to a file, parses it, and returns a TimedTextObject * * @param path String that contains the path to the file...
{ "content_hash": "72dcff9777e38a71384d9449684e91dc", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 107, "avg_line_length": 35.62068965517241, "alnum_prop": 0.7250726040658277, "repo_name": "0359xiaodong/serenity-android", "id": "cb04fe5b112a1ab8532feb2e3ec5df75cff33f81", ...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.design.widge...
{ "content_hash": "6f7deee00a2a20840d6042f3f48462b0", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 79, "avg_line_length": 41.85470085470085, "alnum_prop": 0.5609556871554012, "repo_name": "martindisch/Kantidroid", "id": "fa713b9fa61b9310bc89a3cb420d8527eefff08f", "size"...
<?php namespace common\models; use Yii; /** * This is the model class for table "tbl_libs_showroom". * * @property string $sh_id * @property string $sh_name * @property string $sh_address * * @property Cars[] $cars * @property Users $shUser * @property UserShowroom[] $userShowrooms */ class Showroom extend...
{ "content_hash": "447c3c0501a07adb112927306727e473", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 85, "avg_line_length": 19.02857142857143, "alnum_prop": 0.509009009009009, "repo_name": "rosislavm/automanager", "id": "41c449da16e91df7446fdfce8e06afd035f0626e", "size": "...
package org.ovirt.mobile.movirt.facade; import android.content.Context; import android.content.Intent; import android.database.Cursor; import org.androidannotations.annotations.Bean; import org.androidannotations.annotations.EBean; import org.ovirt.mobile.movirt.model.EntityMapper; import org.ovirt.mobile.movirt.mode...
{ "content_hash": "973a77de49b67953ced789a16d386e5e", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 71, "avg_line_length": 29.081632653061224, "alnum_prop": 0.7529824561403509, "repo_name": "jelkosz/moVirt", "id": "786ed2d470699f4a79cb7105097985de99d12f64", "size": "1425"...
<?xml version="1.0" encoding="UTF-8"?> <billStatus> <bill> <originChamber>Senate</originChamber> <billNumber>534</billNumber> <notes /> <committees> <billCommittees> <item> <type>Standing</type> <systemCode>ssju00</systemCode> <subcommittees /> <ch...
{ "content_hash": "27a9246999861c836aceafafb62f7ed0", "timestamp": "", "source": "github", "line_count": 799, "max_line_length": 676, "avg_line_length": 34.056320400500624, "alnum_prop": 0.5832935210025357, "repo_name": "peter765/power-polls", "id": "afb3e95f7c9216ea3ec62aacf6564b4573762c44", "size"...
#ifndef MBED_SPISLAVE_H #define MBED_SPISLAVE_H #include "device.h" #if DEVICE_SPISLAVE #include "platform.h" #include "PinNames.h" #include "PeripheralNames.h" #include "Base.h" namespace mbed { /* Class: SPISlave * A SPI slave, used for communicating with a SPI Master device * * The defa...
{ "content_hash": "66d7dd5eaea31be53e01d7c8a34e279a", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 77, "avg_line_length": 23.848, "alnum_prop": 0.5216370345521637, "repo_name": "stvnrhodes/CNCAirbrush", "id": "233881f69e84d97c414325e59c1587cbe79b4d90", "size": "3091", ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
{ "content_hash": "ed370a590bdca74db0c448495ad98f2e", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 202, "avg_line_length": 41.32432432432432, "alnum_prop": 0.684434270765206, "repo_name": "terbolous/cloudstack-www", "id": "b666c1808995c3f176c2ba3560f50720ce46a26f", "siz...
package org.drools.guvnor.server.files; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.security.Principal; import java.util.Enumeration; import java.util.Locale; i...
{ "content_hash": "b058188f394cb2377187c596fa7acd0c", "timestamp": "", "source": "github", "line_count": 303, "max_line_length": 101, "avg_line_length": 20.834983498349835, "alnum_prop": 0.6028829399651513, "repo_name": "psiroky/guvnor", "id": "c68b402802ec0de790dff141af5f5f7f9fdb631e", "size": "689...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Minim : : Constant : : patch</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="stylesheet.css" rel="stylesheet" type="text/css"> </head> <body> <center>...
{ "content_hash": "0cf4edac5fdefae5983be789a70e1683", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 169, "avg_line_length": 30.227272727272727, "alnum_prop": 0.655889724310777, "repo_name": "OpenBCI/OpenBCI_Processing", "id": "38ca74d5e13fbd5ad6e301d31ecaebe7ae5c21ca", "...
using Affecto.Mapping.AutoMapper; using AutoMapper; using OrganizationRegister.Application.User; namespace OrganizationRegister.Api.Settings { public class RoleMapper : OneWayMapper<IRole, Role> { protected override void ConfigureMaps() { Mapper.CreateMap<IRole, Role>(); } ...
{ "content_hash": "8f23bb29f1822dd548e0fab4c915002b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 55, "avg_line_length": 23.357142857142858, "alnum_prop": 0.6850152905198776, "repo_name": "City-of-Helsinki/organisaatiorekisteri", "id": "fd70f4bbd579f3cff43b14f40ecf5923078...
from tests.base_unittest import BaseUnitTest from pypokerengine.engine.card import Card from pypokerengine.engine.player import Player from pypokerengine.engine.poker_constants import PokerConstants as Const from nose.tools import * class PlayerTest(BaseUnitTest): def setUp(self): self.player = Player("uuid", 1...
{ "content_hash": "c5fbce926069c5f81cfaaf4158cf824a", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 94, "avg_line_length": 37.94708994708995, "alnum_prop": 0.7062186279977691, "repo_name": "ishikota/PyPokerEngine", "id": "d765de6c85829a01126665a9c76c196fbb222ccf", "size"...
layout: post title: "RELIC" image: http://slykuiper.com/images/work/intros/relic.png tag: - motion graphics - intro --- ## RELIC Relic was a partnership between [Jusmi](http://slykuiper.com/JUSMIMUSIC) and I. With Jusmi serving as graphic designer / music producer and me serving as motion designer, we created intros...
{ "content_hash": "b2245ee965e2b6c521042cee8ff6f001", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 294, "avg_line_length": 41.629629629629626, "alnum_prop": 0.7784697508896797, "repo_name": "Slykuiper/slykuiper.github.com", "id": "cd2c0588dfa40683b27bd5450f37044c5872a6bd",...
/* A SimpleSchema-compatible JSON schema */ const schema = { // default properties _id: { type: String, viewableBy: ['guests'], }, createdAt: { type: Date, viewableBy: ['guests'], autoValue: (documentOrModifier) => { if (documentOrModifier && !documentOrModifier.$set) return new D...
{ "content_hash": "92162241103e6666be3ea260a5e97a4d", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 137, "avg_line_length": 17.770833333333332, "alnum_prop": 0.5885111371629543, "repo_name": "bengott/Telescope", "id": "9eaebf0fe0f137fc2168a496c77dd5e44d755e59", "size": "8...
'use strict'; const angular = require('angular'); import _ from 'lodash'; import { CLOUD_PROVIDER_REGISTRY, CONFIRMATION_MODAL_SERVICE, INSTANCE_READ_SERVICE, INSTANCE_WRITE_SERVICE, RECENT_HISTORY_SERVICE, ServerGroupTemplates, } from '@spinnaker/core'; module.exports = angular.module('spinnaker.instanc...
{ "content_hash": "3cddb50f918ba9c76e6081de56e5b96a", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 148, "avg_line_length": 36.644366197183096, "alnum_prop": 0.6190064379744403, "repo_name": "kenzanlabs/deck", "id": "40a7550db94e07380932a0231eb7503819f8917b", "size": "10...
package org.hisp.dhis.schema.descriptors; import org.hisp.dhis.eventchart.EventChart; import org.hisp.dhis.schema.Authority; import org.hisp.dhis.schema.AuthorityType; import org.hisp.dhis.schema.Schema; import org.hisp.dhis.schema.SchemaDescriptor; import org.springframework.stereotype.Component; import com.google...
{ "content_hash": "aab242f065bfe80cc3d5c97efa2938ce", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 133, "avg_line_length": 31.054054054054053, "alnum_prop": 0.7302001740644039, "repo_name": "kakada/dhis2", "id": "0d2b4b89a328d7d3415ecd4a1be583c67271e47e", "size": "2705",...
class DocumentsController < ApplicationController layout nil before_action :bouncer, :only => [:show] if Rails.env.staging? before_action :login_required, :only => [:update, :destroy] before_action :prefer_secure, :only => [:show] before_action :api_login_optional, :only => [:send_ful...
{ "content_hash": "d4989a5d8d844c2ad3b23eabc60797aa", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 144, "avg_line_length": 33.908127208480565, "alnum_prop": 0.6670487703209671, "repo_name": "dannguyen/documentcloud", "id": "a5d5f4934692135c396648a4286ade452bb66f4c", "si...
package com.example.moon.weather.Bean; /** * Created by Administrator on 2016/4/1. */ public class Suggestion { private SuggestionMessage comf; private SuggestionMessage cw; private SuggestionMessage drsg; private SuggestionMessage flu; private SuggestionMessage sport; private SuggestionMessa...
{ "content_hash": "748458e0062e91a0f8c887414688b374", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 51, "avg_line_length": 19.86813186813187, "alnum_prop": 0.5923672566371682, "repo_name": "tangzhimang/Weather", "id": "6b7939ec4341ddfd22137546d87fa9e54072997c", "size": "1...