text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... | {
"content_hash": "3a747198c0523dfdb9c9504eebeba236",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 77,
"avg_line_length": 27.057142857142857,
"alnum_prop": 0.45776135163674764,
"repo_name": "skyling/CI",
"id": "12f8c56fd496b1065c5d0dfe0e45b20b89916f0c",
"size": "3788",
... |
<?php
class ExcelHelper
{
public static function export ( $items, $fileName = 'export' )
{
//MAKE HEADER
$header = '';
foreach($items as $item)
{
foreach($item as $key => $value)
$header .= $key . "\t";
break;
}
//DATA
$data = '';
foreach($items as $item)
{
$line = '';
foreach($... | {
"content_hash": "717ea20b104744a1e92e89de9861ead3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 85,
"avg_line_length": 25.408163265306122,
"alnum_prop": 0.5927710843373494,
"repo_name": "hugomarin/artBO",
"id": "25853b06253c0df03000736cf86e7857d6c7b2ea",
"size": "1245... |
package org.bouncycastle.jcajce.provider.asymmetric;
import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
import org.bouncycastle.jcajce.provider.config.ConfigurableProvider;
import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider;
public class LMS
{
private static final String PREFIX = "org.... | {
"content_hash": "d4b8d5c149ba15d7981e1a8a2f121e4a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 119,
"avg_line_length": 39.93333333333333,
"alnum_prop": 0.7086811352253757,
"repo_name": "bcgit/bc-java",
"id": "11bbf8e1ce36fcf6177839f8130db484641077f0",
"size": "1198",... |
package command
import (
"errors"
"fmt"
log "github.com/Sirupsen/logrus"
"github.com/NetSys/quilt/api"
"github.com/NetSys/quilt/api/client"
)
// SubCommand defines the conversion between the user CLI flags and
// functionality within the code.
type SubCommand interface {
// The function to run once the flags ... | {
"content_hash": "af8e7ddbba14103cb054594395a2dac8",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 78,
"avg_line_length": 24.99,
"alnum_prop": 0.6874749899959984,
"repo_name": "secant/quilt",
"id": "4d7c3146e6f96ba73c5e5677ac2764d69dc4aebc",
"size": "2499",
"binary": ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "322105bdbb2f71a43f7719932cac0228",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "a0352cc15fdbb6cd32cf6a89b96e2ef6a887eb2c",
"size": "193... |
package fr.free.nrw.commons.nearby;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v7.widget.PopupMenu;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.vie... | {
"content_hash": "696196ae9d8a343fb66e33a634dd0421",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 103,
"avg_line_length": 36.28947368421053,
"alnum_prop": 0.6776649746192893,
"repo_name": "akaita/apps-android-commons",
"id": "1203d5a0df75c60d79e153370750d68cf7b37916",
... |
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using Bootstrap_Components.Models;
namespace Bootstrap_Components.Controllers
{
[Authorize]
public class ... | {
"content_hash": "90726cac3673071769cc4d5c18af62bd",
"timestamp": "",
"source": "github",
"line_count": 373,
"max_line_length": 175,
"avg_line_length": 36.85254691689008,
"alnum_prop": 0.5701294922159174,
"repo_name": "carloszapata/BootstrapMVA",
"id": "e21c9b0f8feb3905fcdec1a1758c755558747b90",
"s... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Mess... | {
"content_hash": "bf6777d5ca87563f7e4ef799c69f44d1",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 281,
"avg_line_length": 46.26548672566372,
"alnum_prop": 0.6599081866870696,
"repo_name": "kazinduzi/kasoko",
"id": "07fbeb03775869dad06b4eee4867dc722edc5a07",
"size": "52... |
import Messente
smsSend = send "api-username" "api-password"
main = do
-- If from is Nothing then messente default 'From' is used
-- (configured from API setup at messente.com)
result <- smsSend Nothing "+00000000000" "my first sms"
putStrLn $ case result of
Right id -> "sms sent, id: " ++ id
Left (err... | {
"content_hash": "fab07cfcae3d8a4545241c19e681ebdc",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 36.40909090909091,
"alnum_prop": 0.6441947565543071,
"repo_name": "kaiko/messente-haskell",
"id": "9fef8919792759f5e1f47d487c50501e96201757",
"size":... |
This application makes use of the following third party libraries:
## AFNetworking
Copyright (c) 2011–2016 Alamofire Software Foundation (http://alamofire.org/)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
i... | {
"content_hash": "ffa88dc0344be49f2dde9a0ba3815f0d",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 460,
"avg_line_length": 49.42982456140351,
"alnum_prop": 0.8048358473824312,
"repo_name": "dvlproad/AllScrollView",
"id": "c743f989a6550f9f98ba4b8380b9d8cd29f36668",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2017 Evolveum
~
~ 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... | {
"content_hash": "f44a1b17053cd4d125766bb1b792b49b",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 233,
"avg_line_length": 33.43589743589744,
"alnum_prop": 0.7289110429447853,
"repo_name": "arnost-starosta/midpoint",
"id": "0f03dbca2eadcdcfd25e7a277756f0f34a86fb7b",
"siz... |
/*
* 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": "1c635f87af9fb0af2563683602a67caf",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 82,
"avg_line_length": 32.708333333333336,
"alnum_prop": 0.7547770700636943,
"repo_name": "treasure-data/presto",
"id": "3a3943aa33057c443eb5d6b4df8f0ec18a009e35",
"size": ... |
docker stop bsimm-web &
echo "Creating Docker image for BSIMM-Graph"
docker build -t bsimm-graph ./docker-images/1.base-image/.
docker build -t bsimm-graph ./docker-images/2.git-pull/.
echo "Stopping bsimm-web container"
docker rm bsimm-web
docker run --name bsimm-web -it -p 3000:3000 -d bsimm-graph
#open http://19... | {
"content_hash": "0405a63ba363c2366666996c77f02ef4",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 59,
"avg_line_length": 21.9375,
"alnum_prop": 0.7378917378917379,
"repo_name": "DinisCruz/BSIMM-Graphs",
"id": "eedbc43c5f8c21a0f208e83bfde55f43f5de5e76",
"size": "408",
... |
#include "graphics3d.h"
#include "simple_logger.h"
#include "shader.h"
static SDL_GLContext __graphics3d_gl_context;
static SDL_Window * __graphics3d_window = NULL;
static GLuint __graphics3d_shader_program;
static Uint32 __graphics3d_frame_delay = 33;
void graphics3d_close();
GLuint graphics3d_get_sh... | {
"content_hash": "d437e1b4d9dd23e24b081a187cc39b7a",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 95,
"avg_line_length": 26.09278350515464,
"alnum_prop": 0.5958119320426709,
"repo_name": "mtl23/test",
"id": "0fe368ebde3d7b5453a1d60b8b4c73df89f7f8c3",
"size": "2531",
"... |
/* Includes ------------------------------------------------------------------*/
#include "stm32f4_discovery.h"
/** @addtogroup BSP
* @{
*/
/** @addtogroup STM32F4_DISCOVERY
* @{
*/
/** @defgroup STM32F4_DISCOVERY_LOW_LEVEL
* @brief This file provides set of firmware functions to man... | {
"content_hash": "2e4cf9072e92e4549aaae93485433004",
"timestamp": "",
"source": "github",
"line_count": 684,
"max_line_length": 111,
"avg_line_length": 29.058479532163744,
"alnum_prop": 0.6015294827933185,
"repo_name": "matianfu/stm32f4cube",
"id": "9241d5eb30a471183f2d6ec8327ac57e05271be7",
"size"... |
'use strict';
var React = require('react');
var ReactNative = require('react-native');
var {
Navigator,
StyleSheet,
ScrollView,
TabBarIOS,
Text,
TouchableHighlight,
View,
} = ReactNative;
var _getRandomRoute = function() {
return {
randNumber: Math.ceil(Math.random() * 1000),
};
};
class NavBu... | {
"content_hash": "fe08388da1039c50b5867e2714c1a1e9",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 67,
"avg_line_length": 22.82439024390244,
"alnum_prop": 0.5137849967941868,
"repo_name": "catalinmiron/react-native",
"id": "4cb876aa9d8cbafbfa7ddfce19ed5d84d2152cfd",
"si... |
.. BSD LICENSE
Copyright(c) 2016 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this... | {
"content_hash": "83d48a04056c3428789f27c42a51b1f5",
"timestamp": "",
"source": "github",
"line_count": 578,
"max_line_length": 90,
"avg_line_length": 37.92214532871972,
"alnum_prop": 0.6935991605456453,
"repo_name": "ipdcode/skydns",
"id": "ca3f551b93280ee3f6a90912f6c3136083387e8f",
"size": "21921... |
require 'digest/sha1'
module Shooter
module Acts
module Auditable
def self.included(base)
base.extend Shooter::Acts::Auditable::ClassMethods
end
module ClassMethods
def audit(options = {})
options.assert_valid_keys(:when, :if, :with_message)
unles... | {
"content_hash": "ff19029a0b3802c90cd4664ce5cdac6d",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 136,
"avg_line_length": 31.62686567164179,
"alnum_prop": 0.5526191599811232,
"repo_name": "unders/acts_as_auditable",
"id": "745477854a7aa0d1557bdb647b5b5627e5168722",
"siz... |
@interface CCKFNavDrawer ()
@property (nonatomic) BOOL isOpen;
@property (nonatomic) float meunHeight;
@property (nonatomic) float menuWidth;
@property (nonatomic) CGRect outFrame;
@property (nonatomic) CGRect inFrame;
@property (strong, nonatomic) UIView *shawdowView;
@property (strong, nonatomic) DropDownView *dropV... | {
"content_hash": "4fe494c66ddfd8550960fa0926042949",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 126,
"avg_line_length": 33.53603603603604,
"alnum_prop": 0.6364002686366689,
"repo_name": "wanghuahui/MyWeatherApp",
"id": "0a7c9b8b9579963f669abb3db18ffd961f794d0e",
"siz... |
package apparmor
import (
"bufio"
"bytes"
"io"
"os"
"os/exec"
"path"
"strconv"
"strings"
"text/template"
"github.com/containers/common/pkg/apparmor/internal/supported"
"github.com/containers/storage/pkg/unshare"
runcaa "github.com/opencontainers/runc/libcontainer/apparmor"
"github.com/pkg/errors"
"githu... | {
"content_hash": "727fd5be20d2e8e5ffea8e6cd660a530",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 127,
"avg_line_length": 30.00334448160535,
"alnum_prop": 0.7011481440196188,
"repo_name": "kubernetes-incubator/cri-o",
"id": "4f11e4ed2598e989573561bbea59e5def9fbac32",
"... |
[](https://travis-ci.org/MonetDB/npm-csv-sniffer)
[](http://badge.fury.io/js/csv-sniffer)
Takes a sample of CSV text and tries to guess newline character, col delimiter, quote character, and whethe... | {
"content_hash": "bf754594a8731094f039c37824084e3c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 209,
"avg_line_length": 47.152542372881356,
"alnum_prop": 0.7422717469446442,
"repo_name": "MonetDB/npm-csv-sniffer",
"id": "cdb9dedf70012afe0551a98827c1754af11c43fe",
"siz... |
module.exports = {
'after': require('lodash/function/after'),
'ary': require('lodash/function/ary'),
'backflow': require('lodash/function/backflow'),
'before': require('lodash/function/before'),
'bind': require('lodash/function/bind'),
'bindAll': require('lodash/function/bindAll'),
'bindKey': require('lod... | {
"content_hash": "7af1577446fe255f5a9e14b25cd29c10",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 58,
"avg_line_length": 45.25,
"alnum_prop": 0.7063930544593529,
"repo_name": "zhaojizhuang/zhaojizhuang.github.io",
"id": "b6a8ef34eb0f0cb1fe5dfef7b81fc88c9467e510",
"size"... |
import json
import bpy
import os
from bpy.types import Operator
from . import utils
from .assets.scripts.evertims import ( Evertims, evertUtils )
# to launch EVERTims raytracing client
import subprocess
# ---------------------------------------------------------------
# import components necessary to report EVERTims ... | {
"content_hash": "69f1aa9574aeaba2d09dbcf0b2c30a45",
"timestamp": "",
"source": "github",
"line_count": 666,
"max_line_length": 282,
"avg_line_length": 39.249249249249246,
"alnum_prop": 0.6285003825554706,
"repo_name": "EVERTims/game_engine_evertims",
"id": "f786220a92332d5b685721e30cc6a892f7994bf6",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "0d8c32622a5fb84809265563fd503b84",
"timestamp": "",
"source": "github",
"line_count": 491,
"max_line_length": 999,
"avg_line_length": 38.05906313645621,
"alnum_prop": 0.5959758120618612,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "9b3c78dadd5855f892496f4a98c2b8e2e617a8b... |
using System.Diagnostics;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
namespace System.Reflection.Internal
{
[DebuggerDisplay("{GetDebuggerDisplay(),nq}")]
internal unsafe struct Memo... | {
"content_hash": "e432913f4528a19481c195ae66deb0ab",
"timestamp": "",
"source": "github",
"line_count": 885,
"max_line_length": 171,
"avg_line_length": 33.833898305084745,
"alnum_prop": 0.5200881675182848,
"repo_name": "SGuyGe/corefx",
"id": "4b2402ecb0255b336e610c51ee9120f27c012052",
"size": "3014... |
using System;
using System.Threading.Tasks;
using Nest;
namespace Profiling.Async
{
public class ClearScrollAsync : IAsyncProfiledOperation
{
public Task RunAsync(IElasticClient client, ColoredConsoleWriter output)
{
throw new NotImplementedException();
}
}
} | {
"content_hash": "5726f687fc0aa33fd0c638e86ec21179",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.7830882352941176,
"repo_name": "TheFireCookie/elasticsearch-net",
"id": "0a33065b589bd459603128936e141247d10343e0",... |
require 'amor/constraint'
module Amor
describe Constraint do
describe '.new' do
before(:each) do
@lhs = Expression.new(4)
@rhs = Expression.new(8)
end
it 'returns a Constraint with the given left hand side' do
expect(Constraint.new(@lhs, :lesser_equal, @rhs).lhs).to eql... | {
"content_hash": "081974d24b30192bc48768f7176d9139",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 145,
"avg_line_length": 31.659574468085108,
"alnum_prop": 0.5860215053763441,
"repo_name": "philosophus/amor",
"id": "a40b6111f7fc89877be0d9d68288d26c0bb61d2d",
"size": "14... |
package org.codehaus.groovy.runtime;
import groovy.util.GroovyTestCase;
import java.util.Iterator;
import java.util.Map;
/**
* @author <a href="mailto:james@coredevelopers.net">James Strachan</a>
*/
public class TupleListTest extends GroovyTestCase {
public void testIterateOverTuple() throws Exception {
... | {
"content_hash": "90729d5c70746329c42e321190c87ca5",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 110,
"avg_line_length": 29.95744680851064,
"alnum_prop": 0.5894886363636364,
"repo_name": "OpenBEL/kam-nav",
"id": "bc393548b4211a1aed4cab7007a49549c9f7116d",
"size": "2230... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Tavis.OpenApi;
using Xunit;
namespace OpenApiTests
{
public class OAIExampleTests
{
HttpClient client;
public OAIExampleTests()
... | {
"content_hash": "29ecd289ecf983552fc67e8262f1849d",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 132,
"avg_line_length": 30.229508196721312,
"alnum_prop": 0.6117136659436009,
"repo_name": "tavis-software/Tavis.OpenApi",
"id": "f2e7b6258c8ffd21597fc9d757f144d3ff20a3f5",
... |
cask :v1 => 'spacemonkey' do
version :latest
sha256 :no_check
url 'http://downloads.spacemonkey.com/client/mac/latest'
appcast 'https://rink.hockeyapp.net/api/2/apps/aa33b6780fdfc71247b2995fa47b5d7c'
homepage 'https://www.spacemonkey.com'
license :unknown
app 'SpaceMonkey.app'
end
| {
"content_hash": "6a8b246b139cd1de10950e7b05039191",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 82,
"avg_line_length": 27.09090909090909,
"alnum_prop": 0.7449664429530202,
"repo_name": "L2G/homebrew-cask",
"id": "e3817ad098d37fdca268e69a4700883f22975b1d",
"size": "298... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__unsigned_int_fscanf_add_03.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-03.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fscanf Read data from the console using fscanf()
... | {
"content_hash": "771712f03aad241c9e7ac965dd98b371",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 91,
"avg_line_length": 26.212290502793294,
"alnum_prop": 0.565004262574595,
"repo_name": "JianpingZeng/xcc",
"id": "451552f32a96835bcc521c65542c3b64a205026e",
"size": "469... |
package org.openeos.services.ui.form.abstractform;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
import java.util.TreeSet;
imp... | {
"content_hash": "62b7d087e83d71a5a8735148c39819da",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 119,
"avg_line_length": 35.88721804511278,
"alnum_prop": 0.7399958097632516,
"repo_name": "frincon/openeos",
"id": "b05a7cfca5c89455c492bf5331cc6d320b3b9e1d",
"size": "540... |
enum
{
WORKER_SHUTDOWN = 0
};
// Master event types
enum
{
WORKER_DIED = -1,
WORKER_ONLINE
};
typedef struct master_event master_event;
typedef struct worker_event worker_event;
struct worker_event
{
int type;
void *data;
};
struct master_event
{
int type;
void *data;
};
void *zeromq_context;
int init_e... | {
"content_hash": "d7b2dc2547878c4c684fa31fddaffbb8",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 49,
"avg_line_length": 12.378378378378379,
"alnum_prop": 0.7030567685589519,
"repo_name": "CloudSites/OpenBalance",
"id": "a098fecb0c3d8eff0b8e1c23716e7872f6f99b45",
"size"... |
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#ifndef QCANDLESTICKMODELMAPPERSLOTS_H
#define QCANDLESTICKMODELMAPPERSLOTS_H
#include <QtCore/QObject>
#include <QtCore/QCoreApplication>
#include <QtCore/QString>
#if (QT_VERSION >= QT_VERSION_CHECK(5,8,0))
#inclu... | {
"content_hash": "a27a33526a24d6ad9c36c101f91c3a28",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.7104166666666667,
"repo_name": "marcosgambeta/Qt5xHb",
"id": "5a22ebaa6128a94d38a0fffb7d117abb02df0a40",
"size": ... |
<?php
/**
* @package SugiPHP.Money
*/
namespace SugiPHP\Money;
class UnknownCurrencyException extends \Exception
{
}
| {
"content_hash": "e27a1c5419fb1c97b4f4e34b353f11ab",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 49,
"avg_line_length": 11.090909090909092,
"alnum_prop": 0.7213114754098361,
"repo_name": "SugiPHP/Money",
"id": "1f6aaeac090c8ae8c12905acb5e5bf13c524efba",
"size": "122",
... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "999f14e3a0a15e926cb4d534caaddf15",
"timestamp": "",
"source": "github",
"line_count": 727,
"max_line_length": 100,
"avg_line_length": 46.38101788170564,
"alnum_prop": 0.7378925828168095,
"repo_name": "abergmeier-dsfishlabs/bazel",
"id": "f83158feb5b73f745ed68bdd82c1bb55fb593913",
... |
Subscribe all members of a room to one or more additional rooms.
```js
sails.sockets.addRoomMembersToRooms(sourceRoom, destRooms, cb);
```
### Usage
| | Argument | Type | Details |
|---|------------|:-----------:|:--------|
| 1 | sourceRoom | ((string)) | The room to retrieve members from.
| 2 | destRoo... | {
"content_hash": "8f031f879ae26205999517788a60befd",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 279,
"avg_line_length": 39.027027027027025,
"alnum_prop": 0.6869806094182825,
"repo_name": "yoshioka-s/sails-docs-ja",
"id": "1802a10b75c2d904209bc13c4d3d8dfe30ac8541",
"si... |
SYNONYM
#### According to
GRIN Taxonomy for Plants
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d5bd8cdd4cf3393926b2cdc65a17fe2c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 24,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6864406779661016,
"repo_name": "mdoering/backbone",
"id": "f095289334e9afae42c8ea164c6b2dc66f3cacb5",
"size": "163... |
<?php
namespace app\controllers;
use Yii;
use app\models\form\Contact;
use yii\web\Controller;
/**
* Site controller
*/
class SiteController extends Controller
{
/**
* @inheritdoc
*/
public function actions()
{
return [
'error' => [
'class' => 'yii\web\Err... | {
"content_hash": "c3242fdd5ffc098e5dd314f4574fd1fa",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 132,
"avg_line_length": 23.672131147540984,
"alnum_prop": 0.4792243767313019,
"repo_name": "GAMITG/yii2-app-angular",
"id": "6de6a638b97875a5f0da1723b50463930b6a4fe9",
"siz... |
#include "condor_common.h"
#include "classad/common.h"
#include "classad/collection.h"
#include "collectionServer.h"
#include "classad/transaction.h"
using namespace std;
BEGIN_NAMESPACE( classad )
//-------------collection server templates-------------
// view content
template multiset<ViewMember, ViewMember... | {
"content_hash": "db24c4df83bb234d67a151bc79318624",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 69,
"avg_line_length": 28.930232558139537,
"alnum_prop": 0.7516077170418006,
"repo_name": "clalancette/condor-dcloud",
"id": "0de2ed1bd3e4bdc9483af67f6147b8495232a05c",
"si... |
package org.jetbrains.plugins.dotty.lang.parser.parsing
/**
* @author adkozlov
*/
object CompilationUnit extends org.jetbrains.plugins.scala.lang.parser.parsing.CompilationUnit {
override protected def topStatSeq = TopStatSeq
}
| {
"content_hash": "b7328430480b6fcad8e54d67542a7c19",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 96,
"avg_line_length": 29.375,
"alnum_prop": 0.7914893617021277,
"repo_name": "loskutov/intellij-scala",
"id": "d80434819260472d92144f6ac5fafb8c7a01c034",
"size": "235",
"... |
package com.xinfan.msgbox.http.session.provider;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class ProviderUtils {
/**
* cookie session键值
*/
public static String getRequestedSessionId(HttpServletRequest request... | {
"content_hash": "151e713d0a79189f5d69583ac049481c",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 93,
"avg_line_length": 28.3,
"alnum_prop": 0.679454820797577,
"repo_name": "xinfan123/blue-server",
"id": "1b42b8476da9ca74e265fd27931b341d66665fa2",
"size": "1995",
"bin... |
:runner: Simple workout tracker API
Exposes the following interface for tracking workouts:
* report_workout:
* workout_type
* date (default: today)
* notes
* report_class (include one of class_id or class_type)
* class_id
* class_type
* get_workouts
* start_date (default: beginning of the current month?)
... | {
"content_hash": "63c070a8143f8e3f7b4546592bce9120",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 57,
"avg_line_length": 26.615384615384617,
"alnum_prop": 0.7167630057803468,
"repo_name": "kylemarsh/fitness",
"id": "e9f1fbd90dc3d2914a7ce3b36c87926b369ae26c",
"size": "35... |
'use strict'
const nodemailer = require('nodemailer')
const config = require('../../../config/config')
class Mailer {
constructor () {
this.transporter = nodemailer.createTransport({
host: config.smtp.host,
port: config.smtp.port,
secure: config.smtp.secure,
auth: config.smtp.auth
})
... | {
"content_hash": "8ab321dd978987374a8719e89cbd83da",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 61,
"avg_line_length": 22.4,
"alnum_prop": 0.5967261904761905,
"repo_name": "SherlockStd/ME4N-Starter",
"id": "9e471a2b5998e20a86009b230e1e6abcbccd794e",
"size": "672",
"... |
use actix_web::http::header::HeaderName;
use anyhow::Context;
use anyhow::Result;
use crate::config::AuthenticatorConfig;
/// Headers to store user identity information from the authenticator.
#[derive(Clone, Debug)]
pub struct IdentityHeaders {
/// Header to place the user ID in.
pub user_id: HeaderName,
}
... | {
"content_hash": "0c5d5079e41d1cf1db3a4989b018baec",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 81,
"avg_line_length": 30.655172413793103,
"alnum_prop": 0.6760404949381328,
"repo_name": "stefano-pogliani/auth-gateway",
"id": "49582015ff1f90b197096baeef172b20a4ace794",
... |
package alluxio.underfs.options;
import static org.junit.Assert.assertEquals;
import alluxio.test.util.CommonUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.modules.junit4.PowerMockRunner;
import java.io.IOException;
/**
* Tests for the {@link FileLocationOptions} class.
*/
... | {
"content_hash": "d541b8268290ca290e215bba86a4a944",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 65,
"avg_line_length": 22.1875,
"alnum_prop": 0.7136150234741784,
"repo_name": "calvinjia/tachyon",
"id": "45dafadad1395d91698ded03a0bd3e43b3efc169",
"size": "1577",
"bin... |
using System;
using System.Data;
using System.Linq;
using Premotion.Mansion.Core;
using Premotion.Mansion.Core.Data;
using Premotion.Mansion.Repository.SqlServer.Queries;
namespace Premotion.Mansion.Repository.SqlServer.Schemas
{
/// <summary>
/// Represens a <see cref="NodePointer"/> property column.
/// </summary... | {
"content_hash": "330fa99d7f4e0b43877d8fcbb3a645b4",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 306,
"avg_line_length": 49.96052631578947,
"alnum_prop": 0.7387411114037398,
"repo_name": "devatwork/Premotion-Mansion",
"id": "c0ae0ca17f8d411a4e5e024192932aa4fa2172f2",
... |
namespace Data
{
using System;
using System.Collections.Generic;
public partial class Entity_DurationProfile
{
public int Id { get; set; }
public Nullable<int> TypeId { get; set; }
public Nullable<int> FromYears { get; set; }
public Nullable<int> FromMonths { get; se... | {
"content_hash": "d723029b0440cb604ea20348e62284a9",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 66,
"avg_line_length": 42.166666666666664,
"alnum_prop": 0.61133069828722,
"repo_name": "CredentialTransparencyInitiative/CredentialFinderSearch",
"id": "2efc07eb346898bceff8... |
all: src
src:
${MAKE} -C src
lib: lib/config.mk
${MAKE} -C lib
deps:
${MAKE} -Csrc deps
clean:
${MAKE} -C src clean
${MAKE} -C lib clean
cleanall: clean
./configure clean
# see also check-bootstrap
check: all lib
cd test && ./run_tests -i ignores -j4 cases
ALL_SRC = $(shell find src -iname '*.[ch]')
tags... | {
"content_hash": "1fc92724d90443e688c9879fb670eaa0",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 44,
"avg_line_length": 14,
"alnum_prop": 0.6428571428571429,
"repo_name": "bobrippling/ucc-c-compiler",
"id": "a699e4b79f387e21d2b14b5832904bdc9d8ead26",
"size": "420",
"... |
/* $Id$ */
/* Copyright (c) 2008-2017 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS System libc */
/* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redis... | {
"content_hash": "ed262264e0f4fba2235898463202e588",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 75,
"avg_line_length": 27.594202898550726,
"alnum_prop": 0.6720063025210085,
"repo_name": "DeforaOS/libc",
"id": "bdc116cf217e941227d30333d9e5c5689c1d4910",
"size": "3808"... |
<section class="row" data-ng-controller="AuthenticationController">
<h3 class="col-md-12 text-center">Sign up using your social accounts</h3>
<div class="col-md-12 text-center">
<!--a href="/auth/facebook" class="undecorated-link">
<img src="/modules/users/img/buttons/facebook.png">
</a-->
<a href="/auth/twi... | {
"content_hash": "0981f656128bb64f069b38b62226d4df",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 149,
"avg_line_length": 46.074074074074076,
"alnum_prop": 0.6663987138263665,
"repo_name": "bogoquiz/trendtwitter",
"id": "e6d1f46bea457eb9c72d94c2882ab789678a7b44",
"size"... |
import { Component, OnInit, AfterViewInit, OnDestroy, ViewChild, ElementRef } from '@angular/core';
@Component({
selector: 'app-card-canvas',
templateUrl: './card-canvas.component.html',
styleUrls: ['./card-canvas.component.css']
})
export class CardCanvasComponent implements OnInit, AfterViewInit, OnDestroy {
... | {
"content_hash": "367ae51b086bd92c0c21728015e389ae",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 99,
"avg_line_length": 27.65909090909091,
"alnum_prop": 0.6485894275540948,
"repo_name": "s-onuma/9cards-bluemix",
"id": "5bfd8ce510636bedea4041ed97ebe1a3389152de",
"size"... |
<vector android:alpha="0.87" android:height="24dp"
android:tint="#FFFFFF" android:viewportHeight="24.0"
android:viewportWidth="24.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
<... | {
"content_hash": "a5bb3e3b20c45dfec77869cc6009ac1f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 113,
"avg_line_length": 65.8,
"alnum_prop": 0.7386018237082067,
"repo_name": "doerfli/hacked",
"id": "840cce4952f911993bbab11ec66c7679d037a265",
"size": "329",
"binary": f... |
<?php
namespace Illuminate\Tests\Foundation;
use Exception;
use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Routing\Redirector;
use Illuminate\Container\Container;
use Illuminate\Routing\UrlGenerator;
use Illuminate\Http\RedirectResponse;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Con... | {
"content_hash": "ee41904d5dab79fd6f907821a6dbc61e",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 100,
"avg_line_length": 26.775,
"alnum_prop": 0.6222222222222222,
"repo_name": "billmn/framework",
"id": "7e365465f8fb263ba968e2f3b2ddffab5fb1aaad",
"size": "5355",
"bin... |
import unittest
import snippet
class SnippetTest(unittest.TestCase):
def testParseWithImage(self):
img_snp = snippet.Snippet("2011-10-28T16:51:00.000-07:00")
self.assertEquals(datetime.datetime(2011, 10, 28, 16, 51), published)
if __name__ == '__main__':
unittest.main()
| {
"content_hash": "53dc7150fec8d29983769fe19dfaf55b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 26,
"alnum_prop": 0.7027972027972028,
"repo_name": "starpow971/Stanford-Humanities-Center-Updater",
"id": "b5aa8e92b7d4a563ac35ee6397e9fbfc89ad86c0",
... |
import { Drop } from '../drop/drop'
export const toString = Object.prototype.toString
const toLowerCase = String.prototype.toLowerCase
export const hasOwnProperty = Object.hasOwnProperty
export function isString (value: any): value is string {
return typeof value === 'string'
}
// eslint-disable-next-line @typesc... | {
"content_hash": "b36588a1b9bbade791a11597c88a2f14",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 155,
"avg_line_length": 30.379310344827587,
"alnum_prop": 0.6456678017404465,
"repo_name": "harttle/liquidjs",
"id": "96f80c35d04d86050614fef65e9b4ef412e5ebb0",
"size": "5... |
extern "C"
char* secure_getenv(const char* name)
{
return getenv(name);
} | {
"content_hash": "36772501311effa9983b1ba5d382b325",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 37,
"avg_line_length": 15,
"alnum_prop": 0.6933333333333334,
"repo_name": "AndreasAakesson/IncludeOS",
"id": "7b015c560dec1ea10c803cd32e4efbcc1ef68fd8",
"size": "95",
"bin... |
<!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_55) on Mon May 26 23:23:41 CEST 2014 -->
<title>DoubleParameter</title>
<meta name="date" content="2014-05-26">
<link rel="stylesheet" ... | {
"content_hash": "90a13492cc5c70e9098a48a4638f6f24",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 501,
"avg_line_length": 39.79692307692308,
"alnum_prop": 0.6615122931807639,
"repo_name": "remigourdon/sound-editors",
"id": "30eeea315658ece79970bc3ff481b6cf75e8ccbc",
"s... |
require 'erb'
require 'cgi'
require 'fileutils'
require 'digest/sha1'
require 'time'
class SimpleCov::Formatter::HTMLFormatter
def format(result)
Dir[File.join(File.dirname(__FILE__), 'html_formatter/public/*')].each do |path|
FileUtils.cp_r(path, asset_output_path)
end
File.open(File.join(output_... | {
"content_hash": "f0569fe38d5eeac1520ab5f6fef927a4",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 176,
"avg_line_length": 28.802083333333332,
"alnum_prop": 0.6734177215189874,
"repo_name": "ruby/simplecov",
"id": "71fb3ef9aea9f24a1f40d32848c93a2e067885e0",
"size": "2765... |
require 'helper'
class Nanoc::Filters::RelativizePathsTest < Nanoc::TestCase
def test_filter_html_with_double_quotes
# Create filter with mock item
filter = Nanoc::Filters::RelativizePaths.new
# Mock item
filter.instance_eval do
@item_rep = Nanoc::Int::ItemRep.new(
Nanoc::Int::Item.new... | {
"content_hash": "64887feea48bb3f83414cdd81c74b553",
"timestamp": "",
"source": "github",
"line_count": 817,
"max_line_length": 159,
"avg_line_length": 25.58996328029376,
"alnum_prop": 0.5490027263595925,
"repo_name": "RubenVerborgh/nanoc",
"id": "56538af0e9c786dd18757bfcf49344220723851e",
"size": ... |
<?php
namespace Iivannov\Branchio;
class Link
{
/**
* @var string
*/
public $channel;
/**
* @var string
*/
public $feature;
/**
* @var string
*/
public $campaign;
/**
* @var string
*/
public $stage;
/**
* @var array
*/
pu... | {
"content_hash": "fbab0364b7fee88972766d6b52a3b717",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 56,
"avg_line_length": 16.686046511627907,
"alnum_prop": 0.4578397212543554,
"repo_name": "iivannov/branchio",
"id": "004baa1688e9e9f8f85fc7327095e0f7b959a3ff",
"size": "2... |
<?php
/*
Unsafe sample
input : use shell_exec to cat /tmp/tainted.txt
SANITIZE : use of pg_escape_string
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this software... | {
"content_hash": "0f46da257afef93571afa17e158ba12c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 75,
"avg_line_length": 23.12280701754386,
"alnum_prop": 0.7594840667678301,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "862218dbdade6b3bc41f368acacc02a6a8b39... |
import * as React from 'react'
import { useSelector, useDispatch } from 'react-redux'
import capitalize from 'lodash/capitalize'
import {
selectors as robotSelectors,
actions as robotActions,
} from '../../robot'
import { Card, LabeledValue, OutlineButton, Icon } from '@opentrons/components'
import { CONNECTABLE ... | {
"content_hash": "ec57ea711bccda153ec41762150bdc4c",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 79,
"avg_line_length": 31.194444444444443,
"alnum_prop": 0.6749777382012466,
"repo_name": "OpenTrons/opentrons-api",
"id": "1132ecc34f78ed73eeaed592619360169163db54",
"size... |
import java.io._
import java.nio.file.Files
import scala.io.Source
import scala.util.Properties
import scala.collection.JavaConverters._
import scala.collection.mutable.Stack
import sbt._
import sbt.Classpaths.publishTask
import sbt.Keys._
import sbtunidoc.Plugin.UnidocKeys.unidocGenjavadocVersion
import com.simply... | {
"content_hash": "9d2a7e81e17e7f75369b7e0f10f7160f",
"timestamp": "",
"source": "github",
"line_count": 885,
"max_line_length": 208,
"avg_line_length": 38.948022598870054,
"alnum_prop": 0.6662218225071803,
"repo_name": "kimoonkim/spark",
"id": "01e7e445713ac94c5d8d2a95b0f73b86febcbe23",
"size": "35... |
body { font-family: 'PFAgoraSansPro-Regular', 'Arial'; background: #ffffff; color: #000000; margin: 0; padding: 0; }
/* ---------------------------------------------- */
.scroll-disable-hover, .scroll-disable-hover * { pointer-events: none !important; }
/**/
/* placeholder */
textarea::-webkit-input-placeholder ... | {
"content_hash": "c8e67adc3f12d24f833c026cee26217b",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 150,
"avg_line_length": 36.145161290322584,
"alnum_prop": 0.6345381526104418,
"repo_name": "zserg84/webteam",
"id": "6f8b13820088d03431fef564ac5a7ddaa5f1ee89",
"size": "44... |
package com.fly.firefly.ui.module;
import com.fly.firefly.AppModule;
import com.fly.firefly.ui.fragment.LoginFragment;
import com.fly.firefly.ui.presenter.LoginPresenter;
import com.squareup.otto.Bus;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
@Module(
injects = LoginFragme... | {
"content_hash": "a4d494917d91e4fa200fcc24c24e4192",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 60,
"avg_line_length": 23.161290322580644,
"alnum_prop": 0.7298050139275766,
"repo_name": "imalpasha/flyfirefly",
"id": "db8dab9b532b9f96ceade77db0302409b5bbf71a",
"size": ... |
package set
import (
"encoding/json"
"errors"
"fmt"
"io"
"os"
"regexp"
"sort"
"strings"
"github.com/spf13/cobra"
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/fieldpath"
"k8s.io/kubernetes/pkg/kubectl"
kcmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util"
"k8s.io/kubernetes/pkg/kubectl/resource"
... | {
"content_hash": "ecd588b03cfb9337b9b1856304cd8ff8",
"timestamp": "",
"source": "github",
"line_count": 545,
"max_line_length": 198,
"avg_line_length": 32.67339449541284,
"alnum_prop": 0.6856292469253664,
"repo_name": "inlandsee/origin",
"id": "49cb1e8382f59ae97bb3f2d4e971db8c6dbb690c",
"size": "17... |
delete from employee where id=6
| {
"content_hash": "44b76eab74d4613016cd04ac4e5c9b77",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 32,
"alnum_prop": 0.8125,
"repo_name": "dbastin/donkey",
"id": "2511a6391e42292088346c7c3ae4b5b0a061e84e",
"size": "32",
"binary": false,
"copies"... |
<?php
/**
* Plugin public functions.
*
* @package Meta Box
*/
if ( ! function_exists( 'rwmb_meta' ) ) {
/**
* Get post meta.
*
* @param string $key Meta key. Required.
* @param array $args Array of arguments. Optional.
* @param int|null $post_id Post ID. null for current post. Optional.
*
... | {
"content_hash": "117aa678f486bc2f34f37efe6ab23f4a",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 151,
"avg_line_length": 32.56521739130435,
"alnum_prop": 0.6188251001335113,
"repo_name": "1001hz/wpnoonan",
"id": "3ac9f2397182f9eff6d5e8abb60331406a833c9a",
"size": "449... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct torr_base_unit</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="ge... | {
"content_hash": "74443f7f68ec8f28475768f1668d7ec3",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 524,
"avg_line_length": 90.8840579710145,
"alnum_prop": 0.6525275075745495,
"repo_name": "davehorton/drachtio-server",
"id": "fbd88eb00f86fee38f058cb2aa3f685855568b6c",
"si... |
namespace AjErl.Tests
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using AjErl.Compiler;
using AjErl.Expressions;
using AjErl.Forms;
using AjErl.Language;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
... | {
"content_hash": "1f7a528cb8b3bf6146b8332a64a0c845",
"timestamp": "",
"source": "github",
"line_count": 357,
"max_line_length": 178,
"avg_line_length": 35.523809523809526,
"alnum_prop": 0.5228670556694528,
"repo_name": "ajlopez/AjErl",
"id": "ebbb0e7c122d7c14f0c32d307132143663186993",
"size": "1268... |
package com.cognifide.aet.sanity.functional.suites;
import com.cognifide.aet.sanity.functional.cucumber.Filtering;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({Filtering.class})
public class CucumberSuite {
}
| {
"content_hash": "ecfb383ed7e652425e30310e113375cc",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 62,
"avg_line_length": 23,
"alnum_prop": 0.8079710144927537,
"repo_name": "Cognifide/AET",
"id": "acd441e87563b38529d125a244a120413e2e966c",
"size": "881",
"binary": fals... |
name: Bug report
about: Help us stomp out bugs!
title: ''
labels: bug
assignees: ''
---
<!-- If you run into SDK issues, please go [here](https://community.hologram.io/c/hardware/sdk) for help and support:
-->
### Describe the problem
### Expected behavior
<!-- Please describe what you think the program should be d... | {
"content_hash": "f360e2894f4b46f3f321f8c5abb1dbf0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 117,
"avg_line_length": 29.36842105263158,
"alnum_prop": 0.717741935483871,
"repo_name": "hologram-io/hologram-python",
"id": "bec632afc66477b5616970d3ac38412f4193a7e1",
"s... |
This repository contains the code for the workshop. Totally written in HTML, CSS and JavaScript.
In this workshop, you are going to rewrite the app [Sarahah](https://sarahah.com) both the front-end and the back-end. The code in part 1 is for the front-end.
You will use HTML, CSS, JavaScript, jQuery and Bootstrap to d... | {
"content_hash": "9682563304cd505d259f51cb2f98295c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 159,
"avg_line_length": 37.84615384615385,
"alnum_prop": 0.7621951219512195,
"repo_name": "YouthCodeProject/ws1-sahar-frontend",
"id": "dbeb5e4912b9a4f9e64bc3053a0727ff306c4d... |
package stark.skshare;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import stark.skshare.utlis.ImageUtil;
/**
* Created by jihongwen on 1... | {
"content_hash": "853b23cf3be60fdee226ec1ec4abdcb0",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 120,
"avg_line_length": 35.473684210526315,
"alnum_prop": 0.6632047477744807,
"repo_name": "jhwing/SKShare",
"id": "da104316cde4eef70147d0b6af8e0611ed0cdd94",
"size": "3468... |
package com.mmnaseri.dragonfly.runtime.repo.impl.strategies;
import com.mmnaseri.dragonfly.data.DataAccess;
import com.mmnaseri.dragonfly.entity.EntityHandler;
import com.mmnaseri.dragonfly.runtime.repo.QueryAlias;
import java.lang.reflect.Method;
import java.util.List;
/**
* @author Milad Naseri (mmnaseri@progra... | {
"content_hash": "0aac72adc76e46741538562cca3295fb",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 222,
"avg_line_length": 33.65625,
"alnum_prop": 0.766016713091922,
"repo_name": "agileapes/dragonfly",
"id": "408e2de0f9371eec4669a87b6d2d17497362a057",
"size": "2219",
"... |
"""This module contains regression tests for flows-related API handlers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from absl import app
from grr_response_core.lib import registry
from grr_response_core.lib import utils
from grr_response_core.lib.... | {
"content_hash": "c30818c4498bc08329f2e0050f38f4a0",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 80,
"avg_line_length": 34.51,
"alnum_prop": 0.6952332657200812,
"repo_name": "dunkhong/grr",
"id": "dbe5ad2a358198d33e2abbe08d766562b167cdb3",
"size": "13826",
"binary":... |
package com.google.template.soy.types;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableSet;
import com.google.template.soy.soytree.SoyTypeP;
/** Base type for all imported symbol types. */
public abstract class ImportType extends SoyType {
@Override
public <T> T a... | {
"content_hash": "e842fd7cd6f54fc82f087102c880937b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 90,
"avg_line_length": 27.096774193548388,
"alnum_prop": 0.7464285714285714,
"repo_name": "google/closure-templates",
"id": "699a13de6a7d6b530c5f7ccb6aaadf72aa480040",
"siz... |
Coral::Application.config.session_store :active_record_store
| {
"content_hash": "b10132cf5232b1aae5b56c92100ae576",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 60,
"avg_line_length": 61,
"alnum_prop": 0.8360655737704918,
"repo_name": "cthree/coral",
"id": "b04ed9eb58fd110e8086226027f2d73a371e5424",
"size": "407",
"binary": false,... |
/*
* Description:
* lock abstraction
*
* Revision history:
* Mar., 2015, @imzhenyu (Zhenyu Guo), first version
* xxxx-xx-xx, author, fix bug about xxx
*/
#pragma once
# include <dsn/internal/extensible_object.h>
namespace dsn { namespace service {
class zlock;
class zrwlock_nr;
class zsemaphore;... | {
"content_hash": "aa06c06658cb17a7eb93e34a3900299f",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 115,
"avg_line_length": 27.65573770491803,
"alnum_prop": 0.6840545346769413,
"repo_name": "mcfatealan/rDSN",
"id": "acc7beb1265a5b1f53b7a268c759aade51f66eb1",
"size": "458... |
<?php
namespace Opl\Autoloader\Exception;
use RuntimeException;
/**
* The exception allows to report class-to-filename translation problems.
* It is used in the toolset. The autoloaders are not allowed to throw
* sophisticated exceptions, as they are not a part of the application, but
* the runtime environment.
... | {
"content_hash": "8c54e1f5b7bfb6adcbc51cf987ffa2c4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 75,
"avg_line_length": 31,
"alnum_prop": 0.765704584040747,
"repo_name": "OPL/opl3-autoloader",
"id": "3f719b010b4a11453cb106faa46df930bf0d9cec",
"size": "958",
"binary":... |
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="52004" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="GetInstance">
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="test"/>
<NAMESPACE NAME="static"/>
</LOCALNAMESPACEPATH>
<I... | {
"content_hash": "397c3c9e101eb3f664a0c682065066d1",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 57,
"avg_line_length": 31.88888888888889,
"alnum_prop": 0.5435540069686411,
"repo_name": "ncultra/Pegasus-2.5",
"id": "144fe4a71302b54a2cce25774a6fdc02ef7318f3",
"size": "8... |
/**
* @fileoverview Externs for Angular 1.
*
* TODO: Mocks.
* TODO: Remaining Services:
* $cookies
* $cookieStore
* $document
* $httpBackend
* $interpolate
* $locale
* $resource
* $rootElement
* $rootScope
* $rootScopeProvider
*
* TODO: Resolve two issues with a... | {
"content_hash": "fa2afb4241b4cbe3ed3a13833ad5a1a6",
"timestamp": "",
"source": "github",
"line_count": 2522,
"max_line_length": 81,
"avg_line_length": 24.451625693893735,
"alnum_prop": 0.5925049053788899,
"repo_name": "rintaro/closure-compiler",
"id": "293d9514b78387eee4fb850d2c855e2f68e6ba31",
"s... |
disable_dfss CHANGELOG
======================
This file is used to list changes made in each version of the disable_dfss cookbook.
0.1.0
-----
- [your_name] - Initial release of disable_dfss
- - -
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
The [Gith... | {
"content_hash": "f88ed8f42f389011571461df98a739b1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 163,
"avg_line_length": 36.53846153846154,
"alnum_prop": 0.7368421052631579,
"repo_name": "pigram86/chef-repo",
"id": "2d8117d0146c4f725181de39296972c8c27d0eba",
"size": "4... |
package oghamsendgridv2.ut;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.RETURNS_SMART_NULLS;
import static org.mockito.Mockito.doThrow;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import... | {
"content_hash": "7b6d0f6f4fe96deb09acb1495afb1276",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 90,
"avg_line_length": 35.490196078431374,
"alnum_prop": 0.7624309392265194,
"repo_name": "groupe-sii/ogham",
"id": "dd5fe680d82f5a3bedfc7f825fb10d463747a694",
"size": "36... |
/*
* 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": "19251d93629ce55de8f08580e981771b",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 122,
"avg_line_length": 26.970588235294116,
"alnum_prop": 0.6321337695383497,
"repo_name": "hgschmie/presto",
"id": "2d9ae0e249443c7bf4090c7250cee1dc2971dad9",
"size": "27... |
require "quickeebooks"
require "quickeebooks/windows/model/meta_data"
require "quickeebooks/windows/model/account_detail_type"
module Quickeebooks
module Windows
module Model
class Account < Quickeebooks::Windows::Model::IntuitType
include ActiveModel::Validations
XML_COLLECTION_NODE = 'Ac... | {
"content_hash": "77761e1c3050ca0505b1b3311d935e55",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 111,
"avg_line_length": 39.54054054054054,
"alnum_prop": 0.6155160628844839,
"repo_name": "shipci/quickeebooks",
"id": "8badeb2b8388e0fe1e70147d9428fa453d52bbf0",
"size": "... |
{% extends "base.html" %}
{% load i18n static rest_framework %}
{% block title %}{% trans "Review Financial Aid" %}{% endblock %}
{% block extrahead %}
<style>
.btn {
height: 34px;
padding: 8px 18px;
}
</style>
{% endblock %}
{% block content %}
{% include "header.html" %}
<div class="page-conten... | {
"content_hash": "c5ea01a534395377d9c3acb891181438",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 210,
"avg_line_length": 49.083333333333336,
"alnum_prop": 0.4825268817204301,
"repo_name": "mitodl/micromasters",
"id": "ad87319437cc4903585b3a6a2e7699397970be69",
"size":... |
namespace arangodb {
namespace application_features {
GreetingsFeaturePhase::GreetingsFeaturePhase(ApplicationServer& server, bool isClient)
: ApplicationFeaturePhase(server, "GreetingsPhase") {
setOptional(false);
startsAfter<ConfigFeature>();
startsAfter<LoggerFeature>();
startsAfter<RandomFeature>();
... | {
"content_hash": "c6111bad61ff02dd83b5fd006fff553a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 86,
"avg_line_length": 26.90909090909091,
"alnum_prop": 0.7516891891891891,
"repo_name": "fceller/arangodb",
"id": "30150074964eecee2c030cc3b97e2b86f94303fe",
"size": "1831... |
package com.geobeacondev.geobeacon;
import java.util.ArrayList;
import java.util.Collections;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import android.app.ActionBar;
import android.app.ActionBar.Tab;
import android.app.FragmentTransaction;
import android.content.ContentResolver;
import a... | {
"content_hash": "de8433bf909d3ca6786497811a8f8205",
"timestamp": "",
"source": "github",
"line_count": 526,
"max_line_length": 110,
"avg_line_length": 32.68821292775665,
"alnum_prop": 0.6977433988600674,
"repo_name": "lijeffreytli/GeoBeacon",
"id": "45f96e637e919705fbbbb5c08f4b6baca53e5221",
"size... |
import React from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import PropTypes from 'prop-types';
const propTypes = {
children: PropTypes.array.isRequired,
};
const muiTheme = getMuiTheme({
palette: {
primary1Color: '#1... | {
"content_hash": "7dd42d7bf2579546af93bd87261de30e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 67,
"avg_line_length": 21.413793103448278,
"alnum_prop": 0.6908212560386473,
"repo_name": "yanhao-li/menu-plus",
"id": "7072c009ddb6208b0f2f3ba38d9fb39a293f6229",
"size": "... |
@interface AppDelegate : NSObject <NSApplicationDelegate>
@property (assign) IBOutlet NSWindow *window;
@end
| {
"content_hash": "885f344a5525956f6cfb276e501ad71c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 57,
"avg_line_length": 22.2,
"alnum_prop": 0.7927927927927928,
"repo_name": "abarisain/iBooster",
"id": "faee49b5b084a162a0fc35805bb94978a0805551",
"size": "298",
"binary"... |
namespace diagnostic_msgs
{
static const char SELFTEST[] = "diagnostic_msgs/SelfTest";
class SelfTestRequest : public ros::Msg
{
public:
SelfTestRequest()
{
}
virtual int serialize(unsigned char *outbuffer) const
{
int offset = 0;
return offset;
}
virtual int deseria... | {
"content_hash": "2658a21661f07ce55be6d793e37d02e3",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 141,
"avg_line_length": 27.06896551724138,
"alnum_prop": 0.5853503184713376,
"repo_name": "gKouros/my_arduino_sketches",
"id": "50b599d46a4851a84833559b31a801cf4fa2d1d7",
... |
<?php
/**
* ExhibitPage model.
*
* @package ExhibitBuilder
*/
class ExhibitPage extends Omeka_Record_AbstractRecord
{
/**
* ID of parent page, if any
*
* @var integer
*/
public $parent_id;
/**
* ID of the exhibit this page is in
*
* @var integer
*/
public ... | {
"content_hash": "4a09aeb52b658b142f41a684676e11ed",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 132,
"avg_line_length": 24.653950953678475,
"alnum_prop": 0.5108311229000884,
"repo_name": "jbfink/docker-omeka",
"id": "81e32f55735c025fae6ee2ce18478dd7ee1cfa02",
"size":... |
$packageName = 'disksmartview'
$url = 'http://www.nirsoft.net/utils/disksmartview.zip'
$checksum = '8d10b7f4c8b60a39e33f28dc45782f734ce4af84bac33945251786c0c361f9dd'
$checksumType = 'sha256'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installFile = Join-Path $toolsDir "$($packageName).exe"
... | {
"content_hash": "5aa20ce5abe9f427b829a75f52e3fb9f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 78,
"avg_line_length": 43.93333333333333,
"alnum_prop": 0.6115326251896813,
"repo_name": "dtgm/chocolatey-packages",
"id": "dbe72866bc6e6f38335c6905947e9ce46e564670",
"size... |
<?php
namespace App\Controller;
use App\DataTable\DataTableModel;
use App\DataTable\DataTableResponseFactory;
use App\DataTable\Response\SectionListResponse;
use App\Entity\Section;
use App\Enum\SectionVoterEnum;
use App\Enum\UserRoleEnum;
use App\Form\SectionType;
use App\Repository\CityRepository;
use App\Repositor... | {
"content_hash": "2a1cfe9b01a4b276eb740dd04dacf959",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 103,
"avg_line_length": 32.60606060606061,
"alnum_prop": 0.5885223048327137,
"repo_name": "ESNFranceG33kTeam/sf_buddysystem",
"id": "e5bf0cc7b5a6fe053fd99e4f8a451a041325d7a8... |
namespace OKHOSTING.Code.Templates
{
public class GenericModuleTemplate : Template
{
public GenericModuleTemplate()
{
}
}
} | {
"content_hash": "5dbf313abe68c6e26e8699132fc5c461",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 46,
"avg_line_length": 14.777777777777779,
"alnum_prop": 0.7368421052631579,
"repo_name": "okhosting/OKHOSTING.Code",
"id": "3b302c3ffd69fc996b1d5e38e0733745defed114",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>It has been since 1971 and is fed by natural feeds · Verily</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex,nofollow">
... | {
"content_hash": "44a14ab67f077c062e822ee2c552c86d",
"timestamp": "",
"source": "github",
"line_count": 664,
"max_line_length": 276,
"avg_line_length": 39.18825301204819,
"alnum_prop": 0.4952154029437762,
"repo_name": "verily-org/verily",
"id": "927fd190fd5ada437f0bb4e66bb77b66b0af4474",
"size": "2... |
% A program to create a video of the computed results
clear all; format compact, format short,
set(0,'defaultaxesfontsize',14,'defaultaxeslinewidth',.7,...
'defaultlinelinewidth',2,'defaultpatchlinewidth',3.5);
% Load data
% Get coordinates
X=load('./xcoord.dat');
Y=load('./ycoord.dat');
Z=load('./zcoord.dat');
T... | {
"content_hash": "763831a3b77d354752ae353ab3b77468",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 72,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.640625,
"repo_name": "openmichigan/PSNM",
"id": "81d6b8ceb753f10ab01057a4dd171295c64ace6d",
"size": "1920",
"bi... |
QQFileInfo::QQFileInfo()
{
}
| {
"content_hash": "d52cfa3f172e89ba9e312f7086b4adcc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 24,
"avg_line_length": 9.666666666666666,
"alnum_prop": 0.6896551724137931,
"repo_name": "eirTony/EIRC2",
"id": "b11fa23a50e1ce06bc64299cee73f257cf17ed32",
"size": "54",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.