text stringlengths 2 1.04M | meta dict |
|---|---|
// This may look like C code, but it's really -*- C++ -*-
#ifndef STD_GRID_LAYOUT_IMPL2_H_
#define STD_GRID_LAYOUT_IMPL2_H_
#include <Wt/WGridLayout>
#include "StdLayoutImpl.h"
namespace Wt {
class WApplication;
class WLayout;
class WStringStream;
class StdGridLayoutImpl2 : public StdLayoutImpl
{
public:
S... | {
"content_hash": "8c6e233d2885c96fef6fb307d38e6d41",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 74,
"avg_line_length": 28.515151515151516,
"alnum_prop": 0.7401700318809776,
"repo_name": "sanathkumarv/RestAPIWt",
"id": "4eabcc529e0c5b2c49971a0afe832c5b17cce94e",
"size"... |
module Aladin
class Book < OpenStruct
def initialize(hash = {})
super(nil)
hash.each do |key, value|
send("#{key.to_s.underscore}=", value)
end
end
end
end | {
"content_hash": "8f731034ae523be60a9ce80a65f6bfdc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 46,
"avg_line_length": 19.3,
"alnum_prop": 0.5751295336787565,
"repo_name": "aproxacs/aladin-books",
"id": "f2fa556ca69d995f70c1e3956581a5f2aa1fd87f",
"size": "193",
"bin... |
<!DOCTYPE html>
<!--
Copyright 2014 Karlsruhe Institute of Technology.
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 ... | {
"content_hash": "6245d2965a3ca9ed007596d12db53ffd",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 77,
"avg_line_length": 34.15384615384615,
"alnum_prop": 0.7195945945945946,
"repo_name": "kit-data-manager/base",
"id": "d1bf6a04f0e84a73aacb2d91ed4a611b0a83ceae",
"size": ... |
import { Component } from 'react';
import logoPaths from '../utils/logoPaths';
class Logo extends Component {
state = {
logoNumber: 0,
};
componentDidMount() {
this.animateIcon();
}
animateIcon = () => {
setInterval(() => {
this.setState(({ logoNumber }) => ({
logoNumber: logoNum... | {
"content_hash": "4030fbc56d4c963b4ef4ca06dac0e9b7",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 18.20689655172414,
"alnum_prop": 0.5795454545454546,
"repo_name": "MathMesquita/conf",
"id": "9b1a7cbd79436980e3f75acc069c00cc58cfda36",
"size": "528... |
<?php
// Composer autoloading
if( file_exists( 'vendor/autoload.php' ) )
{
include 'vendor/autoload.php';
}
function __autoload( $pClassName )
{
require_once( 'src/' . str_replace( "\\", "/", $pClassName . '.php' ) );
}
//$autoLoader = new \Aura\Autoload\Loader;
//$autoLoader->register();
//$autoLoader->addP... | {
"content_hash": "734cdb9997c72f80ca99c146f1a8cbbe",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 76,
"avg_line_length": 22.1875,
"alnum_prop": 0.6281690140845071,
"repo_name": "fraserreed/meme-puush",
"id": "574a8957dc1e804d844deaf178ab4eba64538084",
"size": "355",
"... |
This application makes use of the following third party libraries:
## JSQMessagesViewController
MIT License
Copyright (c) 2013-present Jesse Squires
http://www.jessesquires.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Sof... | {
"content_hash": "1add3f7dbcca5688f919a134c61962fc",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 111,
"avg_line_length": 46.0125,
"alnum_prop": 0.8049443086117902,
"repo_name": "seansguo/SheepChat",
"id": "b58f18c506d7a387db876ef8e1e9c9b3a672576a",
"size": "3700",
"b... |
call git reset --soft %1
SHIFT
call git commit -m "%*" | {
"content_hash": "9e3a034b7bc568278741f8dde03966f0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 24,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6428571428571429,
"repo_name": "RyanCavanaugh/scripts",
"id": "fc59c0feb0b7b51ccafb058bdb752e2259d50601",
"size": ... |
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not... | {
"content_hash": "6b1028842fe51c3fd3f23afcfb1d7769",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 104,
"avg_line_length": 32.10126582278481,
"alnum_prop": 0.6597003154574133,
"repo_name": "itaiin/arrow",
"id": "a399056d14adffb792096fa506299a0bf62c9b8e",
"size": "2538",
... |
package com.sicdlib.service.pythonService.imple;
import com.sicdlib.dao.pyhtonDAO.IBBSChinaPostDAO;
import com.sicdlib.dto.entity.BbsChinaPostEntity;
import com.sicdlib.service.pythonService.IBBSChinaPostService;
import com.sicdlib.util.UUIDUtil.UUIDUtil;
import org.springframework.beans.factory.annotation.Autowired;
... | {
"content_hash": "b850dbf71e9e9a08ee3341e7822025b1",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 70,
"avg_line_length": 30.891304347826086,
"alnum_prop": 0.7551020408163265,
"repo_name": "V119/spidersManager",
"id": "b4e9debc2497754f4a72c2cfbccc794b0aea8133",
"size": "... |
<?php
session_start();
include "db_connect.php";
$db = PDOFactory::getConnection();
$box_token = $_GET["box_token"];
$box_status = $db->query("SELECT room_name, box_token, room_active, room_creator, room_play_type, room_submission_rights, user_pseudo, stat_visitors, stat_followers, user_pp, room_protection, room_desc... | {
"content_hash": "c2ff9327fbe417910d452c4c2c92c848",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 208,
"avg_line_length": 39.04545454545455,
"alnum_prop": 0.6682188591385332,
"repo_name": "AngelZatch/Berrybox",
"id": "45b4cb24153dfd1f5fe258879535d281cec8d22f",
"size": "... |
import random
import math
import subprocess
import codecs
import numbers
import base64, StringIO
### maybe someday convert to cElementTree output rather than string concatenation
# try:
# import xml.etree.cElementTree as ElementTree
# except ImportError:
# import xml.etree.cElementTree as ElementTree
# Specia... | {
"content_hash": "515832c98bda09ba8689ca2b3e9477eb",
"timestamp": "",
"source": "github",
"line_count": 1246,
"max_line_length": 332,
"avg_line_length": 42.170144462279296,
"alnum_prop": 0.5648599269183922,
"repo_name": "opendatagroup/cassius",
"id": "1fb34f5abd6b6d6fafef0450f71d55a5a05a7387",
"siz... |
"""SOAP client."""
import os.path
from pkg_resources import get_distribution, DistributionNotFound
RINSE_DIR = os.path.dirname(__file__)
ENVELOPE_XSD = 'soap-1.1_envelope.xsd'
NS_SOAPENV = 'http://schemas.xmlsoap.org/soap/envelope/'
NS_MAP = {
'soapenv': NS_SOAPENV,
}
try:
_dist = get_distribution('rinse')... | {
"content_hash": "e7367d68cbd029d0f2bb6fac6153f025",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 74,
"avg_line_length": 25.82608695652174,
"alnum_prop": 0.6750841750841751,
"repo_name": "tysonclugg/rinse",
"id": "748c3198018fee66139d0e8cdab4aaabb4928940",
"size": "594"... |
<!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": "3f04cdb001aaacaa7d1266090f09bf81",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 577,
"avg_line_length": 77.3170731707317,
"alnum_prop": 0.7160883280757098,
"repo_name": "tgrogers/gpgpu-sim_simulations",
"id": "9f39064c2aba127b000d9d502d1295727df92a17",
... |
#pragma once
#include <qglobal.h>
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#include <QtWidgets/QGraphicsView>
#else
#include <QtGui/QGraphicsView>
#endif
class QGraphicsScene;
class GraphicsView : public QGraphicsView
{
Q_OBJECT
public:
GraphicsView(QWidget *parent = 0);
virtual void wheelEvent(QW... | {
"content_hash": "51eb9f5330b8cce481e9586b791ac025",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 48,
"avg_line_length": 16.689655172413794,
"alnum_prop": 0.7148760330578512,
"repo_name": "salshaaban/BidiRenderer",
"id": "f44685a1a6627f4ef806f52f00211482fcde9b1f",
"size... |
namespace bond
{
template <typename... T>
struct Protocols;
template <typename BufferT>
class CompactBinaryReader;
template <typename BufferT, typename MarshaledBondedProtocolsT = Protocols<CompactBinaryReader<BufferT> > >
class SimpleBinaryReader;
BOND_CONSTEXPR_OR_CONST uint16_t v1 = 0x... | {
"content_hash": "be65de06b9c3207e9ce37acdcde18855",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 111,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.7060041407867494,
"repo_name": "gencer/bond",
"id": "5375cba94165e56f154158a22028e1540e08e2f0",
"size": "793",
... |
package org.arakhne.afc.math.geometry.d1.d;
import java.lang.ref.WeakReference;
import java.util.Objects;
import org.eclipse.xtext.xbase.lib.Pure;
import org.arakhne.afc.math.geometry.d1.GeomFactory1D;
import org.arakhne.afc.math.geometry.d1.Point1D;
import org.arakhne.afc.math.geometry.d1.Segment1D;
import org.ar... | {
"content_hash": "b5c78bec0dc4bbed84410d73309eca11",
"timestamp": "",
"source": "github",
"line_count": 412,
"max_line_length": 97,
"avg_line_length": 22.104368932038835,
"alnum_prop": 0.6529043592840672,
"repo_name": "gallandarakhneorg/afc",
"id": "6e1710629d795142cb5d2735eed473048964aeca",
"size"... |
package net.stickycode.deploy.bootstrap;
import static org.fest.assertions.Assertions.assertThat;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Enumera... | {
"content_hash": "6d1efddab3d27d81638383401f0fca6b",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 143,
"avg_line_length": 44.94392523364486,
"alnum_prop": 0.7361197754210854,
"repo_name": "tectronics/stickycode",
"id": "720558e87256fe27f805ed8ce80d41702da2c47f",
"size"... |
<component name="libraryTable">
<library name="SBT: org.scala-tools.testing:test-interface:0.5">
<CLASSES>
<root url="jar://$USER_HOME$/.ivy2/cache/org.scala-tools.testing/test-interface/jars/test-interface-0.5.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component> | {
"content_hash": "0e95221e211fc218074f406010680b98",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 119,
"avg_line_length": 33.888888888888886,
"alnum_prop": 0.6557377049180327,
"repo_name": "jarekratajski/paintscreen",
"id": "3a84d872dfdd54d76f2dd1c5c7aada5e9867d758",
"si... |
#ifndef LIBOPENCM3_USB_DESC
#define LIBOPENCM3_USB_DESC
/* Descriptor types */
#define USB_DT_DEVICE 0x01
#define USB_DT_CONF 0x02
#define USB_DT_STRING 0x03
#define USB_DT_INTERFACE 0x04
#define USB_DT_ENDPOINT 0x05
struct usb_desc_head {
u8 length; /* Descriptor size 0x012 */
u8 type; /* Descriptor type I... | {
"content_hash": "31f1aad937858da0b37930b11a07e0b3",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 60,
"avg_line_length": 28.928571428571427,
"alnum_prop": 0.6390946502057613,
"repo_name": "GliderWinchCommons/mc",
"id": "da99bb025ec8e8e3ee53492902b59b87486840c4",
"size":... |
layout: tutorial
section-type: tutorial
title: tutorial
---
##Tutorial
| {
"content_hash": "7643d2cef1cb1d125e79791afd732eb5",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 22,
"avg_line_length": 14.2,
"alnum_prop": 0.7605633802816901,
"repo_name": "Parsion/parsion",
"id": "30b6a0835742565f1a70d56f18e64455d68697fa",
"size": "75",
"binary": fa... |
package toml
import (
"bytes"
"encoding/json"
"fmt"
"reflect"
"testing"
"time"
"github.com/davecgh/go-spew/spew"
)
func testgenInvalid(t *testing.T, input string) {
t.Logf("Input TOML:\n%s", input)
tree, err := Load(input)
if err != nil {
return
}
typedTree := testgenTranslate(*tree)
buf := new(byte... | {
"content_hash": "8b32268dd07c5b4c541edd0cad26e3f0",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 94,
"avg_line_length": 25.5,
"alnum_prop": 0.6660019940179461,
"repo_name": "anpingli/origin",
"id": "eef9b9faa892e306fdd5b77f32a3b17b5df29f8d",
"size": "3060",
"binary"... |
nlglib\.realisation package
===========================
Subpackages
-----------
.. toctree::
nlglib.realisation.simplenlg
Submodules
----------
nlglib\.realisation\.basic module
---------------------------------
.. automodule:: nlglib.realisation.basic
:members:
:undoc-members:
:show-inheritance:
... | {
"content_hash": "b026385dc20cc575aeb9992fe082252f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 40,
"avg_line_length": 15.413793103448276,
"alnum_prop": 0.5525727069351231,
"repo_name": "roman-kutlak/nlglib",
"id": "abb69cee4f8ac60d757af77534f51407bac40258",
"size": "... |
<?xml version="1.0" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License")... | {
"content_hash": "99f0d81d16c808c9175c39d5678dc0b7",
"timestamp": "",
"source": "github",
"line_count": 883,
"max_line_length": 455,
"avg_line_length": 42.9445073612684,
"alnum_prop": 0.660996835443038,
"repo_name": "tzulitai/flink",
"id": "569e5fccc397f9f5ac483b5091f6242398380d30",
"size": "37920"... |
package me.panavtec.cleancontacts.repository.contacts.datasources.exceptions;
public class InvalidCacheException extends Exception {
}
| {
"content_hash": "d72ff2ccd989ee2a382b724e7676e330",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 77,
"avg_line_length": 34,
"alnum_prop": 0.8602941176470589,
"repo_name": "0359xiaodong/Clean-Contacts",
"id": "34c5f43dfadf522734ccb8537a7b4df5d21c7d4b",
"size": "136",
"... |
package views.html
package account
import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._
import controllers.routes
object username {
def apply(u: lila.user.User, form: play.api.data.Form[_])(implicit ctx: Context) =
account.layout(
title = s"${u.username... | {
"content_hash": "bec9010059f20a84cff65a2a577c0a87",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 105,
"avg_line_length": 30.03448275862069,
"alnum_prop": 0.6291618828932262,
"repo_name": "luanlv/lila",
"id": "37811b0e372ccd1b52997291c26aadbeaf4ee71e",
"size": "871",
... |
#pragma once
#include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AlexaForBusiness
{
namespace Model
{
enum class DeviceEventType
{
NOT_SET,
CONNECTION_STATUS,
DEVICE_STATUS
};
namespace DeviceEventTypeMapper
{
AWS_A... | {
"content_hash": "5357a2b3b07a2c880ac1fd6eb56ac8cc",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 92,
"avg_line_length": 21.607142857142858,
"alnum_prop": 0.7834710743801653,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "b6d14772e64bbba5131675d1ef7b630cc6437a66",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActionDispatch::RailsEntityStore::Rack::Cache::EntityStore</title>
... | {
"content_hash": "9b7cf325b81cc75e94f673002db2c8f6",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 242,
"avg_line_length": 25.77777777777778,
"alnum_prop": 0.5142241379310345,
"repo_name": "alombardo4/Agendue",
"id": "ca2cfbf6c72dfe97447c4d86bdd8e606e585e5bb",
"size": "2... |
<?php
namespace Dzangocart\Bundle\SubscriptionBundle\Form\Type;
use Propel\PropelBundle\Form\BaseAbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class FeaturePlansFormType extends... | {
"content_hash": "747862f67806de8da0c579dd30a57cb6",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 82,
"avg_line_length": 27.14814814814815,
"alnum_prop": 0.5989085948158254,
"repo_name": "opichon/DzangocartSubscriptionBundle",
"id": "ed8057883ab195527303dbe1af1808e5b6c3ff... |
var buster = typeof window !== 'undefined' ? window.buster : require('buster');
var assert = buster.assert;
var fail = buster.referee.fail;
var when = require('../when');
var callbacks = require('../callbacks');
var sentinel = { value: 'sentinel' };
function assertIsPromise(arg) {
assert(when.isPromiseLike(arg));
}... | {
"content_hash": "6efcd8c6f41a1e02176d4fd79289baeb",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 79,
"avg_line_length": 23.861892583120206,
"alnum_prop": 0.615112540192926,
"repo_name": "DJDNS/when.js",
"id": "521b8ff93a6171bfbddcfe156942763a4d77b37b",
"size": "9330",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace NeuroSpeech.XamlToPDF.Objects
{
public class PDFPage : PDFChildObject
{
#region protected internal override void Initialize()
protected internal override void Initialize()
{
MediaBox = new PDF... | {
"content_hash": "e632ad6396840f9f82a4bf2eb8dc0cd1",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 75,
"avg_line_length": 21.39830508474576,
"alnum_prop": 0.6102970297029703,
"repo_name": "neurospeech/xaml-to-pdf",
"id": "ecb74a346fee5ff0234ebd0f93e8146f7a818baa",
"size... |
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withReadme } from 'storybook-readme';
// Stories
import Main from "../main.jsx";
import Styling from "./styling.jsx";
import ServerSideData from "./server-side-data.jsx";
// Readme
import MainReadme from "./main.md";
import JSONReadme f... | {
"content_hash": "b0d775c4805bfb6234273e35a7ceeb1e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 85,
"avg_line_length": 30.807692307692307,
"alnum_prop": 0.6928838951310862,
"repo_name": "Edgesyntax/tableComponent",
"id": "43d9d923da409d26f963ea6adc667bf41c05fe65",
"si... |
import sys
import os
import glob
import tempfile
import shutil
import errno
from gerapy import get_logger
from gerapy.cmd.init import PROJECTS_FOLDER
from gerapy.server.core.config import config
from os.path import join
from subprocess import check_call
logger = get_logger(__name__)
def build_project(project):
... | {
"content_hash": "629e90c231e22befcae3173d4cbc9510",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 101,
"avg_line_length": 26.96330275229358,
"alnum_prop": 0.5923783599863899,
"repo_name": "Gerapy/Gerapy",
"id": "986a83a34c5e9480d9b518db304e0e45f773b484",
"size": "2939"... |
rm -rf ../../deploy/normal/
node r.js -o build.js
| {
"content_hash": "cc15902be8a83e8905d86f77505f7ac0",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 27,
"avg_line_length": 25,
"alnum_prop": 0.62,
"repo_name": "openjavascript/NewJC",
"id": "d6f84c0d653653bdbdb81cc3199433d565e4ccff",
"size": "50",
"binary": false,
"cop... |
///////////////////////////////////////////////////////////////////////////////
// Name: msw/checklst.cpp
// Purpose: implementation of wxCheckListBox class
// Author: Vadim Zeitlin
// Modified by:
// Created: 16.11.97
// RCS-ID: $Id: checklst.cpp,v 1.65 2005/06/10 08:39:19 JS Exp $
// Copyrigh... | {
"content_hash": "214db0c523c2a1d09e6453617ab3f4ac",
"timestamp": "",
"source": "github",
"line_count": 541,
"max_line_length": 195,
"avg_line_length": 28.155268022181147,
"alnum_prop": 0.5594143907563025,
"repo_name": "SickheadGames/Torsion",
"id": "43891cd4e39039c950b62276370e09408ea5ea27",
"size... |
<?php
namespace Mage\Newsletter\Test\Constraint;
use Mage\Customer\Test\Fixture\Customer;
use Mage\Newsletter\Test\Page\Adminhtml\SubscriberIndex;
use Magento\Mtf\Constraint\AbstractConstraint;
/**
* Check that customer is subscribed to newsletter.
*/
class AssertCustomerIsSubscribedToNewsletter extends AbstractC... | {
"content_hash": "a852e40c423df232d000c8a865ce6bdf",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 105,
"avg_line_length": 26.296296296296298,
"alnum_prop": 0.6267605633802817,
"repo_name": "portchris/NaturalRemedyCompany",
"id": "a092db6ea592419028ef0e295b6a9b7de9ac2d4e",... |
require 'polytrix'
Polytrix.configure do |polytrix|
polytrix.implementor name: 'pacto', basedir: "#{Dir.pwd}/samples"
end
| {
"content_hash": "9fb5d33ad92cd8066034210acf2637db",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 67,
"avg_line_length": 25,
"alnum_prop": 0.744,
"repo_name": "farismosman/pacto",
"id": "fc3aaa263e8c828e28d1de59f00ca890d414f2c4",
"size": "125",
"binary": false,
"copi... |
.. _quickinstall:
===================
Quick Install Guide
===================
This quick install guide outlines the basic steps needed to install OpenMC on
your computer. For more detailed instructions on configuring and installing
OpenMC, see :ref:`usersguide_install` in the User's Manual.
-------------------------... | {
"content_hash": "8742475e9170bb0913a7d31733da4e26",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 81,
"avg_line_length": 34.766666666666666,
"alnum_prop": 0.6831255992329818,
"repo_name": "nhorelik/openmc",
"id": "9dd6be6d1ddcda614d06e638f9bbc0e0a010ffb0",
"size": "2086... |
class RemoveSlugColumnFromShortenedUrl < ActiveRecord::Migration
def change
remove_column :shortened_urls, :slug
end
end
| {
"content_hash": "10e17caa9ffa2b4f7e25ab197a79428e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 64,
"avg_line_length": 25.8,
"alnum_prop": 0.7906976744186046,
"repo_name": "jmptrader/promdash",
"id": "3b3400e39a4357ac04ca6143ca575598fc5f8879",
"size": "129",
"binary"... |
'use strict';
angular.module('bhendi')
.controller('computerCtrl', function ($scope) {
})
.config(function ($stateProvider) {
$stateProvider
.state('home.BB_dept_Computer', {
url: '/computer',
views: {
... | {
"content_hash": "adb183a4bf31ddf56e9fa75a8ff107ff",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 100,
"avg_line_length": 34.80952380952381,
"alnum_prop": 0.33515731874145005,
"repo_name": "DrBATU/bhendi",
"id": "c54f7cd6b27230a633de562b9802f45c66c4c1cd",
"size": "731",... |
require 'spec_helper'
describe "Customer Details", type: :feature, js: true do
stub_authorization!
let(:country) { create(:country, name: "Kangaland") }
let(:state) { create(:state, name: "Alabama", country: country) }
let!(:shipping_method) { create(:shipping_method) }
let!(:order) { create(:order, ship_ad... | {
"content_hash": "2e7ab374579078b46540a6b9d73283d5",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 145,
"avg_line_length": 40.547486033519554,
"alnum_prop": 0.6467346376412235,
"repo_name": "Arpsara/solidus",
"id": "7af11cbcd3bd59de0ebce2932fd529be2b2ef1b1",
"size": "72... |
title: "Recuerdos de Nica"
layout: post
published: true
soundcloud-url: 279635195
author: "Breaking Español"
images:
- image_path: /images/ep10/1.jpg
- image_path: /images/ep10/2.jpg
- image_path: /images/ep10/3.jpg
- image_path: /images/ep10/4.jpg
- image_path: /images/ep10/5.jpg
- image_path: /images/ep10... | {
"content_hash": "f8c5453b9c06925121bce4e6cd942001",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 273,
"avg_line_length": 36.65217391304348,
"alnum_prop": 0.7099644128113879,
"repo_name": "breakingespanol/breakingespanol.github.io",
"id": "6b0bc46202166b3f9f1cddad5b7c2bb1... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "5971c83d16c969103ed12ca520a1ec95",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 182,
"avg_line_length": 36.717948717948715,
"alnum_prop": 0.7300977653631285,
"repo_name": "googleapis/google-api-java-client-services",
"id": "37ef8f12f1e859107587baa0dc1271... |
package org.jetbrains.plugins.scala
package editor.smartEnter.fixers
import com.intellij.openapi.editor.Editor
import com.intellij.psi._
import com.intellij.psi.util.PsiTreeUtil
import org.jetbrains.plugins.scala.editor.smartEnter.ScalaSmartEnterProcessor
import org.jetbrains.plugins.scala.lang.psi.api.expr.{ScBlockEx... | {
"content_hash": "72b81dcc56ad81cd4e1bfe1335752a3e",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 112,
"avg_line_length": 41.745098039215684,
"alnum_prop": 0.7374354156881164,
"repo_name": "triplequote/intellij-scala",
"id": "e550823843bfb7fec7bda470d61ca22a714ac4e5",
"... |
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | {
"content_hash": "e37c245d692e5dfa283d106ca8bb5ed0",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 95,
"avg_line_length": 38.354166666666664,
"alnum_prop": 0.7696903856599674,
"repo_name": "google/binnavi",
"id": "e2750ca1cd28b12a286171293a6ad5e3bd9fb774",
"size": "1841"... |
module Azure::DevSpaces::Mgmt::V2018_06_01_preview
module Models
#
# Model object.
#
#
class OrchestratorSpecificConnectionDetails
include MsRestAzure
@@discriminatorMap = Hash.new
@@discriminatorMap["Kubernetes"] = "KubernetesConnectionDetails"
def initialize
@i... | {
"content_hash": "1654251dda0616d5b5d32e947176578a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 76,
"avg_line_length": 25.595238095238095,
"alnum_prop": 0.6213953488372093,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "f6ed05f9fa91c1b29a42b0d4aafe14ff06204a9c",
"siz... |
package wasdev.sample;
/**
* Represents a Visitor document stored in Cloudant.
*/
public class Visitor {
private String _id;
private String _rev;
private String name = null;
public Visitor() {
this.name = "";
}
/**
* Gets the ID.
*
* @return The ID.
*/
public String get_id() {
return _id;
}
... | {
"content_hash": "244925a10cbd6c4fe8c683ba1f2d04ab",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 52,
"avg_line_length": 14.18918918918919,
"alnum_prop": 0.5628571428571428,
"repo_name": "markroberts0830/SimpleJavaApp-MR01",
"id": "e4daee17aeb17ccf3b091bb36b9217b5cd0589fd... |
package io.netty.handler.codec.dns;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.CorruptedFrameException;
import java.net.SocketAddress;
import static io.netty.util.internal.ObjectUtil.checkNotNull;
abstract class DnsResponseDecoder<A extends SocketAddress> {
private final DnsRecordDecoder re... | {
"content_hash": "c2fde1c9267e56628da72aa4ad544b76",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 112,
"avg_line_length": 36.78313253012048,
"alnum_prop": 0.6180805764821488,
"repo_name": "jchambers/netty",
"id": "fd5a1bed91ca7c3e81da9824be296ad8f00d0d62",
"size": "3687... |
package org.apache.accumulo.shell.commands;
import static org.easymock.EasyMock.createMock;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOEx... | {
"content_hash": "385fb67f85ca12586a9646177d7c3501",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 128,
"avg_line_length": 27.89189189189189,
"alnum_prop": 0.7364341085271318,
"repo_name": "adamjshook/accumulo",
"id": "638af3f48aca4606111344c55f98fde9873b1eda",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="@color/grass"
android:endColor="@color/grass_transparent"
android:dither="true"/>
</shape>
| {
"content_hash": "87b7059f2a1fdc2d53ce670ebb81db71",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 66,
"avg_line_length": 33.857142857142854,
"alnum_prop": 0.7088607594936709,
"repo_name": "ognev-zair/Kotlin-AgendaCalendarView",
"id": "8518571a78372056566d3e544642f09f72aa8e... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Mon Aug 17 17:12:12 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.ap... | {
"content_hash": "c90b30f0f1c0c3b3035b1df7894e1e4d",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 367,
"avg_line_length": 42.0375,
"alnum_prop": 0.6236990782039845,
"repo_name": "changwu/mqa",
"id": "80b9a79cc7db4540d4f4aef22b96f829e31b57e1",
"size": "6726",
"binary"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>htmlroot</title>
<link rel="stylesheet" href="/override.css">
</head>
<body>
<div id="battleground"></div>
</body>
</html>
| {
"content_hash": "6559bbeadcdf6fe7a0aa67259c8caeb6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 52,
"avg_line_length": 21.90909090909091,
"alnum_prop": 0.5228215767634855,
"repo_name": "webdev1001/uncss",
"id": "389d0ba454ab11d3569bca196a08f77738b98a8f",
"size": "241"... |
/**
* Projects each element of an observable sequence into zero or more windows which are produced based on timing information.
*
* @example
* 1 - res = xs.windowWithTime(1000, scheduler); // non-overlapping segments of 1 second
* 2 - res = xs.windowWithTime(1000, 500 , scheduler); // ... | {
"content_hash": "da25a4b048030db6b615fb0fa66e7d0c",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 298,
"avg_line_length": 42.39,
"alnum_prop": 0.48242510025949514,
"repo_name": "haghard/splanet",
"id": "5e7c1f65172bf4a8769a117817f18819c6170df5",
"size": "4239",
"bina... |
from pexdoc.ptypes import real_num, positive_real_num, offset_range, function
from peng.ptypes import real_numpy_vector, increasing_real_numpy_vector
# Intra-package imports
from .basic_source import BasicSource
from .csv_source import CsvSource
from .series import Series
from .panel import Panel
from .figure import F... | {
"content_hash": "fb104ac729f602c15cd3b4aaff58f888",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 84,
"avg_line_length": 30.818181818181817,
"alnum_prop": 0.7654867256637168,
"repo_name": "pmacosta/pplot",
"id": "d24483c15100646920d51aad62839a22ef4e9e3e",
"size": "818",... |
<resources>
<!-- BASE COLORS -->
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>
<color name="grey">#808080</color>
<color name="grey_text">#dadada</color>
<color name="grey_text_to">#878787</color>
<color name="blue">#5dfffe</color>
<color name="blue_grey">#92a6... | {
"content_hash": "0219ee9e41b2142a07c292261a8e88c6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 47,
"avg_line_length": 30.772727272727273,
"alnum_prop": 0.621861152141802,
"repo_name": "kimhansen/Fairphone---DEPRECATED",
"id": "be75c4b9f079133e5ec2f1110ec21f355cdff5b0",... |
import {CONFIG_TAG, SERVICE_TAG, TAG} from './vars';
import {Layout} from '../../../src/layout';
import {dev, user} from '../../../src/log';
import {escapeCssSelectorIdent} from '../../../src/dom';
import {getServiceForDoc} from '../../../src/service';
import {parseUrl} from '../../../src/url';
/** @enum {string} */... | {
"content_hash": "d94d1aaf8b27d6b7068136120f4996a6",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 80,
"avg_line_length": 29.779467680608366,
"alnum_prop": 0.6288304392236976,
"repo_name": "yieldmo/amphtml",
"id": "2c50575359d108259a72035f27d7eeb519f344e7",
"size": "845... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "2d8076a6a0d14209b88c2e2bd02499d7",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 358,
"avg_line_length": 46.753191489361704,
"alnum_prop": 0.5303540547920269,
"repo_name": "dcarda/aba.route.validator",
"id": "4b39fc2d0b602caa4bcd6069d63043d2afcbafa2",
... |
package com.amazonaws.services.costexplorer.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Details about the Amazon EC2 instances that Amazon Web Services recommends that you purchase... | {
"content_hash": "9b46a9d96e9391a607e8ea29a7c35e6a",
"timestamp": "",
"source": "github",
"line_count": 527,
"max_line_length": 138,
"avg_line_length": 31.381404174573056,
"alnum_prop": 0.6179102672632725,
"repo_name": "aws/aws-sdk-java",
"id": "e36a9f640b76958b8a6f90260bad8148f6618638",
"size": "1... |
namespace google_apis {
const char kAPIKeysDevelopersHowToURL[] =
"http://www.chromium.org/developers/how-tos/api-keys";
// This is used as a lazy instance to determine keys once and cache them.
class APIKeyCache {
public:
APIKeyCache() {
scoped_ptr<base::Environment> environment(base::Environment::Create(... | {
"content_hash": "e2ed42453d8796826469737c69be5a20",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 79,
"avg_line_length": 34.71052631578947,
"alnum_prop": 0.6086681829668941,
"repo_name": "Workday/OpenFrame",
"id": "f919630f40d2c84b6656a51d48864ac9abc049a1",
"size": "10... |
Mortal Kombat 11 is one of the most impressive looking games to come out in 2019, with amazing facial animations, subsurface scattering, shadows, lighting, and postprocessing effects. Similar to other frame analysis blog posts like those of Adrian Courreges' DOOM Graphics Study, GTA V Graphics Study, etc. [^courreges20... | {
"content_hash": "090beb37b00ecd90e7176f22c13bc040",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 456,
"avg_line_length": 29.50581395348837,
"alnum_prop": 0.7726108374384236,
"repo_name": "alaingalvan/alain.xyz",
"id": "a40ea538577a72163cae2b828523e99ecb76a724",
"size"... |
<strings>
<string name="date_format" value="dd/MMMM/EEEE" />
<string name="emergency_call" value="Acil Çağrı"/>
</strings>
| {
"content_hash": "763618824e2234cb614a8e7fa7c7aa76",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 54,
"avg_line_length": 32.75,
"alnum_prop": 0.6564885496183206,
"repo_name": "raoc999/MA-XML-9.0-TURKISH",
"id": "642da3b03eb36a4e1c7c2598afd9f2c859256698",
"size": "134",
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for Fresco 1.1.0." />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>... | {
"content_hash": "6e8708738eecf0761b4791624bd336ba",
"timestamp": "",
"source": "github",
"line_count": 1039,
"max_line_length": 296,
"avg_line_length": 27.02213666987488,
"alnum_prop": 0.5593033195611911,
"repo_name": "desmond1121/fresco",
"id": "892c3ae2cf84ef242d91bb6bdd56f3c394715367",
"size": ... |
package org.apache.cloudstack.network;
public interface NetworkOrchestrator {
/**
* Prepares for a VM to join a network
* @param vm vm
* @param reservationId reservation id
*/
void prepare(String vm, String reservationId);
/**
* Release all reservation
*/
void release(S... | {
"content_hash": "61b263bb87d1fc1a002d8c91ca79848e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 50,
"avg_line_length": 20.695652173913043,
"alnum_prop": 0.6407563025210085,
"repo_name": "jcshen007/cloudstack",
"id": "8b6b6e431d30608c4c4edaf2fcf3c8f13f3572bb",
"size": ... |
package dao
import java.sql.Timestamp
import javax.inject.{Inject, Singleton}
import com.toscaruntime.constant.ExecutionConstant._
import com.toscaruntime.exception.deployment.execution.ConcurrentWorkflowExecutionException
import models.ExecutionEntity
import play.api.db.slick.{DatabaseConfigProvider, HasDatabaseConf... | {
"content_hash": "19886926cf2eec3c084d5b5f6ccbb5b8",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 236,
"avg_line_length": 35.76923076923077,
"alnum_prop": 0.7383512544802867,
"repo_name": "vuminhkh/tosca-runtime",
"id": "9bc195426e7b9a62b59a1e68f49ad3770f68e9d5",
"size"... |
package br.com.softplan.security.zap.api.authentication;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import br.com.softplan.security.zap.api.model.AuthenticationInfo;
import br.com.softplan.securit... | {
"content_hash": "982aed06b3b5e2ed2e5f0b91fbe4c5a6",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 113,
"avg_line_length": 36.785714285714285,
"alnum_prop": 0.7951456310679612,
"repo_name": "pdsoftplan/zap-maven-plugin",
"id": "60e0cd65948ca36f7cf4c1f84d91c42bccbd29be",
... |
#ifndef Magnum_MeshTools_RemoveDuplicates_h
#define Magnum_MeshTools_RemoveDuplicates_h
/** @file
* @brief Function @ref Magnum::MeshTools::removeDuplicates()
*/
#include <limits>
#include <numeric>
#include <unordered_map>
#include <vector>
#include <Corrade/Utility/MurmurHash2.h>
#include "Magnum/Magnum.h"
#inc... | {
"content_hash": "de6d0624e99c0f72a431ef87618f9c68",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 177,
"avg_line_length": 36.330935251798564,
"alnum_prop": 0.6796039603960397,
"repo_name": "ashimidashajia/magnum",
"id": "51e9e5cc578dd1a0df0f73d93c43292a4d0b1548",
"size... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.spring.batch;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseIns... | {
"content_hash": "c9b406daf480a7776f6b4878e6c3b133",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 158,
"avg_line_length": 44.15384615384615,
"alnum_prop": 0.7222996515679443,
"repo_name": "alvinkwekel/camel",
"id": "7265958b9f1835abbd6c4254e5258d6c64ca0e07",
"size": "28... |
"""
Django settings for {{ project_name }} project.
Generated by 'django-admin startproject' using Django {{ django_version }}.
For more information on this file, see
https://docs.djangoproject.com/en/{{ docs_version }}/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.c... | {
"content_hash": "1c9674ed85100253eacd9125c7c63542",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 86,
"avg_line_length": 26.043478260869566,
"alnum_prop": 0.6822481914301614,
"repo_name": "hamsterbacke23/wagtail",
"id": "c9756393734591525d24d7c9cd641d171825484b",
"size... |
#ifndef OS_CPU_WINDOWS_X86_VM_PREFETCH_WINDOWS_X86_INLINE_HPP
#define OS_CPU_WINDOWS_X86_VM_PREFETCH_WINDOWS_X86_INLINE_HPP
#include "runtime/prefetch.hpp"
inline void Prefetch::read (void *loc, intx interval) {}
inline void Prefetch::write(void *loc, intx interval) {}
#endif // OS_CPU_WINDOWS_X86_VM_PREFETCH_WIND... | {
"content_hash": "1eacfd7747c50aafbfc4e6d438edef7b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 63,
"avg_line_length": 30.818181818181817,
"alnum_prop": 0.7581120943952803,
"repo_name": "fengshao0907/Open-Source-Research",
"id": "a09c1947755b2b3443e35073cfb04ec8401b99bd... |
#pragma once
#include <stdint.h>
#include "il2cpp-object-internals.h"
#include "il2cpp-config.h"
struct Il2CppObject;
struct Il2CppDelegate;
struct Il2CppReflectionType;
struct Il2CppReflectionMethod;
struct Il2CppReflectionField;
struct Il2CppArray;
struct Il2CppException;
struct Il2CppReflectionModule;
struct Il2Cp... | {
"content_hash": "83e1b2b4cee2e53903c3fcd1ec50f18e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 96,
"avg_line_length": 27.186046511627907,
"alnum_prop": 0.7715996578272027,
"repo_name": "googlecreativelab/lines-of-play",
"id": "288126d01c2172d73cc963912e131fe53dd066ce",... |
/***************************************************************************/
/* */
/* ftinit.c */
/* */
/* ... | {
"content_hash": "b1fe623ca11c2f66af77b15f5faad573",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 77,
"avg_line_length": 32.840425531914896,
"alnum_prop": 0.444336464744628,
"repo_name": "xsilium-frameworks/xsilium-engine",
"id": "96b87f8f87024369c88e414eaecd4b9706f18dab... |
package edu.gemini.rollover.servlet
import edu.gemini.pot.sp.ISPObservation
import edu.gemini.spModel.obs.{ObservationStatus, ObsClassService}
import edu.gemini.spModel.obsclass.ObsClass.SCIENCE
/**
* A predicate that determines whether a given observation should be
* considered when making the rollover report. Ob... | {
"content_hash": "c910f2efe85924c599f2be984ef1534d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 81,
"avg_line_length": 33.407407407407405,
"alnum_prop": 0.7738359201773836,
"repo_name": "arturog8m/ocs",
"id": "28ac565575dd2049d61b9320b2a591ae7ad5a82e",
"size": "902",
... |
CREATE CLASS ddl_0001;
ALTER ddl_0001 add col1 string default '***';
ALTER CLASS ddl_0001 modify col1 string default '*****';
drop class ddl_0001; | {
"content_hash": "87e195c692fbca6eead7895b4ae53bda",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 18.75,
"alnum_prop": 0.7066666666666667,
"repo_name": "hongwoo-nam/cubrid-testcases",
"id": "6237d3bf41419b435ee0d31708ea3a8e7b66c747",
"size": "282",... |
using System;
using System.IO;
using System.Net;
class DownloadFileFromNet
{
static void Main()
{
Console.Write("Enter URL of file: ");
string url = Console.ReadLine();
Console.Write("Enter saved file name: ");
string myFile = Console.ReadLine();
Console.WriteLine("\n\r... | {
"content_hash": "39b72f9b072a7a4d972b551e9b261840",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 171,
"avg_line_length": 29.64864864864865,
"alnum_prop": 0.5806745670009116,
"repo_name": "iliyaST/TelerikAcademy",
"id": "ac4bf0a4bc6ec75e128b8dd3daef8ce09995fb0f",
"size"... |
var protoclass = require("protoclass"),
janitor = require("janitorjs"),
_ = require("underscore");
function EventsDecorator (view, events) {
this.view = view;
this.events = events;
this.render = _.bind(this.render, this);
this.remove = _.bind(this.remove, this);
view.once("render", ... | {
"content_hash": "23c2e95ee3425ae669ebc113abf4f527",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 88,
"avg_line_length": 20.48148148148148,
"alnum_prop": 0.581374321880651,
"repo_name": "crcn/mojo-views",
"id": "93f953332d837ecb20c06f7ffee070a784acf239",
"size": "2212"... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "c5f7610ba8ef68dc2637fcc445b08861",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 155,
"avg_line_length": 41.557522123893804,
"alnum_prop": 0.735732538330494,
"repo_name": "losipiuk/presto",
"id": "f53a8aa6e1fae3a94a2416a55ceba3604af0a765",
"size": "469... |
FROM balenalib/amd64-fedora:34-build
RUN dnf -y update \
&& dnf clean all \
&& dnf -y install \
gzip \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
tar \
&& dnf clean all
# set JAVA_HOME
ENV JAVA_HOME /usr/lib/jvm/java-openjdk
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD comman... | {
"content_hash": "f3d0db2daaedf6c021f553a5c0e9ddf0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 690,
"avg_line_length": 59.5,
"alnum_prop": 0.7097020626432391,
"repo_name": "resin-io-library/base-images",
"id": "52eb474522189af3334face5cdd65c74838dc56e",
"size": "1330... |
#ifndef _INC_WSDXMLDOM
#define _INC_WSDXMLDOM
#ifndef _INC_WSDAPI
#error Please include wsdapi.h instead of this header. This header cannot be used directly.
#endif
#if (_WIN32_WINNT >= 0x0600)
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _WSDXML_TYPE {
WCHAR *Uri;
BYTE *Table;
} WSDXML_TYPE;
typede... | {
"content_hash": "d4c698ffa9e0d81535fcf066205e9678",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 91,
"avg_line_length": 21.390243902439025,
"alnum_prop": 0.6659064994298746,
"repo_name": "espadrine/opera",
"id": "c2ac83ee60741a83809cd6089ed8a6e3723f3ac3",
"size": "1969... |
/* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
.tooltipster-default {
border-radius: 5px;
border: 2px solid #000;
background: #4c4c4c;
color: #fff;
}
/* Use this next selector to style things like font-size and line-height: */
.tooltipster-default .tool... | {
"content_hash": "67ac7bd1538f812b6717e08b0623d0f7",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 276,
"avg_line_length": 33.96616541353384,
"alnum_prop": 0.7333702268954068,
"repo_name": "adelriosantiago/minimalist-dude",
"id": "8c713e4c5089c4c72f4f6311f0b00ae0589ca978"... |
package example;
//-*- mode:java; encoding:utf-8 -*-
// vim:set fileencoding=utf-8:
//@homepage@
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.Objects;
import javax.swing.*;
import javax.swing.text.*;
public final class MainPanel extends JPanel {
private final JTextPane textpane = new JT... | {
"content_hash": "3ab3ed6a686153b085efb4b8288a2f82",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 102,
"avg_line_length": 36.34453781512605,
"alnum_prop": 0.5445086705202312,
"repo_name": "mhcrnl/java-swing-tips",
"id": "d87848a08e59956816f3afd756916d487eefec7e",
"size... |
import { BaseEntity, Column, Entity, JoinColumn, ManyToOne } from 'typeorm';
import { Player } from '../player/player.entity';
import { Game } from './game.entity';
@Entity('player_game')
export class PlayerGame extends BaseEntity {
@Column({
default: 0,
name: 'break_and_run',
nullable: false,
type:... | {
"content_hash": "9f129d111e4542a34a638d681ea09ca0",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 76,
"avg_line_length": 18.4,
"alnum_prop": 0.5978260869565217,
"repo_name": "Chingu-Dolphins-3/9ball-scoring-app",
"id": "18ee646834e5b9565b0032d195480a00c90814fd",
"size":... |
.available-shelters-container {
display: flex;
flex-direction: column;
}
.available-shelters-header {
background-color: white;
text-align: center;
padding: 20px 110px;
color: #35343D;
font-family: Poppins;
font-size: 16px;
}
.available-shelters-map-container {
height: 100vh;
width: 100%;
}
| {
"content_hash": "acb5875a0bd233115b69363b9d6ed7af",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 35,
"avg_line_length": 17.38888888888889,
"alnum_prop": 0.6964856230031949,
"repo_name": "CrashHere/react-frontend",
"id": "57ce6b6d5d618bf72043afc6bf4e81b461299126",
"size... |
class AddPaypalAndContactInfoToFarms < ActiveRecord::Migration
def self.up
add_column :farms, :paypal_link, :string
add_column :farms, :contact_email, :string
add_column :farms, :contact_name, :string
end
def self.down
remove_column :farms, :contact_name
remove_column :farms, :contact_email
... | {
"content_hash": "336cafb359ddbf17d66fa6635f5860bc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 62,
"avg_line_length": 28.307692307692307,
"alnum_prop": 0.7119565217391305,
"repo_name": "kathrynaaker/eggs",
"id": "1f4a898870f2bb5bccea916e032a7699f66c578a",
"size": "36... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "d2d6e30203b5609a1a1d53bd2e457e6a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "Rogue24/MyProjectDemo",
"id": "e5914ec1252b31c6de41dbf3f8cbc40e91d6b985",
"size": "329",
"bina... |
(function( global, factory ) {
if ( typeof module === "object" && typeof module.exports === "object" ) {
// For CommonJS and CommonJS-like environments where a proper `window`
// is present, execute the factory and get jQuery.
// For environments that do not have a `window` with a `document`
// (such as Nod... | {
"content_hash": "278476e6aca758d11d4028ca878fcbc1",
"timestamp": "",
"source": "github",
"line_count": 9802,
"max_line_length": 161,
"avg_line_length": 26.252907569883696,
"alnum_prop": 0.610412270577583,
"repo_name": "rameshrathod/Mysite",
"id": "f65c893cc7e09ffac50d453651a284a0111dfc43",
"size":... |
<?php
declare(strict_types=1);
namespace Sylius\Component\Product\Resolver;
use Sylius\Component\Product\Model\ProductInterface;
use Sylius\Component\Product\Model\ProductVariantInterface;
final class DefaultProductVariantResolver implements ProductVariantResolverInterface
{
/**
* {@inheritdoc}
*/
... | {
"content_hash": "0705264e9626894805135ae8e0958e93",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 84,
"avg_line_length": 22.08,
"alnum_prop": 0.6992753623188406,
"repo_name": "NeverResponse/Sylius",
"id": "17da20de67617770ab26d7b7b641e34608081dfd",
"size": "763",
"bin... |
var fs = require('fs'), path = require('path');
var stream = require('stream');
var browserify = require('browserify');
var babelify = require('babelify').configure({loose: 'all'});
process.chdir(path.resolve(__dirname, '..'));
// make ./dist if not exist
if (!fs.existsSync('dist')) {
fs.mkdirSync('dist');
}
//... | {
"content_hash": "2723a2a27d2b46007a7ad6ce27ae4793",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 29.75,
"alnum_prop": 0.6386554621848739,
"repo_name": "happibum/calcium",
"id": "c4157dd1e8482b58952165ebe2ac5c6d2d5e0b88",
"size": "595",
"binary"... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class TiEye extends React.Component<IconBaseProps, any> { } | {
"content_hash": "89799cb65aa1a749bd2ecae0bcf00ac7",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 74,
"avg_line_length": 51.666666666666664,
"alnum_prop": 0.7612903225806451,
"repo_name": "progre/DefinitelyTyped",
"id": "7d834667facc3754f4e09f019b9101e5e1d5f0f8",
"size":... |
//
// UIDevice+JS.m
// timeboy
//
// Created by wenghengcong on 15/6/6.
// Copyright (c) 2015年 JungleSong. All rights reserved.
//
#import "UIDevice+JS.h"
#include <sys/socket.h> // Per msqr
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_dl.h>
#include <sys/utsname.h>
static float _pointsPerCentim... | {
"content_hash": "7b9ad70748ed08d2b523a323a14f7858",
"timestamp": "",
"source": "github",
"line_count": 511,
"max_line_length": 146,
"avg_line_length": 35.545988258317024,
"alnum_prop": 0.5767452103060999,
"repo_name": "wenghengcong/JSBProjectBase",
"id": "f1ca20695807d38bacb9974ef4409626d82926ce",
... |
import scala.reflect.runtime.universe._
object Test extends App {
def classManifestIsnotTypeTag[T: ClassManifest] = {
println(implicitly[TypeTag[T]])
}
classManifestIsnotTypeTag[Int]
classManifestIsnotTypeTag[String]
classManifestIsnotTypeTag[Array[Int]]
} | {
"content_hash": "d649a9722f6d3a1faeedc562d95bfb3e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 24.727272727272727,
"alnum_prop": 0.7794117647058824,
"repo_name": "shimib/scala",
"id": "29d03a8ec8a7186a994fbdff8cf88c20ec885d5d",
"size": "272",
... |
<div class="form-group form-download">
<label class="col-md-2 control-label" for="{{attributes.name}}">{{fieldInfo.label}}</label>
<div class="col-md-10">
<select-objectids class="col-md-6" selected="selectedObject" widgetmodel="mod" fieldinfo="fieldInfo"></select-objectids>
<div class="buttonlist col-m... | {
"content_hash": "ad98271da7cea2c122e1b0facba67670",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 126,
"avg_line_length": 51.63636363636363,
"alnum_prop": 0.6065140845070423,
"repo_name": "molecuel/mlcl_forms",
"id": "3525482fded633dc7ef6e37511cf26e66edcf299",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "5468cc5a32bd76151d5996c03675551e",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 159,
"avg_line_length": 41.11931818181818,
"alnum_prop": 0.5546497167334531,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "4a760488fd2738dfc463c26b9002e3c012efab87",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="fragment" content="!">
<link rel="stylesheet" type="text/css" h... | {
"content_hash": "d055602332a21f9fbca73f8e503f16e7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 124,
"avg_line_length": 33.5625,
"alnum_prop": 0.659217877094972,
"repo_name": "brucou/component-combinators",
"id": "9d79fa03c3b54b25accf4aec4e75a071791929e3",
"size": "53... |
'use strict';
const config = require('config');
const debug = require('debug')('routes:brackets');
const fs = require('fs');
const http = require('http');
const https = require('https');
const httpMock = require('node-mocks-http');
const path = require('path');
const urlUtil = require('url');
const brackets = require... | {
"content_hash": "47b8861bf8eac9b0ac68a96834a4066a",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 93,
"avg_line_length": 31.526315789473685,
"alnum_prop": 0.5659432387312187,
"repo_name": "HunseopJeong/WATT",
"id": "2289b3fbdc745635aa903c3e538d115b92554929",
"size": "29... |
import numpy as np
from numpy.testing import assert_array_equal, assert_allclose
import pytest
from sklearn.ensemble._hist_gradient_boosting.binning import (
_BinMapper,
_find_binning_thresholds,
_map_to_bins,
)
from sklearn.ensemble._hist_gradient_boosting.common import X_DTYPE
from sklearn.ensemble._hist... | {
"content_hash": "ef6ac476738017467bbff731d38b47ca",
"timestamp": "",
"source": "github",
"line_count": 461,
"max_line_length": 86,
"avg_line_length": 33.24945770065076,
"alnum_prop": 0.6143658663883089,
"repo_name": "huzq/scikit-learn",
"id": "7cbc6603ee01f37702ea139bc3ca3dbc401d0f10",
"size": "15... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using ServiceStack.Logging;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints.Utils;
namespace ServiceStack.WebHost.Endpoints.Metadata
{
public class XsdGenerator
{
private readonly ILog log = ... | {
"content_hash": "c640e164fc2e3ad9e560469d022f9f6d",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 102,
"avg_line_length": 30.163636363636364,
"alnum_prop": 0.7166968053044003,
"repo_name": "firstsee/ServiceStack",
"id": "468e50e893186c79e35a9a861f8d3d722161b7e6",
"size"... |
using System.Collections.Generic;
using Nancy.Bootstrapper;
using StructureMap;
namespace Nancy.Bootstrappers.StructureMap
{
using System;
using Nancy.ViewEngines;
public abstract class StructureMapNancyBootstrapper : NancyBootstrapperBase<IContainer>, INancyBootstrapperPerRequestRegistration<... | {
"content_hash": "eec5b4ac4c4e8691025d485d30adb5a7",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 166,
"avg_line_length": 37.66197183098591,
"alnum_prop": 0.5845175766641735,
"repo_name": "ToJans/Nancy",
"id": "5b42afce8f4b12acc19a4d2980405102498ca51f",
"size": "5350",... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using CsvHelper;
using NUnit.Framework;
namespace AtataSamples.CsvDataSource
{
public static class CsvSource
{
public static TestCaseData[] Get<T>(string filePath, Type expectedResultType = null... | {
"content_hash": "a2ed4021a6dc3a22463880c1197a5a6c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 138,
"avg_line_length": 33.98076923076923,
"alnum_prop": 0.601018675721562,
"repo_name": "atata-framework/atata-samples",
"id": "3eb5d1f891ccd86148a9cb790ae8b4a016a05207",
... |
/***************************************************************************************
* Modified part of the code (4D texture mechanism) from Eric Bruneton is used in the
* following code.
****************************************************************************************/
/**
* Precomputed Atmospheric ... | {
"content_hash": "82bdb8a4eebabc6c157439ee3851abfb",
"timestamp": "",
"source": "github",
"line_count": 1101,
"max_line_length": 90,
"avg_line_length": 39.97184377838329,
"alnum_prop": 0.6413460883001204,
"repo_name": "OpenSpace/OpenSpace",
"id": "59fc78af5c5a545a49d96018e2b29f200a5774e9",
"size": ... |
package org.dspace.app.xmlui.wing;
/**
* A class representing an error generated by the Wing framework.
*
* This particular variation indicates that the arguments passed to the Wing
* framework were invalid for the context in which they were attempting to be
* used.
*
* @author Scott Phillips
*/
public clas... | {
"content_hash": "52a2ae33bd7b031a895e8b52ec5f8b73",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 77,
"avg_line_length": 22.03030303030303,
"alnum_prop": 0.6905089408528198,
"repo_name": "jamie-dryad/dryad-repo",
"id": "919350eb752ac39dd6f81f5fd0f532013b9f9993",
"size":... |
(function () {
'use strict';
var entitiesListModule = angular.module('app.directives.dependencies-graph', ['app.services' ]);
entitiesListModule.controller('DependenciesGraphCtrl', ['$scope', 'Falcon', 'X2jsService', '$window', 'EncodeService', 'EntityModel',
function($scop... | {
"content_hash": "59021d4134b6d6bc25e46f465ae60164",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 135,
"avg_line_length": 32.2589928057554,
"alnum_prop": 0.43766726137377343,
"repo_name": "OpenPOWER-BigData/HDP-falcon",
"id": "db090cd1e191d3b1b5e798cae0ccec64d0508122",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.