text stringlengths 2 1.04M | meta dict |
|---|---|
// Copyright 2014 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": "74fb00c801ca5453ad0ebce6a244c047",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 100,
"avg_line_length": 37.208333333333336,
"alnum_prop": 0.6819708846584547,
"repo_name": "iamthearm/bazel",
"id": "5cf7c6efbcb2642fcf226f58211b9579bd5dad7c",
"size": "14... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UpdateProperties (Lightsleep)</title>
<link rel="stylesheet" type="text... | {
"content_hash": "12654ec301edb6f9e258f49022cde1b5",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 168,
"avg_line_length": 35.048458149779734,
"alnum_prop": 0.6454248366013072,
"repo_name": "MasatoKokubo/Lightsleep",
"id": "8f3977c59e9b53b0c861e12d747f336a415cdf38",
"si... |
namespace Google.Cloud.Compute.V1.Snippets
{
// [START compute_v1_generated_Networks_List_sync]
using Google.Api.Gax;
using Google.Cloud.Compute.V1;
using System;
public sealed partial class GeneratedNetworksClientSnippets
{
/// <summary>Snippet for List</summary>
/// <remarks>
... | {
"content_hash": "f6a22313385ae1e7e5fe9bbb082c7678",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 120,
"avg_line_length": 39.25,
"alnum_prop": 0.5628980891719745,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "6da7f5c4c143257a8978a3dcc5d62110650123f8",
"size": "3134"... |
#include "base/intmath.hh"
#include "cpu/testers/rubytest/Check.hh"
#include "cpu/testers/rubytest/CheckTable.hh"
#include "debug/RubyTest.hh"
CheckTable::CheckTable(int _num_writers, int _num_readers, RubyTester* _tester)
: m_num_writers(_num_writers), m_num_readers(_num_readers),
m_tester_ptr(_tester)
{
... | {
"content_hash": "e2dbec19ce0d22760355fbeb5bf626f6",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 79,
"avg_line_length": 25.21359223300971,
"alnum_prop": 0.5887562572198691,
"repo_name": "dpac-vlsi/SynchroTrace",
"id": "b4860b62b425eb54241a7cf91c38826fbcf26f21",
"size"... |
package org.openkilda.messaging.nbtopology.request;
import org.openkilda.messaging.nbtopology.annotations.ReadRequest;
import org.openkilda.model.SwitchId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.ToString;
@SuppressWarnings("squid:MaximumInheritanceDepth")
@ReadReq... | {
"content_hash": "39499c0982c0145548a1de63d9a2766a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 75,
"avg_line_length": 24.375,
"alnum_prop": 0.7914529914529914,
"repo_name": "jonvestal/open-kilda",
"id": "0801f716c8f80e389620d9dfac9b02a1845c1d3d",
"size": "1202",
"b... |
<?php
namespace Members\AddOns\AdminAccess;
# Filter whether to show the toolbar.
add_filter( 'show_admin_bar', __NAMESPACE__ . '\show_admin_bar', 95 );
# Modify toolbar items.
add_action( 'admin_bar_menu', __NAMESPACE__ . '\admin_bar_menu', 95 );
/**
* Filter on the `show_admin_bar` hook to disable the admin bar... | {
"content_hash": "236bafe8f8ec90473792d7a6450765d0",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 104,
"avg_line_length": 21.537634408602152,
"alnum_prop": 0.6397903145282077,
"repo_name": "mandino/www.bloggingshakespeare.com",
"id": "b070797c5938ce7751d4dfcd010f461ddfbf... |
/** @module */
import '@polymer/polymer/lib/elements/dom-bind.js';
import { PolymerElement } from '@polymer/polymer';
// import { PropertiesMixin } from '@polymer/polymer/lib/mixins/properties-mixin.js';
// Should use this only but mixins ain't ready
import '@polymer/app-layout/app-layout.js';
import '@polyme... | {
"content_hash": "643bc66c087b59c8eef4f6e7dcba3169",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 176,
"avg_line_length": 33.90204081632653,
"alnum_prop": 0.5871659041656634,
"repo_name": "myfrom/your-timetable",
"id": "1e3ff2c9febb71639be945304e7fa45c217217aa",
"size"... |
<div class="box-favorite-bar">
<p>These are your Favorite companies (Standards):</p>
<ul>
<li>
<a href="http://beta.dezignwall.com/profile/index/602">
<img src="http://beta.dezignwall.com/uploads/company/8e3ef24171679c01518e6b832aa07773_59001f04152ae.png">
</a>
... | {
"content_hash": "f877b81058fe553db1a943693c43734c",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 290,
"avg_line_length": 59.5830258302583,
"alnum_prop": 0.4376045085774447,
"repo_name": "phanquanghiep123/dezignwall",
"id": "68611017b36a04e5a37bc4ac1528364a7681e267",
"... |
var logger = require(__dirname + '/logger.js');
logger.debugLevel = 'info';
var exports = module.exports = {};
exports.sanitizeSearchQueue = function(ref, delay) {
}
exports.sanitizeLivetickerFeedQueue = function(db, delay) {
logger.log("warn", "Starting to sanitize Liveticker Feed Request Queue");
sanitizeLive... | {
"content_hash": "2b892a5efe5d6d02e20d5a530244f41a",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 95,
"avg_line_length": 34.14035087719298,
"alnum_prop": 0.6613566289825282,
"repo_name": "sunilson/My-Ticker-Android",
"id": "47e703f4469895807b9ca31268fd87af201cd1a1",
"si... |
require 'spec_helper'
require 'poise'
class ApplicationTestRealClass < Chef::Resource
include Poise
provides(:application_test_other_name)
actions(:run)
end
describe PoiseApplication::Resources::Application::Resource do
step_into(:application)
recipe do
application '/home/app' do
remote_directory ... | {
"content_hash": "26acb2c8e26aa698c5660a4e5c46ebb7",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 95,
"avg_line_length": 29.454545454545453,
"alnum_prop": 0.6651234567901234,
"repo_name": "h4ck3rm1k3/application",
"id": "f56dbe381b7707784ea07f289b5b081cd3b4988e",
"size... |
module GoodData
module Connectors
module Base
class TemplateException < Exception
end
end
end
end | {
"content_hash": "3f1201a232786e624d39c4185ef7a1f4",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 41,
"avg_line_length": 15.125,
"alnum_prop": 0.6859504132231405,
"repo_name": "korczis/gooddata_connectors_base",
"id": "d8dc5d90fba3fa2fef5e60c9b9959fc27ec1f7aa",
"size": "... |
var _ = require('lodash'),
SandCastle = require("./sandcastle").SandCastle;
function Pool(opts, sandCastleCreationOpts) {
_.extend(this, {
numberOfInstances: 1
}, opts);
if(this.numberOfInstances < 1) {
throw "Can't create a pool with zero instances";
}
this.sandcastles = [];
this.runQueue = []... | {
"content_hash": "59b089b20c7a6ba0e68ec92913a5c932",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 86,
"avg_line_length": 26.02857142857143,
"alnum_prop": 0.6615440907427735,
"repo_name": "bcoe/sandcastle",
"id": "3fd987e3da54880775f15a13560d042e25c98574",
"size": "2733... |
.player-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 150px;
background: rgba(255, 255, 255, 0.3);
z-index: 100;
}
.player-bar a {
font-size: 1.1rem;
vertical-align: middle;
}
.player-bar a,
.player-bar a:hover {
color: white;
cursor: pointe... | {
"content_hash": "d434a0b65ea214e74a54e017b9034c3a",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 55,
"avg_line_length": 19.417989417989418,
"alnum_prop": 0.55858310626703,
"repo_name": "dquarter87/bloc-jams-angular",
"id": "e60e7e989c9884ca12c962b501576ee857635f42",
"... |
<?php
namespace backend\models\member;
/**
* AdminMemberModel.php file
* User: LiuRan
* Date: 2016/5/6 0006
* Time: 下午 12:58
*/
class AdminMemberModel extends \common\models\member\AdminMemberModel
{
} | {
"content_hash": "27700ca1f31595b56326fb36da003f0a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 69,
"avg_line_length": 14.928571428571429,
"alnum_prop": 0.7177033492822966,
"repo_name": "darrenliuran/td74",
"id": "0eb621d49a389d1f30bad0a2499ba610e6c9f6c0",
"size": "21... |
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel='shortcut icon' href='/img/favicon.ico' type='imag... | {
"content_hash": "3f5796f88fba6af0f32f6e5eab2e8170",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 486,
"avg_line_length": 39,
"alnum_prop": 0.6429980276134122,
"repo_name": "ghostbar/ghostbar.co",
"id": "046a86bd9ba45887884b3b1e254596e59573a471",
"size": "4564",
"bin... |
import * as components from './components';
import * as core from './core';
import * as domRenderables from './dom-renderables';
import * as domRenderers from './dom-renderers';
import * as math from './math';
import * as physics from './physics';
import * as polyfills from './polyfills';
import * as renderLoops from ... | {
"content_hash": "61239d51d1a09653852ac1e8b43b04bd",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 56,
"avg_line_length": 32.794117647058826,
"alnum_prop": 0.7183856502242153,
"repo_name": "talves/famous-engine",
"id": "cc7ed0fb93e91134eeda38dad2e71ebc49935553",
"size": ... |
package cn.sumpay.flume.metrics;
public abstract interface SqlSourceCounterMBean {
public abstract long getRowsCount();
public abstract void incrementRowsCount();
public abstract long getRowsProc();
public abstract void incrementRowsProc();
public abstract long getEventCount();
public abstract void incremen... | {
"content_hash": "8e96dea044b6531de947e413c9d47ed1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 49,
"avg_line_length": 22.352941176470587,
"alnum_prop": 0.8,
"repo_name": "zhengbo1979/maginot",
"id": "5014559db47f31c412417dc9b423acc3f02b3008",
"size": "380",
"binary... |
package org.dnal.compiler.parser.ast;
public abstract class ExpBase implements Exp {
public int pos = 0;
public int getPos() {
return pos;
}
}
| {
"content_hash": "351ce724402c7c3ac886ae21628c996e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 46,
"avg_line_length": 16.666666666666668,
"alnum_prop": 0.7133333333333334,
"repo_name": "ianrae/dnal-lang",
"id": "68422cafc12062214f834d60456d71dc7b63a70e",
"size": "150"... |
As of November 7th, 2018, I've decided to end my commitment to maintaining this repo and related.
It's been more than 3 years since I last used ELK, so I no longer have the motivation it takes to maintain and evolve this project. Also, other projects need all the attention I can give.
It was a great run, **thank you ... | {
"content_hash": "454a3418e3be90e23a293a81777c4197",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 308,
"avg_line_length": 54.38235294117647,
"alnum_prop": 0.7339102217414819,
"repo_name": "pires/kubernetes-elk-cluster",
"id": "38bd794004e55b982c3f5134521e29a5e326e9d6",
... |
<?php
class Google_Service_Dfareporting_TechnologyTargeting extends Google_Collection
{
protected $collection_key = 'platformTypes';
protected $browsersType = 'Google_Service_Dfareporting_Browser';
protected $browsersDataType = 'array';
protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionT... | {
"content_hash": "2606f470fe1159b90f8925aa794ba99e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 96,
"avg_line_length": 30.25,
"alnum_prop": 0.754982984929509,
"repo_name": "dwivivagoal/KuizMilioner",
"id": "ee676e7ec757458936dc83cb604e832d640f86b7",
"size": "2647",
... |
CKEDITOR.plugins.setLang( 'toolbarswitch', 'si', {
toolbarswitch: 'Switch toolbar'
});
| {
"content_hash": "e0303f588f316fb2e6be7bc11b81d70e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 50,
"avg_line_length": 22.25,
"alnum_prop": 0.7078651685393258,
"repo_name": "gambala/ckeditor",
"id": "3e79d3ba39d03d427da542c7794e2915710c5da0",
"size": "231",
"binary":... |
package org.keycloak.testsuite.x509;
import java.security.NoSuchProviderException;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import org.jboss.arquillian.drone.api.annotation.Drone;
import org.junit.Assume;
import org.junit.Before;
import org.junit.BeforeClass;
imp... | {
"content_hash": "53bd0bd57f9b79057bb0b82ce569c7da",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 143,
"avg_line_length": 33.342465753424655,
"alnum_prop": 0.7161051766639277,
"repo_name": "darranl/keycloak",
"id": "5e9d62b796b57e52b41ee3253a2e6f7182aa9df9",
"size": "31... |
namespace blink {
class PaintLayer;
enum ClipRectsCacheSlot {
// Relative to the ancestor treated as the root (e.g. transformed layer). Used for hit testing.
RootRelativeClipRects,
RootRelativeClipRectsIgnoringViewportClip,
// Relative to the LayoutView's layer. Used for compositing overlap testing.
... | {
"content_hash": "f686aa381f416b2965010b0466ff2759",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 99,
"avg_line_length": 24.703703703703702,
"alnum_prop": 0.6934032983508246,
"repo_name": "danakj/chromium",
"id": "f678226b12da8b33e28069f9cbb5312fa03d4598",
"size": "1688... |
using namespace appleseed::qtcommon;
namespace appleseed {
namespace studio {
RenderClipboardHandler::RenderClipboardHandler(QWidget* widget, ICapturableWidget* capturable_widget)
: m_widget(widget)
, m_capturable_widget(capturable_widget)
{
m_widget->installEventFilter(this);
}
RenderClipboardHandler::~Rend... | {
"content_hash": "58bb5d0a80684ee903f8213f62f5b89c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 101,
"avg_line_length": 26.914285714285715,
"alnum_prop": 0.6836518046709129,
"repo_name": "dictoon/appleseed",
"id": "77254817d535f4617569b0f07e4ad0ab43b47224",
"size": "2... |
<?php
// Add real life dalay
sleep(1);
?>
<h1>Text loaded with AJAX</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas non mi felis. Proin tempus risus sed euismod sagittis. Vestibulum non urna ac lorem lobortis vestibulum venenatis nec dolor. Etiam posuere odio ut augue tincidunt vestib... | {
"content_hash": "8aadc1ad4d853ad2b5800a32974a6b2b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 348,
"avg_line_length": 61.42857142857143,
"alnum_prop": 0.7581395348837209,
"repo_name": "peronczyk/PLON",
"id": "266e80b371e6c113a431964048830ab608c9bdd5",
"size": "430",
... |
import { route, template, DialogService, EventAggregator, NavigationService, StorageService, title, components } from "./../../../../src/index";
import * as Routes from "./../routes";
import { BasePageViewModel } from "./../base-page-view-model";
import { inject } from "@nivinjoseph/n-ject";
import "./dashboard-view.sc... | {
"content_hash": "7f822e3b7c007b92e85dd974ff3fd9ca",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 144,
"avg_line_length": 32.35294117647059,
"alnum_prop": 0.6124675324675325,
"repo_name": "nivinjoseph/n-app",
"id": "5a572e6768a5f7695c1c340ca08a65c2cba6ed3b",
"size": "3... |
class Engine
{
private:
GraphicsEngine* m_Graphics;
Game* m_Game;
RenderQueue* m_RenderQueue;
Timer* m_Timer;
Timer* m_FPSTimer;
int m_FrameCounter;
SDL_Event m_Event;
EventManager* m_EventSystem;
public:
Engine();
~Engine();
bool Run();
void Init(int ScreenWidth,int ScreenHeight,bool Fullscreen,bool vsync)... | {
"content_hash": "1cc93b528cfe5003ff680cc83a83d49a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 19.11764705882353,
"alnum_prop": 0.7292307692307692,
"repo_name": "exnotime/KlurifaxRay",
"id": "124192a4e898c9c3fcb5fe741e7ea737d33e2a7a",
"size": "... |
(project created ca. March 2014)
A minimalistic image viewer that supports animated .gifs and transparency.
One of my earliest projects and thus one of my worst in terms of code quality.
To open an image, either drag it onto the executable or use the "Open with..." dialog. Once the program is started, press CTRL + H ... | {
"content_hash": "208e120646f5dde25f82f1f3243f168a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 140,
"avg_line_length": 65.8,
"alnum_prop": 0.7720364741641338,
"repo_name": "rakijah/SideProjects",
"id": "e78e9aafdfd8fec16caf37479b2201059c35bdd6",
"size": "349",
"bina... |
import json
import pika
import sys
from datetime import datetime, timedelta
import string
import random
class Client:
"""
Client application to the GRACC Request daemons
"""
def __init__(self, exchange, routing_key, url="amqp://guest:guest@localhost/"):
"""
Initialization functio... | {
"content_hash": "153edf0d42d83a850f822bafa4036563",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 128,
"avg_line_length": 40.175141242937855,
"alnum_prop": 0.6049782027844185,
"repo_name": "shreyb/gracc-request",
"id": "9327dda961cf92e1e7d9ff0a6b54ea1c472311e4",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Submission 984</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<img src="gallery/subm... | {
"content_hash": "1d36dce980c39bd1650f8ba269329950",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 102,
"avg_line_length": 33.36363636363637,
"alnum_prop": 0.7002724795640327,
"repo_name": "heyitsgarrett/envelopecollective",
"id": "786cba61be72a5f206d73cafec9404002575f8bf"... |
extern CGFloat const PHFComposeBarViewInitialHeight;
// Each notification includes the view as object and a userInfo dictionary
// containing the beginning and ending view frame. Animation key/value pairs are
// only available for the PHFComposeBarViewWillChangeFrameNotification
// notification.
extern NSString *cons... | {
"content_hash": "59a9c3b2dce54e8852b12e1fa07fae78",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 118,
"avg_line_length": 43.43617021276596,
"alnum_prop": 0.7861866274797943,
"repo_name": "abaenglish/PHFComposeBarView",
"id": "4977d427d90a2fad1ff079caba634e64efe7bc15",
... |
from __future__ import absolute_import, with_statement
from mock import Mock, patch
from nose.tools import *
import parse
from behave import matchers, model, runner
class DummyMatcher(matchers.Matcher):
desired_result = None
def check_match(self, step):
return DummyMatcher.desired_result
class Test... | {
"content_hash": "ef61178e916fc3f81268c63ca0845ae1",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 80,
"avg_line_length": 34.87431693989071,
"alnum_prop": 0.5636164211845817,
"repo_name": "charleswhchan/behave",
"id": "5a2d940e2b44cab3278f9b09ccc69c0760ce07cc",
"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_26) on Sun Dec 30 01:26:12 PST 2012 -->
<TITLE>
org.apache.hadoop.typedbytes (Hadoop 1.0.4-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2012-12... | {
"content_hash": "c9a4bda14f433c00964a5b46fffa7e0d",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 183,
"avg_line_length": 44.74703557312253,
"alnum_prop": 0.6422577510820598,
"repo_name": "davidl1/hortonworks-extension",
"id": "6585d0c80f84f2c23d3cb0627ef2df38002d8328",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this ... | {
"content_hash": "e16c65f0d00c7780ad6b1c4b2499fe3f",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 141,
"avg_line_length": 34.01190476190476,
"alnum_prop": 0.5565278263913196,
"repo_name": "nikeshmhr/unitime",
"id": "6a45c72e8f737ed7b31a79168a4ddb7696e88033",
"size": "5... |
from curious import deferred_to_real
from django.test import TestCase, override_settings
from django.db import connection
from curious_tests.models import Blog, Entry
class TestDeferredToReal(TestCase):
def setUp(self):
blog = Blog(name='Databases')
blog.save()
self.blogs = [blog]
headlines = ('MyS... | {
"content_hash": "0efb17f2a9fccced6ce3de3bd4b65629",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 90,
"avg_line_length": 39.28787878787879,
"alnum_prop": 0.6826070188970305,
"repo_name": "ginkgobioworks/curious",
"id": "4b62ede549f3ff2bccb53acb732957c238474626",
"size":... |
<?php
function myMod($str)
{
return "(myMod)" . $str . "(/myMod)";
}
function myFunc($params)
{
return "MyFunc:" . $params["name"];
}
function myBlockFunc($params, $content)
{
return "Block:" . $params["name"] . ':' . trim($content) . ':Block';
}
function myCompiler(Fenom\Tokenizer $tokenizer, Fenom\Tag... | {
"content_hash": "9f8b5974048a0b8e2af9f1902dec416a",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 79,
"avg_line_length": 24.82051282051282,
"alnum_prop": 0.621900826446281,
"repo_name": "vgrish/fenom",
"id": "c3387d3c8b08e8938e489a78d2ea4063698490b7",
"size": "968",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Arrow Navigator Skin 13 - Jssor Slider, Slideshow with Javascript Source Code</title>
</head>
<body style="font-family:Arial, Verdana;background-color:#fff;">
<script type="text/javascript" s... | {
"content_hash": "ef0f0da856a1a92fb456e61e6009a6fc",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 313,
"avg_line_length": 51.34117647058824,
"alnum_prop": 0.5426214482126489,
"repo_name": "alainbindele/openrate-it",
"id": "4da0a5e100ca5dc55848801503cb48ef106bfe57",
"siz... |
package com.github.shredder121.asyncaudio.common;
import java.util.concurrent.*;
import org.apache.commons.lang3.concurrent.BasicThreadFactory;
import lombok.experimental.UtilityClass;
@UtilityClass
public class CommonAsync {
public static final int DEFAULT_BACKLOG = 20;
public static ScheduledExecutorService ... | {
"content_hash": "517a7ab2eab37349e6af78a4f0f3df37",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 117,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.7411684782608695,
"repo_name": "Shredder121/jda-async-packetprovider",
"id": "50012c81f612a22eb5ac98cdd05c42437882... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Pink Blobs 2 FX</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/jav... | {
"content_hash": "79edb96fa4a21e115874d76d73d9c782",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 178,
"avg_line_length": 40.19230769230769,
"alnum_prop": 0.6507177033492823,
"repo_name": "road0001/tweensy",
"id": "422dd0a79312ffb66732fd4ad8f5b04b83eb7bb6",
"size": "104... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60) on Fri Dec 22 15:50:48 IST 2017 -->
<title>com.techgrains.application (library API)</title>
<meta name="date" content="2017-12-22">
<link r... | {
"content_hash": "c2498726b2867de5c61e3dd6b2054c6c",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 164,
"avg_line_length": 33.682432432432435,
"alnum_prop": 0.637111334002006,
"repo_name": "techgrains/TGFramework-Android",
"id": "abbf6c1dee4c1f770a7e239a7d61f06c26fbb405",... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.link_intersystems.maven.plugins</groupId>
<art... | {
"content_hash": "fb6fa16642495cff5e9eacb6c6f7866e",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 104,
"avg_line_length": 29.8,
"alnum_prop": 0.6804336602994321,
"repo_name": "link-intersystems/maven",
"id": "2578d9c745f9a4f12b0910e458a0c5e166282365",
"size": "1937",
... |
require 'rack/app/worker'
module Rack::App::Worker::Register::Clients
extend(self)
def [](name)
Rack::App::Worker::Register[name][:client]
end
end
| {
"content_hash": "450b26f80eb86e1c2f1091d7fb4865a1",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 46,
"avg_line_length": 16,
"alnum_prop": 0.675,
"repo_name": "rack-app/rack-app-worker",
"id": "fbbe07155d2dcacbce2edee593b58f44fb6ba2b4",
"size": "160",
"binary": false,... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>math-classes: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "10419f5a066905340d74f668394eca77",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 159,
"avg_line_length": 39.32163742690059,
"alnum_prop": 0.5316775728732898,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "e78b99e584f64421bbb8297903de8f9d31d549e9",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "3b3d557049285612fc931309d5fd7eca",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 804,
"avg_line_length": 51.78832116788321,
"alnum_prop": 0.6842847075405215,
"repo_name": "BuildmLearn/BuildmLearn-Store",
"id": "e1398a72f7f537c6ad2833b865d664d883aaace3",
... |
"""
The main QuerySet implementation. This provides the public API for the ORM.
"""
import copy
import sys
import warnings
from collections import OrderedDict, deque
from django.conf import settings
from django.core import exceptions
from django.db import (
DJANGO_VERSION_PICKLE_KEY, IntegrityError, connections, ... | {
"content_hash": "e9cba6bd699037dad36dbf7092d6ee18",
"timestamp": "",
"source": "github",
"line_count": 1769,
"max_line_length": 115,
"avg_line_length": 40.351611079706046,
"alnum_prop": 0.587473032417136,
"repo_name": "indevgr/django",
"id": "61c52167c7465d54070b2ebf57aae8ca1da5a40b",
"size": "713... |
<?php
namespace Symfony\Component\Ldap\Adapter\ExtLdap;
use Symfony\Component\Ldap\Adapter\AdapterInterface;
use Symfony\Component\Ldap\Adapter\ConnectionInterface;
use Symfony\Component\Ldap\Adapter\EntryManagerInterface;
use Symfony\Component\Ldap\Adapter\QueryInterface;
use Symfony\Component\Ldap\Exception\LdapE... | {
"content_hash": "449281e93ad8935f8babf95d20dbda3a",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 103,
"avg_line_length": 30.38095238095238,
"alnum_prop": 0.619644723092999,
"repo_name": "derrabus/symfony",
"id": "8d82c5aa9a0789138b940072b6db3b9d8c196887",
"size": "2143... |
layout: post
title: Creating custom plugin using jQuery!
---
Hi, everyone! If you are seaching for tutorials of how to create custom plugins using jQuery, you have arrived at the right place. If you have little knowledge of javascript and/or jQuery, then you must realise that it is a raw power just like C language and... | {
"content_hash": "43b7e3ebfff7d38b09d44f98e82c6deb",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 472,
"avg_line_length": 41.842293906810035,
"alnum_prop": 0.5611615555936269,
"repo_name": "meetsandesh/blogs",
"id": "66475e3e835dd7cc69dc8216228b56f77a85c02d",
"size": "... |
using System;
using Microsoft.SPOT;
using System.Net.Sockets;
using System.Net;
using System.Text;
using System.Threading;
using System.IO;
using Microsoft.SPOT.Net.NetworkInformation;
namespace HttpLibrary
{
/// <summary>
/// Delegate for Recieve event handling
/// </summary>
/// <param name="Reques... | {
"content_hash": "8fb774fa282dc07260557817ea8a19fa",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 143,
"avg_line_length": 36.55776892430279,
"alnum_prop": 0.5457715780296426,
"repo_name": "josemotta/IoT.Starter.Np2.Core",
"id": "ac5dc882b8bc0de104b6f83d597435b45eefef18",... |
package org.gradle.language.scala.internal.toolchain;
import org.gradle.api.JavaVersion;
import org.gradle.api.artifacts.Configuration;
import org.gradle.api.artifacts.ConfigurationContainer;
import org.gradle.api.artifacts.Dependency;
import org.gradle.api.artifacts.ResolveException;
import org.gradle.api.artifacts... | {
"content_hash": "a4506e8c2fcddea0dc99cb98e44f92fc",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 386,
"avg_line_length": 49.586666666666666,
"alnum_prop": 0.7910728690508201,
"repo_name": "robinverduijn/gradle",
"id": "47ae63707c337d8f516458ec4475a832dd4d2096",
"size":... |
@interface ExtendedHitButton : UIButton
+ (instancetype)extendedHitButton;
- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event;
@end
@implementation ExtendedHitButton
+ (instancetype)extendedHitButton
{
return (ExtendedHitButton *)[ExtendedHitButton buttonWithType:UIButtonTypeCustom];
}
- (BOOL)poin... | {
"content_hash": "022ace6fafa08f17855652c211063a8f",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 172,
"avg_line_length": 31.153976311336717,
"alnum_prop": 0.7098088203345644,
"repo_name": "efesus/PBJVision",
"id": "567b8ebbe8380941eba227414bdd2d2972d67f2f",
"size": "1... |
/* global require, module */
var sass = require('node-sass');
var fs = require('fs');
var path = require('path');
var inputFile = path.join(__dirname, 'app', 'styles', 'ember-power-select.scss');
var outputFile = path.join(__dirname, 'vendor', 'ember-power-select.css');
var themesFolder = path.join(__dirname, 'app', '... | {
"content_hash": "5e353054ef6066dd10dc248c5dc0eb06",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 98,
"avg_line_length": 37.62068965517241,
"alnum_prop": 0.6828597616865261,
"repo_name": "r0zar/ember-rails-stocks",
"id": "41d66ee3ac0e08571c0cb5477a2ecad36351a852",
"size... |
{% extends 'discovery/common/base.html' %}
| {
"content_hash": "48af156db2fda8e16475634c5f8aff5a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 42,
"avg_line_length": 43,
"alnum_prop": 0.6976744186046512,
"repo_name": "Ecotrust/forestplanner",
"id": "f4ce640df5e346f9dee478cf5e20a83d94a9d4b9",
"size": "43",
"binary... |
//=================================================================================================
//=================================================================================================
//*************************************************************************************************
// Includes
//***... | {
"content_hash": "2955503c8e27578a0574640ea9ea0e38",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 99,
"avg_line_length": 34.88709677419355,
"alnum_prop": 0.391123439667129,
"repo_name": "gnzlbg/blaze-lib",
"id": "fcd53f68ac9ef5d3178636edf9e9e7dd123e1417",
"size": "4045"... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package util.com.text.msgcap.csv;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
... | {
"content_hash": "aa6f0b8668576b81da4f8dae86e44f8e",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 114,
"avg_line_length": 28.6864406779661,
"alnum_prop": 0.5096011816838996,
"repo_name": "gnomex/ESw1ControleJuridico-EJB",
"id": "3bc377c8d0dd1df6f859bbbf9c3caf6234de2e00",... |
"""
homeassistant.components.notify.pushover
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pushover platform for notify component.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.pushover/
"""
import logging
from homeassistant.helpers import validate_c... | {
"content_hash": "e5078800d58a98785697cdc0fa3cb519",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 77,
"avg_line_length": 31.88135593220339,
"alnum_prop": 0.6331738437001595,
"repo_name": "badele/home-assistant",
"id": "7c776300cdb2bfb5dc83fe75591b3a48fd54c742",
"size": ... |
package com.amazonaws.services.gamelift.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import java.math.*;
import java.nio.ByteBuffer;
import com.amazonaws.services.gamelift.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.faste... | {
"content_hash": "85f2ecf58ded34293c485c5476504e0b",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 82,
"avg_line_length": 41.95275590551181,
"alnum_prop": 0.5298423423423423,
"repo_name": "flofreud/aws-sdk-java",
"id": "0f338d3ab127aeda4adcb18fa661c22dc47474b0",
"size":... |
[](https://github.com/benpickles/screamshot/actions/workflows/tests.yml)

A synchronous HTTP screenshot service built on Sinatra and headless Chrome (via Ferrum).
[
: LinearSpeed(math::vec2(0.f, 0.f))
, LinearDamping(0)
, AngularSpeed(0)
, AngularDamping(0)
, IgnoreParentRotation(false)
, rotation_(0.f) {}
////////////////////////////////... | {
"content_hash": "361c5e6454a387ac1ab395360ccad321",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 95,
"avg_line_length": 34.68181818181818,
"alnum_prop": 0.5596330275229358,
"repo_name": "Simmesimme/swift2d",
"id": "adcdcb9f97d20f661115637cd3bd729f5fdea529",
"size": "24... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5689dbc8ccd45edca12624822d41b59d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "585454af444a19e3299c50e1fc6b56ba097e469d",
"size": "19... |
<?php
namespace Zend\Mvc\Exception;
use Zend\Mvc\Exception;
class InvalidArgumentException
extends \InvalidArgumentException
implements Exception
{}
| {
"content_hash": "c576ea96daf8907d2b76efffddb94169",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 37,
"avg_line_length": 16.1,
"alnum_prop": 0.782608695652174,
"repo_name": "Techlightenment/zf2",
"id": "3313ae82c627749abcdf65b09cf44b5b28cf4d19",
"size": "161",
"binary... |
module Folio::FriendlyIdForTraco
extend ActiveSupport::Concern
included do
extend FriendlyId
if defined?(self::FRIENDLY_ID_SCOPE)
friendly_id :slug_candidates, use: %i[slugged history simple_i18n scoped], scope: self::FRIENDLY_ID_SCOPE
I18n.available_locales.each do |locale|
validates... | {
"content_hash": "998570e1aa8857c0687f7db4b55976ab",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 111,
"avg_line_length": 25.940298507462686,
"alnum_prop": 0.5742232451093211,
"repo_name": "sinfin/folio",
"id": "8e63c424bcf2321a419603dd833bfb44ea6f5168",
"size": "1769",... |
package org.flowable.rest.service.api.management;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import java.util.Map;
import org.apache.http.HttpStatus;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;... | {
"content_hash": "b44602f27adeed4299264af1fbfe7c85",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 179,
"avg_line_length": 44.838235294117645,
"alnum_prop": 0.7192522138406034,
"repo_name": "robsoncardosoti/flowable-engine",
"id": "b7d6887e8adfbf72ca42fbcdec67363bda1c45d0"... |
namespace juce
{
class FileChooserDialogBox::ContentComponent : public Component
{
public:
ContentComponent (const String& name, const String& desc, FileBrowserComponent& chooser)
: Component (name),
chooserComponent (chooser),
okButton (chooser.getActionVerb()),
... | {
"content_hash": "e1dd54c7aab9eacce64d20355224670a",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 122,
"avg_line_length": 34.96234309623431,
"alnum_prop": 0.5713259932982289,
"repo_name": "RomanKubiak/ctrlr",
"id": "b00ccc926490ed79e56077d2bfbef79d768d830e",
"size": "9... |
extern MifareTag tag;
| {
"content_hash": "a0950848616f1bd237971c8372bd0e48",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 21,
"avg_line_length": 8,
"alnum_prop": 0.75,
"repo_name": "x414e54/grouping-proof",
"id": "be282cbdb30380c0b087491eec441b7a588f08d5",
"size": "817",
"binary": false,
"c... |
import logging.config
import os
from alembic import context
from sqlalchemy import create_engine, pool
def run_migrations_offline():
"""Run migrations in 'offline' mode.
This configures the context with just a URL
and not an Engine, though an Engine is acceptable
here as well. By skipping the Engin... | {
"content_hash": "cf72f5114c85d3953a0801fa6bcaca7e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 64,
"avg_line_length": 24.88679245283019,
"alnum_prop": 0.6808188021228203,
"repo_name": "xsnippet/xsnippet-api",
"id": "f9161656e8eadb779b7b28e44a727646f0c84b9f",
"size": ... |
/**
* @fileOverview
* @name preloader_gadget.js
* @author seamonkey@uni-koblenz.de
*/
(function(GLGE){
(function(GUI){
/**
* @class Preloader gadget
* @augments GLGE.GUI.Gadget
*/
GUI.Preloader=function(){
// call super constructor
this.baseclass.call(this);
this.domGadgetObject.innerHTML = "<h1>Loading</h... | {
"content_hash": "99484abaf7448b9bb29818333199e54c",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 115,
"avg_line_length": 30.713333333333335,
"alnum_prop": 0.7393097460386369,
"repo_name": "supereggbert/GLGE",
"id": "d67ef862b8c5231e67eb628ee2024eca37b937df",
"size": "... |
package org.basex.util.options;
import org.basex.query.value.item.*;
import org.basex.query.value.map.*;
/**
* Option containing a boolean value.
*
* @author BaseX Team 2005-15, BSD License
* @author Christian Gruen
*/
public final class MapOption extends Option<FItem> {
/** Map item. */
private final Map va... | {
"content_hash": "6205ac3eb380cdead1db97e650818963",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 56,
"avg_line_length": 18.974358974358974,
"alnum_prop": 0.6472972972972973,
"repo_name": "deshmnnit04/basex",
"id": "d658f850819cd887bb7c6c6706a7fcbb5e46ea97",
"size": "74... |
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/black_26">
<item android:id="@android:id/mask" android:drawable="@drawable/grey_menu_large"/>
<item android:drawable="@drawable/grey_menu_large"/>
</ripple> | {
"content_hash": "247aacea4f44853b76eb346daf10e984",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 99,
"avg_line_length": 58.4,
"alnum_prop": 0.7123287671232876,
"repo_name": "0359xiaodong/Qiitanium",
"id": "527855af18d9ebc6449867a0c1e55c79a6f36715",
"size": "292",
"bin... |
using System;
using Microsoft.CodeAnalysis.CodeFixes;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Microsoft.NetFramework.Analyzers
{
/// <summary>
/// CA2240: Implement ISerializable correctly
/// </summary>
public abstract class ImplementISerializableCorrectlyFixer : Co... | {
"content_hash": "c020d916758411988bbc451bba8553b5",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 148,
"avg_line_length": 34.42857142857143,
"alnum_prop": 0.7188796680497925,
"repo_name": "heejaechang/roslyn-analyzers",
"id": "e38e782ef5886e98059b756746b8ec4badedb1c8",
... |
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PrtgAPI.Tests.IntegrationTests.ObjectManipulation
{
[TestClass]
public class SetObjectPropertyTests : BasePrtgClientTest
{
[TestMethod]
[IntegrationTest]
public void Action_SetObjectProperty... | {
"content_hash": "c0c386f0e7fdf16d70b855cd739b4fc7",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 133,
"avg_line_length": 42.691588785046726,
"alnum_prop": 0.6639667250437828,
"repo_name": "lordmilko/PrtgAPI",
"id": "7d9a525bf54cba2ddc18409309dcf8d514a9c6b7",
"size": "... |
package com.mopub.mobileads;
import android.app.Activity;
import com.mopub.common.test.support.SdkTestRunner;
import com.mopub.mobileads.test.support.TestMraidViewFactory;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import java.util.*;
import ... | {
"content_hash": "0c466559a4db65de01385ed1398e5b37",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 106,
"avg_line_length": 36.04032258064516,
"alnum_prop": 0.7406578652942493,
"repo_name": "SofialysLabs/android-sdk",
"id": "8913cc1ca78c3109704565e93167762cd500ee45",
"si... |
import {Services} from '../../../src/services';
import {createLoaderLogo} from './facebook-loader';
import {dashToUnderline} from '../../../src/core/types/string';
import {getData, listen} from '../../../src/event-helper';
import {getIframe, preloadBootstrap} from '../../../src/3p-frame';
import {getMode} from '../..... | {
"content_hash": "b12d0f938ce9a79662d78781256e2da0",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 75,
"avg_line_length": 26.19463087248322,
"alnum_prop": 0.617217524980784,
"repo_name": "nexxtv/amphtml",
"id": "81208934ad514ee26018329940c2702c664c5630",
"size": "4530",... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HUDController : MonoBehaviour {
public Transform progressTransform;
public Text progressText;
public Transform timeLeftTransform;
public Text timeLeftText;
public Text debugText;
... | {
"content_hash": "7887c187a5f50272110e99b6f36305e0",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 127,
"avg_line_length": 28.302083333333332,
"alnum_prop": 0.6139124033860875,
"repo_name": "sebnil/Bananpiren",
"id": "246b5f02e2a6e09ddaa8df73496064640aae2897",
"size": "2... |
suite('rb/ui/views/DateInlineEditorView', function() {
const initialDate = '2022-09-16';
let view;
let $container;
beforeEach(function() {
$container = $('<div/>').appendTo($testsScratch);
});
describe('Construction', function() {
it('Default', function() {
view = n... | {
"content_hash": "85a88d2a38a0874403d3db50958d060a",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 81,
"avg_line_length": 33.3375,
"alnum_prop": 0.4833145856767904,
"repo_name": "reviewboard/reviewboard",
"id": "cb6e8df15e01e446b124b665faca2e8aa92dbffd",
"size": "5334",... |
namespace DEM::Anim
{
CPoseBuffer::CPoseBuffer(const CPoseBuffer& Other)
: _Count(Other._Count)
{
if (_Count)
{
_Transforms.reset(new acl::Transform_32[_Count]);
n_assert_dbg(IsAligned16(_Transforms.get()));
std::memcpy(_Transforms.get(), Other._Transforms.get(), sizeof(acl::Transform_32) * _Count);
}
}
//--... | {
"content_hash": "dc32b1f6208e3b0dc9766be14fba25d4",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 105,
"avg_line_length": 28.591836734693878,
"alnum_prop": 0.516773733047823,
"repo_name": "niello/deusexmachina",
"id": "e74767c277696457d888322e146b2e5862032b7b",
"size": ... |
package sshd
import (
"io"
"net"
"time"
"github.com/shazow/rateio"
)
type limitedConn struct {
net.Conn
io.Reader // Our rate-limited io.Reader for net.Conn
}
func (r *limitedConn) Read(p []byte) (n int, err error) {
return r.Reader.Read(p)
}
// ReadLimitConn returns a net.Conn whose io.Reader interface is ... | {
"content_hash": "afe20f053b2f0d611cb8b50d3b08240e",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 107,
"avg_line_length": 24.760563380281692,
"alnum_prop": 0.7030716723549488,
"repo_name": "voldyman/ssh-chat",
"id": "b2607e6dca159ceb4973c6d65c9b24cf0b459e3c",
"size": "1... |
/*global
piranha userlist
*/
piranha.userlist = new Vue({
el: "#userlist",
data: {
loading: true,
users: [],
roles: [],
currentUserName: null
},
methods: {
bind: function (result) {
this.users = result.users;
this.roles = result.roles;... | {
"content_hash": "5534e388a0b0648e8f41afeed3d84455",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 79,
"avg_line_length": 32.49333333333333,
"alnum_prop": 0.3996717275338531,
"repo_name": "PiranhaCMS/piranha.core",
"id": "bd0f542904b5e47158f69fe9363dd3a95871a2c3",
"size"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2cad881ef779e4c18b39f30f4afec809",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "1fd17d70dd12c22a6ee551afc8a97f2262a5a584",
"size": "179... |
#pragma once
#ifndef EL_READ_ASCII_HPP
#define EL_READ_ASCII_HPP
namespace El {
namespace read {
template<typename T>
inline void
Ascii( Matrix<T>& A, const string filename )
{
DEBUG_ONLY(CSE cse("read::Ascii"))
std::ifstream file( filename.c_str() );
if( !file.is_open() )
RuntimeError("Could not... | {
"content_hash": "be37942c1d5e3326e29d1fc221ad11c0",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 70,
"avg_line_length": 25.185897435897434,
"alnum_prop": 0.5357597353016035,
"repo_name": "justusc/Elemental",
"id": "20defeca2c500ce2defc4edba25439911e0df067",
"size": "4... |
package org.springframework.boot.maven;
import java.util.List;
import org.apache.maven.artifact.Artifact;
/**
* An {@ArtifactsFilter} that filters out any artifact matching an
* {@link Exclude}.
*
* @author Stephane Nicoll
* @author David Turanski
* @since 1.1
*/
public class ExcludeFilter extends Dependenc... | {
"content_hash": "24e645b9c97e2a1b1646d84754fbcf83",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 66,
"avg_line_length": 18.303030303030305,
"alnum_prop": 0.7135761589403974,
"repo_name": "gregturn/spring-boot",
"id": "9104159acf57e6a9b8e4ccf013804294892b30ca",
"size": ... |
WHAT IS IT
==========
**This is a work in progress.**
This is an implementation of a MCMC for estimation and non-parametric
deconvolution of galactic kinematics from hyperspectral data cubes.
It is a python `2.7` module designed to be flexible, reliable and fast.
It has not been tested under python `3.x`, but feel f... | {
"content_hash": "028940b1db1c6d73ae2f342c8398bc5b",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 80,
"avg_line_length": 20.969325153374232,
"alnum_prop": 0.6705675833820948,
"repo_name": "irap-omp/deconv3d",
"id": "734e59200572c8edb1011388cb49ff4fe8691a05",
"size": "3... |
package com.slack.api.app_backend.events.handler;
import com.slack.api.app_backend.events.EventHandler;
import com.slack.api.app_backend.events.payload.SubteamSelfAddedPayload;
import com.slack.api.model.event.SubteamSelfAddedEvent;
public abstract class SubteamSelfAddedHandler extends EventHandler<SubteamSelfAddedPa... | {
"content_hash": "bc44c55bdafed3db05e4a55616909c07",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 33.46153846153846,
"alnum_prop": 0.8,
"repo_name": "seratch/jslack",
"id": "f7e944a489588d972239c6f06ff45a3ce21aeaba",
"size": "435",
"binary": fal... |
package com.amazonaws.services.identitymanagement.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*/
public class CreateSAMLProviderRequest extends AmazonWebServiceRequest
implements Serializable, Cloneable {
/**
* <p>
* An XML document generated by ... | {
"content_hash": "949d121b31e7a7c49ee2f7b48dc9a148",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 93,
"avg_line_length": 38.85865724381625,
"alnum_prop": 0.6112576157133763,
"repo_name": "nterry/aws-sdk-java",
"id": "c9949012a6f14ca37f626ba3525e2d2e4cc0e1a9",
"size": "... |
@implementation CCPBVOrderEntry
static BOOL CCPBVOrderEntry_navigateToRequiredOnly_ = YES;
static BOOL CCPBVOrderEntry_navigateToEmptyOnly_ = YES;
static BOOL CCPBVOrderEntry_showRequiredOnly_;
+ (BOOL)navigateToRequiredOnly {
return CCPBVOrderEntry_navigateToRequiredOnly_;
}
+ (BOOL *)navigateToRequiredOnlyRef {
... | {
"content_hash": "8c6a053bbf564caec9f8faaee075755d",
"timestamp": "",
"source": "github",
"line_count": 685,
"max_line_length": 261,
"avg_line_length": 46.04525547445255,
"alnum_prop": 0.7018483878126882,
"repo_name": "sparseware/ccp-bellavista",
"id": "7f480de207a6102274a61e46ae8a4a46573cf6bc",
"s... |
<h1><a href="../cli/npm-ls.html">npm-ls</a></h1> <p>List installed packages</p>
<h2 id="synopsis">SYNOPSIS</h2>
<pre><code>npm list [[@<scope>/]<pkg> ...]
npm ls [[@<scope>/]<pkg> ...]
npm la [[@<scope>/]<pkg> ...]
npm ll [[@<scope>/]<pkg> ...]
</code></pre><h2 id="descri... | {
"content_hash": "2f1b05fb193d54c10ca46cd5a20fe886",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 96,
"avg_line_length": 37.467532467532465,
"alnum_prop": 0.6724436741767764,
"repo_name": "socialenemy/angular-laravel",
"id": "448aae4d11bd41a588c1fc0040f7d8180bc087a1",
"... |
%%% RenderToolbox3 Copyright (c) 2012-2013 The RenderToolbox3 Team.
%%% About Us://github.com/DavidBrainard/RenderToolbox3/wiki/About-Us
%%% RenderToolbox3 is released under the MIT License. See LICENSE.txt.
%
% Fill in generic objects with default properties, if needed.
% @param objects
%
% @details
% Add default p... | {
"content_hash": "5ab6bec7a085f5dcdb1e6bb9b1e203e9",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 106,
"avg_line_length": 48.27272727272727,
"alnum_prop": 0.5440207156308852,
"repo_name": "tlian7/RenderToolbox3",
"id": "949132bb41677dead1cd78248d8d1d67d99149ae",
"size":... |
package de.dieploegers.groupcal.handlers;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Map;
import com.zimbra.common.localconfig.LC;
import com.zimbra.common.service.ServiceException;
import com.zimbra.c... | {
"content_hash": "e9e721ed0df32e8e17c42063f3649080",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 77,
"avg_line_length": 29.392857142857142,
"alnum_prop": 0.5732077764277035,
"repo_name": "dploeger/zimbra.de_dieploegers_groupcal",
"id": "80fdb8162768c41299c2ecddd28a13315... |
require('../../../modules/es.array.copy-within');
module.exports = require('../../../internals/entry-virtual')('Array').copyWithin;
| {
"content_hash": "8c4c46c97bfaa11561df9094fe5dd990",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 81,
"avg_line_length": 44.333333333333336,
"alnum_prop": 0.6541353383458647,
"repo_name": "PolymerLabs/arcs-live",
"id": "5ee4e32469d7e70dd988de299b3e7ffffe132daa",
"size": ... |
/**
* This view shows the header in the layout.
*/
girder.views.LayoutHeaderView = girder.View.extend({
events: {
'click .g-app-title': function () {
girder.router.navigate('', {trigger: true});
}
},
initialize: function () {
this.userView = new girder.views.LayoutHead... | {
"content_hash": "79fe2399c4e4f458bae63053eba5ad61",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 83,
"avg_line_length": 31.61764705882353,
"alnum_prop": 0.5562790697674419,
"repo_name": "chrismattmann/girder",
"id": "0c47d865192a1b90b554a71b4aac717977ddc219",
"size": "... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>buffer (26 of 28 overloads)</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_asio... | {
"content_hash": "963474ee76311db160c4c9ee017fedcd",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 451,
"avg_line_length": 80.36486486486487,
"alnum_prop": 0.6520934925172356,
"repo_name": "NixaSoftware/CVis",
"id": "2acd089474210cbb822cebc5ee1c3ea2b1969e37",
"size": "59... |
<!-- HBSIGNORE -->
<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" ng-click="$hide()">×</button>
<h4 class="modal-title">Charte de confidentialité</h4>
<... | {
"content_hash": "4af0bebcc65f01917c89b64cc243b3d4",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 178,
"avg_line_length": 46.01243781094527,
"alnum_prop": 0.5633345947991566,
"repo_name": "javimosch/bastack",
"id": "938a7d1f096122210ca77ccfeb5330190ec323f5",
"size": "1... |
source ./shared.functions.sh
START_DIR=$PWD
WORK_DIR=$START_DIR/../../../../../../.macosbuild
mkdir -p $WORK_DIR
WORK_DIR=$(abspath "$WORK_DIR")
source ./mac.05.libvcx.env.sh
cd ../../../..
export ORIGINAL_PATH=$PATH
#export ORIGINAL_PKG_CONFIG_PATH=$PKG_CONFIG_PATH
# Commenting because we don't want to compile car... | {
"content_hash": "bffd1eaec39ae4e970a324002a00faef",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 126,
"avg_line_length": 40.70454545454545,
"alnum_prop": 0.7763819095477387,
"repo_name": "anastasia-tarasova/indy-sdk",
"id": "647db920d7e4a15d3640572e67c59cc6ee60389d",
"... |
package org.kuali.rice.kew.api.document;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.kuali.rice.core.api.mo.common.Coded;
import java.util.EnumSet;
/**
* An enumeratio... | {
"content_hash": "1f11d287576888a02b9fa4c2194792cf",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 148,
"avg_line_length": 30.523809523809526,
"alnum_prop": 0.719188767550702,
"repo_name": "mztaylor/rice-git",
"id": "3a56f2a594b692eeece037348b28bb01364bf00a",
"size": "31... |
using static System.Console;
using System;
public class Program {
public static void Main() {
WriteLine(TimeZoneInfo.ConvertTime(DateTime.Now, TimeZoneInfo.FindSystemTimeZoneById("E. South America Standard Time")));
WriteLine("{0} - ", TimeZoneInfo.Local);
WriteLine("{0} - ", TimeZoneInfo.Utc);
fo... | {
"content_hash": "df5de8cb52cdce98e581583040012439",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 123,
"avg_line_length": 34.68421052631579,
"alnum_prop": 0.6418816388467374,
"repo_name": "maniero/SOpt",
"id": "43c87bf206aaadcbd6da3aa14339d8faf6dd994c",
"size": "659",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "210af69cfb0cdeb9bb03a9054bc568d3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "76c02ab60781530e060521a2a8319eced6b61b5e",
"size": "18... |
/*!
* \file value_ref_fwd.hpp
* \author Andrey Semashev
* \date 27.07.2012
*
* The header contains forward declaration of a value reference wrapper.
*/
#ifndef BOOST_LOG_UTILITY_VALUE_REF_FWD_HPP_INCLUDED_
#define BOOST_LOG_UTILITY_VALUE_REF_FWD_HPP_INCLUDED_
#include <boost/log/detail/config.h... | {
"content_hash": "5ada36d14619d5a26e3f074ba134c55a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 72,
"avg_line_length": 20.96969696969697,
"alnum_prop": 0.6921965317919075,
"repo_name": "aredotna/case",
"id": "5ce40d87ab71b292533304a62bab1de1b726228c",
"size": "922",
... |
//排序扩展
jQuery.fn.sortElements = (function() {
var sort = [].sort;
return function(comparator, getSortable) {
getSortable = getSortable ||
function() {
return this;
};
var placements = this.map(function() {
var sortElement = getSortable.call(this),
... | {
"content_hash": "a3fe3e4cb22ea1daecb28b0cb588c32d",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 549,
"avg_line_length": 42.36,
"alnum_prop": 0.48536355051935787,
"repo_name": "aodianyunGroup/financeWebSDK",
"id": "07441b8c7edede0d2eadc19cd87c6366c5c3bc0f",
"size": "7... |
package com.intellij.ui.breadcrumbs;
import com.intellij.ide.IdeTooltipManager;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.ReadAction;
import com.intellij.openapi.editor.colors.EditorColors;
import com.intellij.openapi.editor.colors.EditorColorsManager;
import com.i... | {
"content_hash": "a684754d7b5331f20dd4197eff4be0b3",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 186,
"avg_line_length": 37.94701986754967,
"alnum_prop": 0.7324607329842932,
"repo_name": "consulo/consulo",
"id": "e906e2d2725665226e5f584cb0037e34a6d2a1ce",
"size": "633... |
layout: post
title: Invalid Uses Of a Type
---
I joined a discussion recently about a new API being added to a type with well established semantics. The API seemed to, pretty blatantly, violate the key invariants of the type and I was curious about the justifications. Of the various reasons given one in particular st... | {
"content_hash": "4ac77126a36b2d0748cbc372a8b75afa",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 370,
"avg_line_length": 66.58823529411765,
"alnum_prop": 0.7685512367491166,
"repo_name": "jaredpar/jaredpar.github.io",
"id": "61c9198430d9df597f30c0096a6e6f4b16a51cc5",
"... |
"""
HDBSCAN: Hierarchical Density-Based Spatial Clustering
of Applications with Noise
"""
import numpy as np
from sklearn.base import BaseEstimator, ClusterMixin
from sklearn.metrics import pairwise_distances
from scipy.sparse import issparse
from sklearn.neighbors import KDTree, BallTree
from joblib import ... | {
"content_hash": "0c0169dc0cb5b31fa989ab665a826b1d",
"timestamp": "",
"source": "github",
"line_count": 1524,
"max_line_length": 115,
"avg_line_length": 38.02690288713911,
"alnum_prop": 0.6160681931910341,
"repo_name": "scikit-learn-contrib/hdbscan",
"id": "ce0092d04e6b868365c4b8957b766dbc288e366d",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.