text stringlengths 2 1.04M | meta dict |
|---|---|
<p style="text-align: center">{{photo}}</p>
<img class="img-responsive img-thumbnail img" ng-click="controller.show(photo)" ng-src="albums/{{controller.album.path}}/t_{{photo}}">
<div class="checkbox">
<label>
<input type="checkbox" ng-model="controller.checked[photo]" value="">
<span translate="CHE... | {
"content_hash": "39e181dd25efca94349d794b0575ddce",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 134,
"avg_line_length": 44.25,
"alnum_prop": 0.6497175141242938,
"repo_name": "Grisu118/image-shop",
"id": "1328fcd3726fed488a02e843d5e57b8ec7940fa2",
"size": "354",
"bina... |
<!--
~ 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
~ "L... | {
"content_hash": "0c10901f615e4c852fe0d9064b551122",
"timestamp": "",
"source": "github",
"line_count": 362,
"max_line_length": 145,
"avg_line_length": 56.748618784530386,
"alnum_prop": 0.6213308669619821,
"repo_name": "ayyoob/carbon-apimgt",
"id": "6023150384db291c7218bfccd9f0c63dfaf6985b",
"size"... |
class Group::Update
def initialize(group, params)
@group, @params = group, params
end
def call
if group.update params
group
else
raise GroupsController::NotValidGroup, group.errors.as_json(full_messages: true)
end
end
private
attr_reader :group, :params
end
| {
"content_hash": "589806e397e490569faa0a5e1a53fa34",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 86,
"avg_line_length": 16.833333333333332,
"alnum_prop": 0.6732673267326733,
"repo_name": "lrosskamp/makealist-public",
"id": "ae1d00439fe63f11590220382f66981afda9e7ac",
"s... |
import Ember from 'ember';
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
const animationDuration = Ember.$.fn.accordion.settings.duration + 100;
moduleForComponent('flexberry-toggler', 'Integration | Component | flexberry toggler', {
integration: true
});
// ... | {
"content_hash": "73bf002f797abef3709f36c5653cdfc8",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 156,
"avg_line_length": 37.226470588235294,
"alnum_prop": 0.6951884332780279,
"repo_name": "Flexberry/ember-flexberry",
"id": "c34b750f3340c10e971728b410a142d0ac552d64",
"... |
import sys
import os
import time
speed = sys.argv[1]
t = sys.argv[2] #time
os.system('python driveM1.py -%s'% speed)
os.system('python driveM3.py %s'% speed)
time.sleep(float(t))
os.system('python driveM1.py 0')
os.system('python driveM3.py 0')
| {
"content_hash": "c44ebbe9ad34b7d8a3e71e8b2cc1e512",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 19.076923076923077,
"alnum_prop": 0.7016129032258065,
"repo_name": "cletusw/goal-e",
"id": "8fa8ac7c8dc3eb5bddaafb963b2077885413e46a",
"size": "248",... |
__author__ = 'q00222219@huawei'
import time
from heat.openstack.common import log as logging
import commonutils
import constant
import exception
LOG = logging.getLogger(__name__)
class CascadingConfiger(object):
def __init__(self, cascading_ip, user, password, cascaded_domain,
cascaded_api_ip, v... | {
"content_hash": "a779d5549c329061da8ca25e953612bb",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 78,
"avg_line_length": 41.74311926605505,
"alnum_prop": 0.49164835164835163,
"repo_name": "Hybrid-Cloud/orchard",
"id": "88ee9f64656062720879c717b7f921eb8dc15ef2",
"size":... |
export declare class MdcGlidTile {
private element;
imgSrc: string;
imgClass: string;
supportIcon: string;
supportText: string;
actionIcon: string;
private log;
private elementGridTile;
private elementShowTitle;
private isImg;
private isClass;
private isTitle;
private... | {
"content_hash": "d2dc19b73c4e0b5d49d0eba1f1c4950b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 41,
"avg_line_length": 26.65625,
"alnum_prop": 0.7069167643610785,
"repo_name": "Ullfis/aurelia-mdc-bridge",
"id": "01c787cdb95199e961fe66c8bd8da5704d3b586c",
"size": "853"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SteamKit2;
using SteamKit2.Internal;
using SteamChatBot.Triggers.TriggerOptions;
namespace SteamChatBot.Triggers
{
class UnlockChatTrigger : BaseTrigger
{
public UnlockChatTrigge... | {
"content_hash": "04710f8288bf13ca6a3c9ba07d33a7b2",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 119,
"avg_line_length": 29.7,
"alnum_prop": 0.6313131313131313,
"repo_name": "dragonbanshee/SteamChatBot",
"id": "3a42cc68166d9cfbf295d87a1d57c405817a4142",
"size": "1190",... |
package de.jcup.egradle.eclipse.api;
import java.util.Map;
import org.eclipse.ui.IEditorInput;
/**
* The provider simply proves a map containing data for current variables.
*
* @author Albert Tregnaghi
*
*/
public interface VariableProvider {
/**
* Returns a map containing variable keys as key eleme... | {
"content_hash": "c78d03a32329f80161612af2fe2cf3d2",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 83,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.6734972677595629,
"repo_name": "de-jcup/egradle",
"id": "15b3118b3cef3375ff3afc4f69539f76a886bd65",
"size": "1328... |
<!DOCTYPE html>
<html>
<head>
<!-- meta information -->
<meta charset="utf-8">
<meta name="description" content="There’s a somewhat morbid charm to cute things being violent. No story or purpose behind this one, just thought it wo...">
<meta name="author" content="Jack Haydock">
<meta name="image" conte... | {
"content_hash": "b3561be742c2631d40eee0f08bfbdfa8",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 381,
"avg_line_length": 29.802816901408452,
"alnum_prop": 0.6759609325771897,
"repo_name": "jackhaydock/jackhaydock.co.uk-Jekyll-Files",
"id": "139020419bab7d242b63874be5e71... |
package com.wlangiewicz
import java.io.File
import org.bitcoinj.core._
import org.bitcoinj.kits.WalletAppKit
import org.bitcoinj.params.{MainNetParams, TestNet3Params}
import org.bitcoinj.script.Script
/**
* The following example shows how to use the by bitcoinj provided WalletAppKit.
* The WalletAppKit class wraps... | {
"content_hash": "1d5c9a9280ee9e15e1f4598c03774af1",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 253,
"avg_line_length": 55.916666666666664,
"alnum_prop": 0.7455822865658931,
"repo_name": "wlk/bitcoinj-scala-examples",
"id": "f4b5c52e1542f79b6a2f16b47fb8e4347c6756bd",
... |
This module provides integration with [Phalcon framework](http://www.phalconphp.com/) (3.x).
Please try it and leave your feedback.
## Demo Project
<https://github.com/Codeception/phalcon-demo>
## Status
* Maintainer: **Serghei Iakovlev**
* Stability: **stable**
* Contact: serghei@phalconphp.com
## Config
The fol... | {
"content_hash": "592f687e08abada484edce122d305137",
"timestamp": "",
"source": "github",
"line_count": 1488,
"max_line_length": 256,
"avg_line_length": 21.061827956989248,
"alnum_prop": 0.6669112954690491,
"repo_name": "PieterVanPittens/savvago",
"id": "a647b2f2cfc6bb776ac0aaa1ab7f39cb0b9a9104",
"... |
import { FlowRouter } from 'meteor/kadira:flow-router';
import { BlazeLayout } from 'meteor/kadira:blaze-layout';
import { Meteor } from 'meteor/meteor';
import { Session } from 'meteor/session';
//import templates
import '/imports/ui/layouts/default.js';
import '/imports/ui/components/login.js';
import '/imports/ui/... | {
"content_hash": "8120fc92f5f07622454b878a674b4b5c",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 107,
"avg_line_length": 28.25,
"alnum_prop": 0.6740412979351033,
"repo_name": "jasonnathan/user-accounts",
"id": "94061033e7d0c64e5dcdf69c0526589a929ad344",
"size": "2034",... |
/**
* *************
*
* <p>This code can be embedded in arbitrary third-party projects! For maximum compatibility, use
* only Java 6 constructs.
*
* <p>*************
*/
package com.facebook.buck.jvm.java;
import com.facebook.buck.util.liteinfersupport.Nullable;
import java.io.File;
import java.io.IOException;... | {
"content_hash": "879fc07d8373666f5f6a037c89417104",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 99,
"avg_line_length": 32.62686567164179,
"alnum_prop": 0.680390362915523,
"repo_name": "facebook/buck",
"id": "9ba31af497db2b5a7454ebb677d1dadabf12c3d2",
"size": "7174",
... |
define([
'underscore',
'backbone',
'geometrygraphsingleton',
],
function(_, Backbone, geometryGraph) {
var Manager = function() {
_.extend(this, Backbone.Events);
var selected = [];
this.canSelect = false;
this.selectOnly = function(id) {
if (!this.canSelect ... | {
"content_hash": "4f7e3be7432a31cf5ecc5e15f8a9c01a",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 59,
"avg_line_length": 23.214285714285715,
"alnum_prop": 0.47846153846153844,
"repo_name": "vtange/shapesmith.next",
"id": "09d781e7af24db525c55464eaf8a6e4878179015",
"size... |
#include <aws/connect/model/UpdateInstanceAttributeRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Connect::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
UpdateInstanceAttributeRequest::UpdateInstanceAttributeRequest() :
m_instanceIdHa... | {
"content_hash": "1976a2fb020b5c54040afcef9d30212e",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 68,
"avg_line_length": 19.34285714285714,
"alnum_prop": 0.7548005908419497,
"repo_name": "aws/aws-sdk-cpp",
"id": "edda8f308f1510c8fcb5d8dc78057614569da231",
"size": "796",... |
// ADC.h
// Runs on LM4F120/TM4C123
// Basic ADC driver. Includes support for selecting ADC0-11
// Michael Bartling
// January 2015
#ifndef __ADC_H__
#define __ADC_H__
/**
* @brief Set up ADC on specified channel number
* @details The parameters are default as follows
* Timer0A: enabled
* Mode: 32-bit, down count... | {
"content_hash": "1a5880c82a3f79bef9d0810a5a16bfc5",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 75,
"avg_line_length": 31,
"alnum_prop": 0.7294850028296548,
"repo_name": "mbartling/RTOS_Lab2",
"id": "1d37ab962a614bcfea9fa7cf1dde2d773fcbfa6a",
"size": "1767",
"binary... |
"""Adds config flow for Mill integration."""
import logging
from mill import Mill
import voluptuous as vol
from homeassistant import config_entries
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from .const import DOMAIN # pylint... | {
"content_hash": "d659e7ae8c3362c7f5ad87dfa873374a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 85,
"avg_line_length": 31.01818181818182,
"alnum_prop": 0.64947245017585,
"repo_name": "titilambert/home-assistant",
"id": "08eb0f5c5361367af8208be3873eff560634019c",
"size... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>StackSmashingDetected</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="icon" type="image/png" href="http://static1.knicket.com/play_19yd_x96_icon_data-capture-for-dhis-2.jpg" />
... | {
"content_hash": "abc44c9bccc92aadfa8699b8e636b4e6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 178,
"avg_line_length": 36.294117647058826,
"alnum_prop": 0.6418152350081038,
"repo_name": "Eskalol/StackSmashingDetected",
"id": "bebbe8ed5ece454b14af7393134d29c28217b2dd",
... |
#include "program_registry.h"
#include "private_universe.h"
#include <cstring>
ProgramRegistry::ProgramRegistry() :
program_threads_(std::thread::hardware_concurrency()) {
id_ = 0;
}
qbId ProgramRegistry::CreateProgram(const char* program) {
qbId id = id_++;
qbProgram* p = AllocProgram(id, program);
p... | {
"content_hash": "17e3739bdbe5da71600fb868fba68cfd",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 106,
"avg_line_length": 23.724137931034484,
"alnum_prop": 0.6598837209302325,
"repo_name": "rohdesamuel/cubez",
"id": "41eb5476c16ef639ca0244de9b7386e8ec7de7bb",
"size": "2... |
/**
* Module dependencies.
*/
var t = require('t');
var template = require('./template');
var View = require('view');
function LawProposal(law, idx) {
var colors = ["#7a1533", "#cf423b", "#fc7d4a"];
this.color = colors[idx % 3];
law.color = this.color;
this.law = law;
View.call(this, template, {law: law, ... | {
"content_hash": "d7558983e6e27bb51734bcfe66d3949e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 59,
"avg_line_length": 20.736842105263158,
"alnum_prop": 0.6370558375634517,
"repo_name": "okfn-brasil/euvoto",
"id": "29e697b8cd15ca956de6ea2b311f54664dbd60ca",
"size": "3... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Groove Basin</title>
<link rel="stylesheet" href="app.css">
<link rel="shortcut icon" href="/favicon.png">
</head>
<body>
<div id="nowplaying" class="widget" style="display: none">
<div class="playback-btns">
<button class="button" id="nowp... | {
"content_hash": "2b56aec31275714aebcfca371cf57ed9",
"timestamp": "",
"source": "github",
"line_count": 566,
"max_line_length": 172,
"avg_line_length": 35.8886925795053,
"alnum_prop": 0.561807709348693,
"repo_name": "emersion/groovebasin",
"id": "e4c50e70860385d8c8a14b92ac933b1d5abb6438",
"size": "... |
<html>
<body>
<script src="phantomjs-shims.js" type="text/javascript"></script>
<script src="../target/main-test.js" type="text/javascript"></script>
</body>
</html>
| {
"content_hash": "7adbba09e8a259897e1a64f2da4fc519",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 73,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.6404494382022472,
"repo_name": "onaio/hatti",
"id": "0f279dbb237509bf2e6380ccbc0b56a8c75b911c",
"size": "178",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd... | {
"content_hash": "731917520b29b94e0318728dfa6c5fbb",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 87,
"avg_line_length": 55.733333333333334,
"alnum_prop": 0.7260765550239234,
"repo_name": "akzeitions/HerokuTeste",
"id": "2aed50e72b867960d0027b463f9031363177765d",
"size"... |
from setuptools import setup
setup(name='learningml',
version='0.3',
description='This repository demonstrates how to make a project pip installable, write a Python module in C and use scikit-learn, keras and spearmint.',
url='https://github.com/weissercn/learningml',
author='Constantin Weisser... | {
"content_hash": "d50f0e0f21933631ac1dd149c2f1d088",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 158,
"avg_line_length": 32.705882352941174,
"alnum_prop": 0.6187050359712231,
"repo_name": "weissercn/learningml",
"id": "72bc8fa0b6e920aa6bfabbd030a60a5584c2cc6a",
"size":... |
title: The lab is growing
date: "May 14, 2018"
layout: post
output:
html_document:
---
Mehran Bakhtiari, Research Technician, joined the lab. Welcome Mehran!
| {
"content_hash": "188f5f5b1ec98dc01cc5865f129a344d",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 70,
"avg_line_length": 20.125,
"alnum_prop": 0.7391304347826086,
"repo_name": "kridel-lab/kridel-lab.github.io",
"id": "1d7528f5cd3e4bb4e6b6e6ac33cdf4db9349ffd8",
"size": "1... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Project = mongoose.model('Project'),
User = mongoose.model('User'),
_ = require('lodash');
module.exports = _.extend(
require('./projects/projects.crud.server.controller'),
r... | {
"content_hash": "14a223f15329e7abbe6e3308be25404f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 61,
"avg_line_length": 26.473684210526315,
"alnum_prop": 0.7196819085487077,
"repo_name": "hrraydov/ray-idea",
"id": "c8a5ed2ef8373196d7bd79d9b91f45125c35001b",
"size": "50... |
select fn_db_change_column_type('vds_static','pm_password','VARCHAR','text');
| {
"content_hash": "d2912fe7077d1a5b96ce526d55d9ad95",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 77,
"avg_line_length": 78,
"alnum_prop": 0.717948717948718,
"repo_name": "raksha-rao/gluster-ovirt",
"id": "893888af9da7b979b95f8d3b3fdd4724bb900de8",
"size": "138",
"bina... |
package com.impetus.client.generatedId;
import org.junit.After;
import org.junit.Before;
import com.impetus.client.cassandra.common.CassandraConstants;
public class CassandraGeneratedIdCqlTest extends CassandraGeneratedIdTest
{
@Before
public void setUp() throws Exception
{
properties.put(Cassan... | {
"content_hash": "dca2fe1ac6839749d2979f3bebe4fcaa",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 91,
"avg_line_length": 21.208333333333332,
"alnum_prop": 0.7170923379174853,
"repo_name": "ravisund/Kundera",
"id": "452d3e6b8f55bb6f982d73c2ca0a394b6b835aa6",
"size": "509... |
title: "GitHub Dark, Big Sur Icons, And 5 New Themes"
excerpt: "Here it is... The moment we've all been waiting for - GitHub finally has a Dark Mode! You can enable it in your settings. I know, it's not a Dracula color palette, but it's better than nothing :P"
createdAt: "2020-12-15"
updatedAt: "2021-01-30"
author:
na... | {
"content_hash": "319a973f96b2912d369a4dcdce2d4d83",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 206,
"avg_line_length": 50,
"alnum_prop": 0.7213636363636363,
"repo_name": "dracula/dracula.github.io",
"id": "b4c5357cfb8720f4cdd334aace05ecd5d0a28522",
"size": "2204",
... |
<!--
Inside this directive you should display the ITEMS available in the collection object.
Depending on the TYPE property of the collection, the items will be:
- books
- movies
- videogames
- music albums
This directive should display the right directive for each collection type (c.co... | {
"content_hash": "074aa42008b57710ad73494c3f8240c2",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 414,
"avg_line_length": 41.86538461538461,
"alnum_prop": 0.6945337620578779,
"repo_name": "interfacesweb15-16/s4_mercury",
"id": "4eb0155458e4bd6892c7616fe3cbaafb7b6fe93b",
... |
/*
* Super-Bits.com CODE CNPJ 20.019.971/0001-90
*/
package com.super_bits.config.webPaginas;
import com.super_bits.modulosSB.Persistencia.ConfigGeral.SBPersistencia;
import com.super_bits.modulosSB.SBCore.ConfigGeral.SBCore;
import com.super_bits.modulosSB.webPaginas.ConfigGeral.SBWebPaginas;
import com.super_bit... | {
"content_hash": "0cdbc4d167b5585c9a6f9f9f21431668",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 29.041666666666668,
"alnum_prop": 0.7675753228120517,
"repo_name": "salviof/SuperBits_FrameWork",
"id": "7357ba4877e8bd571dd68b307f26a6ff7693e04b",
"... |
package bdzimmer.secondary.export.controller
import java.io.{File, FileOutputStream}
import java.net.{HttpURLConnection, URL}
import scala.util.Try
import org.apache.commons.io.{FileUtils, FilenameUtils, IOUtils}
import org.apache.commons.compress.archivers.zip.ZipFile
import bdzimmer.secondary.export.model.{Projec... | {
"content_hash": "ed704d4db158773465fed9654fb6c374",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 140,
"avg_line_length": 34.16122448979592,
"alnum_prop": 0.6726805663420754,
"repo_name": "bdzimmer/secondary",
"id": "11896d73ff2a765f44c82ebf0089a27d6a85e5da",
"size": "... |
<?php
namespace Boodcode\ContactBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this-... | {
"content_hash": "d3ae2f2175da96a3c6161aaad11b03b0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 23.823529411764707,
"alnum_prop": 0.6790123456790124,
"repo_name": "boodcode/france",
"id": "869e675715db98db72ab1d0ee0c68f24c3d04d5f",
"size": "405"... |
package org.apache.flink.table.runtime.operators.multipleinput.output;
import org.apache.flink.api.common.typeutils.TypeSerializer;
import org.apache.flink.streaming.api.operators.Output;
import org.apache.flink.streaming.api.operators.TwoInputStreamOperator;
import org.apache.flink.streaming.api.watermark.Watermark... | {
"content_hash": "27959e4fede3b6faeb9eeb3e5ddaff0a",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 97,
"avg_line_length": 35.47222222222222,
"alnum_prop": 0.7028191072826938,
"repo_name": "kl0u/flink",
"id": "947b607e454d742ed698844957c7426504b23734",
"size": "3359",
"... |
package org.apache.carbondata.hive;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.SettableStructObjectInspector;
import org.apache.hadoop.... | {
"content_hash": "aff8e9b0c3d9b86463884f598ec8fbb3",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 100,
"avg_line_length": 36.10752688172043,
"alnum_prop": 0.7234961286480047,
"repo_name": "manishgupta88/carbondata",
"id": "6722dcfa188343b02fc2001257e417f8413f77a8",
"si... |
namespace WOX_Info
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | {
"content_hash": "35421b60ad031f5a296564e87b58dc7f",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 111,
"avg_line_length": 54.41860465116279,
"alnum_prop": 0.6111111111111112,
"repo_name": "SebGrenier/WOX_Info",
"id": "a7a8fd58ae758e0982fe4b1b6e4975684834a9b3",
"size": ... |
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
. "$here\$sut"
Describe "New-Archive" {
# arrange
$content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas ... | {
"content_hash": "472f1acc5265f4507e88949b5093c5db",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 543,
"avg_line_length": 45.65217391304348,
"alnum_prop": 0.7133333333333334,
"repo_name": "craibuc/Ps7z",
"id": "863fbb5ce5ff7d2799f196bc5e7eab0175b8c7a8",
"size": "1052",
... |
'use strict';
module.exports = {
scripts: {
test : 'jest --coverage',
flow : 'flow',
lint : 'npm run lint:js && npm run lint:css',
start : 'webpack-dev-server',
build : 'NODE_ENV=production webpack',
'lint:js' : 'eslint src',
changelog : 'conventional-... | {
"content_hash": "c721762d5a6189a247a192c513fb068e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 78,
"avg_line_length": 31.88235294117647,
"alnum_prop": 0.551660516605166,
"repo_name": "abouthiroppy/dish",
"id": "6d70302bf25915ebff43f9860972eed9228510fd",
"size": "542"... |
#ifndef NXT6000_H
#define NXT6000_H
#include <linux/dvb/frontend.h>
struct nxt6000_config
{
/* the demodulator's i2c address */
u8 demod_address;
/* should clock inversion be used? */
u8 clock_inversion:1;
};
#if IS_ENABLED(CPTCFG_DVB_NXT6000)
extern struct dvb_frontend* nxt6000_attach(const struct nxt6000_co... | {
"content_hash": "4f8233b5b6c8227b468dcc6c90f8bafe",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 86,
"avg_line_length": 21.724137931034484,
"alnum_prop": 0.7142857142857143,
"repo_name": "szehl/ath9k-hmac",
"id": "d573743535702d1ab2767fe25897b36312543328",
"size": "152... |
var _ = require('underscore');
var debug = require('debug')('launchpad:local:platform');
var platforms = {
win32 : './windows',
darwin : './macos',
linux : './unix',
freebsd : './unix',
sunos : './unix'
};
var platform = require(platforms[process.platform]);
var envBrowsers = process.env.LAUNCHPAD_BROWSERS;... | {
"content_hash": "d6c5a6ff2172ca8fe573522a5dbac210",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 89,
"avg_line_length": 32.23529411764706,
"alnum_prop": 0.6824817518248175,
"repo_name": "flgiordano/netcash",
"id": "25ba016579f4ef603c831854e2b28d7bd9509f69",
"size": "54... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Reactive.Streams;
using Reactor.Core;
using System.Threading;
using Reactor.Core.flow;
using Reactor.Core.subscriber;
using Reactor.Core.subscription;
using Reactor.Core.util;
namespace Reactor.C... | {
"content_hash": "033f37e3723ef50806b9dd06095ca228",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 108,
"avg_line_length": 25.982758620689655,
"alnum_prop": 0.46798274717982746,
"repo_name": "reactor/reactor-core-dotnet",
"id": "519d9d72d3f0d7ecf4e809d0a9aa20a2f4388bd6",
... |
package org.jetbrains.plugins.scala.lang.completion.weighter
import com.intellij.codeInsight.completion._
import com.intellij.psi.util.PsiTreeUtil
import org.jetbrains.plugins.scala.lang.completion.ScalaSmartCompletionContributor.ReferenceWithElement
import org.jetbrains.plugins.scala.lang.completion.{ScalaAfterNewCom... | {
"content_hash": "5fda8b1bf8f5ec550fb1cdac82547ae4",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 135,
"avg_line_length": 48.96923076923077,
"alnum_prop": 0.7499214577442664,
"repo_name": "loskutov/intellij-scala",
"id": "3617e156e913fbdc2b7d3c247efb5eb4c2ff997e",
"size... |
package net.sourceforge.stripes.validation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
import java.lang.annotation.Documented;
/**
* <p>Annotation that marks a method in an ActionBean as a validatio... | {
"content_hash": "a0cd9806882d30663a97482b33c8bb9c",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 102,
"avg_line_length": 58.18181818181818,
"alnum_prop": 0.750390625,
"repo_name": "bgoodin/silver-stripes",
"id": "7fec65bfb06e22cf3860330e6c6e4e415933f5d3",
"size": "5716... |
package oap.util;
import oap.util.function.Functions;
import java.util.Collections;
import java.util.EnumSet;
import java.util.LinkedHashMap;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BinaryOperator;
import java.util.function.Function;
import java.util.function.Supplier;
... | {
"content_hash": "e80b6e05fb050599af6f7d02a436bcda",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 130,
"avg_line_length": 34.607594936708864,
"alnum_prop": 0.6115581565471836,
"repo_name": "oaplatform/oap",
"id": "7c5cccd713612d3637942502a78fff655dd190ba",
"size": "3894... |
<a href="{{url}}">{{displayName}}</a> | {
"content_hash": "fc201d241ab708bb2e7235010beea786",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 37,
"avg_line_length": 37,
"alnum_prop": 0.5405405405405406,
"repo_name": "xSkara/core-ui",
"id": "e675ab4da3c041b35e5de4f46f3e5a9a29573fed",
"size": "37",
"binary": false... |
package org.elasticsearch.xpack.security.authc;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.ParameterizedMessage;
import org.apache.logging.log4j.util.Supplier;
import org.elasticsearch.ElasticsearchSecurityException;
import org.elasticse... | {
"content_hash": "d0519438680868716f711641b03db582",
"timestamp": "",
"source": "github",
"line_count": 746,
"max_line_length": 140,
"avg_line_length": 53.25335120643432,
"alnum_prop": 0.6327686460090115,
"repo_name": "coding0011/elasticsearch",
"id": "f5175b526be12edc6e7e9bf5c89603f46cafb7f6",
"si... |
<html lang="en">
<head>
<title>File Options - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Invoking-GDB.html... | {
"content_hash": "f57157c759d53abc777315129381f0c3",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 327,
"avg_line_length": 67.08403361344538,
"alnum_prop": 0.7063760491043467,
"repo_name": "teaguejt/xinu",
"id": "d4114ffc46d260fcb30ac048f6be142f2b14cd9e",
"size": "7983"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e67241f6bd0a1271a0d0b1a8380db598",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "4502907d070948d6d9590999dead6f239052d73b",
"size": "17... |
package exportertools_test
import (
. "github.com/aksentyev/hubble/exportertools"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"testing"
"time"
"fmt"
)
func TestCache(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Cache")
}
var _ = Describe("Cache", func() {
def... | {
"content_hash": "8509e14343843580b5bbe5c1cac7bf84",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 78,
"avg_line_length": 22.851063829787233,
"alnum_prop": 0.5288640595903166,
"repo_name": "aksentyev/hubble",
"id": "c2fdfcd409cffc5cc5977cce3baf482a47f44909",
"size": "107... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:gravity="center_horizontal|bottom"
android:layout_height="80dp">
<ImageView
android:id="@+id/meituan_header_img"
android:adjustView... | {
"content_hash": "d9642532b85cbf55e853d772b5147829",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 37.23076923076923,
"alnum_prop": 0.6880165289256198,
"repo_name": "43081438/RxJavaAndRetrofitSimple",
"id": "66db9a481172dfe6c21540d3ceae9007cbd90dfa",... |
/** @ignore */
const EventHandler = require('./EventHandler');
/**
* Emitted after a role has been updated for a guild/server.
*
* @see http://qeled.github.io/discordie/#/docs/GUILD_ROLE_UPDATE
*
* @extends {EventHandler}
*/
class GuildRoleUpdateEvent extends EventHandler {
/**
* The event-handler that... | {
"content_hash": "72eb05d8756c691491997455d5bd36e9",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 71,
"avg_line_length": 23.083333333333332,
"alnum_prop": 0.6516245487364621,
"repo_name": "Senither/AvaIre",
"id": "f374e87f269ffa1f224c7177b33d55f754a0dc42",
"size": "554"... |
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE OverloadedStrings #-}
module Search.Dictionary
(
TokenMap, WordMap
, emptyWordMap, addToken, buildTokenMap, lookupWord, lookupToken
, buildWordMap
) where
import Prelude hiding (words)
import Control.Arrow (second)
import qualified Data.Text as T
import ... | {
"content_hash": "b3a18aced409d86e75e2c3649030207f",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 30.025641025641026,
"alnum_prop": 0.6750640478223741,
"repo_name": "jdimond/diplomarbeit",
"id": "e195f4a462885b1310d20935b9a8a12c5c84fe78",
"size": ... |
package groovy.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.nio.charset.Charset;
import java.util.Co... | {
"content_hash": "f8f7d3946fd64b08a218450a529bc296",
"timestamp": "",
"source": "github",
"line_count": 402,
"max_line_length": 119,
"avg_line_length": 36.78606965174129,
"alnum_prop": 0.5726940762780633,
"repo_name": "avafanasiev/groovy",
"id": "e1274590b65263c010f00d11f55b137059899921",
"size": "... |
declare module FlashMessages {
function sendAlert(message: string, options?: ConfigurationOptions): void;
function sendError(message: string, options?: ConfigurationOptions): void;
function sendSuccess(message: string, options?: ConfigurationOptions): void;
function sendInfo(message: string, options?: Configura... | {
"content_hash": "e8dd49c32126edf2d478fd3c1753b415",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 78,
"avg_line_length": 32.40909090909091,
"alnum_prop": 0.7699859747545582,
"repo_name": "tomitrescak/meteor-boilerplate-typescript",
"id": "c42717febb2611d886e9887c75756cbd6... |
function getDefaultValue(type){
switch (type) {
case 'integer':
return 0;
break;
case 'array':
return '[]';
break;
case 'boolean':
return 'true';
break;
case 'string':
return '""';
break;
default:
retu... | {
"content_hash": "ace4e79d9bbba975f026a3cb91c186a7",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 130,
"avg_line_length": 29.404761904761905,
"alnum_prop": 0.6025910931174089,
"repo_name": "KevinGlinski/openapi-model-example",
"id": "c25189348e76062f57af72c708d3706e26b1f... |
class Book < ActiveRecord::Base
#
end
| {
"content_hash": "a5a8f03be0712c5d170795adbc5aa997",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 31,
"avg_line_length": 13.333333333333334,
"alnum_prop": 0.7,
"repo_name": "inspire9/digestifier",
"id": "b6bba9eebfd3f7c80cc05163fbb0b845adc0567a",
"size": "40",
"binary"... |
<!doctype html>
<html lang="en">
<head>
<title>three.js canvas - panorama fisheye demo</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<style>
body {
background-color: rgb(200,200,200);
margin: 0px;
overfl... | {
"content_hash": "4bd56cd34001c7dfefcde54f477e2666",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 226,
"avg_line_length": 23.5327868852459,
"alnum_prop": 0.634622082897945,
"repo_name": "bae43/three.js",
"id": "98e31021d90f9b47209365db5917d1e7842c1619",
"size": "5742",... |
SAKSBEHANDLINGS_BIN=/srv/ws/tfk-saksbehandling/cli.js
SAKSBEHANDLINGS_OPTS=/srv/ws/tfk-saksbehandling/options.json
SAKSBEHANDLING_PATH=/srv/ws/tfk-saksbehandling/
FLOW_BIN=/srv/ws/tfk-flow/index.js
FLOW_PATH=/srv/ws/tfk-flow/
SI_BIN=/srv/ws/360import/skoleskyss.php
SI_PATH=/srv/ws/360import/
IMPORT_PATH=/srv/saksbehan... | {
"content_hash": "39dc2e086852283eecc40676f2813175",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 63,
"avg_line_length": 20.529411764705884,
"alnum_prop": 0.6716332378223495,
"repo_name": "telemark/tfk-run-skoleskyss",
"id": "e0c75d9d773b846d52aae403522a34d66e0f66a7",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 17 10:23:35 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
... | {
"content_hash": "38fd237e3e5d7a4932818f07e3b96122",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 425,
"avg_line_length": 60.40119760479042,
"alnum_prop": 0.5276097947853673,
"repo_name": "ladygagapowerbot/bachelor-thesis-implementation",
"id": "eb8f966a0d688106b68d2f51f... |
import pytest
from .config import *
@pytest.fixture
def app():
main.app.config["TESTING"] = True
main.app.config["SQLALCHEMY_DATABASE_URI"] = TEST_DATABASE_URI
main.db.create_all()
return main.app
@pytest.fixture
def test_client(app):
return app.test_client()
def test_hello(test_client):
a... | {
"content_hash": "39385a8c95297978a95a97268793130d",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 92,
"avg_line_length": 29.385826771653544,
"alnum_prop": 0.6543408360128617,
"repo_name": "JungWinter/yellowid-flask",
"id": "1a8683fdb1d1d0da7e6efa1309788057c6bec6c6",
"s... |
namespace Bearded.Photones {
class GameStatistics {
public int NrGameObjects;
}
}
| {
"content_hash": "645703359e8a6a30533d062d19a41a3b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 33,
"avg_line_length": 16.666666666666668,
"alnum_prop": 0.65,
"repo_name": "Mattias1/photones",
"id": "3f8e8fbe7c8e7ca27d5fa6a208533290bd5886d2",
"size": "102",
"binary":... |
package eventstore.j
import java.util
import scala.concurrent.Future
import eventstore.EventData
import eventstore.core.ScalaCompat.JavaConverters._
class EsTransactionImpl(transaction: eventstore.akka.EsTransaction) extends EsTransaction {
def getId: Long = transaction.transactionId
def write(events: util.Collec... | {
"content_hash": "7f5ba2bf7c61b150316e9abc4f0803e7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 104,
"avg_line_length": 37.25,
"alnum_prop": 0.8120805369127517,
"repo_name": "EventStore/EventStore.JVM",
"id": "c2a15ed6cd69582b3664cb17067526fae885b0e5",
"size": "447",
... |
package org.apache.flink.table.types;
import org.apache.flink.annotation.PublicEvolving;
import org.apache.flink.table.api.DataTypes;
import org.apache.flink.table.data.RowData;
import org.apache.flink.table.types.logical.LogicalType;
import org.apache.flink.util.Preconditions;
import javax.annotation.Nullable;
im... | {
"content_hash": "20ebdbd3499c40f9586ec002c5382dd5",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 100,
"avg_line_length": 30.019801980198018,
"alnum_prop": 0.6388522427440633,
"repo_name": "tony810430/flink",
"id": "26a41092263a32852bce4e8504cea79a68bbda64",
"size": "3... |
package AGVS.Data;
import java.util.List;
public class PosicaoInicioTurno {
private String nome;
private Tag tag;
private AGV agv;
private List<FuncaoPos> fps;
public List<FuncaoPos> getFps() {
return fps;
}
public void setFps(List<FuncaoPos> fps) {
this.fps = fps;
}
public String ge... | {
"content_hash": "f64c31376a6ef67f01b88d379a9360d1",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 80,
"avg_line_length": 15.72549019607843,
"alnum_prop": 0.614713216957606,
"repo_name": "cabralsilva/Supervisorio",
"id": "08f5f7f206091bd8d17210700859bb89b76b4fdf",
"size"... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
require APPPATH . '/libraries/REST_Controller.php';
class Gifting extends REST_Controller {
public function __construct() {
parent::__construct();
$this->load->model('gifting_model');
$this->load->model('notifications_model');
$this->load... | {
"content_hash": "e515576780c8f81b869d230b7bce42e6",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 170,
"avg_line_length": 31.989795918367346,
"alnum_prop": 0.6287081339712919,
"repo_name": "stiucsib86/happiness-app",
"id": "1b16f9601f9e76b249d095c8cc3982ab44433520",
"si... |
import { test as it, expect } from './pageTest';
async function giveItAChanceToResolve(page) {
for (let i = 0; i < 5; i++)
await page.evaluate(() => new Promise(f => requestAnimationFrame(() => requestAnimationFrame(f))));
}
it('should wait for visible', async ({ page }) => {
await page.setContent(`<div sty... | {
"content_hash": "38dc589817a26b78b32e367420ef0407",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 107,
"avg_line_length": 38.5,
"alnum_prop": 0.6751217532467533,
"repo_name": "microsoft/playwright",
"id": "1dc17b409b05b7c00769a734faf086b8ff18c3b3",
"size": "5598",
"b... |
OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace metrics
{
struct LastReportedMetrics
{
std::unique_ptr<AttributesHashMap> attributes_map;
opentelemetry::common::SystemTimestamp collection_ts;
};
class TemporalMetricStorage
{
public:
TemporalMetricStorage(InstrumentDescriptor instrument_descriptor,
... | {
"content_hash": "5a9d9a052f1b34aae9d88e3856e60a15",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 86,
"avg_line_length": 33.78048780487805,
"alnum_prop": 0.7249097472924187,
"repo_name": "open-telemetry/opentelemetry-cpp",
"id": "439ca3cd4df32c2a881f9140fb09a844480c0aa7",... |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | {
"content_hash": "cc49606f3b58de8c5700e1972d8ab46f",
"timestamp": "",
"source": "github",
"line_count": 1183,
"max_line_length": 385,
"avg_line_length": 37.043956043956044,
"alnum_prop": 0.6729114848367296,
"repo_name": "justsml/justsml.github.io",
"id": "ff84f51d57192ee81d2c132d7a2aff3cb4dff22f",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE426_Untrusted_Search_Path__char_system_32.c
Label Definition File: CWE426_Untrusted_Search_Path.label.xml
Template File: sources-sink-32.tmpl.c
*/
/*
* @description
* CWE: 426 Untrusted Search Path
* BadSource: Don't specify the full path in the OS command
... | {
"content_hash": "a3b10721809599a4799be6659252d8ee",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 109,
"avg_line_length": 28.48062015503876,
"alnum_prop": 0.62084921066957,
"repo_name": "maurer/tiamat",
"id": "91a39dab18243e9c67fc82154f351d8e9d0dd2b6",
"size": "3674",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "25ea6917440858119c447f53638eda18",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "e6cb484433f11e08af5d62b349347b2d635a41dd",
"size": "190... |
#ifndef __FILE_COLLECTOR__
#define __FILE_COLLECTOR__
#include <vector>
#include <string>
using namespace std;
namespace cossb {
namespace file {
class collector {
public:
typedef struct _path {
string absolute;
string relative;
string filename;
string ext;
} filepath;
collector(co... | {
"content_hash": "95f8f666f365292690c7a8ead7c5547e",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 58,
"avg_line_length": 15.406976744186046,
"alnum_prop": 0.6015094339622642,
"repo_name": "nsynapse/cossb",
"id": "e6b0a6deaef5ea7557f33a331b70bec19447e6c2",
"size": "1325"... |
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<!-- Favicon -->
<link href='favicon.ico' rel='shortcut icon' type='image/x-icon'>
<!-- Typekit -->
<script src="https://us... | {
"content_hash": "a3af9f8790ce8886d6c6eef2a65f6877",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 114,
"avg_line_length": 33.339622641509436,
"alnum_prop": 0.6632710809281268,
"repo_name": "dandenney/dandenney.com",
"id": "bf5f29a133a453f6bbe9ee2deb14ba574618da7c",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="ic... | {
"content_hash": "8e8818d53601a2f6dc9a00cf81ada06d",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 303,
"avg_line_length": 52.60526315789474,
"alnum_prop": 0.4687343671835918,
"repo_name": "bepo13/destiny-stl-generator-web",
"id": "65d1e2eb9e8eba10d5504f8b909c3f143fd93481... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "base/at_exit.h"
#include "base/bind.h"
#include "base/command... | {
"content_hash": "5377f1d7e0669a3966a123ae1a409eb4",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 80,
"avg_line_length": 31.127777777777776,
"alnum_prop": 0.6537569159378904,
"repo_name": "jing-bao/pa-chromium",
"id": "f822d285a1080905a6d0c4f5a841af46aeffb866",
"size":... |
// TabSelectorCtl.h : Declaration of the CTabSelectorCtrl OLE control class.
#include <afxcmn.h>
#include "CategoriesCombo.h"
#include "QueriesCombo.h"
#include "GroupsCombo.h"
#define IDC_TAB 100
#define IDC_CATEGORIES 101
#define IDC_QUERIES 102
#define IDC_GROUPS 103
////////////////////////////////... | {
"content_hash": "bbae52da4b6986048fec904bdb0b0b61",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 78,
"avg_line_length": 30.272727272727273,
"alnum_prop": 0.7493857493857494,
"repo_name": "kit-transue/software-emancipation-discover",
"id": "a37cb24899649f9ade91a18c8e8c2d... |
<ion-view title="Display" ng-init="init()">
<ion-nav-buttons side="right">
<button class="button button-icon icon ion-camera" ng-click="upload()"></button>
</ion-nav-buttons>
<ion-content>
<div class="list list-inset">
<button class="button button-block button-positive" ng-click=... | {
"content_hash": "4d05a4220bc127cb37fb225baa9729bc",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 102,
"avg_line_length": 49.65384615384615,
"alnum_prop": 0.5274980635166537,
"repo_name": "jpavlo/TicOneMagazine",
"id": "7192fc89eff8e739502f40093e03685ed370d39b",
"size":... |
#include "resource/resource_stdneb.h"
#include "resource/reslable.h"
#include "system/byteorder.h"
#include "audioresloader.h"
namespace Resources
{
__ImplementClass(Resources::AudioResLoader,'AULD',Resources::ResourceLoader);
//------------------------------------------------------------------------
AudioResLoad... | {
"content_hash": "e237f9857d7ad2e1a373ff019b5e4156",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 81,
"avg_line_length": 19.78787878787879,
"alnum_prop": 0.5061255742725881,
"repo_name": "stonejiang/genesis-3d",
"id": "248a7a80f622da688fde8340918af017c20dc4f4",
"size": ... |
package com.skynav.ttv.model.imsc;
import java.net.URI;
import java.util.Map;
import com.skynav.ttv.model.Profile.Specification;
import com.skynav.ttv.model.Profile.Usage;
import com.skynav.ttv.model.smpte.ST20522010TTML1;
import com.skynav.ttv.model.ttml.TTML1;
import static com.skynav.ttv.model.imsc.IMSC10.Const... | {
"content_hash": "01efc226cf6a65a923c2d3c7509cb7a8",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 123,
"avg_line_length": 43.27215189873418,
"alnum_prop": 0.5885622348983472,
"repo_name": "skynav/ttt",
"id": "665a3cfac026b26377d9abf3acea4ddd6911dfdd",
"size": "8191",
... |
const Stack = require('../index');
const config = {
region: '', // aws region
secretAccessKey: '', // aws secretAccessKey
accessKeyId: '', // aws accessKeyId
name: '', // aws tag for instance name
env: '', // aws tag for enviroment
};
const stack = new Stack(config);
stack.status((err, res) => {
if (err)... | {
"content_hash": "008dd328350c96b75807669af58f5e92",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 48,
"avg_line_length": 21.523809523809526,
"alnum_prop": 0.6106194690265486,
"repo_name": "danm/stack-status",
"id": "7feb0bb6336da323c4897ae7fb49bb9a77b3c66a",
"size": "45... |
import EmberObject from 'ember-object';
import { A } from 'ember-array/utils';
import get from 'ember-metal/get';
export default function groupBy(content, groupPath) {
let groups = A();
if (!groupPath) { return content; }
if (content && content.length) {
content.forEach((item) => {
let label = get... | {
"content_hash": "e24276f6c3c228a43cc6a6bca84ae760",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 54,
"avg_line_length": 21.085714285714285,
"alnum_prop": 0.5528455284552846,
"repo_name": "Fabriquartz/ember-railio-form-components",
"id": "a33d59eb2ef319588405ebf2aa9f654ff... |
<?php
namespace HtCountryModule\Factory\Validator;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use HtCountryModule\Validator\CountryValidator;
class CountryValidatorFactory implements FactoryInterface
{
/**
* @param ServiceLocatorInterface $validators
*
... | {
"content_hash": "ed9cbc3aca152d8d7c18442eac7de8a0",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 106,
"avg_line_length": 28.894736842105264,
"alnum_prop": 0.7650273224043715,
"repo_name": "hrevert/HtCountryModule",
"id": "b1f998f3b752ce00c53955330d1272b4c5d04cc1",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<lin... | {
"content_hash": "101d93681dbb8beed0c4ed075df3d4e5",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 203,
"avg_line_length": 44.24223602484472,
"alnum_prop": 0.6254387196406008,
"repo_name": "EasyPost/easypost-php",
"id": "81c878f083b8b9cd9da43602745c17392213d090",
"size"... |
package config
import (
"os"
"github.com/BurntSushi/toml"
"github.com/njpatel/loggo"
"utils"
)
//go:generate bash bake_default_config.sh
const defaultTomlConfig = `
# This is where top level info is stored for the counter manager we
# could also use a boltDB in the DataDir but this would make it harder
# to syn... | {
"content_hash": "7b1c3054c441de182dd6af9008af1064",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 72,
"avg_line_length": 24.156521739130437,
"alnum_prop": 0.6807055435565155,
"repo_name": "seiflotfy/counts",
"id": "48769015f6d420fa5f2221b4ad4cf93e6d51f738",
"size": "27... |
<!--
Unsafe sample
input : get the field userData from the variable $_GET via an object, which store it in a array
Flushes content of $sanitized if the filter number_float_filter is not applied
File : unsafe, use of untrusted data in CSS
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without... | {
"content_hash": "fddba3e7d008a3ff0f0d9878c426e61f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 95,
"avg_line_length": 22.12987012987013,
"alnum_prop": 0.721830985915493,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "a4bd5c686d9291d98a6f3888aa6ceb29a4b98d... |
using System;
using Nimbus.DependencyResolution;
using Nimbus.Interceptors.Inbound;
using Nimbus.UnitTests.DispatcherTests.Handlers;
using Nimbus.UnitTests.DispatcherTests.MessageContracts;
using NSubstitute;
using NUnit.Framework;
namespace Nimbus.UnitTests.DispatcherTests
{
public class WhenHandlerThrowsAnExcep... | {
"content_hash": "cbb65bc5dd89b814d1e6e816d10828e7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 132,
"avg_line_length": 36.357142857142854,
"alnum_prop": 0.7269155206286837,
"repo_name": "rebase42/Anubus",
"id": "83ddb10029a14f665d0ae3de03eea35fb8306385",
"size": "102... |
<?xml version="1.0"?>
<page
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"
>
<body>
<referenceBlock
name="product.info.type.giftcard"
remove="true"
/>
<referen... | {
"content_hash": "b70a10fd417ecf2443d4816f1f57d883",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 96,
"avg_line_length": 25.764705882352942,
"alnum_prop": 0.589041095890411,
"repo_name": "SnowdogApps/magento2-alpaca-theme",
"id": "cada7926e16bb17e2f8a0f54bd3bdf51dc0f1fdd"... |
"""Exception types that can be raised by Gnuplot.py."""
class Error(Exception):
"""All our exceptions are derived from this one."""
pass
class OptionError(Error):
"""Raised for unrecognized option(s)"""
pass
class DataError(Error):
"""Raised for data in the wrong format"""
pass
| {
"content_hash": "6a353aae5d824d5fcade124df1fe05db",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 55,
"avg_line_length": 17.27777777777778,
"alnum_prop": 0.6591639871382636,
"repo_name": "pombredanne/ompc",
"id": "0a4e27f2f312c23032ba09cf9f2f31160f7c8835",
"size": "546"... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - Class com.ddchen.test1.Test1Test</title>
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="../css/style.css" rel... | {
"content_hash": "42e212bcca2c8a11f6a5539dd8654495",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 121,
"avg_line_length": 36.720238095238095,
"alnum_prop": 0.7735451450802399,
"repo_name": "ddki/my_study_project",
"id": "f309fafeebb1700433c8648f5a188f891c2027da",
"size... |
const http = require('http');
const chalk = require('chalk');
const log = console.log.bind(console);
const {
ROLLBAR_SERVER_TOKEN,
ROLLBAR_ENVIRONMENT,
BUILD_TAG,
USER,
GIT_COMMIT
} = process.env;
module.exports = function rollbar(data) {
notify(data).catch(() => {
process.exit(1);
});
};
function... | {
"content_hash": "efe3f4155df8a7d879e236a6a1ab99ad",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 63,
"avg_line_length": 19.6875,
"alnum_prop": 0.5892063492063492,
"repo_name": "pismo/almighty",
"id": "6741e13342425b20e81c24cf89d64310ad069be8",
"size": "1575",
"binary... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.jeesuite.admin.dao.mapper.UserEntityMapper" >
<resultMap id="BaseResultMap" type="com.jeesuite.admin.dao.entity.UserEntity" >
<!--
WARNI... | {
"content_hash": "427568865cd32eee4ac8b93d6b936f87",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 108,
"avg_line_length": 55.10526315789474,
"alnum_prop": 0.6829035339063992,
"repo_name": "vakinge/jeesuite-config",
"id": "39b9f35fedd8b7c8d62de3e7b9824c4a6a5a9ebc",
"size... |
using System;
using System.Collections.Generic;
using System.Reflection;
using Marten.Linq;
using Marten.Services.Includes;
using Remotion.Linq;
namespace Marten.Schema
{
public interface IQueryableDocument
{
IWhereFragment FilterDocuments(QueryModel model, IWhereFragment query);
IWhereFragmen... | {
"content_hash": "5634642f7fbb15698da40827572ae083",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 142,
"avg_line_length": 25.28125,
"alnum_prop": 0.7107540173053152,
"repo_name": "jamesfarrer/marten",
"id": "649fb56a495f1ad39a3821e8ac997484d687319d",
"size": "809",
"b... |
from cgum.utility import *
from cgum.program import Program
import codecs
import json
import tempfile
from subprocess import Popen
class Mappings(object):
@staticmethod
def from_json(jsn):
before_to_after = dict()
after_to_before = dict()
for m in jsn:
src = int(m['src'])
... | {
"content_hash": "4b520ed7758377cbbd6eccefe784bd7b",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 81,
"avg_line_length": 32.763888888888886,
"alnum_prop": 0.5922000847816872,
"repo_name": "ChrisTimperley/PythonCGum",
"id": "2fe555bf3f8a8e05534d9f0d5bda5368d0a72daa",
"s... |
namespace fgui {
export class TranslationHelper {
public static strings: { [index: string]: { [index: string]: string } };
constructor() {
}
public static loadFromXML(source: string): void {
let strings = {};
TranslationHelper.strings = strings;
... | {
"content_hash": "5f000dfb2000c227795f45bda36c15a9",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 129,
"avg_line_length": 41.20849420849421,
"alnum_prop": 0.3396420875105406,
"repo_name": "fairygui/FairyGUI-layabox",
"id": "aca10a2883170862db7674b739d7ff4b3f0d8232",
"s... |
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.Shaders.ShaderLab.Psi.Parsing
{
public partial class ShaderLabTokenType
{
public static readonly NodeTypeSet KEYWORDS;
static ShaderLabTokenType()
{
KEYWORDS = new NodeTypeSet(
... | {
"content_hash": "446a201648583f6b176ae9a31341fc18",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 73,
"avg_line_length": 28.38095238095238,
"alnum_prop": 0.43744007670182167,
"repo_name": "JetBrains/resharper-unity",
"id": "9af18e13de1358f95d191a6f10add029935ae9fa",
"s... |
num_load_balancers=2
for i in $(seq $num_load_balancers)
do
neutron lbaas-pool-delete lbaas-migrate-pool-http-$i
neutron lbaas-listener-delete lbaas-migrate-http-$i
neutron lbaas-loadbalancer-delete lbaas-migrate-$i
done
# delete health monitors
hm_list=$(neutron lbaas-healthmonitor-list -f value | awk '{ ... | {
"content_hash": "e82706c4495b0c5719ec3f66f44b5044",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 73,
"avg_line_length": 25.235294117647058,
"alnum_prop": 0.7435897435897436,
"repo_name": "SUSE-Cloud/automation",
"id": "c303fa4a7786f1f1d5f23de537f3df4ddaa8f46c",
"size":... |
cask "tempo" do
arch arm: "release-arm64", intel: "release"
version "6.0.0"
sha256 arm: "67260ec4260e30da28abc20d847282f08e09d8bce00730594c598caf3a63bdb7",
intel: "acfe86aedce23077a34de27717f38920bf4eafb740841088ab31b685fec4e3af"
url "https://download.yourtempo.co/#{arch}/Tempo-#{version}.dmg"
na... | {
"content_hash": "ff2f7a5a4720c49566b826772eb9044d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 83,
"avg_line_length": 26.74074074074074,
"alnum_prop": 0.7174515235457064,
"repo_name": "JosephViolago/homebrew-cask",
"id": "2cd71b9dc6d06e2f4a926bc63349dd5b8f38a0ac",
"s... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | {
"content_hash": "0a70eceb86237e867bf87c8e426f75f6",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 186,
"avg_line_length": 34.78823529411765,
"alnum_prop": 0.6885356780520798,
"repo_name": "terbolous/cloudstack-www",
"id": "4ef22081e27123f23534e027eb7598ab56e97af7",
"siz... |
This cookbook is a representation of a foundation cookbook set up with Conjur.
The Chef flow looks like this:
1. Foundation cookbook is used to build an initial image
2. Conjur identity is side-loaded at node initial
3. Application cookbook runs on top, can access secrets via Conjur
This foundation is distributed as... | {
"content_hash": "f2a24e13da7d96617d533f08bec5af07",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 78,
"avg_line_length": 36.5,
"alnum_prop": 0.7990867579908676,
"repo_name": "conjurdemos/chefconf15-base",
"id": "e6fa04d1846a247a6987c11037844253223139df",
"size": "452",
... |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.IO
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
Imports Microsoft.CodeAnalysis.LanguageSe... | {
"content_hash": "e649c1d2ccd9df00a8f50d10b2c2ced0",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 292,
"avg_line_length": 33.13815789473684,
"alnum_prop": 0.5292833035537026,
"repo_name": "bartdesmet/roslyn",
"id": "b168b9758581890e24711322fdc3442568b9271d",
"size": "5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.