text stringlengths 2 1.04M | meta dict |
|---|---|
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/participant.proto
package com.google.cloud.dialogflow.v2;
/**
*
*
* <pre>
* The top-level message returned from the `StreamingAnalyzeContent` method.
* Multiple response messages can be returned in order:
* 1. If... | {
"content_hash": "5ec004f679e8ffcfbfa00a48d38b549c",
"timestamp": "",
"source": "github",
"line_count": 3309,
"max_line_length": 157,
"avg_line_length": 37.3756421879722,
"alnum_prop": 0.6670898153239109,
"repo_name": "googleapis/google-cloud-java",
"id": "ae03fa48090a12b201157482ebf87875bde1b031",
... |
import struct
import socket
import binascii
import time
import hashlib
from bitcoin.serialize import *
from bitcoin.coredefs import *
from bitcoin.script import CScript
class CAddress(object):
def __init__(self, protover=PROTO_VERSION):
self.protover = protover
self.nTime = 0
self.nServices... | {
"content_hash": "6dce915e0ec5b1f1ffcbbbe497534dd5",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 358,
"avg_line_length": 34.98224852071006,
"alnum_prop": 0.559117050067659,
"repo_name": "0dayZh/python-bitcoinlib",
"id": "230b5ae50a107da855513cbf41d13a56ef3bf1ba",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
>
<LinearLayout
android:id="@+id/llCustomTitleContainer"
android:layout_width="fill_parent"
an... | {
"content_hash": "d2d31d7520441958d4cc34ab194130d0",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 59,
"avg_line_length": 27.89189189189189,
"alnum_prop": 0.7296511627906976,
"repo_name": "hanguyenhuu/DTUI_201105_Android",
"id": "e4b4d4767ebf857a7f291fb6cbe8cb71f8b26eba",
... |
module AwsCli
module CLI
module EC2
module VPC
require 'awscli/cli/ec2/vpc'
class Dhcp < Thor
desc "list", "List Dhcp Options"
def list
create_ec2_object
@ec2.list
end
desc "create", "Creates a set of DHCP options for your VPC... | {
"content_hash": "edd981c8e7724ac253230910072296af",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 245,
"avg_line_length": 41.981818181818184,
"alnum_prop": 0.5751407535729753,
"repo_name": "ashrithr/awscli",
"id": "7d4153e244944178d5dd48bfbbcddc9cbc8bc695",
"size": "230... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package kg.apc.jmeter.reporters;
import org.apache.jmeter.samplers.SampleEvent;
import org.apache.jmeter.samplers.SampleResult;
import org.junit.*;
public class ConsoleStatusLoggerTest {
public ConsoleStatusLogger... | {
"content_hash": "9e71630eaf940ab5e0092ddc01116d95",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 67,
"avg_line_length": 26.752136752136753,
"alnum_prop": 0.6412140575079872,
"repo_name": "Sausageo/jmeter-plugins",
"id": "93a6baad717f4b247cb64c80065223e228a643f5",
"siz... |
// (C) Copyright 2015 Moodle Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | {
"content_hash": "4b35d3a18b3d170c251388395dbf7a09",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 91,
"avg_line_length": 32.354166666666664,
"alnum_prop": 0.6896329684481648,
"repo_name": "moodlehq/moodlemobile2",
"id": "f5cda2208695a6d194c11a14f9267585e9f192e8",
"size"... |
var DEFAULT_CHANNEL = "default-channel";
var last_time = {};
var count_timeout = {};
var globalHandler = function handler(channel, notify_interval, scope, newValue, oldValue) {
last_time[channel] = last_time[channel] || 0;
count_timeout[channel] = count_timeout[channel] || null;
var now_time = ... | {
"content_hash": "614dc6dcc5a2c206d1b33bb2ed3dc25e",
"timestamp": "",
"source": "github",
"line_count": 3725,
"max_line_length": 175,
"avg_line_length": 34.98604026845638,
"alnum_prop": 0.6227373525778258,
"repo_name": "spidercpsf/ows-fast-bind",
"id": "dff8a4c6a3893fde1f500525176e99806a81c5d3",
"s... |
#ifndef _I386_PAGE_H
#define _I386_PAGE_H
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
#define PAGE_SIZE (1UL << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1))
#define LARGE_PAGE_SIZE (1UL << PMD_SHIFT)
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#ifdef ... | {
"content_hash": "aceea41d80d56c7767c3303669d781cf",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 100,
"avg_line_length": 29.483443708609272,
"alnum_prop": 0.6850853548966757,
"repo_name": "impedimentToProgress/UCI-BlueChip",
"id": "7b19f454761de838acb513e2f14f00215581d3... |
package org.ovirt.engine.core.bll.validator.gluster;
import org.ovirt.engine.core.bll.ValidationResult;
import org.ovirt.engine.core.common.errors.VdcBllMessages;
import org.ovirt.engine.core.common.gluster.GlusterFeatureSupported;
import org.ovirt.engine.core.compat.Version;
public class GlusterVolumeValidator {
... | {
"content_hash": "88e0961ea03fd842a43b7805668b4567",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 120,
"avg_line_length": 43.4375,
"alnum_prop": 0.7899280575539568,
"repo_name": "halober/ovirt-engine",
"id": "5f9ed17a8aa903fd8906764de10d66de81e024f2",
"size": "695",
"... |
package com.amebame.triton.config;
import java.util.HashMap;
import java.util.Map;
/**
* Memcached configuration
*/
public class TritonMemcachedConfiguration {
private Map<String, TritonMemcachedClusterConfiguration> clusters;
public TritonMemcachedConfiguration() {
clusters = new HashMap<>();
}
/**
* ... | {
"content_hash": "e3fd8c490f98289f3c46b77612dd35e3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 85,
"avg_line_length": 18.78787878787879,
"alnum_prop": 0.7290322580645161,
"repo_name": "ameba-proteus/triton-server",
"id": "8d0cdb33513b3f7b2c083066c736254c5f7d175c",
"s... |
package org.springside.examples.quickstart.service;
import java.util.Map;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.... | {
"content_hash": "6309e7d4dc0ce9f90b4dd1b5d4d7a270",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 133,
"avg_line_length": 37.2625,
"alnum_prop": 0.7037906742703791,
"repo_name": "yuchengyang/springside4",
"id": "05b949a2a18f8baf1550d27d1f2aad23d866e4b4",
"size": "9680"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">07_05_监听APP状态</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>
| {
"content_hash": "83ce6e49a6535ba415b51e9c0f33c8a6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 52,
"avg_line_length": 27.875,
"alnum_prop": 0.672645739910314,
"repo_name": "dragonflyor/AndroidDemo_Base",
"id": "5f13ae7d5a2315836e4ec1d50c3e26c2087b95f7",
"size": "231",... |
package org.picocontainer.behaviors;
import org.picocontainer.ComponentAdapter;
import org.picocontainer.references.ThreadLocalReference;
/**
* <p>
* This behavior supports caches values per thread.
* </p>
*
* @author Paul Hammant
*/
@SuppressWarnings("serial")
public final class ThreadCached<T> extends Store... | {
"content_hash": "5eb62587d4f8c10ac09a4da59b8fb9f9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 65,
"avg_line_length": 22.28,
"alnum_prop": 0.718132854578097,
"repo_name": "tmyroadctfig/picocontainer-android",
"id": "d1ad9e194b953ca14b26ad64bbd0f8e9c0d20252",
"size": ... |
using System.Collections.Generic;
using System.Linq;
namespace Trivadis.AzureBootcamp.WebApi.Models
{
internal class ChatUserContext
{
private readonly HashSet<string> _signalrConnections = new HashSet<string>();
public ChatUser User { get; set; }
public void AddConnection(s... | {
"content_hash": "8e5d0bb09dc2599316d95e32bd77797b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 85,
"avg_line_length": 28.043478260869566,
"alnum_prop": 0.6325581395348837,
"repo_name": "Trivadis/AzureDeveloperBootcamp",
"id": "ce2af3f23a646ec7da12a02aa065bae497e18a4b",... |
using System.Drawing;
using System.Collections;
using System.Collections.Generic;
namespace CSharpMath.Rendering.Text {
using CSharpMath.Structures;
public class TextAtomListBuilder : IReadOnlyList<TextAtom> {
readonly List<TextAtom> _list = new List<TextAtom>();
private void Add(TextAtom atom) => _list.Ad... | {
"content_hash": "e50136e66d448d3fb0289fdf8ed3231a",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 107,
"avg_line_length": 50.34615384615385,
"alnum_prop": 0.6665393430099312,
"repo_name": "verybadcat/CSharpMath",
"id": "25032677d05e016a13524e87d964d4c774d63bc5",
"size":... |
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/** @addtogroup STM32F4xx_StdPeriph_Templates
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define -----------------------------------------------------------... | {
"content_hash": "762c9b1521ab62de68792ecb4e7fa419",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 81,
"avg_line_length": 25.9,
"alnum_prop": 0.5463320463320464,
"repo_name": "jys0305/highspeedlogger",
"id": "80dc4af9fcf9af26be230cb839773e44fc6939d0",
"size": "5259",
... |
#include "tkInt.h"
#include "xbytes.h"
/*
*----------------------------------------------------------------------
*
* TkAlignImageData --
*
* This function takes an image and copies the data into an aligned
* buffer, performing any necessary bit swapping.
*
* Results:
* Returns a newly allocated buffer th... | {
"content_hash": "82e218fdd40d0004d2d258fe270f5dea",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 72,
"avg_line_length": 21.57894736842105,
"alnum_prop": 0.5420731707317074,
"repo_name": "bitkeeper-scm/bitkeeper",
"id": "548716563d0460e6d1a11c24eca1b768a2699235",
"size"... |
package org.apache.camel.component.mail;
import javax.mail.Message;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
import org.jvnet.mock_javamail.Mailbox;
import static org.junit.jupiter.api.Assertions.assertEquals;
public clas... | {
"content_hash": "68dd962c6268524a63c247902c6c7dbf",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 130,
"avg_line_length": 40.93103448275862,
"alnum_prop": 0.6385846672283066,
"repo_name": "adessaigne/camel",
"id": "dd7a8c23d8ba893fa1867cce7be67dff2db5b9de",
"size": "317... |
'use strict'
const pushJenkinsUpdate = require('../lib/push-jenkins-update')
function handleJenkinsStart (event) {
const { repo, owner } = event
pushJenkinsUpdate.pushStarted({
owner,
repo,
logger: event.logger
}, event, (err) => {
if (err) {
event.logger.error(err, 'Error while handling ... | {
"content_hash": "05a1365742c2c440751a1216a2d7e140",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 73,
"avg_line_length": 21.166666666666668,
"alnum_prop": 0.6456692913385826,
"repo_name": "nodejs/github-bot",
"id": "f9feaf0a6b89645ae442c6cc9d2648979998a737",
"size": "76... |
---
order: 8
layout: default
title: "Pratiques de base"
subtitle: "Le petit bassin"
permalink: /8-base/
---
Toute théorie reste infondée sans une pratique intensive. Ou l'inverse...
Les propriétés sont connues, la plupart de leurs valeurs associées aussi. Mais qu'en faire ? Que souhaitez-vous faire ?
Mettre cet ob... | {
"content_hash": "596d4f84a7358eb39fe9566d037c85b5",
"timestamp": "",
"source": "github",
"line_count": 686,
"max_line_length": 729,
"avg_line_length": 38.731778425655975,
"alnum_prop": 0.6899134362062477,
"repo_name": "jgthms/css-art-science",
"id": "c73093da731e17c19ac7afd01f649bb418107b09",
"siz... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "83e797fe8f189a012f159f8cb191afde",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.384615384615385,
"alnum_prop": 0.6788990825688074,
"repo_name": "mdoering/backbone",
"id": "b9fa429da011a526f9bc45a4c83ae4792d5a1df9",
"size": "141... |
package org.apache.nifi.web.api;
import com.sun.jersey.api.core.ResourceContext;
import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.annotations.ApiParam;
import com.wordnik.swagger.annotations.ApiResponse;
import com.wordnik.swagger.annotations.... | {
"content_hash": "dc417af962bdcd0dae6c862ef3fdb383",
"timestamp": "",
"source": "github",
"line_count": 774,
"max_line_length": 192,
"avg_line_length": 42.03488372093023,
"alnum_prop": 0.6158598432457354,
"repo_name": "jjmeyer0/nifi",
"id": "97cb4c954e05a5411e4cac0823480b9bead8df66",
"size": "33336... |
import {
configureStore,
getDefaultMiddleware,
isPlain,
ThunkAction,
ThunkDispatch,
Action,
SerializableStateInvariantMiddlewareOptions
} from '@reduxjs/toolkit'
import type { CryptoStore } from 'hoodie-plugin-store-crypto'
import rootReducer from '../bundles'
import configureReactors from './configureRe... | {
"content_hash": "499e185f1ad8f09663f7ae00fd3bbfce",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 95,
"avg_line_length": 28.76969696969697,
"alnum_prop": 0.6989677691173373,
"repo_name": "Terreii/andromeda-viewer",
"id": "679c3794ffcfb92ab531d5c6c13b3df8702e6298",
"siz... |
<?php
/**
* Created by PhpStorm.
* User: ferdi
* Date: 06.11.15
* Time: 17:06
*/
namespace Jimtonic\RedisLockHandler;
class MyBlamedLockable extends MyLockable implements BlamedLockableInterface
{
/** @var string */
private $username;
/**
* MyBlamedLockable constructor.
* @param string $l... | {
"content_hash": "88822d8ed25a2e5126be4e4f6220cb05",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 76,
"avg_line_length": 17.47222222222222,
"alnum_prop": 0.5993640699523053,
"repo_name": "jimtonic/redis-lock-handler",
"id": "c3dccf292d761ac54311dcd6cace121463d7018f",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
F. B. Forbes & W. B. Hemsley, J. Linn. Soc. , Bot. 26:178. 1890
#### Original name
null
### Remarks
null | {
"content_hash": "b02590ff3158c655b190af8b456da586",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 63,
"avg_line_length": 14.23076923076923,
"alnum_prop": 0.6594594594594595,
"repo_name": "mdoering/backbone",
"id": "6e65aea4011f2fa007aa066f1521b46b16cf5e3c",
"size": "240... |
ES5Harness.registerTest( {
id: "13.1-3-6-s",
path: "TestCases/chapter13/13.1/13.1-3-6-s.js",
description: "SyntaxError if eval used as function identifier in function expression in strict code",
test: function testcase()
{
try
{
eval("'use strict' ;(function eval(){});");
return false
}
catch (e) { ... | {
"content_hash": "b1c99325e6bb681734b0c5c064903cef",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 101,
"avg_line_length": 19.318181818181817,
"alnum_prop": 0.6635294117647059,
"repo_name": "techdragon/Js2Py",
"id": "a6d9087c0f4a09b17c2dc149535024fac6daf7f1",
"size": "19... |
using System.Windows.Controls;
using Accelerider.Windows.Infrastructure.Mvvm;
using Accelerider.Windows.Views.Authentication;
using MaterialDesignThemes.Wpf;
using Unity;
namespace Accelerider.Windows.ViewModels.Authentication
{
public class AuthenticationWindowViewModel : ViewModelBase, IViewLoadedAndUnloadedAw... | {
"content_hash": "bf44d83ff81e3f169becf04c234ed906",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 208,
"avg_line_length": 41.74418604651163,
"alnum_prop": 0.6841225626740947,
"repo_name": "ResourceHunter/BaiduPanDownloadWpf",
"id": "ade36e5b2d7c00f4f82c4ec9fe123f0b60c5b6f... |
<?php
class SearchTest extends PHPUnit_Framework_Testcase
{
public function testCommand()
{
$command = new SearchCommand();
$this->markTestIncomplete();
}
}
| {
"content_hash": "5c0972ec9f372e31a3a5a809ce30987c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 51,
"avg_line_length": 18.6,
"alnum_prop": 0.6397849462365591,
"repo_name": "sinergia/project-console",
"id": "8b0806399dcdc93450e0627572a9234a32c74b22",
"size": "186",
"... |
package org.scalarules.dsl.nl.datum
import org.scalarules.finance.nl.{Bedrag, Percentage}
import org.scalarules.engine.{Context, FactEngine}
import org.scalatest.{FlatSpec, Matchers}
import org.scalarules.dsl.nl.grammar._
import org.scalarules.facts.SingularFact
class DatumImplicitsTest extends FlatSpec with Matchers... | {
"content_hash": "e1ef0b347986a4ef4e2c26ebabaff476",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 160,
"avg_line_length": 36.22222222222222,
"alnum_prop": 0.7484662576687117,
"repo_name": "scala-rules/rule-engine",
"id": "5a66fbf5cfad162a019542c048a7610a84273961",
"size... |
class Matterhorn::Endpoint::Ingest < Matterhorn::Endpoint
# -------------------------------------------------------------------------- endpoint methodes ---
def addAttachment(file, flavor)
unless @media_pkg_xml_remote then raise(Matterhorn::Error, "No media package is available!"); end
@media_pkg_local.a... | {
"content_hash": "8fb8f6556f50db0f6f89cbe95b8cda42",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 113,
"avg_line_length": 30.96842105263158,
"alnum_prop": 0.5863358259687288,
"repo_name": "Manfred/matterhorn_whymper",
"id": "725f622c6df86e91f5906f5f718470a311475b90",
"... |
using System;
using System.Collections.Generic;
using System.EnterpriseServices;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using Codebase;
public partial class AdminPannel : System.Web.UI.Page
{
protected void Page_Load(object sender, Eve... | {
"content_hash": "3fba2704f0d6c85bc9b40760304eb496",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 120,
"avg_line_length": 33.17297297297297,
"alnum_prop": 0.5230568681766335,
"repo_name": "misha-bilous/SecurityWebSite",
"id": "81116dddac1b39ade71772a7b481b294062fbc51",
... |
import {Widget} from 'app/types';
import {getChartDataByDay, getChartDataForWidget} from 'app/views/discover/result/utils';
import {WIDGET_DISPLAY} from '../constants';
import {isTimeSeries} from './isTimeSeries';
/**
* Get data function based on widget properties
*/
export function getChartDataFunc({
queries,
... | {
"content_hash": "64d8c290e542195c63f4c77fc61128c6",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 89,
"avg_line_length": 19.38888888888889,
"alnum_prop": 0.6103151862464183,
"repo_name": "beeftornado/sentry",
"id": "d097ea711190a196ba520ec02190b36ec5332fab",
"size": "69... |
namespace content {
class WebContents;
} // namespace content
// aura::WindowTreeHost implementation used to present web content inside
// web.Frame.
class FrameWindowTreeHost : public aura::WindowTreeHostPlatform {
public:
// |web_contents| must to outlive |FrameWindowTreeHost|.
FrameWindowTreeHost(fuchsia::ui:... | {
"content_hash": "fcda31d268c05167ce279f523267ec87",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 73,
"avg_line_length": 34.28125,
"alnum_prop": 0.7575205104831358,
"repo_name": "endlessm/chromium-browser",
"id": "17fe15f5c5ab5c6999093bda80b51acbfd1b4992",
"size": "1472... |
/**
* Routes for express app
*/
import passport from 'passport';
import unsupportedMessage from '../db/unsupportedMessage';
import { passport as passportConfig } from '../db';
export default (app) => {
// user routes
if (passportConfig && passportConfig.google) {
// google auth
// Redirect the user to G... | {
"content_hash": "3829166990b89d4150a46f3155050012",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 86,
"avg_line_length": 27.683333333333334,
"alnum_prop": 0.621312462372065,
"repo_name": "gajananpp/DS",
"id": "b4be4e9145da73ec9c0c86806b9994b51af0c749",
"size": "1661",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "847b7ebf2f6b5733623095a8cd574e3c",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 157,
"avg_line_length": 40.367231638418076,
"alnum_prop": 0.5456962911126662,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6d7fa26a940bf99be80278f51133da95210c6366",... |
package org.antlr.v4.tool.interp;
import org.antlr.v4.Tool;
import org.antlr.v4.runtime.Parser;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.atn.ATN;
import org.antlr.v4.runtime.atn.ATNState;
import org.antlr.v4.runtime.atn.DecisionState;
import ... | {
"content_hash": "3d48e762f6c629ecbbe7621a8a0c4995",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 90,
"avg_line_length": 26.184466019417474,
"alnum_prop": 0.731924360400445,
"repo_name": "deveshg/antlr4",
"id": "ecf1a78c5a91d30db9e0a830668c30948d0d96a1",
"size": "4247"... |
<!--###############################################################################
# Copyright 2017 The Apollo 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
#... | {
"content_hash": "e8b86fbc91da06f75ddd80dbb388817a",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 83,
"avg_line_length": 40.39473684210526,
"alnum_prop": 0.6469055374592834,
"repo_name": "fy2462/apollo",
"id": "76bdf20984824f997bb2cc04732a3407e8a3f1ca",
"size": "3070",
... |
package io.motown.utils.rest.jax_rs;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
@Provider
public final class GenericExceptionMapper implements ExceptionMapper<Exception> {
@Override
public Response toResponse(... | {
"content_hash": "56df378214c14dec256916cb45ef8524",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 128,
"avg_line_length": 29.5,
"alnum_prop": 0.7669491525423728,
"repo_name": "motown-io/motown",
"id": "d72bde3c48eb7784ea8ce24392ea50c2699c2b94",
"size": "1090",
"binary... |
<?php
namespace Insider\OrderBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity
* @ORM\Table(name="delivery")
* @ORM\HasLifecycleCallbacks()
*/
class Deliv... | {
"content_hash": "e180fb0ce358e13fe6c3e9a9fd9b679b",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 156,
"avg_line_length": 20.57396449704142,
"alnum_prop": 0.5355191256830601,
"repo_name": "varloc2000/order",
"id": "308564e71f633b63b632a94192639d34ea99cc95",
"size": "34... |
import numpy as np
import os
from os.path import join as pjoin
from numpy.testing import assert_raises, assert_array_equal
from tempfile import mktemp
import nibabel as nib
from surfer import Brain
from surfer import io, utils
from surfer.utils import requires_fsaverage
from mayavi import mlab
subj_dir = utils._get_s... | {
"content_hash": "e67f93de77390d510325da77e7858737",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 78,
"avg_line_length": 30.535117056856187,
"alnum_prop": 0.6225629791894852,
"repo_name": "aestrivex/PySurfer",
"id": "b04443d699428b6eec3cb118283a30e2aeb6de2e",
"size": "... |
package org.camunda.spin.json.tree;
import static org.assertj.core.api.Assertions.assertThat;
import static org.camunda.spin.json.JsonTestConstants.EXAMPLE_JSON_FILE_NAME;
import org.camunda.spin.impl.test.Script;
import org.camunda.spin.impl.test.ScriptTest;
import org.camunda.spin.impl.test.ScriptVariable;
import ... | {
"content_hash": "879119514a25165c780fde6b34d686bd",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 77,
"avg_line_length": 28.35185185185185,
"alnum_prop": 0.7504898758981058,
"repo_name": "camunda/camunda-spin",
"id": "024a3fa13ff54ed505155e7f38427a25ea6b4efc",
"size": "... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createFilterOptions = createFilterOptions;
exports.defau... | {
"content_hash": "60a71ef7811881238f3d8b5611945a55",
"timestamp": "",
"source": "github",
"line_count": 1011,
"max_line_length": 308,
"avg_line_length": 28.469831849653808,
"alnum_prop": 0.5965674182677275,
"repo_name": "cdnjs/cdnjs",
"id": "fa86192f9607f2868f2ad20cf1ca78e80e482366",
"size": "28783... |
layout: post
title: Animation
date: 2016-10-30
---
This tutorial will try to explain in a simplified manner how to implement 2D animation in the Web.
I'm going to use the [Canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) API to
keep things simple. However you can use any rendering API. So open up y... | {
"content_hash": "b6922bd7f7f983ab320084ad95ca5ed4",
"timestamp": "",
"source": "github",
"line_count": 506,
"max_line_length": 197,
"avg_line_length": 34.94268774703557,
"alnum_prop": 0.7066907980317856,
"repo_name": "Noctisdark/noctisdark.github.io",
"id": "60251cb298e0dbb4c7fb61e6ce7ff674936072cc"... |
package io.fabric8.openshift.api.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.faster... | {
"content_hash": "44c76829e9d867866ae262598b8be9f3",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 192,
"avg_line_length": 29.075675675675676,
"alnum_prop": 0.7090537274586355,
"repo_name": "fabric8io/kubernetes-client",
"id": "67f0aa2ae44d1b1b0960c998f7081254f37261de",
... |
<TS language="cs" version="2.1">
<context>
<name>AddressBookPage</name>
<message>
<source>Right-click to edit address or label</source>
<translation>Pravým tlačítkem myši začneš upravovat označení adresy</translation>
</message>
<message>
<source>Create a new address</source>
... | {
"content_hash": "45b3e46530454f0b245da4707fc4a334",
"timestamp": "",
"source": "github",
"line_count": 3506,
"max_line_length": 379,
"avg_line_length": 40.45065601825442,
"alnum_prop": 0.6603652517275419,
"repo_name": "wargo32/DOTCoin",
"id": "70de713982549c8f1b1214cb60c6757fc26a5698",
"size": "14... |
<!DOCTYPE html>
<html>
<head>
<!--<link rel = "stylesheet" href = "http://localhost/sense/asset/css/bootstrap.min.css"> -->
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="<?php echo base_url()?>asset/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstr... | {
"content_hash": "379601f53a7055e2d5849a5b3fe79643",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 215,
"avg_line_length": 45.78846153846154,
"alnum_prop": 0.5472490550188996,
"repo_name": "kirandamac/sense",
"id": "40d3760221732389860958d47b67851a61b52ffc",
"size": "238... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112) on Fri Jun 16 09:55:13 MST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.jaxrs.btm... | {
"content_hash": "0ddc24663989237a41c1b93b31ea8ce5",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 267,
"avg_line_length": 44.55172413793103,
"alnum_prop": 0.6348297213622291,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "fd979c2fa11886b8e4ea3e4fdcde28617cef... |
package hu.scelight.gui.setting;
import hu.scelight.service.env.Env;
import hu.scelight.service.extmod.ModEnv;
import hu.scelightapibase.bean.settings.ISettingsBean;
import hu.scelightapibase.bean.settings.type.INodeSetting;
import hu.sllauncher.gui.setting.LSettingsDialog;
import hu.sllauncher.gui.setting.LS... | {
"content_hash": "de4d40582286423415056b590910e6b2",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 104,
"avg_line_length": 30.548387096774192,
"alnum_prop": 0.7180570221752904,
"repo_name": "icza/scelight",
"id": "d3a166ae720e3f159436a688e14e7423fdab2fa3",
"size": "2164"... |
{-|
Description: response utilities
utilities and defaults for sending responses.
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TupleSections #-}
module Web.Respond.DefaultHandlers where
import Control.Applicative ((<$>))
import Network.Wai
import qualified Data.ByteString as BS
import Network.HTTP.Types.Status
... | {
"content_hash": "c72515116076a964f491008e502c291e",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 120,
"avg_line_length": 41.935483870967744,
"alnum_prop": 0.8026923076923077,
"repo_name": "raptros/respond",
"id": "817e1c8655e23de6cb6917e0f0671bdeab529b0f",
"size": "260... |
/* Most of this hacked by Steve Chamberlain <sac@cygnus.com>.
PE/PEI rearrangement (and code added): Donn Terry
Softway Systems, Inc. */
/* Hey look, some documentation [and in a place you expect to find it]!
The main reference for the pei format is "Microsoft Portable Executable
and Common Objec... | {
"content_hash": "599d4f2bb4197ff82226b5a655b48a74",
"timestamp": "",
"source": "github",
"line_count": 3837,
"max_line_length": 120,
"avg_line_length": 29.865519937451133,
"alnum_prop": 0.611018028867131,
"repo_name": "execunix/vinos",
"id": "1da5a9a9869f27e6f87f45d180fe9c2ff9530769",
"size": "115... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XK_enopensquarebullet` constant in crate `x11_dl`.">
<meta... | {
"content_hash": "7b0f6577a47f25196aa0072f0ecf4768",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 252,
"avg_line_length": 38.2970297029703,
"alnum_prop": 0.531540847983454,
"repo_name": "mcanders/bevy",
"id": "69877a5b7b97814056d227de6d17092b3e5385ea",
"size": "3868",
... |
import * as amqp from 'amqplib';
import { Service } from './../globals/system';
import { IActionBusAdapter, IEventBusAdapter } from '../bus/busAdapter';
import { EventData } from "./messageBus";
import { RequestData } from "../pipeline/common";
import { CryptoHelper } from '../utils/crypto';
export /**
* RabbitAdapte... | {
"content_hash": "b36e3825e36b6f577b373af97b88971f",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 130,
"avg_line_length": 33.91943127962085,
"alnum_prop": 0.5690931954729636,
"repo_name": "vulcainjs/vulcain-corejs",
"id": "8167d80fd80f5eae7e54707a352e1c47ff61cb7a",
"si... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; BootLoader. ;;
;; Copyright (C) 2007 Diolan ( http://www.diolan.com ) ;;
;; ;;
... | {
"content_hash": "3507a0e3f70709836a828b68f43b330b",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 78,
"avg_line_length": 42.8125,
"alnum_prop": 0.3821897810218978,
"repo_name": "nyholku/TOAD4",
"id": "e226a3bab4d8a233fde3e84915645ac33d8a599e",
"size": "3425",
"binary"... |
.. _backend-api:
*************************************
:mod:`mopidy.backend` --- Backend API
*************************************
.. module:: mopidy.backend
:synopsis: The API implemented by backends
The backend API is the interface that must be implemented when you create a
backend. If you are working on a fro... | {
"content_hash": "282a828979d92a31be066c26d4232548",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 78,
"avg_line_length": 37,
"alnum_prop": 0.7104989604989606,
"repo_name": "kingosticks/mopidy",
"id": "4f8e7096284a6807673b8a2626f740373e9fc5b5",
"size": "3848",
"binary... |
<ion-modal-view>
<ion-header-bar align-title="center">
<button class="button button-dark button-clear" ng-click="close()" translate>
Close
</button>
<div class="title" translate>
Search Transactions ({{wallet.coin}})
</div>
</ion-header-bar>
<ion-content ng-controller="searchControlle... | {
"content_hash": "62ae0a3b05f6fa91c51c8b3b551b1c3e",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 111,
"avg_line_length": 42.74,
"alnum_prop": 0.6176883481516144,
"repo_name": "Bitcoin-com/Wallet",
"id": "66eb5c6aafc70b949067cf1a9ca915398f4bab65",
"size": "2137",
"bin... |
<com.tle.beans.mime.MimeEntry>
<id>769528</id>
<institution>
<id>769423</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>jif</string>
<string>jfif</string>
<string>jpe</string>
<string>jpg</string>
<string>jpeg</string>
</exte... | {
"content_hash": "96940ea9ecb1bd6c392a3f5142201bec",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 71,
"avg_line_length": 25.193548387096776,
"alnum_prop": 0.6338028169014085,
"repo_name": "equella/Equella",
"id": "590345374ef9c28c1b1b2b80473160053bf458f6",
"size": "781"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "72a1a468b391dfdc46101103529c604b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c74b7e2b707f79dbcc4f771562fad677b5548417",
"size": "183... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "e824cca2a8498bf24a1c5d65541fd9c5",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 159,
"avg_line_length": 41.50581395348837,
"alnum_prop": 0.551617873651772,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "34538867c39345065788c402bc5eb19ec12c5b55",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.ObjectBuilder2;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Unity.ObjectBuilder;
using DiExtension.AutoFactory;
using JohnLambe.Util.Reflection;
using JohnLamb... | {
"content_hash": "8e228ade7655c5690cfc904f2e5bc486",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 103,
"avg_line_length": 29.159420289855074,
"alnum_prop": 0.6366799204771372,
"repo_name": "JohnLambe/JLCSUtils",
"id": "4a08dce3d81fc539ab5378c1c1314c9f7e56d017",
"size": ... |
package org.pentaho.di.trans.steps.orabulkloader;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.pentaho.di.core.CheckResult;
import org.pentaho.di.core.CheckResultInterface;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.injection.AfterInjection;
import org.pentaho.di.c... | {
"content_hash": "a2b6dcc5a78ecc9d52e09b4ec1cf016e",
"timestamp": "",
"source": "github",
"line_count": 1077,
"max_line_length": 134,
"avg_line_length": 35.97493036211699,
"alnum_prop": 0.6527810040005162,
"repo_name": "rmansoor/pentaho-kettle",
"id": "fc45d02f31e80e155fb9a07688924d7a42ac748f",
"si... |
import AWS from 'aws-sdk';
import url from 'url';
import fs from 'fs-extra';
import debug from 'debug';
const log = debug('google-drive-sync:file-system');
export default class FileSystem {
constructor(opts) {
if (opts.s3) {
const s3 = url.parse(opts.s3, true);
const [accessKeyId, ... | {
"content_hash": "3b0d00f26f98fdf01f21a707e056c8a6",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 78,
"avg_line_length": 30.492753623188406,
"alnum_prop": 0.436787072243346,
"repo_name": "jarib/google-drive-sync",
"id": "22e0d2f8f30fc1bb22c246abf32fdf23fd49bdde",
"size"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ky" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Plankton</source>
<translation type="unfinished"/>
</message>
<message>
<location line=... | {
"content_hash": "466cbcb41a3ce99c33c884b186944d7d",
"timestamp": "",
"source": "github",
"line_count": 3285,
"max_line_length": 395,
"avg_line_length": 32.70654490106545,
"alnum_prop": 0.583296879217431,
"repo_name": "plankton-food/Plankton",
"id": "3b6b2246d02bf1a05ee32a2cac4f057bd16813e5",
"size... |
package tuffy.db;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.OutputStreamWriter;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Pre... | {
"content_hash": "d8c52a074669ce304114bcb38fe7c278",
"timestamp": "",
"source": "github",
"line_count": 1005,
"max_line_length": 122,
"avg_line_length": 27.00398009950249,
"alnum_prop": 0.591252441136372,
"repo_name": "gaapt/deepdive",
"id": "83dcc28bcc8a51ec13384d890528ae7b99a794c7",
"size": "2713... |
import { EventEmitter } from 'angular2/src/core/facade/async';
import { OnChanges, OnDestroy } from 'angular2/lifecycle_hooks';
import { SimpleChange } from 'angular2/src/core/change_detection';
import { ControlContainer } from './control_container';
import { NgControl } from './ng_control';
import { ControlValueA... | {
"content_hash": "78c01267bfb60cff65e959b1a045212c",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 101,
"avg_line_length": 34.217948717948715,
"alnum_prop": 0.5957287373548146,
"repo_name": "hilts-vaughan/webrtc-components",
"id": "042690031f120d85d3beb0a56652f2d34e207536"... |
// Copyright 2006 The Closure Library 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 requ... | {
"content_hash": "8a2a93c3e9cc3765ad01888e3bc52b46",
"timestamp": "",
"source": "github",
"line_count": 1545,
"max_line_length": 80,
"avg_line_length": 35.961812297734625,
"alnum_prop": 0.6597613433883479,
"repo_name": "bfgeek/thermo-js",
"id": "cf3897752ae010779204212f8067f554dd0e2c88",
"size": "5... |
<html>
<head>
<script>document.write('<base href="' + document.location + '" />');</script>
<title>FCamara Teste</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<scr... | {
"content_hash": "0866dc2d46e0af014685267635142c70",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 109,
"avg_line_length": 34.1875,
"alnum_prop": 0.659963436928702,
"repo_name": "AlanMarcell/FCamaraTeste",
"id": "8003e77ed8e1d246a80d70e646db8898b4d05103",
"size": "1094",... |
#include <ruby.h>
#include "driver.h"
/** Extension initializer, called when .so is loaded */
void Init_rdo_mysql(void) {
rb_require("rdo");
Init_rdo_mysql_driver();
}
| {
"content_hash": "c15f9e95cd91e30fadb851d543b4e3e7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 55,
"avg_line_length": 17.5,
"alnum_prop": 0.6628571428571428,
"repo_name": "d11wtq/rdo-mysql",
"id": "5046bf89c1c08a5b4612a0969bd90c6568ffc2e1",
"size": "273",
"binary":... |
layout: post
title: "Clase en VisualBasic .NET"
date: 2009-01-05 20:45:00
categories: vb.net, oop
---
Este lenguaje es horrible.<br>
Como se puede concebir un lenguaje de programacion que no cierra las sentencias con punto y coma???
<br>
En fin
<pre>
Public Class Persona
'constructor por defecto
Sub New()
... | {
"content_hash": "8d57cecba1ee8dfa0e325fa8c0722658",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 99,
"avg_line_length": 23.055118110236222,
"alnum_prop": 0.5846994535519126,
"repo_name": "pxai/pxai.github.io",
"id": "d62f06153c1e62831a21274ab3baaa6eb88bf3e1",
"size": ... |
"""Layout JSON App Config"""
# standard library
import json
import logging
import os
from collections import OrderedDict
from pathlib import Path
from typing import TYPE_CHECKING, Optional
# first-party
from tcex.app_config.models import LayoutJsonModel
from tcex.backports import cached_property
from tcex.pleb.singlet... | {
"content_hash": "8b29623e1a6f02d3e8698d8e827376d9",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 98,
"avg_line_length": 31.80141843971631,
"alnum_prop": 0.5626672613737734,
"repo_name": "ThreatConnect-Inc/tcex",
"id": "af7ad841bc3af9eb9df85b4439fb770e39554098",
"size"... |
FactoryBot.define do
factory :page, class: Refinery::Page do
sequence(:title, "a") { |n| "Test title #{n}" }
factory :page_with_page_part do
after(:create) do |page|
page.parts << FactoryBot.build(:page_part)
end
end
end
end
| {
"content_hash": "289217f381d265730a60f0dd6de38e02",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 51,
"avg_line_length": 23.818181818181817,
"alnum_prop": 0.6068702290076335,
"repo_name": "refinery/refinerycms",
"id": "bd533537db2cf5a79779e3d16068fbc39b8711cb",
"size": ... |
using UnityEngine;
using System.Collections;
public class MoveBackgroundObject : MonoBehaviour {
public float speed = 3.0f;
// Update is called once per frame
void Update () {
this.transform.Translate(Vector3.left * Time.deltaTime * speed);
}
}
| {
"content_hash": "8e90a5b31011ed81fb46372535716a86",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 72,
"avg_line_length": 22.083333333333332,
"alnum_prop": 0.7094339622641509,
"repo_name": "Saxit/Afgangsprojekt-2014",
"id": "1fe5f9ba132fcc2647b1682af60239296504ac87",
"si... |
Git checkout allow you to modify your local filesystem by files knew to git.
The main usecase is to switch from one branch to another.
But this also allow you to get a signle file from Git.
```sh
# Checkout a branch, tag or commit
git checkout my-branch
git checkout my-tag
git checkout HEAD
git checkout d926579
# Che... | {
"content_hash": "b9eb051a3d1addff813c8ac43b187e52",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 123,
"avg_line_length": 34.72727272727273,
"alnum_prop": 0.7556719022687609,
"repo_name": "jetmartin/dev_tools",
"id": "fde1610ef59aebc8464302b869fe09b6b0c54071",
"size": "... |
class Hash
def compact
delete_if { |k, v| v.blank? }
end
def cleanup
whitelist = %w(controller action id
input
layout
resource resource_id resource_action
selected
back_to)
delete_if { |k, v| !whitelist.in... | {
"content_hash": "7ede21f743f4d1bf4284587b23e68f44",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 20.176470588235293,
"alnum_prop": 0.4839650145772595,
"repo_name": "heroku/typus",
"id": "9a953ceab9c69501f91e94fa0650227fb7b598d1",
"size": "343",
... |
from django.db import transaction
from django.shortcuts import render, redirect
import haikunator
from .models import Room
from django.shortcuts import render
# Create your views here.
def about(request):
return render(request, "chat/about.html")
def new_room(request):
"""
Randomly create new room, and ... | {
"content_hash": "e0bf6cc79d1663cf3215194d76ffd5ef",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 76,
"avg_line_length": 27.204545454545453,
"alnum_prop": 0.6641604010025063,
"repo_name": "antoniocarlosortiz/django-channels-chat",
"id": "55ca0e15eb2fd00848642728ed0e00afb3... |
package it.prisma.domain.dsl.accounting.workgroups;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fast... | {
"content_hash": "a69f2485292f1072838fd24a4d1dde47",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 86,
"avg_line_length": 25.794285714285714,
"alnum_prop": 0.7574213557820115,
"repo_name": "pon-prisma/PrismaDemo",
"id": "ce485b97eec0b28aba46f369e15ff03fb9cc4350",
"size"... |
using namespace bandit;
using namespace arg3::game;
go_bandit([]() {
describe("a script", []() {
it("can return values", []() {
npc temp;
temp.set_name("bob");
script script("return obj:name();");
script.push("obj", &temp);
script.execute()... | {
"content_hash": "3b42edf3ac6f1e4d0419e34a57d1e839",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 48,
"avg_line_length": 15.857142857142858,
"alnum_prop": 0.4617117117117117,
"repo_name": "ryjen/arg3game",
"id": "2b7f4179f9ba846dc4699ffeac062f4911787702",
"size": "509",... |
package com.amazonaws.services.pinpoint.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.pinpoint.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazonaw... | {
"content_hash": "6ee40f7119b1cdde5b150b8b7d4d0974",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 149,
"avg_line_length": 39.80769230769231,
"alnum_prop": 0.7555555555555555,
"repo_name": "aws/aws-sdk-java",
"id": "f9d77fd134fc4b4013e30f8122441865250205b3",
"size": "265... |
#ifndef READ_ONLY_H
#define READ_ONLY_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* read_only.h
*/
/*
* The helper merely intercepts SET requests and handles them early on
* making everything read-only (no SETs are actually permitted).
* Useful as a helper to handlers that are implementing MIBs with n... | {
"content_hash": "93a8c102af534c79f633b170332c1228",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 70,
"avg_line_length": 18.620689655172413,
"alnum_prop": 0.7,
"repo_name": "Kri-7-q/SnmpScanner",
"id": "41635b0e22357c0a214375d0acf0e380514faa35",
"size": "540",
"binary... |
package org.literacyapp.dao;
import java.util.List;
import java.util.ArrayList;
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.SqlUtils;
import org.greenrobot.g... | {
"content_hash": "102e18708dc2bcb64df3f4daacede025",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 117,
"avg_line_length": 36.40926640926641,
"alnum_prop": 0.6200424178154825,
"repo_name": "schaemik/literacyapp-android",
"id": "55555cc6615e06ca2120a94f149c5268eeb2924d",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of CCONJ in UD_Icela... | {
"content_hash": "19b852d2c02148f1f5ff7df6a90cab07",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 740,
"avg_line_length": 56.99103139013453,
"alnum_prop": 0.6332520261232197,
"repo_name": "UniversalDependencies/universaldependencies.github.io",
"id": "ff120ea3dd4ef555ee9... |
package org.jnosql.artemis.graph.spi;
import org.jnosql.artemis.Database;
import org.jnosql.artemis.graph.BookRepository;
import org.jnosql.artemis.graph.GraphTemplate;
import org.jnosql.artemis.graph.cdi.CDIExtension;
import org.jnosql.artemis.graph.model.Book;
import org.jnosql.artemis.graph.model.Person;
import or... | {
"content_hash": "f3de0089b7512d1c75b3aec7c7d0976d",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 85,
"avg_line_length": 27.24561403508772,
"alnum_prop": 0.7385705086928526,
"repo_name": "JNOSQL/artemis",
"id": "3f448fe63a8b784dc1b2e6593fe3f2f68a640f8e",
"size": "2134",... |
<?php
namespace App\Http\Controllers\Admin;
use Auth;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class MainController extends Controller
{
public function welcome()
{
return view('admin.main.welcome');
}
}
| {
"content_hash": "b184aa07d9f3e9a0ec4bb438f1d0b6fe",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 39,
"avg_line_length": 15.352941176470589,
"alnum_prop": 0.7586206896551724,
"repo_name": "cntnn11/cntnn11.com",
"id": "5c62279fbb2c857bcff80a5c53159e53ab4c5875",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.... | {
"content_hash": "5345f440bf057570d07a4a879f3099e8",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 204,
"avg_line_length": 36.68,
"alnum_prop": 0.727917121046892,
"repo_name": "apache/maven",
"id": "789126a1b09894c930c500d59d26e5c75fc3db67",
"size": "1834",
"binary": f... |
package org.dashbuilder.common.client.widgets.slider.view;
import com.google.gwt.event.dom.client.MouseEvent;
import com.google.gwt.user.client.ui.Widget;
import org.dashbuilder.common.client.widgets.slider.presenter.Presenter;
import java.util.ArrayList;
/**
*
* @author kiouri
*
*/
public class SliderBarHorizo... | {
"content_hash": "0c2adac1364d1f194249e367c0f827e1",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 126,
"avg_line_length": 28.792857142857144,
"alnum_prop": 0.684941701810965,
"repo_name": "cristianonicolai/dashbuilder",
"id": "6cef33a533b3b87bb2b2962559ac99da05959d09",
... |
package com.kwizzad.model.events;
import com.kwizzad.Util;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Date;
public abstract class AEvent {
public final EEventType type;
public Date eventTimestamp;
public AEvent() {
this.type = EventLookup.get(getClass());
}
... | {
"content_hash": "1001c1bfdf4aeaafaf31c85eb1680aeb",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 26.357142857142858,
"alnum_prop": 0.6720867208672087,
"repo_name": "kwizzad/kwizzad-android",
"id": "89a7a09ef4c3f48bdb736ece1fa103b9a519cb79",
"size... |
/**!
* tippy.js v5.1.3
* (c) 2017-2019 atomiks
* MIT License
*/
var tippy = (function (Popper) {
'use strict';
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i... | {
"content_hash": "3f7730afe3ac92049fce86004a08b990",
"timestamp": "",
"source": "github",
"line_count": 2569,
"max_line_length": 667,
"avg_line_length": 31.869209809264305,
"alnum_prop": 0.6197967559116669,
"repo_name": "cdnjs/cdnjs",
"id": "8a73b86696aef38869d340acc80ca361a41d592c",
"size": "81896... |
namespace orbit_vulkan_layer {
// This class provides a wrapper for calls directly into the Vulkan loader.
// It is used, such that we can fake the called Vulkan functions in the tests.
//
// Note: in most cases we use the function pointers returned by "GetDevice/InstanceProcAddr",
// which directly point to the imple... | {
"content_hash": "faec69e5b70e73cb8151265c53a19bba",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 93,
"avg_line_length": 46.6,
"alnum_prop": 0.6845493562231759,
"repo_name": "google/orbit",
"id": "45d4ee632be0069ba37d461fd5aab6f75c1c243d",
"size": "1218",
"binary": fa... |
Sample web service with Chicago Boss web framework
#### Quick Start
Prerequisites: Erlang and rebar
##### Build project
```bash
$ make
```
##### Start Server
```bash
$ ./init-dev.sh
````
Open
- [http://localhost:8001/primes/index/](http://localhost:8001/primes/index/)
- to view list of cached primes
- [http:... | {
"content_hash": "78939e6f6a43645c10176c99ae62c349",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 80,
"avg_line_length": 19.391304347826086,
"alnum_prop": 0.6883408071748879,
"repo_name": "ericdahl/cb-primes",
"id": "9c4611cdc155a4c8397c67d09aa35fd8da309c2b",
"size": "4... |
// Type definitions for @node-red/registry 1.1
// Project: https://github.com/node-red/node-red/tree/master/packages/node_modules/%40node-red/registry, https://nodered.org/
// Definitions by: Alex Kaul <https://github.com/alexk111>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript... | {
"content_hash": "0a9e03ac4389234d5e58221018400102",
"timestamp": "",
"source": "github",
"line_count": 381,
"max_line_length": 131,
"avg_line_length": 35.70866141732284,
"alnum_prop": 0.5861815509004042,
"repo_name": "mcliment/DefinitelyTyped",
"id": "ad149faec29d12d0c481e99aa673c6f9be6554ba",
"si... |
<?php
namespace Biblioteca\BibliotecaBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Biblioteca\BibliotecaBundle\Entity\Resource;
use Biblioteca\BibliotecaBundle\Lib\Globals;
/**
* Documento
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="Biblioteca\BibliotecaBundle\Entity\DocumentoRepository")
* @ORM\HasLi... | {
"content_hash": "81050165b9d377684dcba223c94e4d79",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 90,
"avg_line_length": 20.69811320754717,
"alnum_prop": 0.5651777575205105,
"repo_name": "CondeMonteCristo/biblioteca",
"id": "09787df9cb706fd75a70f8a5ee3515ec41e85262",
"... |
package io.hentitydb.serialization;
/**
* A {@link Codec} implementation which stores longs as variable-length encoded bytes.
*/
public class VarLongCodec extends AbstractCodec<Long> {
@Override
public int expectedSize(Long value) {
return 9;
}
@Override
public void encode(Long value, Wr... | {
"content_hash": "8ce82eafe9bd3d1461eaf5bed59ed2cb",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 86,
"avg_line_length": 23.142857142857142,
"alnum_prop": 0.6728395061728395,
"repo_name": "rayokota/hentitydb",
"id": "4bd81c0c3dbd5d28261f68d9a4551c8822a1545d",
"size": "4... |
"""
Urls for herald app
"""
from django.conf.urls import url
from .views import TestNotificationList, TestNotification
urlpatterns = [
url(r'^$', TestNotificationList.as_view(), name='herald_preview_list'),
url(r'^(?P<index>\d+)/(?P<type>[\w\-]+)/$', TestNotification.as_view(), name='herald_preview'),
]
| {
"content_hash": "893151bd8e94ba5896b8c210b14c683f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 99,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6708860759493671,
"repo_name": "jproffitt/django-herald",
"id": "c10b831f68d6a43075b71182e4cfa3ebf4331da3",
"size... |
"""Views for dashboard
All dashboard blueprint can be disabled if you set ``DASHBOARD = False`` in configuration
"""
import logging
from passlib.apps import custom_app_context
from sqlalchemy.orm.exc import NoResultFound
from flask_principal import identity_changed, Identity
from flask_login import login_required, log... | {
"content_hash": "dd76c904fe84630a2b418f1a7ba7bbc7",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 89,
"avg_line_length": 30.516279069767442,
"alnum_prop": 0.6505105928974242,
"repo_name": "karec/extrapypi",
"id": "c88f6742e05f680b8855b131d2397886a646c594",
"size": "656... |
/*******************************************************************************
*
* Module Name: dmnames - AML disassembler, names, namestrings, pathnames
* xRevision: 7 $
*
******************************************************************************/
/*********************************************... | {
"content_hash": "6c91e82421b7ac20191806e77cf0f72c",
"timestamp": "",
"source": "github",
"line_count": 502,
"max_line_length": 92,
"avg_line_length": 30.948207171314742,
"alnum_prop": 0.56629763130793,
"repo_name": "MarginC/kame",
"id": "e0850ad851d742dfb5cb14aeae45908d1085c6c7",
"size": "15536",
... |
<!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.5.0_22) on Wed Mar 02 16:45:54 EST 2011 -->
<TITLE>
gov.nih.nci.cabig.caaers.scheduler.runtime.job
</TITLE>
<META NAME="keywords" CONTENT="gov.... | {
"content_hash": "c6d2a2dc03ff08c0b8f302c27983ebf0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 179,
"avg_line_length": 40.89473684210526,
"alnum_prop": 0.6956241956241956,
"repo_name": "CBIIT/caaers",
"id": "96bce337f186fd86a7f7d3b8af445246ebbd75fc",
"size": "1554",
... |
require 'uri'
require 'active_support/core_ext/object/blank'
module Swarker
module Readers
class ServiceReader
attr_reader :services
SERVICE_EXT = '.service.yml'.freeze
DEFAULT_PORT = 80
DEFINITIONS_DIR = 'definitions'.freeze
PATHS_DIR = 'api'.freeze
def initial... | {
"content_hash": "e5e68c9a04aa74190d896eb387554e80",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 88,
"avg_line_length": 24.102941176470587,
"alnum_prop": 0.600366076876144,
"repo_name": "sponomarev/swarker",
"id": "dd4ecf8559a06e03a6ea9028b6786add78fbe05e",
"size": "16... |
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>clinic.programmming</groupId>
<artifactId>maven-quick... | {
"content_hash": "03141eaed3ce2d0e5a0ff09d09eb3ccc",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 55,
"avg_line_length": 27.025641025641026,
"alnum_prop": 0.6290322580645161,
"repo_name": "draikone/maven-quick-start",
"id": "e0c5778d8b3d3bc0fad2e11c43eae2e138c6b056",
"s... |
package be
import (
"crypto/tls"
"errors"
"net"
"sync"
"time"
)
// StoppableListener taken from https://github.com/hydrogen18/stoppableListener
type StoppableListener struct {
net.Listener //inner, TLS listener
tcpListener *net.TCPListener // TCPlistener
stop chan int //Chann... | {
"content_hash": "a91284da236c35e9f1727c09fd3e5a21",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 104,
"avg_line_length": 25.27027027027027,
"alnum_prop": 0.6994652406417112,
"repo_name": "Spaciblo/spaciblo-core",
"id": "faf0fd148d518fd3f41ce97457f716e5458d3215",
"size"... |
/**
* Interaction for the pages module
*/
/* global pageID, CKEDITOR, extrasById, extrasData, ss, templates, initDefaults, selectedId */
jsBackend.pages = {
// init, something like a constructor
init: function () {
// load the tree
jsBackend.pages.tree.init()
// are we adding or editing?
if (typ... | {
"content_hash": "6de1ed25aca1eb10ecbc53ed657e254a",
"timestamp": "",
"source": "github",
"line_count": 1580,
"max_line_length": 436,
"avg_line_length": 34.868354430379746,
"alnum_prop": 0.6089268859362521,
"repo_name": "carakas/forkcms",
"id": "5d85dbe7a218e898d9e3dab88b7a0516af2f3462",
"size": "5... |
package com.opengamma.strata.math.impl.integration;
import static org.testng.AssertJUnit.assertEquals;
import java.util.function.Function;
import org.testng.annotations.Test;
/**
* Test.
*/
@Test
public class RungeKuttaIntegrator1DTest {
private static final double ROOT_2PI = Math.sqrt(2.0 * java.lang.Math.PI... | {
"content_hash": "bc512a9ba942bb52cd0f31f3bfc0d288",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 99,
"avg_line_length": 25.871794871794872,
"alnum_prop": 0.6366038982490915,
"repo_name": "ChinaQuants/Strata",
"id": "c938ea91792498c8c0cbc6d4ebee518bb624d67e",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.