text stringlengths 2 1.04M | meta dict |
|---|---|
sudo yum update -y
sudo yum install -y vim tree
sudo systemctl disable firewalld
sudo systemctl stop firewalld
sudo systemctl disable NetworkManager
sudo systemctl stop NetworkManager
sudo systemctl enable network
sudo systemctl start network
sudo yum -y install epel-release
sudo curl -L -o /etc/yum.repos.d/delorean.r... | {
"content_hash": "f3a1d200ae79af696ae98e14f93b2754",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 135,
"avg_line_length": 44.3921568627451,
"alnum_prop": 0.7756183745583038,
"repo_name": "lindison/tripleo_vagrant",
"id": "3efaa67802abcc3c96832120ace2c415735bb31d",
"size... |
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
.PHONY : .NOTPARALLEL
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will ... | {
"content_hash": "1599bc029a35a45bf7de552a0ce01b63",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 255,
"avg_line_length": 34.38341968911917,
"alnum_prop": 0.7132308619650392,
"repo_name": "evelinad/eigen",
"id": "18071140fe30d9a8d4c9f661b05feb240bcfbf3f",
"size": "6798... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>YUI: Split Button on Hover</title>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.7.0/build/reset-fonts-grids/reset-fonts-grids.css">
<link rel="stylesheet" type="text/cs... | {
"content_hash": "e36279f1dfa10e42f2de5af8ba86366f",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 128,
"avg_line_length": 40.20987654320987,
"alnum_prop": 0.6306416948111759,
"repo_name": "davglass/yui-examples",
"id": "84ebc837547c8af1224a9900a0061db526c6b442",
"size":... |
Documentation
=============
- [Home](http://oo3d.richplastow.com/)
| {
"content_hash": "b1de18190b307e33cbd8e8903ab181f7",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 38,
"avg_line_length": 17,
"alnum_prop": 0.5735294117647058,
"repo_name": "richplastow/oo3d",
"id": "eec799b3d7ffcff5684dd6bb7105b645972f350c",
"size": "68",
"binary": fal... |
<?php
/**
* * Created by mtils on 01.01.2022 at 15:48.
**/
namespace Ems\Http\Psr;
use Ems\Core\Exceptions\UnsupportedParameterException;
use Ems\Core\Filesystem\FileStream;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UploadedFileInterface;
use function call_user_func;
use function move_uploaded_f... | {
"content_hash": "ce3d521357c80e1078b74af92894eece",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 136,
"avg_line_length": 21.797619047619047,
"alnum_prop": 0.5715456034953578,
"repo_name": "mtils/php-ems",
"id": "04bccb12602aea8a13a3f77772d08f25913da7e4",
"size": "3662... |
<div class="container">
<div class="row">
<div class="col-12 text-center">
<button type="button" class="btn btn-default" ng-click="vm.newBot()">Add Bot</button>
</div>
</div>
<div class="spacer"></div>
<div id="bot-list" ui-sortable="vm.sortOpts" ng-model="vm.bots">
<div ng-repeat="b... | {
"content_hash": "9ca112c0b5d11845deae3c725dea6826",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 234,
"avg_line_length": 51.055837563451774,
"alnum_prop": 0.40326108570292307,
"repo_name": "gpanders/slackbots",
"id": "6f243c2849027f7e12c68efcc47193e82bd1a038",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>sum-of-two-square: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | {
"content_hash": "ddd800fd9de7ea0e18e94e31d4050e46",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 159,
"avg_line_length": 42.59649122807018,
"alnum_prop": 0.5490115321252059,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "8b1776c406c1d7d880617186fc85df2d3ffcb6b7",
... |
<?php
/**
* Xi
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled with this
* package in the file LICENSE.
*
* @category Xi
* @package Zend
* @license http://www.opensource.org/licenses/BSD-3-Clause New BSD License
*/
namespace Xi\Zend\Auth\Condition;
/**
* Authenticati... | {
"content_hash": "59f5acc55704369ece44e791973ced14",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 79,
"avg_line_length": 18.215384615384615,
"alnum_prop": 0.5743243243243243,
"repo_name": "xi-project/xi-zend",
"id": "b455f3536881f5a289eaf7b1200ac3254c583d86",
"size": "1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dcf1291e4da44f550f3cf27e83cbd78c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4290d83bf1db21b11ac60395b2c48ab2b128730c",
"size": "182... |
import { Component, OnInit } from '@angular/core';
import { UserService } from './../../../core/user/user.service';
@Component({
selector: 'paas-navbar',
templateUrl: './navbar.component.html',
styleUrls: ['./navbar.component.scss']
})
export class NavbarComponent implements OnInit {
public user;
constructo... | {
"content_hash": "9e03ba1228a0a890c27b3a393593d1ee",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 64,
"avg_line_length": 21.5,
"alnum_prop": 0.6697674418604651,
"repo_name": "GonikDaniel/pizza-PaaS",
"id": "1b4fa4f630c3efdaaf77d42581bbde2e010b7b8d",
"size": "430",
"bi... |
#ifndef NEK_TYPE_TRAITS_PROPAGATE_CV_HPP
#define NEK_TYPE_TRAITS_PROPAGATE_CV_HPP
namespace nek
{
template <class Source, class Destination>
struct propagate_cv
{
using type = Destination;
};
template <class Source, class Destination>
struct propagate_cv<Source const, Destination>
... | {
"content_hash": "9e99d82e40ab54bdc68be41d4b4d82ec",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 24.5,
"alnum_prop": 0.6794717887154862,
"repo_name": "nekko1119/nek",
"id": "02bd1ad1f04f76138757e9a1592a706a712d49ef",
"size": "835",
"binary": fa... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>ajaxForm</title>
</head>
<body>
<div id="page-wrapper">
<a onclick="javascript:history.go(-1);" href1="../examples/index.html" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-arrow-left"></span></a>
<a href="https://github.com/tliangl... | {
"content_hash": "e6b21020b75e2d1c6db21246d3759bbd",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 210,
"avg_line_length": 35.02739726027397,
"alnum_prop": 0.5815408682049277,
"repo_name": "tlianglstyle/JZUI_V2",
"id": "8ec6e6a5ed44dfe222df3df3281d2f87bcf74fbc",
"size": ... |
@echo off
pushd %~dp0
"%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_ASHTTP.S01_HTTPPOSTPositive.MSASHTTP_S01_TC11_CommandCode_FolderRelatedCommands /testcontainer:..\..\MS-ASHTTP\TestSuite\bin\Debug\MS-ASHTTP_TestSuite.dll /runconfig:..\..\MS-ASHTTP\MS-ASHTTP.testsettings /unique
pause | {
"content_hash": "f13e62526a8322465d6b5ec6d991ab4d",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 284,
"avg_line_length": 78,
"alnum_prop": 0.8012820512820513,
"repo_name": "OfficeDev/Interop-TestSuites",
"id": "f913d86fb0dcdc40d450816de24ad376e3488573",
"size": "312",
... |
class Solution {
public:
int minMoves(vector<int>& nums) {
return accumulate(begin(nums), end(nums), 0L) - nums.size() * *min_element(begin(nums), end(nums));
}
}; | {
"content_hash": "07c58cd4b51ff606fe25db20ea070643",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 107,
"avg_line_length": 29.833333333333332,
"alnum_prop": 0.6201117318435754,
"repo_name": "pineal/Leetcode_OJ",
"id": "b26f1925301453344058a4003768af63305235af",
"size": "1... |
install-infra:
ansible-playbook site.yml
install-web:
cd web ; npm install ; npm start
create-docker-web:
./bin/run-monitord-ui.sh
create-docker-img:
./bin/make-ui.sh
push-docker-img:
./bin/push-monitord-ui.sh
build:
mvn clean install | {
"content_hash": "a6bee220383efdf052233abd09a62597",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 33,
"avg_line_length": 20,
"alnum_prop": 0.7416666666666667,
"repo_name": "BZCareer/monitor.d",
"id": "3adb7abd78ca2ee80b5832fd397fa3895d40a1f6",
"size": "308",
"binary":... |
import React from 'react'
import Intro from '../views/syllabus/Intro' // 0
import Nound from '../views/syllabus/Nound'
import Definiteness from '../views/syllabus/Definiteness'
import Phrase from '../views/syllabus/Phrase'
import NounPhrase from '../views/syllabus/Noun... | {
"content_hash": "c23a43a6e8c6be36fefaaa456e1bf89c",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 116,
"avg_line_length": 59.666666666666664,
"alnum_prop": 0.613926576217079,
"repo_name": "bostontrader/senmaker",
"id": "668dd179ef868ca4e7d3a1fad4c85475a3ebeb8f",
"size":... |
<?php namespace App\Ooglee\Application\Listeners;
use Illuminate\Database\Eloquent\Model;
use App\Ooglee\Domain\Contracts\IHandler;
use App\Ooglee\Domain\Entities\User
class SendWelcomeMailListener implements IListener {
/**
* SendWelcomeMailListener implementation
*
*/
/**
* @var Ooglee\Infrastructu... | {
"content_hash": "57425476230f1429c4244b71b35bd831",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 57,
"avg_line_length": 19.32608695652174,
"alnum_prop": 0.6062992125984252,
"repo_name": "RowlandOti/ooglee-usersmodule",
"id": "aea5d494ffa740cb89b35a88a74b154db378e831",
... |
var mongoose = require('mongoose');
var badgeSchema = new mongoose.Schema({
author: 'string',
title: 'string',
consumerKey: 'string',
consumerSecret: 'string',
content: Object,
date: {
type: Date,
default: Date.now
}
});
var userSchema = new mongoose.Schema({
id: 'string',
name: 'string',
... | {
"content_hash": "bec054d93e264ebc97020b9b36791eef",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 64,
"avg_line_length": 21.818181818181817,
"alnum_prop": 0.6319444444444444,
"repo_name": "vjrantal/badge-builder",
"id": "1dd197d9602af8a03b4fb1e9706aa49250d90dc8",
"size"... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window = [[UIWindow alloc] init];
self.window.frame = [UIScreen mainScreen].bounds;
WBAccount *account = [WBAccountTool acco... | {
"content_hash": "5a33218ad5e51d51271eb251f99d6105",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 281,
"avg_line_length": 48.030534351145036,
"alnum_prop": 0.7428480610298792,
"repo_name": "Vincent250/My-Weibo-Simulation-Project",
"id": "7d092d06675d7208f91dd6a3cd46070c1... |
package nl.it.fixx.moknj.repository;
import nl.it.fixx.moknj.domain.core.field.FieldDetail;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface FieldDetailRepository extends MongoRepository<FieldDetail, String> {
}
| {
"content_hash": "e7d5e8da3e47bc1bfc3ad76986c932d9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 85,
"avg_line_length": 31.3,
"alnum_prop": 0.8434504792332268,
"repo_name": "fixxit/MoknJ",
"id": "645c0cc0ecde77a535ea0050e9629f5247b48096",
"size": "313",
"binary": fal... |
<#
This script will check to see if there are prereqs and set the flag to deploy them
#>
param(
$sampleFolder = $ENV:SAMPLE_FOLDER,
$prereqTemplateFilenameBicep = $ENV:PREREQ_TEMPLATE_FILENAME_BICEP,
$prereqTemplateFilenameJson = $ENV:PREREQ_TEMPLATE_FILENAME_JSON
)
# checks to see if there are prer... | {
"content_hash": "54f83b0e3c85f07712926e47dae33784",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 111,
"avg_line_length": 36.03225806451613,
"alnum_prop": 0.7842435094001791,
"repo_name": "nzthiago/azure-quickstart-templates",
"id": "34f1bca845cc140432f9919f5b1ed93e10cefa... |
<?php
namespace Sonata\MediaBundle\Tests\Command;
use Sonata\ClassificationBundle\Model\CategoryManagerInterface;
use Sonata\ClassificationBundle\Model\ContextManagerInterface;
use Sonata\MediaBundle\Command\FixMediaContextCommand;
use Sonata\MediaBundle\Provider\Pool;
use Symfony\Component\Console\Application;
use... | {
"content_hash": "c5efe95ab6e1d8d8943e2b8103e4ea06",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 167,
"avg_line_length": 38.319526627218934,
"alnum_prop": 0.6266213712168005,
"repo_name": "Soullivaneuh/SonataMediaBundle",
"id": "7d290735c6b9e8816ea95c9b4253b4b2c127ba6d"... |
// Fill out your copyright notice in the Description page of Project Settings.
#include "Forge.h"
#include "MeleeCharacter.h"
#include "UsableActor.h"
#include "ForgePlayerController.h"
#include "AnimationDock.h" //*Base Çì´õ·Î °í·Á
#include "Kismet/KismetMathLibrary.h"
AMeleeCharacter::AMeleeCharacter(const FObject... | {
"content_hash": "13b3f4d7cb92f7c1f8b3d5ad67e79527",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 125,
"avg_line_length": 24.812080536912752,
"alnum_prop": 0.7372193670543684,
"repo_name": "Turtle-Corder/Forge",
"id": "d6fcb0e30e47593a48212ba2ef543f7ecfa93da2",
"size":... |
//
// SkillViewController.m
// JianGuo
//
// Created by apple on 17/7/24.
// Copyright © 2017年 ningcol. All rights reserved.
//
#import "SkillViewController.h"
#import "SkillsDetailViewController.h"
#import "WebViewController.h"
#import "MineChatViewController.h"
#import "PostSkillViewController.h"
#import "RealNa... | {
"content_hash": "30c2cb7f830eea83a7df91297e1eef92",
"timestamp": "",
"source": "github",
"line_count": 535,
"max_line_length": 286,
"avg_line_length": 33.61869158878505,
"alnum_prop": 0.6467252307350161,
"repo_name": "xueqiulou/Jianguo",
"id": "05038e1eea8fdf357be2a903dce299a758da7fad",
"size": "1... |
package edu.berkeley.nlp.sequence.stationary;
import java.util.Arrays;
import edu.berkeley.nlp.math.DoubleArrays;
import edu.berkeley.nlp.sequence.SequenceModel;
import fig.basic.NumUtils;
public class StationaryForwardBackward {
boolean DEBUG = true;
int MAX_LENGTH ;
int numStates;
double[][] alphas;
double[]... | {
"content_hash": "3e4fa1d6b024985c0171163949c1f38b",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 126,
"avg_line_length": 29.56373937677054,
"alnum_prop": 0.6557110003832887,
"repo_name": "blodstone/CCS590v2",
"id": "28157546a5d540a71933861f21357a957a4da4ad",
"size": "... |
package com.kotcrab.vis.editor.module.editor;
import com.google.common.eventbus.Subscribe;
import com.kotcrab.vis.editor.event.EventBusExceptionEvent;
import com.kotcrab.vis.editor.module.EventBusSubscriber;
import com.kotcrab.vis.editor.ui.toast.DetailsToast;
/** @author Kotcrab */
@EventBusSubscriber
public class... | {
"content_hash": "c57b47b7d0400c639302f0fee51fb1c9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 85,
"avg_line_length": 30.68421052631579,
"alnum_prop": 0.8216123499142367,
"repo_name": "intrigus/VisEditor",
"id": "a8fdb29e53533825773b2018359d3e58e29f545f",
"size": "11... |
from ..excel_comparsion_test import ExcelComparisonTest
from ...workbook import Workbook
class TestCompareXLSXFiles(ExcelComparisonTest):
"""
Test file created by XlsxWriter against a file created by Excel.
"""
def setUp(self):
self.maxDiff = None
filename = 'excel2003_style07.xlsx'... | {
"content_hash": "e20c8761b47e95830dba217002a95896",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 73,
"avg_line_length": 31.05128205128205,
"alnum_prop": 0.5590421139554087,
"repo_name": "jkyeung/XlsxWriter",
"id": "ed1560b5c39d993e9d69f6c04f64ea4ad0151955",
"size": "13... |
package encoding
import (
"github.com/apache/arrow/go/v8/arrow/memory"
"github.com/apache/arrow/go/v8/parquet"
"github.com/apache/arrow/go/v8/parquet/internal/utils"
"golang.org/x/xerrors"
)
// DeltaLengthByteArrayEncoder encodes data using by taking all of the byte array lengths
// and encoding them in front usi... | {
"content_hash": "e32a8ee745fca0bcc4190af729e63967",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 146,
"avg_line_length": 35.484848484848484,
"alnum_prop": 0.7391118701964133,
"repo_name": "laurentgo/arrow",
"id": "24d751fa77e1ab6b482b60d13230ce46293af419",
"size": "54... |
@class DatePickerTextField;
@protocol DatePickerTextFieldDelegate <NSObject>
-(void)datePickerTextField:(DatePickerTextField*)field changed:(NSDate*)date;
@end
@interface DatePickerTextField : UITextField
@property(nonatomic,weak)IBOutlet id<DatePickerTextFieldDelegate> dateDelegate;
@property(nonatomic,strong)UIDat... | {
"content_hash": "0cc6e5e23dfc8af2aac0570e4974d6e7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 79,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.8375,
"repo_name": "qonceptual/QwikHttp",
"id": "948661d5e56d730cd3c1e65c18016d5e39055bdc",
"size": "511",
"bin... |
FROM alpine:3.8
ARG TRANSMISSION_VERSION
LABEL maintainer='Pierre GINDRAUD <pgindraud@gmail.com>'
ENV SMTP_PORT=25
ENV SMTP_STARTTLS=no
ENV SMTP_SSL=no
#ENV SMTP_USERNAME=SASL_USERNAME
#ENV SMTP_PASSWORD=SASL_PASSWORD
#ENV SMTP_SERVER
# Install dependencies
RUN apk --no-cache add \
curl \
jq \
ssm... | {
"content_hash": "2fef84125d7571ab2c168ca445bd2999",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 104,
"avg_line_length": 24.87272727272727,
"alnum_prop": 0.6681286549707602,
"repo_name": "Turgon37/docker-transmission",
"id": "1d5f97c8c74d8a593c570bbae81d8b96a42c8e82",
... |
- Create a git repository: `git init`
- Add this repository on a remote git url (github for example).
- Configure the shipitfile with the remote repository url and the server IP address if you haven't done it yet.
- Launch deploy script:
```bash
./node_modules/.bin/shipit staging deploy
```
If deployment fails, it ... | {
"content_hash": "92154bbb4ba63e1a90844fe95b5d3eb4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 178,
"avg_line_length": 39.583333333333336,
"alnum_prop": 0.751578947368421,
"repo_name": "tcheymol/generator-loopback-ansible",
"id": "74965e9e0d75a2614ba1b11fd2f330e986cfc6... |
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'li',
classNames: ['list-group-item todo'],
classNameBindings: ['isHidden:hide'],
isHidden: false,
actions: {
}
});
| {
"content_hash": "aad87ac173a3b15bd05766e167ad8939",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 39,
"avg_line_length": 20.5,
"alnum_prop": 0.6731707317073171,
"repo_name": "dossorio/ember-todo",
"id": "ea32454c5db6ea59601a87922eda9ecac6d23cff",
"size": "205",
"binar... |
angular.module('mapboxgl-directive').directive('glVideo', ['mapboxglVideoUtils', function (mapboxglVideoUtils) {
// ToDo: Check
function mapboxGlVideoDirectiveLink (scope, element, attrs, controller) {
if (!controller) {
throw new Error('Invalid angular-mapboxgl-directive controller');
}
var mapboxglScope ... | {
"content_hash": "8a3c2e3ef8edb1aaead5471de0c86eff",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 112,
"avg_line_length": 29.28301886792453,
"alnum_prop": 0.6372422680412371,
"repo_name": "Naimikan/angular-mapboxgl-directive",
"id": "565d01ac9d20350dfe834020aaac53d31fcd23... |
@interface baiduMapDemoTests : XCTestCase
@end
@implementation baiduMapDemoTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation... | {
"content_hash": "517b6f63a8b351601e61637d5cd678db",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 25.586206896551722,
"alnum_prop": 0.6981132075471698,
"repo_name": "gaoyuexit/BMKMapDemo",
"id": "c7b8ca50f8659f993bf2979ce0d72128993efa8f",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "968a051a9bb72a86fa1277e9293f39f5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "f12724152d72ae405d2069fd1c52cc50e631c2b6",
"size": "18... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.Scripting.CSharp;
using Roslyn.Test.Utilities;
using Roslyn.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Scripting.CSha... | {
"content_hash": "acb7e03d82d4bc1273b0e4c328970a26",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 120,
"avg_line_length": 32.2877358490566,
"alnum_prop": 0.5693206720233748,
"repo_name": "poizan42/roslyn",
"id": "bdabcf59317d948f09b2d9c7dcea3806f9d86c30",
"size": "7007... |
module.exports = function getErrorHandler() {
return function errorHandler(err, req, res, next) {
let code = 500, error = 'Internal Server Error';
// Mongoose Validation Error?
if (err.name === 'ValidationError' || err.name === 'CastError') {
code = 400;
error = er... | {
"content_hash": "25104e4e2f734771c3f06ab29be3a851",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 30.925925925925927,
"alnum_prop": 0.5149700598802395,
"repo_name": "krogseng/server",
"id": "db01149db89af93875c9e3b6a51302cd00cbab51",
"size": "835"... |
package net.sf.uadetector.internal.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.Charset;
import net.sf.uade... | {
"content_hash": "0ec5f83846f09f5bb6f2d71b9183f580",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 119,
"avg_line_length": 29.32515337423313,
"alnum_prop": 0.6669456066945607,
"repo_name": "jolros/uadetector",
"id": "fbd810d4916b4d618aab15ab58375f1f20f3235b",
"size": "5... |
(function() {
"use strict";
var DEFAULT_ROUTE = 'about';
var template = document.querySelector('#t');
var ajax, pages, scaffold;
var cache = {};
template.pages = [
{name: 'About', hash: 'about', url: '//www.html5rocks.com/en/tutorials/webcomponents/shadowdom/'},
{name: 'Resumé', hash: 'resume', url: '//www.html5... | {
"content_hash": "be4c6489e3335a3e1953edbf82ba6535",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 112,
"avg_line_length": 27.1875,
"alnum_prop": 0.6498084291187739,
"repo_name": "iheartcake/single-page-app",
"id": "d0fbec895340dd8ea50b901a2f772e63c6ffa0c4",
"size": "261... |
require 'net/http'
require 'json'
class Oohlalog::Counter
def initialzie
end
def increment(code,counter=1)
Thread.new do
begin
request = Net::HTTP::Post.new("/api/counter/increment?apiKey=#{Oohlalog.api_key}&incr=#{counter}",{'Content-Type' =>'application/json'})
http_net = Net::HTTP.... | {
"content_hash": "cae523bbd0a561e29fa2e62160040709",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 144,
"avg_line_length": 24.904761904761905,
"alnum_prop": 0.6328871892925431,
"repo_name": "oohlalog/oohlalog_ruby",
"id": "331b3d45ce4aebb73f4ba8d0e2693d7742696490",
"size... |
./dependencies.sh
docker build -t gr2/cppbuilder .
| {
"content_hash": "96e4df3ea6edbab237359378b40aa570",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 32,
"avg_line_length": 17.333333333333332,
"alnum_prop": 0.75,
"repo_name": "Justewi/CentralTrafficLightManagement",
"id": "0744586d3cf75a2f81b82124f5c8d8398615c843",
"size"... |
package com.google.cloud.automl.v1.samples;
// [START automl_v1_generated_AutoMl_GetModel_Modelname_sync]
import com.google.cloud.automl.v1.AutoMlClient;
import com.google.cloud.automl.v1.Model;
import com.google.cloud.automl.v1.ModelName;
public class SyncGetModelModelname {
public static void main(String[] arg... | {
"content_hash": "dab7ed920d23d612a55e7536524fef34",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 100,
"avg_line_length": 39.785714285714285,
"alnum_prop": 0.744165170556553,
"repo_name": "googleapis/java-automl",
"id": "4ec35c77513df38ee17ca5ac65126d373b7d9b7f",
"size"... |
"""
Custom Authenticator to use generic OAuth2 with JupyterHub
"""
import json
import os
import base64
import tornado
from tornado.auth import OAuth2Mixin
from tornado import gen, web
from tornado.httputil import url_concat
from tornado.httpclient import HTTPRequest, AsyncHTTPClient
from jupyterhub.auth import Loc... | {
"content_hash": "f4900f696ae14911d74a96fa5973bd12",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 76,
"avg_line_length": 30.575,
"alnum_prop": 0.5598937040065413,
"repo_name": "santi81/oauthenticator",
"id": "02bcf15e1419335cb85c027c47a6a4b0488c8f4b",
"size": "4892",
... |
package ru.elazarev.list;
/**
* Class to detect cycles in linked list.
* @param <T> type of elements in linked list
* @author Eugene Lazarev mailto(helycopternicht@rambler.ru)
* @since 02.06.17
*/
public class CycleDetector<T> {
/**
* Returns true if linked list head has cycles.
* @param head linke... | {
"content_hash": "bd7cf29138a14ee7ebd5e4712c6049ff",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 69,
"avg_line_length": 20.87735849056604,
"alnum_prop": 0.5020334387708992,
"repo_name": "helycopternicht/elazarev",
"id": "32e154539c727b9dba5dbbe2d36a8e7b724e6644",
"siz... |
* remove rresult dependency
* use sexplib0 instead of sexplib for mirage-crypto 0.10.4+ compatibility
(the dependency stated sexplib0 since some time, but sexplib was inherited
via mirage-crypto-pk)
## v0.3.9 (2021-08-04)
* use Cstruct.length instead of deprecated Cstruct.len (requires cstruct 6.0.0)
## v0.3.8 ... | {
"content_hash": "78f4d4289e4b24718c181bca9fdf64f4",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 83,
"avg_line_length": 22.26984126984127,
"alnum_prop": 0.7027797576621525,
"repo_name": "hannesm/ocaml-otr",
"id": "bd13186f4a657aee2fac2956f59a5a6eac3ac5ee",
"size": "142... |
id: version-1.9.1-addresses
title: Generating Addresses
original_id: addresses
---
Almost all Bitcoin applications need to generate addresses
for their users somehow. There's a lot going on in getting
a correct bitcoin address, but our APIs make it possible to
to get started with all types of addresses in a matter of
... | {
"content_hash": "0e8c34dc7ad137bbbbd3964ef9259f1f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 124,
"avg_line_length": 34.86206896551724,
"alnum_prop": 0.7972304648862513,
"repo_name": "bitcoin-s/bitcoin-s",
"id": "3d4008161d4bb667224a5c17346cae89e2fb0e78",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>nfix: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "714c19bd124da58e21ce09304a99fd34",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 159,
"avg_line_length": 41.6144578313253,
"alnum_prop": 0.5392298784018529,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "34461972c78d3b51c59389562437899acc319788",
... |
function [d imFnames]=strings35()
full_fname = 'strings35.mat';
fname = '/media/blandry/LinuxData/crazyflie-tools/logs/cf2/tests0514/strings35.mat';
if (exist(full_fname,'file'))
filename = full_fname;
else
filename = fname;
end
d = load(filename);
| {
"content_hash": "82465b35769da7053e2bbaafa71042e5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 84,
"avg_line_length": 28.555555555555557,
"alnum_prop": 0.7198443579766537,
"repo_name": "peteflorence/crazyflie-tools",
"id": "c537d9ba46b18787d34c7990f08bc3f67791c27b",
"... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highcharts]]
*/
package com.highcharts.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScri... | {
"content_hash": "416efa4150d707aa93b9e5af5db4bfff",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 654,
"avg_line_length": 75.87037037037037,
"alnum_prop": 0.7273614840126922,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "0b35ef86e0fcd07e84af6b3987c91ca59fb5cc78",
"... |
describe("Common date formater", function () {
beforeEach(module("app"));
describe("dateFormater service", function() {
var service;
beforeEach(inject(function ($injector) {
service = $injector.get("dateFormater");
}));
it("exists", function() {
expect... | {
"content_hash": "0c7ad90d747fd2ce1a8d071773b1d767",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 27.392857142857142,
"alnum_prop": 0.529335071707953,
"repo_name": "Social-Projects/PrompterPro",
"id": "7b615989504b1ac332d9c076a2b1cf1fc2ccad68",
"s... |
var shrink = require('cortex-shrinkwrap');
var path = require('path');
var semver = require('semver');
var cortexJson = require('read-cortex-json');
var Walker = require('./lib/walker');
var _ = require('underscore');
var events = require('events');
var util = require('util');
var builder = new events.EventEmitter();
... | {
"content_hash": "2a9518f88966b017672aa3643b903b1b",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 117,
"avg_line_length": 25.313953488372093,
"alnum_prop": 0.5718879191548002,
"repo_name": "cortexjs/cortex-css-builder",
"id": "842464e4bccc6913ee03d6308c77544f90d42b1e",
... |
package main
import (
"flag"
"fmt"
"log"
"net/http"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
// Prometheus Dummy Exporter is a testing utility that exposes a prometheus format metric of constant value.
// The metric is exposed at a port that... | {
"content_hash": "3abe04405b90a0a3f2dcde12dfd43e6d",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 108,
"avg_line_length": 31.170731707317074,
"alnum_prop": 0.7237871674491393,
"repo_name": "GoogleCloudPlatform/kubernetes-engine-samples",
"id": "a4870ebc63360bb7922f51fddc8... |
#ifndef COHEAR_TUNNEL_H__
#define COHEAR_TUNNEL_H__
#include "detail/TunnelCallbackDescription.h"
#include "detail/TunnelSlot.h"
namespace chr {
/**
* A callback-slot pair, that simply forward any signal that is compatible with
* SignalType from a receiver to a sender. Usage:
*
* // the receiver to listen for... | {
"content_hash": "925740877460c5f60454a512ae7287b7",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 80,
"avg_line_length": 21.894736842105264,
"alnum_prop": 0.7067307692307693,
"repo_name": "funkey/cohear",
"id": "a999557aaeb73fb96614a5a0103410fb916a5aa7",
"size": "1248",... |
<component name="libraryTable">
<library name="Maven: org.jboss.profileservice:jboss-profileservice-plugins:0.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jboss/profileservice/jboss-profileservice-plugins/0.2.2/jboss-profileservice-plugins-0.2.2.jar!/" />
</CLASSES>
<JAVADOC>
<root ... | {
"content_hash": "15f372e82b3baf806c19e6a4f98eaf80",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 154,
"avg_line_length": 52.84615384615385,
"alnum_prop": 0.710334788937409,
"repo_name": "YaelMendes/jboss-eap-quickstarts",
"id": "65fa50728adf3969c18e49f0f38ec667d4df9319",... |
"""
URL scraping API.
This module contains utility functions to extract (scrape) URLs from data.
Currently only HTML and plain text data are supported.
"""
__license__ = """
GoLismero 2.0 - The web knife - Copyright (C) 2011-2014
Golismero project site: https://github.com/golismero
Golismero project mail: contact@go... | {
"content_hash": "f892502bede03f4a73373d1cdd34bc92",
"timestamp": "",
"source": "github",
"line_count": 427,
"max_line_length": 248,
"avg_line_length": 30.271662763466043,
"alnum_prop": 0.540151632368869,
"repo_name": "JeyZeta/Dangerous",
"id": "b459f3f2cae4b7df43d3d5e9ad81212429cf58ed",
"size": "1... |
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ '/assets/css/style.css?... | {
"content_hash": "5ae2f98c1f279df306f0c5163740f13f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 157,
"avg_line_length": 46.06896551724138,
"alnum_prop": 0.5815868263473054,
"repo_name": "isortegah/isortegah.github.io",
"id": "4299a652a5b277e31fbad245be1b2c120d9e2ad6",
... |
<?php
/**
* Created by PhpStorm.
* User: HP
* Date: 09/03/2016
* Time: 12:59 AM
*/
namespace RbacUserDoctrineOrm\Authentication\Storage;
use Doctrine\ORM\EntityManagerInterface;
use RbacUserDoctrineOrm\Domain\AbstractRbacUser;
use RbacUserDoctrineOrm\Domain\Role;
use Zend\Authentication\Storage\StorageInterface... | {
"content_hash": "77b394b2595dd7d4b5fe54b4716dff90",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 131,
"avg_line_length": 26.78095238095238,
"alnum_prop": 0.5807254623044097,
"repo_name": "evilband7/RbacUserDoctrineOrm",
"id": "9851eb35e616d0c02b30fad4bc80bd15a5221ed5",
... |
& | {
"content_hash": "bf49803a716571e8acf4c7036a83987c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 4,
"avg_line_length": 4,
"alnum_prop": 0.75,
"repo_name": "krosenvold/nekohtml",
"id": "73df8425620edc76908db5bed2d6cf1e8638b320",
"size": "4",
"binary": false,
"copies"... |
<!--
Copyright 2014 Google Inc. 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 applicable law o... | {
"content_hash": "87e351b1b2b4b49d7c523ffc1becec9f",
"timestamp": "",
"source": "github",
"line_count": 760,
"max_line_length": 490,
"avg_line_length": 52.40263157894737,
"alnum_prop": 0.6918846984382062,
"repo_name": "GDGMiageGiLab/devfest-app",
"id": "eba2e9d45352a1ecc4acd7bab989170c05d27c79",
"s... |
package org.apache.druid.indexing.common;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.type.TypeFactory;
import... | {
"content_hash": "f82f109405b4ea2e57398c33b0c09d3c",
"timestamp": "",
"source": "github",
"line_count": 472,
"max_line_length": 121,
"avg_line_length": 35.25635593220339,
"alnum_prop": 0.6847545219638242,
"repo_name": "mghosh4/druid",
"id": "a42e83d2baea1b01f18c2fbd955569fa70142831",
"size": "17448... |
/***************
* PROGRAM: Scenario
* NAME: sci.cpp
* DESCRIPTION: interface to Scenario (tm) modeler
* AUTHORS: Andreas Heumann & Mike Hesser
* HISTORY:
* DATE NAME COMMENT
* 21.02.97 ah initial release
* 03.05.97 ah added sciCreateSurface(), sciFreeAll()
* 12.05... | {
"content_hash": "1862f978c8080d800a23d51b3d607911",
"timestamp": "",
"source": "github",
"line_count": 2087,
"max_line_length": 150,
"avg_line_length": 21.244849065644466,
"alnum_prop": 0.629482610852993,
"repo_name": "privatosan/RayStorm",
"id": "8416affdf5d3bae6805cee282350c89d0fb8b6e6",
"size":... |
<div class="drop-lines"></div>
| {
"content_hash": "6624fcfe8d1f29fc20e83b59274ddc11",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 30,
"avg_line_length": 16,
"alnum_prop": 0.625,
"repo_name": "psr1919plus21/myd3",
"id": "717f0eea3f10351953717365b6792521e48f8745",
"size": "32",
"binary": false,
"copi... |
A simple sample for the usage of UnityEditor.AnimationMode api set.
scrapped from [here](http://forum.unity3d.com/threads/sample-mecanim-animations-in-editor.262973/).
| {
"content_hash": "37c2de355b09eff973d4c8c338ece418",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 99,
"avg_line_length": 56.333333333333336,
"alnum_prop": 0.7988165680473372,
"repo_name": "kimsama/Unity-AnimationMode-Sample",
"id": "489f467224eb3f45de85d63d51679ba923f10b1e... |
package de.grafelhaft.winespray.acrecontrol;
import org.junit.Before;
import org.junit.Test;
import static de.grafelhaft.winespray.acrecontrol.Constants.EARTH_RADIUS;
import static org.junit.Assert.*;
/**
* Created by @author Markus Graf (Grafelhaft) on 03.02.2017.
*/
public class LocationConverterTest {
priv... | {
"content_hash": "261c1fd43563ccadd44b7156e47619e5",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 231,
"avg_line_length": 39.94736842105263,
"alnum_prop": 0.66600790513834,
"repo_name": "Grafelhaft/WineSpray",
"id": "9d868ea7554111de6ef0d379cf19c25c891c2390",
"size": "1... |
#ifndef TANGO_VIDEO_OVERLAY_VIDEO_OVERLAY_APP_H_
#define TANGO_VIDEO_OVERLAY_VIDEO_OVERLAY_APP_H_
#include <atomic>
#include <jni.h>
#include <memory>
#include <mutex>
#include <tango_client_api.h> // NOLINT
#include <tango-gl/util.h>
#include <tango-video-overlay/yuv_drawable.h>
#include <tango-gl/video_overlay.h... | {
"content_hash": "82932a32ed5a16a7a0e3ee5fa8f20e9c",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 80,
"avg_line_length": 28.575757575757574,
"alnum_prop": 0.7299399080947331,
"repo_name": "hamidb/tango-examples-c",
"id": "1a05c26e217be57b41c6c0aa37e0a445547bf27b",
"size... |
<div class="commentable" voteable voteable-type="Comment">
<div ng-hide="loggedIn()">
Please <span login-link></span> or <span register-link></span> to comment on this bill
</div>
<div ng-show="loggedIn()">
<div class="add-comment">
<textarea ng-model="formComment.body" placeholder="Add Comment..." ... | {
"content_hash": "a50eb28dc052cdf06b90f8210f398290",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 172,
"avg_line_length": 45.266666666666666,
"alnum_prop": 0.6612665684830633,
"repo_name": "nazar/parlmnt",
"id": "dbd47bef50897aa9bc02618a330ebdde3140b28f",
"size": "679",... |
import Express from 'express';
import registerMiddlewares from './lib/middleware.js';
import dbInit from '../db/index.js';
import passport from './lib/passport.js';
import { register } from './lib/auth/local.js';
export default function createRouter() {
return dbInit()
.then((db) => {
const router = new Expre... | {
"content_hash": "8a81eefee65e76133ff59e28b93bcc79",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 75,
"avg_line_length": 29.525,
"alnum_prop": 0.5715495342929721,
"repo_name": "GrooshBene/shellscripts",
"id": "f72e3ad547c92390a71a7957d9a38979d15719f9",
"size": "1181",
... |
<!DOCTYPE html>
<head>
<title>Alarm Control</title>
<link rel="apple-touch-icon" sizes="180x180" href="{{ url_for('static', filename='apple-touch-icon.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="16x... | {
"content_hash": "d0c8d433d4fc053397e80ee9d799c689",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 111,
"avg_line_length": 37.25675675675676,
"alnum_prop": 0.6463547334058759,
"repo_name": "mhar9000/Clock-Pi",
"id": "27ab543b6321997c92e3775349e29518242b2cd5",
"size": "27... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
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/license... | {
"content_hash": "cb735c8f489d2918929c0df3fb43a2ce",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 52.19230769230769,
"alnum_prop": 0.7170228445099485,
"repo_name": "FlushOut/foheart",
"id": "daaf9722a66f0cee75109b18ecabed7868c5f914",
"size": "135... |
// Copyright 2016-present the Material Components for iOS 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
//... | {
"content_hash": "f6ab93082a5aa3447dc8dfadd1ac698d",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 100,
"avg_line_length": 36.21627408993576,
"alnum_prop": 0.7656832022704428,
"repo_name": "material-components/material-components-ios",
"id": "0c097b483dff0451e1f6cd475141b... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRig... | {
"content_hash": "f2d9e37bd1dc0b9277237f22e30bf049",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 129,
"avg_line_length": 41.16279069767442,
"alnum_prop": 0.6830508474576271,
"repo_name": "iganbold/dukehack",
"id": "aa0886b0dcd37d3c8c887d097d46d19d0e21afd7",
"size": "17... |
package org.febit.lang.protocal;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.febit.lang.Valued;
@Data
@AllArgsConstructor(staticName = "of")
public class Sort {
private String pr... | {
"content_hash": "9323002cbafcd1df07c2f7d3b51b1f34",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 63,
"avg_line_length": 21.685185185185187,
"alnum_prop": 0.6532877882152007,
"repo_name": "febit/febit-common",
"id": "4f67afa966852447c112efcb5b5df5be5dadedad",
"size": "1... |
//
// NSSet+LCActionSheet.h
// LCActionSheet
//
// Created by Leo on 2016/11/28.
// Copyright © 2016年 Leo(http://LeoDev.me). All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSSet (LCActionSheet)
/**
* Check if set contains the int value.
*/
- (BOOL)lc_contains:(int)num;
@end
| {
"content_hash": "8b1b40ee0c72e1e2cea7fa7e59c8d952",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 65,
"avg_line_length": 17.11111111111111,
"alnum_prop": 0.6688311688311688,
"repo_name": "CQTWProgramme/cqtw",
"id": "849676ae4eb7eb8abe9144fbb6a2291f13e44c14",
"size": "31... |
<?php
/**
* @author Samuel Nogueira <samuel.nogueira.dev@gmail.com>
*/
class BlogController extends BaseController {
public function showIndex()
{
return View::make('blog.index');
}
}
| {
"content_hash": "c27cd629f1bf6f1c23ea7fe862de7897",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 58,
"avg_line_length": 16.083333333333332,
"alnum_prop": 0.694300518134715,
"repo_name": "cientistamaluco/samuelnogueira",
"id": "b07e7be93aa0fe4291abedb3eed188e0b807c7d1",
... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bunk
{
public class BulkDocs
{
public BulkDocs(IEnumerable<IDocument> docs)
{
this.Documents = new List<IDocument>(docs);
}
... | {
"content_hash": "0c09637b28133db0b90385ddc175ab8a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 62,
"avg_line_length": 18.763157894736842,
"alnum_prop": 0.6269284712482468,
"repo_name": "dedels/Bunk",
"id": "e63b0b3260ffb9554276b994f0036cec0f904774",
"size": "715",
... |
<?php
namespace Helloworld\Service;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class GreetingServiceFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
{
/*$greetingService = new GreetingService()... | {
"content_hash": "b68086c37a4efad7f987a1ae808442f4",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 78,
"avg_line_length": 36.12903225806452,
"alnum_prop": 0.4205357142857143,
"repo_name": "crysthianophp/zf2extjs-curso",
"id": "1b687df2af126fc5cca85a14a6665ce5567aa835",
"... |
require "cases/helper"
require 'models/post'
require 'models/comment'
require 'models/developer'
require 'models/project'
require 'models/reader'
require 'models/person'
# Dummy class methods to test implicit association scoping.
def Comment.foo() find :first end
def Project.foo() find :first end
class ReadOnlyTest ... | {
"content_hash": "f2e04d683a75e25e92ba53f57ec7342d",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 101,
"avg_line_length": 32.32710280373832,
"alnum_prop": 0.6582827406764961,
"repo_name": "liquidware/saasy",
"id": "145ae57546020d4d0b11322c155fa0589ef2b3b7",
"size": "34... |
<?php
/**
* Created by PhpStorm.
* User: sylvain
* Date: 23/07/2018
* Time: 19:21
*/
use GuzzleHttp\Psr7\Response;
use \Lou117\Core\AbstractController;
use Psr\Http\Message\ResponseInterface;
class TestController extends AbstractController
{
public function foo(): ResponseInterface
{
$response = ... | {
"content_hash": "710c5910ac0591cd7d8e35241536623c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 66,
"avg_line_length": 18.84,
"alnum_prop": 0.6539278131634819,
"repo_name": "Lou117/core",
"id": "6ddc88b801e6d38c580f21d90ab7fa352b0368c0",
"size": "471",
"binary": fal... |
package edu.wpi.disco.plugin;
import edu.wpi.cetask.*;
import edu.wpi.disco.*;
import edu.wpi.disco.lang.*;
/**
* TTSay plugin for utterances for which all inputs known.
*/
public class UtterancePlugin extends AuthorizedPlugin {
private boolean excludeAcceptShould; // see User
@Override
... | {
"content_hash": "243bcee4604d4cc6399b4eb20f33d138",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 96,
"avg_line_length": 34.71111111111111,
"alnum_prop": 0.618437900128041,
"repo_name": "charlesrich/Disco",
"id": "f09862af94d81235e30e72f3dc522206f2484885",
"size": "1832... |
import bot
import sys
from lib import db
from threading import Thread
import time
import imp
import signal
fatal = False
run = True
threads = []
def signal_handler(signal, frame):
print("Caught signal, exiting.")
global run
run = False
bot.run = False
def hup_handler(signal, frame):
print('Relo... | {
"content_hash": "9c25e2bde54eaed4489203bc2bff7fbf",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 70,
"avg_line_length": 25.73469387755102,
"alnum_prop": 0.4706582077716098,
"repo_name": "shacknetisp/vepybot",
"id": "74b817378099c0cfb7ca0132a6f2218943f234ec",
"size": "2... |
<launch>
<!-- This file makes it easy to include the settings for trajectory execution -->
<!-- Flag indicating whether MoveIt! is allowed to load/unload or switch controllers -->
<arg name="moveit_manage_controllers" default="true"/>
<param name="moveit_manage_controllers" value="$(arg moveit_manage_cont... | {
"content_hash": "a2a35ba46be3ae543d8e35a807476269",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 145,
"avg_line_length": 67.34782608695652,
"alnum_prop": 0.7269205939315687,
"repo_name": "si-machines/poli2",
"id": "50abd3abc4bb6b6da1a6907bfb9da1df7295c75e",
"size": "15... |
from __future__ import absolute_import
from __future__ import unicode_literals
import io
import os.path
from pypi_practices.check_readme import check_readme
from pypi_practices.errors import FileValidationError
from testing.util import assert_raises_with_msg
def test_readme_does_not_exist(tmpdir):
with assert_r... | {
"content_hash": "811fee5f30d054346741808013603007",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 75,
"avg_line_length": 29.076923076923077,
"alnum_prop": 0.6984126984126984,
"repo_name": "asottile/pypi_practices",
"id": "fc674f83b13397bc18fb30f270dd9b3990efaa34",
"size... |
from django.contrib.auth import get_user_model
from django.core.urlresolvers import reverse
from django.test import TestCase, Client
from mixer.backend.django import mixer
from organisation.models import DepartmentUser
from .models import Approval
User = get_user_model()
class ApprovalViewsTestCase(TestCase):
cl... | {
"content_hash": "496a7ae0b26548d66ebc00eb2358a702",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 81,
"avg_line_length": 38.411764705882355,
"alnum_prop": 0.6477794793261868,
"repo_name": "rockychen-dpaw/oim-cms",
"id": "83072f414f0a2cf28ae7b77e07fde3a807ded2d3",
"size"... |
ReSharperExtensions
===================
Important
---------
Due to changes in distribution of extensions for the ReSharper platform, I have created a new repository with an extension supporting ReSharper 9.0 and later: [ReSharper.LiveTemplates](https://github.com/joaroyen/ReSharper.LiveTemplates)
What this project c... | {
"content_hash": "ddb6eff641dfa926ced0e976c4fcd03b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 275,
"avg_line_length": 67.20338983050847,
"alnum_prop": 0.7778058007566204,
"repo_name": "joaroyen/ReSharperExtensions",
"id": "b0fbbb02c68a28fb83aec3cff5a3315b63d0e7c3",
... |
package net.floodlightcontroller.loadbalancer;
import java.io.IOException;
import java.util.Collection;
import net.floodlightcontroller.packet.IPv4;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonToken;
import com.fasterxml.... | {
"content_hash": "20ecc38da971097df6fa019e08d87bda",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 178,
"avg_line_length": 33.11678832116788,
"alnum_prop": 0.5574167952391448,
"repo_name": "rhoybeen/floodlightLB",
"id": "3a81b59759a5207e4f69655273c9f97fd9b72ead",
"size"... |
import {
ChildEntity,
OneToOne,
JoinColumn,
ManyToMany,
JoinTable,
} from "../../../../src/index"
import { TournamentParticipant } from "./TournamentParticipant"
import { User } from "./User"
@ChildEntity()
export class TournamentSquadParticipant extends TournamentParticipant {
@OneToOne((type... | {
"content_hash": "654cd332a517a17bfb25ab0b936d2027",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 78,
"avg_line_length": 24.147058823529413,
"alnum_prop": 0.6236297198538368,
"repo_name": "typeorm/typeorm",
"id": "1e3203f99017ba77eb4ef2b9fcdda552b5b6c676",
"size": "821"... |
var approvals = require('approvals');
var exec = require('shelljs').exec;
var path = require('path');
describe('when calling the cli', function () {
[
{
testName: 'blank',
cmd: ''
},
{
testName: 'badProjectFile',
cmd: 'badProjectFile.projectx'
},
{
testName: 'help',... | {
"content_hash": "c4bac10e99aff56f9ab0f8c9c3b6ba7e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 93,
"avg_line_length": 19.63157894736842,
"alnum_prop": 0.5348525469168901,
"repo_name": "staxmanade/diffXcodeTargets",
"id": "5f8f46bc84d2323fc14a152cd62633ea01bce940",
"s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_60) on Tue Mar 29 13:02:11 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PThreadFactory (Play! API)<... | {
"content_hash": "afbc3b087062a13354765a6e28746bb8",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 391,
"avg_line_length": 34.347517730496456,
"alnum_prop": 0.6455709271112946,
"repo_name": "play1-maven-plugin/play1-maven-plugin.github.io",
"id": "da3cc2ccd27feb9ee6db63da... |
package techreborn.itemblocks;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemB... | {
"content_hash": "dd2a81726a6d7f1e4e706b259f77b62a",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 110,
"avg_line_length": 35.51807228915663,
"alnum_prop": 0.7645861601085482,
"repo_name": "drcrazy/TechReborn",
"id": "31384c1ebf56166aabfc7e7070f5246a0cccebb7",
"size": "4... |
//
// XMLParserViewController.m
// week11
//
// Created by 이상진 on 2014. 9. 18..
// Copyright (c) 2014년 EntusApps. All rights reserved.
//
#import "XMLParserViewController.h"
#import <sqlite3.h>
@interface XMLParserViewController (){
NSString *tagName,*tagNameInItem,*dbPath;
NSMutableArray *itemsArray,*res... | {
"content_hash": "3fd597488795cabd8c0252535eb73c1c",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 198,
"avg_line_length": 31.973094170403588,
"alnum_prop": 0.6286115007012623,
"repo_name": "lsj333610dl/NEXT-1402-iOS-basic",
"id": "0405249307177e21eaef2af2ac32dfffdad578e4... |
<?php
namespace App\Common\Models\Weixin\Mysql;
use App\Common\Models\Base\Mysql\Base;
class Callbackurls extends Base
{
/**
* 微信-回调地址安全域名
* This model is mapped to the table iweixin_callbackurls
*/
public function getSource()
{
return 'iweixin_callbackurls';
}
} | {
"content_hash": "c56ade6c975f1bae4d6d2f13401ae85c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 61,
"avg_line_length": 17.941176470588236,
"alnum_prop": 0.659016393442623,
"repo_name": "handsomegyr/models",
"id": "a227cd19fb11bae72c1476d8a9933e237d9e5817",
"size": "32... |
<?xml version='1.0' encoding='UTF-8'?>
<identity xmlns="urn:elytron:1.0">
<credentials>
<password algorithm="clear" format="base64">AXdiYWRtaW4=</password>
</credentials>
<attributes>
<attribute name="role" value="user"/>
</attributes></identity> | {
"content_hash": "6b553b21478abfb57f56e273e86cdddc",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 75,
"avg_line_length": 34.75,
"alnum_prop": 0.6402877697841727,
"repo_name": "droolsjbpm/jbpm-console-ng",
"id": "c4816b41c67c847085ae5f9d46debd0e614e8af8",
"size": "278",
... |
package templates
import (
"text/template"
"github.com/spf13/cobra"
)
// A command group is for grouping together commands
type CommandGroup struct {
// Title for command group shown in help/usage messages
Header string
// List of commands for this group
Commands []*cobra.Command
}
type CommandGroups []Comm... | {
"content_hash": "d12bd3828e75a1fb88468e0117b923f1",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 103,
"avg_line_length": 24.844444444444445,
"alnum_prop": 0.7504472271914132,
"repo_name": "knative/client",
"id": "5af9af6ec063fd9e91ac81c3231d0a89d83c368d",
"size": "1718... |
package com.xixibase.cache;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Properties;
import com.xixibase.cache.multi.MultiDeleteIt... | {
"content_hash": "df19f36983be44116f2ec146dfc90fcd",
"timestamp": "",
"source": "github",
"line_count": 418,
"max_line_length": 104,
"avg_line_length": 29.69377990430622,
"alnum_prop": 0.6281018369320013,
"repo_name": "yeaya/xixibase",
"id": "d98dd17f9fbac6b8e4b0f3f771fa2ff6edd08963",
"size": "1302... |
using System.Data;
using System.Text;
namespace Carbon.Data
{
using Versioning;
internal class SemanticVersionHandler : DbTypeHandler<SemanticVersion>
{
public override DatumInfo DatumType => DatumInfo.String(100);
public override SemanticVersion Parse(object value) =>
... | {
"content_hash": "ac53ffabe9ddace7aa54692e2c6fd48a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 88,
"avg_line_length": 29.08,
"alnum_prop": 0.5447042640990372,
"repo_name": "carbon/Platform",
"id": "673cf93026876c7c5974d1dd25082179c34ba8c7",
"size": "1456",
"binary"... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e6c994a8355f4891398543da99776ebf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "b59cc4d2922be0c04cd527be090ad84d5c584837",
"size": "19... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.
package com.microsoft.alm.client.utils;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Map;
import java.util.TimeZone;
import com.fasterxml.jackson.annotation.Jso... | {
"content_hash": "ce97cd8f026fa54365c6e74849d98b8f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 87,
"avg_line_length": 32.66233766233766,
"alnum_prop": 0.6954274353876739,
"repo_name": "Microsoft/vso-httpclient-java",
"id": "58b72e52b96e016260c79581c966ebe5befed328",
... |
Request Component
-----------------
This contains BLW Libraries HTTP Request classes for making and handling HTTP Requests. All classes are built on the [BLW\HTTP][BLW\HTTP Framework] framework.
A request is either created from a string or manually using [IRequest][] API
##### Inspiration #####
- [Hypertext Transfe... | {
"content_hash": "52c1c73c290fb1833f860651fff0c148",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 158,
"avg_line_length": 25.838541666666668,
"alnum_prop": 0.6722434992944971,
"repo_name": "mAsT3RpEE/BLW",
"id": "92e8dc9c53eb593d649edb78a618c52103de8572",
"size": "4961... |
class ManageIQ::Providers::Amazon::Inventory::Collector::TargetCollection < ManageIQ::Providers::Amazon::Inventory::Collector
def initialize(_manager, _target)
super
parse_targets!
infer_related_ems_refs!
# Reset the target cache, so we can access new targets inside
target.manager_refs_by_associa... | {
"content_hash": "529cd309542d4e352337c07c6b46076d",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 129,
"avg_line_length": 36.3356890459364,
"alnum_prop": 0.6647865408927356,
"repo_name": "durandom/manageiq-providers-amazon",
"id": "804d4458d60fb95f00c55f4f5a7b06c9a05d879... |
from ....utils import assert_cmd_success
from ....utils import catkin_success
from ....utils import in_temporary_directory
from ....utils import redirected_stdio
from ....workspace_assertions import assert_in_config
from ...workspace_factory import workspace_factory
BUILD = ['build', '--no-notify', '--no-status']
@i... | {
"content_hash": "dea7a6f634c2d12b8d998d07a7eb1536",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 97,
"avg_line_length": 36.130434782608695,
"alnum_prop": 0.6173285198555957,
"repo_name": "rhaschke/catkin_tools",
"id": "480b6a7a3e728be4a0cd8c05a503f0a03bc88c49",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.