text stringlengths 2 1.04M | meta dict |
|---|---|
import {Component} from 'angular2/core';
import {CORE_DIRECTIVES, FORM_DIRECTIVES} from 'angular2/common';
import {CAROUSEL_DIRECTIVES} from '../../../ng2-bootstrap';
// webpack html imports
let template = require('./carousel-demo.html');
@Component({
selector: 'carousel-demo',
directives: [CAROUSEL_DIRECTIVES, C... | {
"content_hash": "3f0bbcb0c95e30bf170907cd65abc5ee",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 79,
"avg_line_length": 27.555555555555557,
"alnum_prop": 0.6401209677419355,
"repo_name": "olivierceulemans/ng2-bootstrap",
"id": "de3089aa7b449b772bfd7c41e272b969f53fcf98",
... |
"""Module providing views for the site navigation root"""
from Products.Five.browser import BrowserView
from Products.ZCatalog.interfaces import ICatalogBrain
from plone import api
from plone.app.contentlisting.interfaces import IContentListing
from plone.app.contentlisting.interfaces import IContentListingObject
from ... | {
"content_hash": "843faccebb79bbc0b9aef27ff884391a",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 78,
"avg_line_length": 33.277227722772274,
"alnum_prop": 0.5617375781017554,
"repo_name": "a25kk/dhp",
"id": "2c8cb5e255bf182c4490262227e7d288549df680",
"size": "3385",
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*#ifndef NOUNCRYPT
# define NOUNCRYPT
#endif*/
#include "zlib.h"
#include "unzip.h"
#ifdef STDC
# include <stddef.h>
# include <string.h>
# include <stdlib.h>
#endif
#ifdef NO_ERRNO_H
extern int errno;
#else
# include <errno.h>
#endif
#ifdef HAVE... | {
"content_hash": "e5bbfd2b398512045ed6091e1b61b803",
"timestamp": "",
"source": "github",
"line_count": 1931,
"max_line_length": 128,
"avg_line_length": 36.59399274987053,
"alnum_prop": 0.5914693686936586,
"repo_name": "cornell-zhang/bnn-fpga",
"id": "11fd7bac54469d424f104530ef767cc7ab62003d",
"siz... |
//
// Copyright 2011 Thomas Gumprecht, Robert Jacob, Thomas Pieronczyk
//
// 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 requir... | {
"content_hash": "b5d61664a6c9401b38d3ea8688876bd0",
"timestamp": "",
"source": "github",
"line_count": 377,
"max_line_length": 93,
"avg_line_length": 42.315649867374006,
"alnum_prop": 0.5608976368081239,
"repo_name": "xperimental/garanbot",
"id": "e3031347dd45d23ae93470404683a1562b21e5c9",
"size":... |
(function () {
'use strict';
angular.module('howarm').config(['$translateProvider', ConfigTranslate]);
function ConfigTranslate($translateProvider) {
$translateProvider.useStaticFilesLoader({
prefix: 'assets/i18n/locale-',
suffix: '.json'
});
$translateProvider.preferredLangu... | {
"content_hash": "5b847cba85f3bd644aa59d27c5df9a8f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 76,
"avg_line_length": 22.555555555555557,
"alnum_prop": 0.6600985221674877,
"repo_name": "blueskyfish/temperature-monitor",
"id": "324fc95b0c57da73190e1657805cecc565738997",... |
<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>App</title>
<link href="css/materialize.css" type="text/css... | {
"content_hash": "c338a785ed8df3d41a6896755019c501",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 268,
"avg_line_length": 45.88157894736842,
"alnum_prop": 0.526813880126183,
"repo_name": "vikashvverma/vikash",
"id": "6d9161674965292ae9d11ecfb563fe6dd4faa22f",
"size": "3... |
package com.twilio.notify.quickstart.fcm;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.support.v4.app.NotificationCompat;
import android.util.Log;
im... | {
"content_hash": "a8825cd3769cabafd9410101edcf4d63",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 98,
"avg_line_length": 37.34567901234568,
"alnum_prop": 0.6895867768595041,
"repo_name": "viktormuller/notifications-quickstart-android",
"id": "35839e445d537f3529ab3321715a3... |
package org.intellij.plugins.relaxNG.xml.dom.impl;
import javax.annotation.Nonnull;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.op... | {
"content_hash": "f47e6ab2db17db1675ae6c1158d6cb6f",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 112,
"avg_line_length": 28.953846153846154,
"alnum_prop": 0.7053666312433581,
"repo_name": "consulo/consulo-xml",
"id": "a87049066fc8088c500360fa0cbbdc0382cd300e",
"size":... |
/*-------------------------------------------------------------------------
*
* plugstorage.c
*
* Pluggable storage implementation. Support external table for now.
*
*-------------------------------------------------------------------------
*/
#include "access/plugstorage.h"
#include "catalog/pg_type.h"
#in... | {
"content_hash": "0ab9781478a14eefe88eab8ec846c7cf",
"timestamp": "",
"source": "github",
"line_count": 572,
"max_line_length": 86,
"avg_line_length": 26.068181818181817,
"alnum_prop": 0.5658238884045336,
"repo_name": "jianlirong/incubator-hawq",
"id": "91cb11ca4d7fe81285690bffa135073184d518c7",
"s... |
def terrformExecCheck
`which terraform`
if $? == false
Kinglog.log.error 'Terrform executable not found, please install terraform'
abort
end
end
# Configure remote s3 bucket for terraform state file
def terrformConfig(array,bucketName)
product = array[:product]
service = array[:yaml... | {
"content_hash": "a1741326af54d627e97c33d478a075fd",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 94,
"avg_line_length": 29.82608695652174,
"alnum_prop": 0.6632653061224489,
"repo_name": "jensskott/kingpin",
"id": "e9a275f8c7eb33b628901b369a05e87628cd944a",
"size": "142... |
package org.springframework.test.web.servlet.samples.standalone;
import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Mon... | {
"content_hash": "f15193447d4b7f17083789e851a1b9e6",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 108,
"avg_line_length": 36.62015503875969,
"alnum_prop": 0.7337002540220152,
"repo_name": "spring-projects/spring-framework",
"id": "81da63c113f98dcc85a5cb68912a6f219482d0ad... |
<?php
/**
* Abstract Order
*
* The WooCommerce order class handles order data.
*
* @class WC_Order
* @version 2.2.0
* @package WooCommerce/Classes
* @category Class
* @author WooThemes
*
* @property string $billing_first_name The billing address first name
* @property string $bil... | {
"content_hash": "f8fc10f705b60d58eda5e5e686ffd912",
"timestamp": "",
"source": "github",
"line_count": 2532,
"max_line_length": 338,
"avg_line_length": 29.684044233807267,
"alnum_prop": 0.6007450771687067,
"repo_name": "radovanx/golfio",
"id": "dfb6ac16d31a385502eddf4b306b2e22fc68ca1e",
"size": "7... |
import os
import sys
import ujson as json
class PluginStructure(object):
"""Provides tools for a plugin architecture."""
def __init__(self, plugin_folder = "./plugins", main_module="__init__"):
super(PluginStructure, self).__init__()
self.plugin_folder = plugin_folder
self.main_module ... | {
"content_hash": "a8c7aa22c598d84394c22219ead35443",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 95,
"avg_line_length": 38.743589743589745,
"alnum_prop": 0.6254136333553938,
"repo_name": "marcoapintoo/Biosignal-Intermediate-Format",
"id": "51c29dbc402c36c0f6d24f4c5285036... |
macUtils
########
.. automodule:: fontTools.ttLib.macUtils
:inherited-members:
:members:
:undoc-members:
| {
"content_hash": "0a693a58de8ef41d59b7149c59b0af02",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 16.428571428571427,
"alnum_prop": 0.6521739130434783,
"repo_name": "googlefonts/fonttools",
"id": "356a911b21f947eaa39984677f247e95124017b7",
"size": ... |
package org.kaaproject.kaa.client.persistence;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java... | {
"content_hash": "1ed51566cf76807797983df3a7340b10",
"timestamp": "",
"source": "github",
"line_count": 553,
"max_line_length": 142,
"avg_line_length": 38.7631103074141,
"alnum_prop": 0.627589102444486,
"repo_name": "Deepnekroz/kaa",
"id": "8a99bf25522db26b3425ad64a3ed3db963dc4016",
"size": "22053"... |
layout: doc
title: Souborové formáty
permalink: /cs/osm-data/file-formats/
lang: cs
category: osm-data
---
Souborové formáty
=============
> Zkontrolováno 2016-09-05
Stejně jako jakýkoli typ dat existují různé způsoby ukládání geografických dat do počítače. Může být uložen v databázi, která je specializovaným systém... | {
"content_hash": "56e2a94115359fe8a1b32775037e974b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 577,
"avg_line_length": 68.84615384615384,
"alnum_prop": 0.7906145251396648,
"repo_name": "hotosm/learnosm",
"id": "a27e2d38ddc276d7c615209eaf127208fa420cdb",
"size": "4899... |
package org.apache.sqoop.mapreduce.db;
import java.math.BigDecimal;
import java.sql.SQLException;
import java.util.List;
import com.cloudera.sqoop.mapreduce.db.TextSplitter;
import junit.framework.TestCase;
/**
* Test that the TextSplitter implementation creates a sane set of splits.
*/
public class TestTextSpli... | {
"content_hash": "63cd061b6e5f63ddd5acbca45e8f8f9d",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 79,
"avg_line_length": 32.51538461538462,
"alnum_prop": 0.6460846936361486,
"repo_name": "TK-TarunW/ecosystem",
"id": "9c007d3aaba60cb2e9ff35565ecc296e9626625b",
"size": "... |
<?php
namespace Rabus\Bundle\Twitter\SignInBundle\Tests\Controller;
use Rabus\Bundle\Twitter\SignInBundle\Controller\TwitterSignInController;
use Rabus\Bundle\Twitter\SignInBundle\Service\TwitterApiGateway;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\HttpFoundation\Request;
use Symfony... | {
"content_hash": "2c5fd58d6495a1833f8c300311ad60b2",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 132,
"avg_line_length": 41.11594202898551,
"alnum_prop": 0.6341205498766302,
"repo_name": "derrabus/twitter-signin-bundle",
"id": "3d4980c058ee19cde3e94e535fb4b6f868faf19c",... |
import signbank.settings
import os
import shutil
from zipfile import ZipFile
from datetime import datetime, date
import json
import re
from django.utils.translation import override
from signbank.dictionary.models import *
from signbank.dictionary.update import gloss_from_identifier
from django.utils.dateformat import... | {
"content_hash": "6a607306683ff13c4dd17f20afbac8bd",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 88,
"avg_line_length": 28.05,
"alnum_prop": 0.7344028520499108,
"repo_name": "Signbank/BSL-signbank",
"id": "84d2f39c6623b918655c8587a90237ad6b172d88",
"size": "1122",
"b... |
ARG BASE_IMG
FROM $BASE_IMG
WORKDIR /home/elektra
USER elektra
# prepare demo environment
COPY --chown=elektra:elektra demo.kdb /home/elektra/
RUN kdb import user/sw < /home/elektra/demo.kdb
# run webd (serves client)
EXPOSE 33334
CMD ["kdb","run-web"]
| {
"content_hash": "d3356ad82579acf6336006beb61ca9b4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 19.692307692307693,
"alnum_prop": 0.74609375,
"repo_name": "BernhardDenner/libelektra",
"id": "bea34386633ff10157c69f90919b76662694e0e8",
"size": "41... |
namespace ProCenter.Domain.ReportsModule.Event
{
#region Using Statements
using System;
using ProCenter.Domain.AssessmentModule;
using ProCenter.Domain.CommonModule;
#endregion
/// <summary>The report template created event class.</summary>
public class ReportTemplateCreatedEvent : Comm... | {
"content_hash": "f15682ed272cc4395f601d783dfad96c",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 167,
"avg_line_length": 30.08433734939759,
"alnum_prop": 0.5510612735282339,
"repo_name": "OBHITA/PROCenter",
"id": "e44582a28f38ffb15012fff93fab09a9fc333213",
"size": "249... |
START_ATF_NAMESPACE
#pragma pack(push, 1)
struct _skill_recall_teleport_request_clzo
{
unsigned __int16 wSkillIndex;
char wszRecallName[17];
unsigned __int16 wConsumeItemSerial[3];
};
#pragma pack(pop)
END_ATF_NAMESPACE
| {
"content_hash": "287c13a5e260f3faee5dc4d6ca643f01",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 47,
"avg_line_length": 26.5,
"alnum_prop": 0.6452830188679245,
"repo_name": "goodwinxp/Yorozuya",
"id": "a2e9b20e5d9f57bcdfc10c5f75d75a881366546f",
"size": "417",
"binary... |
using Lucene.Net.Diagnostics;
using Lucene.Net.Search;
using Lucene.Net.Store;
using Lucene.Net.Support;
using Lucene.Net.Util;
using Lucene.Net.Util.Automaton;
using System;
using System.Diagnostics;
namespace Lucene.Net.Index.Sorter
{
/// <summary>
/// An <see cref="AtomicReader"/> which supports sort... | {
"content_hash": "ee5b75581872829432f1f64ccedf4fc4",
"timestamp": "",
"source": "github",
"line_count": 882,
"max_line_length": 162,
"avg_line_length": 34.68140589569161,
"alnum_prop": 0.46667102553205403,
"repo_name": "sisve/lucenenet",
"id": "ab98827674c38e7a1b629c3ce7bb6c0d16f62012",
"size": "31... |
namespace System.Messaging
{
using System.Runtime.Serialization;
using System.ComponentModel;
using System.Diagnostics;
using System;
/// <include file='doc\IMessageFormatter.uex' path='docs/doc[@for="IMessageFormatter"]/*' />
/// <devdoc>
/// The functions defined in this interface are ... | {
"content_hash": "b2784a13f7c2722a1ab96f77614e9c92",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 108,
"avg_line_length": 42.205128205128204,
"alnum_prop": 0.6330498177399757,
"repo_name": "mind0n/hive",
"id": "2b16ab380ae9cacca65eed373b00497d4470e121",
"size": "2018",
... |
/* eslint-disable no-unused-expressions */
import chai from 'chai';
import Chance from 'chance';
import { Datastore } from '@google-cloud/datastore';
import { Gstore } from '../../src';
const gstore = new Gstore();
const chance = new Chance();
const ds = new Datastore({ projectId: 'gstore-integration-tests' });
gstor... | {
"content_hash": "a3498401ee130c2bfa1002d293ac3f41",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 98,
"avg_line_length": 26.92753623188406,
"alnum_prop": 0.5721205597416577,
"repo_name": "sebelga/gstore-node",
"id": "7a8505cd7ee4f0c8e41feeebd42f07be10cb97b2",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.CardView xmlns:app="http://schemas.android.com/apk/res-auto... | {
"content_hash": "e98dececaf86763d865d87e098e05f70",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 91,
"avg_line_length": 40.30487804878049,
"alnum_prop": 0.5491679273827534,
"repo_name": "mityung/XERUNG",
"id": "91d86acb6fd602083fa5730666bc7877592f6f04",
"size": "3305",... |
.class Lcom/android/server/print/RemotePrintService$8;
.super Ljava/lang/Object;
.source "RemotePrintService.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/server/print/RemotePrintService;->handleValidatePrinters(Ljava... | {
"content_hash": "648b0e8f862463e6a1d44b14e1a1294b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 149,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.7628622117090479,
"repo_name": "Liberations/Flyme5_devices_base_cm",
"id": "b4d552a807682858a8418cbf11ba6a8e8641dc... |
// For beginners, this section jumps deeper into JavaScript and will require a bit more Googling.
describe("About Mutability", function() {
/*
What does 'Mutability' mean? What does it mean for something to be 'mutable'?
Mutable is a type of variable that can be changed. Let's discover what the rules of muta... | {
"content_hash": "2a911aeb8722c510cd0b12dae3c43745",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 111,
"avg_line_length": 34.67567567567568,
"alnum_prop": 0.6609508963367108,
"repo_name": "yanarchy/javascript-koans",
"id": "28b85cdb611761cf9523b38824b3776996796129",
"si... |
using System;
namespace SnappySharp
{
public static class Api
{
/// <summary>
/// Constant max hash table bits.
/// </summary>
public const int MaxHashTableBits = 14;
/// <summary>
/// Constant max hash table size.
/// </summary>
public const int MaxHashTableSize = 1 << MaxHashTableBits;
publi... | {
"content_hash": "faa6408e05e3ac93aabe665aaabd98f2",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 98,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.6752688172043011,
"repo_name": "Kintaro/SnappySharp",
"id": "df924b4e637e668733bf0d749e24540bfabbdaab",
"size": "... |
using System.Threading.Tasks;
using Smooth.IoC.Cqrs.Commanding;
namespace Smooth.IoC.Cqrs.Tests.TestHelpers.Commands
{
public class MyCommandHandler : Handler, ICommandHandler<MyCommandModel>
{
public MyCommandHandler(IHandlerFactory handlerFactory) : base(handlerFactory)
{
}
... | {
"content_hash": "2eca155328055a2fbad93aa433c865b0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 86,
"avg_line_length": 26.227272727272727,
"alnum_prop": 0.6568457538994801,
"repo_name": "generik0/Smooth.IoC.Cqrs",
"id": "2ccf628dd74946904c9b0d249ec73e9d5dd84382",
"siz... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::basic_random_access_handle::close (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" hr... | {
"content_hash": "8d06a2892f8a86de0805eb747ddb47c4",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 359,
"avg_line_length": 64.06153846153846,
"alnum_prop": 0.6395292987512008,
"repo_name": "akashin/HSE_AI_Labs",
"id": "e6b70350996a6c7f08194d0962a13daecf688804",
"size": "... |
There are currently a number of built-in Phoenix-specific and Ecto-specific [Mix tasks](`Mix.Task`) available to us within a newly-generated application. We can also create our own application specific tasks.
> Note to learn more about `mix`, you can read Elixir's official [Introduction to Mix](https://elixir-lang.org... | {
"content_hash": "3861ac9994cf1968ffe4e2db6ba130fd",
"timestamp": "",
"source": "github",
"line_count": 808,
"max_line_length": 379,
"avg_line_length": 40.570544554455445,
"alnum_prop": 0.7547359751075318,
"repo_name": "nshafer/phoenix",
"id": "657a16ed48a28c5a88a5d50646b3b95b23178610",
"size": "32... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_TW" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About TenfiveCoin</source>
<translation>關於莱特幣</translation>
</messa... | {
"content_hash": "0e1dc3e5418570ba7d50508b5bff437e",
"timestamp": "",
"source": "github",
"line_count": 2955,
"max_line_length": 395,
"avg_line_length": 34.64839255499154,
"alnum_prop": 0.6048971539077608,
"repo_name": "tenfive/tenfivecoin",
"id": "92905695bea1ee831152e1368bd8d9b3d80e4886",
"size":... |
#ifndef LayoutState_h
#define LayoutState_h
#include "platform/geometry/LayoutRect.h"
#include "wtf/Allocator.h"
#include "wtf/HashMap.h"
#include "wtf/Noncopyable.h"
namespace blink {
class LayoutBox;
class LayoutFlowThread;
class LayoutObject;
class LayoutView;
// LayoutState is an optimization used during layo... | {
"content_hash": "3c91383b4360fedf54cebc4d0b5f33cb",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 187,
"avg_line_length": 39.364583333333336,
"alnum_prop": 0.752315427361736,
"repo_name": "wuhengzhi/chromium-crosswalk",
"id": "8be94f2d8dcb946deebdfa3564c08241029ad4c1",
... |
(function ($) {
'use strict';
$.extend(true, $.trumbowyg, {
langs: {
// jshint camelcase:false
en: {
fontFamily: 'Font'
},
es: {
fontFamily: 'Fuente'
},
da: {
fontFamily: 'Skrifttype'... | {
"content_hash": "b20dd9f4771e163dafa12f4420e0f15d",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 102,
"avg_line_length": 34.79545454545455,
"alnum_prop": 0.4559111691704768,
"repo_name": "joeyparrish/cdnjs",
"id": "50275bb382990f48f41107189239ffc72d643eef",
"size": "30... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct sum</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../../index.html" title="Ch... | {
"content_hash": "223487eb2ae97faf2fc59f1af9c8f2f7",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 526,
"avg_line_length": 82.52941176470588,
"alnum_prop": 0.641720123544785,
"repo_name": "calvinfarias/IC2015-2",
"id": "caaf19ee75eb02e3f44de53da5b91229a3f3ff3e",
"size": ... |
use super::{Latitude, Longitude, LatLon, Point, normalize_latitude, normalize_longitude};
use projection::Projection;
/// A stereographic projection around a projection point
pub struct StereographicProjection {
/// The projection point
projection_point: LatLon,
}
impl StereographicProjection {
pub fn new... | {
"content_hash": "0c3dc4a76d5653efd91232dc6d3160ed",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 119,
"avg_line_length": 37.69090909090909,
"alnum_prop": 0.6160154365653642,
"repo_name": "samcrow/rust-mapcore",
"id": "6ba6298590c2446f7106b82387baabe692316f55",
"size":... |
package com.mcxiaoke.next.utils;
import android.content.Context;
import com.mcxiaoke.next.Charsets;
import com.mcxiaoke.next.io.StringBuilderWriter;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.CharArrayWriter;
import java.io.Clos... | {
"content_hash": "2104414fbddcff56eba159169b181ada",
"timestamp": "",
"source": "github",
"line_count": 1528,
"max_line_length": 120,
"avg_line_length": 37.14921465968586,
"alnum_prop": 0.57277499823832,
"repo_name": "tsdl2013/Android-Next",
"id": "a4075c1cb72cd8689b1c55261d0590ba0b0be1a4",
"size":... |
#ifndef __VKERNEL_THREAD__
#define __VKERNEL_THREAD__
#include <stdint.h>
#include <arch/arch.h>
#include <process.h>
enum thread_mode
{
thread_running,
thread_paused,
thread_blocked,
thread_killed,
};
enum thread_mode_reason
{
reason_none,
reason_irq_wait,
reason_key_wait,
reason_sleep,
reason_process,
... | {
"content_hash": "a8132e3037b8882997c543d3414cb828",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 80,
"avg_line_length": 16.03030303030303,
"alnum_prop": 0.6994328922495274,
"repo_name": "tjhancocks/Veracyon",
"id": "91ebcb263abc891384753d31b86a2be2534cbc32",
"size": "2... |
<!--
Copyright 2015 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/icons.html">
<link rel="import" href="chrome://resource... | {
"content_hash": "f2232a6d0cce8313131fe26b214ea2d3",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 83,
"avg_line_length": 30.144329896907216,
"alnum_prop": 0.5984952120383037,
"repo_name": "nwjs/chromium.src",
"id": "0e653a815f1def46a5822a07b888d1251e568ed3",
"size": "29... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>gc: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... | {
"content_hash": "365cebd8dc16b01cc72c0f35c96f1286",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 264,
"avg_line_length": 43.660606060606064,
"alnum_prop": 0.5588561910049972,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "a7426463d8d18d793e0be91a8759c660a0765c36",... |
package views
import (
"fmt"
"sort"
"time"
"github.com/ararog/timeago"
"github.com/lastbackend/lastbackend/internal/pkg/models"
"github.com/lastbackend/lastbackend/internal/util/converter"
"github.com/lastbackend/lastbackend/internal/util/table"
"github.com/lastbackend/lastbackend/pkg/api/types/v1/views"
)
t... | {
"content_hash": "af3c0ce7cc0ca33914cbc7e6be73b413",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 118,
"avg_line_length": 22.58433734939759,
"alnum_prop": 0.6487063216857829,
"repo_name": "unloop/lastbackend",
"id": "aaf42ba8bca811c3ec833c4724a846b5e874eda1",
"size": "... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "32390186446ad4a6f09b3101546d9984",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "a26f5efc630dc9c64d58612fb603d838bb521020",
"size": "187"... |
module MongoidRailsSearch
module ActionController
extend ActiveSupport::Concern
included do
include ClassMethods
helper HelperMethods
helper LocalizationHelper
end
module ClassMethods
def search_request
return nil if params[:search].blank?
params_condition... | {
"content_hash": "8fcd9f70b6067f4b6456e787cb7e6916",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 104,
"avg_line_length": 26.75,
"alnum_prop": 0.6406117247238743,
"repo_name": "Stashchenko/mongoid_rails_search",
"id": "042492c3495790b45bc648f3ef3263834dbc6fb8",
"size": ... |
<?php
// auto-generated by sfDefineEnvironmentConfigHandler
// date: 2012/06/05 00:51:47
sfConfig::add(array(
'mod_addressbook_enabled' => true,
'mod_addressbook_view_class' => 'sfPHP',
));
| {
"content_hash": "09f8ca335c52a1df4908f8aad67e2d83",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 53,
"avg_line_length": 27.714285714285715,
"alnum_prop": 0.7061855670103093,
"repo_name": "symfonyGIT/Symfony",
"id": "0f194cb0016020a34f276fab464b924c74ef7afb",
"size": "19... |
package org.apache.ignite.internal.processors.query.stat;
import org.apache.ignite.configuration.IgniteConfiguration;
/**
* Test global view without persistence.
*/
public class StatisticsGlobalViewInMemoryTest extends StatisticsGlobalViewTest {
/** {@inheritDoc} */
@Override protected IgniteConfiguration... | {
"content_hash": "69b45d22e59df1c9c0a889458f4b00cf",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 106,
"avg_line_length": 31.176470588235293,
"alnum_prop": 0.7811320754716982,
"repo_name": "xtern/ignite",
"id": "f93d4ad5b84c1efb552d03316778b5f1e46fb8ba",
"size": "1332",... |
package org.unitime.timetable.form;
import java.util.ArrayList;
import java.util.Collection;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 02-18-2005
*
* XDoclet definition:
* @strut... | {
"content_hash": "763f7f2cb5eec3f6bd7e1b26f50ce640",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 96,
"avg_line_length": 24.11111111111111,
"alnum_prop": 0.6714944042132982,
"repo_name": "rafati/unitime",
"id": "fc97687e183d18e3a8b3dd8504013f4b18051def",
"size": "2323",... |
package org.b3log.symphony.repository;
import org.b3log.latke.logging.Level;
import org.b3log.latke.logging.Logger;
import org.b3log.latke.repository.AbstractRepository;
import org.b3log.latke.repository.annotation.Repository;
import org.b3log.symphony.model.Common;
import org.b3log.symphony.model.Pointtransfer;
impo... | {
"content_hash": "09b3af94d1c03d2eaf24c1e76662025e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 111,
"avg_line_length": 29.264705882352942,
"alnum_prop": 0.5954773869346733,
"repo_name": "billho/symphony",
"id": "a6b2b14c3a14c74303f8850c657fe2dc5237b2e9",
"size": "279... |
<!--
~ Copyright (c) 2008-2016, Hazelcast, 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
~
~ Unles... | {
"content_hash": "665b928d48a1a2af8eca2ac6982a9fb1",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 76,
"avg_line_length": 36.204081632653065,
"alnum_prop": 0.5704622322435174,
"repo_name": "emre-aydin/hazelcast-wm",
"id": "60a6c917843655ada67328d997c11a941a4c23c2",
"size... |
package org.cadixdev.gradle.licenser;
import org.gradle.api.GradleException;
/**
* Thrown if a license violation was found.
*/
public class LicenseViolationException extends GradleException {
/**
* Constructs a new {@link LicenseViolationException} with the specified
* message.
*
* @param... | {
"content_hash": "71bceee5c9de30047eb3044af5fc3525",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 76,
"avg_line_length": 20.318181818181817,
"alnum_prop": 0.6912751677852349,
"repo_name": "Minecrell/LicenseGradle",
"id": "daefddaf538ed82f8ddec430fe9a0e1b7a7cbe24",
"size... |
<!--
Copyright 2015-2019 Smart Community Lab, FBK
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 r... | {
"content_hash": "50d9e3aae02b817f64c2f5854e032de0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 115,
"avg_line_length": 39.666666666666664,
"alnum_prop": 0.5802320928371348,
"repo_name": "smartcommunitylab/AAC",
"id": "acf999026ffa519a3d498a59c24e000feb08a976",
"size"... |
using EasySoftware.PMS.LocalClient.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windo... | {
"content_hash": "9276eba11a681c0aebad4d71088dc99f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 59,
"avg_line_length": 23.517241379310345,
"alnum_prop": 0.7859237536656891,
"repo_name": "karapetyan-ashot/pms",
"id": "13771b1d4eeeafd28d07a95bd8325bb5592bf65e",
"size": ... |
var <%= config.app_name %>Services = angular.module('<%= config.app_name %>.services', ['ngResource']);
<%
for(var name in config.models){
var _model = config.models[name];
%>
//var <%= _model.name %>Services = angular.module('<%= _model.name %>.services', ['ngResource']);
//<%= _model.name %>Services.facto... | {
"content_hash": "9e9dbcd371a09d235ca4efe4dae63542",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 103,
"avg_line_length": 28.586206896551722,
"alnum_prop": 0.4390832328106152,
"repo_name": "schematical/generator-njax",
"id": "b217ddb05db999820799f1abea2724960c37952c",
"... |
require 'spec_helper'
require 'cancan/matchers'
require 'spree/testing_support/ability_helpers'
require 'spree/testing_support/bar_ability'
# Fake ability for testing registration of additional abilities
class FooAbility
include CanCan::Ability
def initialize(user)
# allow anyone to perform index on Order
... | {
"content_hash": "e07d3b7534b89c6f271e452e735600d1",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 96,
"avg_line_length": 31.56573705179283,
"alnum_prop": 0.6444528587656191,
"repo_name": "vinsol/spree",
"id": "1fd02e47a717b30f8a628c33b9a6606f3dd9aaae",
"size": "7923",
... |
' NOTE: If you change the interface name "IService1" here, you must also update the reference to "IService1" in Web.config.
Imports System.Collections.Generic
Imports System.Linq
Imports System.Runtime.Serialization
Imports System.ServiceModel
Imports System.ServiceModel.Web
Imports System.Text
<ServiceContract(Name... | {
"content_hash": "47948a4150bdc27491d10d1ffa994cd2",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 169,
"avg_line_length": 29.28125,
"alnum_prop": 0.7379935965848452,
"repo_name": "RaviChimmalgi/WCF-REST",
"id": "ee81a7e789bd770fc88016b2dae5c21c1955e71d",
"size": "1876",... |
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link href="../lib/ref-index.css" media="screen" type="text/css... | {
"content_hash": "26845abd3b92be20b13286284048ef70",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 379,
"avg_line_length": 67.11538461538461,
"alnum_prop": 0.6303724928366762,
"repo_name": "widok/widok.github.io",
"id": "ac97813fcf46a38ed2f86bd1b3814d53f45fadbb",
"size":... |
const commander = require('../');
test('when call nested subcommand then runs', () => {
const program = new commander.Command();
const leafAction = jest.fn();
program
.command('sub1')
.command('sub2')
.action(leafAction);
program.parse('node test.js sub1 sub2'.split(' '));
expect(leafAction).toHa... | {
"content_hash": "8dd9af09cca0a436f3b7434b60102c4c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 53,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.65,
"repo_name": "tj/commander.js",
"id": "9445061b27499ab3f452eeafed27c3a59d9f8217",
"size": "340",
"binary": ... |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/safe_browsing/password_reuse_modal_warning_dialog.h"
#include "base/callback_helpers.h"
#include "base/i18n/rtl.h"
#inc... | {
"content_hash": "cc44ec36e001740dd0ae9b5d8d03477b",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 100,
"avg_line_length": 38.75675675675676,
"alnum_prop": 0.7273361227336123,
"repo_name": "ric2b/Vivaldi-browser",
"id": "78efd8322bcacb576e9d6c9509692ed8d60f698d",
"size"... |
/// Json-cpp amalgated header (http://jsoncpp.sourceforge.net/).
/// It is intended to be used with #include "json/json.h"
// //////////////////////////////////////////////////////////////////////
// Beginning of content of file: LICENSE
// //////////////////////////////////////////////////////////////////////
// /... | {
"content_hash": "10fe53cda002b60d12171b39594986ef",
"timestamp": "",
"source": "github",
"line_count": 2233,
"max_line_length": 124,
"avg_line_length": 31.440214957456337,
"alnum_prop": 0.6697860581716663,
"repo_name": "ops-p4/ops-p4dp",
"id": "24bc65d1a723e9ef172767c47073b78cb0c5f327",
"size": "7... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
using DotNetNuke.Common;
using DotNetNuke.Entities.Controllers;
#endregion
namespace DotNetNuke.Entities.Urls
{
public class RewriterUtils
{
internal static void RewriteUrl(HttpC... | {
"content_hash": "89a3a7f404dd607f7089cf18bb5beeb3",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 112,
"avg_line_length": 35.08695652173913,
"alnum_prop": 0.512267657992565,
"repo_name": "janjonas/Dnn.Platform",
"id": "1a47c8efacc5de33325c083f5075c57d43cd5d46",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bleeter.Model
{
public class UserDetailsModel
{
private readonly string _username;
private readonly string _displayName;
private readonly int _bleetsCount;
... | {
"content_hash": "d93c41fd91483ff7e8c7ce18d23e4d23",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 125,
"avg_line_length": 34.4375,
"alnum_prop": 0.6588021778584392,
"repo_name": "bruinbrown/Bleeter.CS",
"id": "91077dd2e5221f4616dc15c7239433c85de46a7d",
"size": "1104",
... |
<!doctype html>
<html ng-app='PaperPlanesApp'>
<head>
<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/datetimepicker.css">
<link rel="stylesheet" href="/css/custom.css">
<link rel="stylesheet" href="/css/angucomplete-alt.css">
<script src="/js/angular.js"><... | {
"content_hash": "e35aceb44655ef8972af542e0b27ae02",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 99,
"avg_line_length": 49.23809523809524,
"alnum_prop": 0.6102514506769826,
"repo_name": "andrewyatz/paperplanes",
"id": "1ab6ca96a735e8a636d07302f1c6539ee229a3d3",
"size":... |
package org.everit.blobstore.jdbc.test;
import javax.sql.XADataSource;
import org.junit.Ignore;
import org.junit.Test;
import org.postgresql.xa.PGXADataSource;
public class PostgreSQLJdbcBlobstoreTest extends AbstractJdbcBlobstoreTest {
@Override
protected XADataSource createXADataSource(final DatabaseAccessPa... | {
"content_hash": "159ee6295074d34a824cddabeb3947d0",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 91,
"avg_line_length": 26.688524590163933,
"alnum_prop": 0.7414004914004914,
"repo_name": "everit-org/blobstore-jdbc",
"id": "d29745348ce482a836cf10ad51d30cb9302d4f47",
"si... |
.service-worker-version-stack {
position: relative;
}
.service-worker-version-stack-bar {
position: absolute;
top: 10px;
bottom: 20px;
left: 4px;
content: "";
border-left: 1px solid #888;
z-index: 0;
}
.service-worker-version:not(:last-child) {
margin-bottom: 7px;
}
.service-wor... | {
"content_hash": "5f591d96f2d6bab07884dc1613bf2361",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 82,
"avg_line_length": 19.401234567901234,
"alnum_prop": 0.6678332803054406,
"repo_name": "youtube/cobalt_sandbox",
"id": "449f925dc21cc53db2a1e277200af31c29bf83c7",
"size... |
- WWW
- Apache
- FastCGI
- PHP-FPM
- Exim4
- SSH
- openssh server
- Memcache
- memcache server
| {
"content_hash": "1d988f98717f51f2dd48dc3798b79863",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 18,
"avg_line_length": 11.222222222222221,
"alnum_prop": 0.6435643564356436,
"repo_name": "rPawel/docker-lamp-app",
"id": "ecd7fc3ceeec128e380362f5c7b32d3d572e0bb1",
"size":... |
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Bio/Resume</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
... | {
"content_hash": "17fa60a5235396b59d643a6b74248be6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 536,
"avg_line_length": 34.46268656716418,
"alnum_prop": 0.6639237765266349,
"repo_name": "bensj09/bensj09.github.io",
"id": "42599c3c8574f290e49d95ccb543519f0d83c188",
"si... |
const merge = require('lodash/merge');
/**
* ApiClient class to make calls to different services.
* This could eventually be a class that other classes more
* specific to certain endpoints extend and define the url
* request structure on their own so it can accommodate
* various endpoint URL structures... a boy c... | {
"content_hash": "01a616760da578cf24d5f34de9be0eec",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 128,
"avg_line_length": 24.120805369127517,
"alnum_prop": 0.5873678352810239,
"repo_name": "deadlybutter/phoenix",
"id": "0890c6bb828a5aa9e6b6652bbda02635ea89ab42",
"size"... |
<?php
namespace TennisBook\AccueilBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and... | {
"content_hash": "0297b9829bd23f348be9630e631cd8e8",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 105,
"avg_line_length": 31.892857142857142,
"alnum_prop": 0.7312430011198209,
"repo_name": "yoh91asakura/TennisBook",
"id": "e094a9d83ca9cb5c240e8fa894c69b6b5304aca0",
"siz... |
package org.apache.camel.component.velocity;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter.api.Test;
/**
* Unit test ... | {
"content_hash": "09261cac09e8453f06f45f89c054045c",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 112,
"avg_line_length": 32.08510638297872,
"alnum_prop": 0.6684350132625995,
"repo_name": "alvinkwekel/camel",
"id": "13c486e43ffbc99b025b8b72ce69650231a79289",
"size": "23... |
<?php
/*
* By adding type hints and enabling strict type checking, code can become
* easier to read, self-documenting and reduce the number of potential bugs.
* By default, type declarations are non-strict, which means they will attempt
* to change the original type to match the type specified by the
* type-decla... | {
"content_hash": "39f1ed4ae278c0c98bdf31377d77fefa",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 80,
"avg_line_length": 35.1,
"alnum_prop": 0.7435897435897436,
"repo_name": "exercism/xphp",
"id": "7205ef1ddd912eb9d9ba9739591e6f237186b828",
"size": "1053",
"binary": f... |
_A french fantasy RPG based on the D20 system / OGL 3.5._
Chroniques Oubliées Fantasy est un jeu de rôle médiéval-fantastique complet basé sur le système d20/OGL 3.5.
Cette feuilles de personnage inclue quelques jets et règles optionnelles.
Le jeu complet, des suppl&ea... | {
"content_hash": "072b0e83db59d76058db47f3adf11068",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 216,
"avg_line_length": 47.10909090909091,
"alnum_prop": 0.7533770744886145,
"repo_name": "pinmissile/roll20-character-sheets",
"id": "09f75e205e404dc64b79d8629dd0be35d10cfe9... |
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "usage.h"
#include "FLAC/format.h"
#include <stdarg.h>
#include <stdio.h>
#include "share/compat.h"
static void usage_header(FILE *out)
{
fprintf(out, "==============================================================================\n");
fprintf(out, "metaf... | {
"content_hash": "2a73a63247340bae74ed5e7fc09c76e1",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 103,
"avg_line_length": 63.12779552715655,
"alnum_prop": 0.6114175818614302,
"repo_name": "corporateshark/PortAMP",
"id": "46c394866d9d82aeb8c6889d6a73b3a6c845dc78",
"size... |
package main
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net"
"os"
"path/filepath"
"runtime"
"strconv"
"strings"
"sync"
"syscall"
"time"
"golang.org/x/net/context"
"google/protobuf"
"github.com/howeyc/gopass"
"github.com/op/go-logging"
"github.com/spf13/cobra"
"github.com/spf1... | {
"content_hash": "d7e93a2e8a5bbcc0717f24543e21ac3d",
"timestamp": "",
"source": "github",
"line_count": 1085,
"max_line_length": 194,
"avg_line_length": 32.02672811059908,
"alnum_prop": 0.706523928746151,
"repo_name": "tuand27613/fabric",
"id": "e435973b3de2e8f0447e74e60e38f20aab5c7138",
"size": "3... |
def configuration(parent_package='', top_path=None):
import os.path as op
from numpy.distutils.misc_util import Configuration
from sfepy import Config
site_config = Config()
system = site_config.system()
os_flag = {'posix' : 0, 'windows' : 1}[system]
auto_dir = op.dirname(__file__)
au... | {
"content_hash": "c29f388e670f9c7dbf2a878df92c0805",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 76,
"avg_line_length": 38.5,
"alnum_prop": 0.5407792207792208,
"repo_name": "sfepy/sfepy",
"id": "5f4ab374573cbec59067fc94ca52dffe9a156a9a",
"size": "1948",
"binary": fal... |
package org.apache.polygene.api.entity;
import org.apache.polygene.api.composite.CompositeDescriptor;
import org.apache.polygene.api.composite.StatefulAssociationCompositeDescriptor;
import org.apache.polygene.api.type.EntityCompositeType;
/**
* Entity Descriptor.
*/
public interface EntityDescriptor
extends ... | {
"content_hash": "58fc5a397523fe77bf4b9749bbc2a268",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 80,
"avg_line_length": 24.263157894736842,
"alnum_prop": 0.806941431670282,
"repo_name": "apache/zest-qi4j",
"id": "83f5f5d048066f77babf17548c5bfaa224573396",
"size": "1286... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
goog.module('test_files.file_comment.comment_no_tag');var module = module || {id: 'test_files/file_comment/comment_no_tag.js'};/** A comment without any tags. */
// here comes code.
exports.x = 1;
| {
"content_hash": "8aed9d51f24407f91380056ac2c348ec",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 161,
"avg_line_length": 35.125,
"alnum_prop": 0.6868327402135231,
"repo_name": "drjanitor/tsickle",
"id": "377d84fa555df8ff167a2838c694c9d25a665a17",
"size": "281",
"binar... |
<?php
namespace wapmorgan\PhpCodeFixer;
class ReportIssue
{
// categories
const CHANGED = 'changed';
const VIOLATION = 'violation';
const REMOVED = 'removed';
// types
const RESERVED_IDENTIFIER = 'identifier';
const DEPRECATED_FEATURE = 'deprecated_feature';
const DEPRECATED_FUNCTION_U... | {
"content_hash": "099446a58515765c6e32d6ae1acbf6d0",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 80,
"avg_line_length": 23.555555555555557,
"alnum_prop": 0.6094339622641509,
"repo_name": "wapmorgan/PhpCodeFixer",
"id": "aa52f9c0908bdfd6c3f1cfa38aa1aa4f76634bd9",
"size"... |
namespace ash::multidevice {
namespace {
const char kLog1[] = "Mahogony destined to make a sturdy table";
const char kLog2[] = "Construction grade cedar";
const char kLog3[] = "Pine infested by hungry beetles";
const char kLog4[] = "Unremarkable maple";
// Called for every log message added to the standard logging s... | {
"content_hash": "9a7145a4f13c1fd215b7cb9f030f47db",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 80,
"avg_line_length": 33.87719298245614,
"alnum_prop": 0.6703780424650441,
"repo_name": "chromium/chromium",
"id": "42a419e2964f857db6e8046da9e4200d7d47c426",
"size": "43... |
#import <XCTest/XCTest.h>
#import "UnitTestCommonMethods.h"
#import <objc/runtime.h>
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import <UserNotifications/UserNotifications.h>
#import "UncaughtExceptionHandler.h"
#import "OneSignal.h"
#import "OneSignalHelper.h"
#import "OneSignalTracker.h"
#import "OneSig... | {
"content_hash": "b52ae43044c39fa5950b180c7fa7ce01",
"timestamp": "",
"source": "github",
"line_count": 2253,
"max_line_length": 254,
"avg_line_length": 44.485130936529075,
"alnum_prop": 0.710521327014218,
"repo_name": "themonki/onebusaway-iphone",
"id": "7326146af310ee111ab4801cd29707f7c621c367",
... |
namespace autofill {
namespace {
bool ShouldBeIgnored(const AutofillField* field) {
// Ignore checkable fields as they interfere with parsers assuming context.
// Eg., while parsing address, "Is PO box" checkbox after ADDRESS_LINE1
// interferes with correctly understanding ADDRESS_LINE2.
// Ignore fields mark... | {
"content_hash": "38d4bfe44d7e02f6993c69fa7c58212b",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 80,
"avg_line_length": 30.78191489361702,
"alnum_prop": 0.61206151719371,
"repo_name": "M4sse/chromium.src",
"id": "43807079963877df758fcaf07e6b24e02a618f26",
"size": "680... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "abda182bdf96d853424878054085b854",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 182,
"avg_line_length": 26.912087912087912,
"alnum_prop": 0.6843609636586362,
"repo_name": "googleapis/google-api-java-client-services",
"id": "3eab8a1238e10708c64d9cc119fb02... |
package com.aspose.slides.examples.featurescomparison.presentation.openandsave;
import com.aspose.slides.ISlide;
import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
import com.aspose.slides.examples.Utils;
public class AsposeOpenandSave
{
public static void main(String[] args) throws Excep... | {
"content_hash": "019da0c8b74e8d26a371fcf7524dad4b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 90,
"avg_line_length": 34.5,
"alnum_prop": 0.7212931995540691,
"repo_name": "asposeslides/Aspose_Slides_Java",
"id": "cc891d5e5ecc607e70737bdd725177e209370746",
"size": "89... |
namespace PhotoShare.Client.Core.Commands
{
using System;
using Contracts;
public class ShareAlbumCommand : ICommand
{
public ShareAlbumCommand()
{
}
// ShareAlbum <albumId> <username> <permission>
// For example:
// ShareAlbum 4 dragon32... | {
"content_hash": "7e72d88b12efeabe2f6548e3d8b5d8a2",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 55,
"avg_line_length": 22.636363636363637,
"alnum_prop": 0.5542168674698795,
"repo_name": "morskibg/CS_TrainingAtHome",
"id": "8a66ed0302bdf4ac51c999b36801331f3b16a151",
"s... |
import {LoboConfig, Reject, Resolve} from "./plugin";
import chalk from "chalk";
import {createLogger, Logger} from "./logger";
import * as path from "path";
import * as childProcess from "child_process";
import {createUtil, Util} from "./util";
import { SpawnOptions} from "child_process";
export interface ElmCommandR... | {
"content_hash": "2bff6a80a89d20e1adc8b66deed207e8",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 136,
"avg_line_length": 35.11607142857143,
"alnum_prop": 0.6549707602339181,
"repo_name": "benansell/lobo",
"id": "a8cf526341b63a986dc3731e2c8f114557caf1a6",
"size": "3933... |
layout: post
title: Penguin Hunter UI Idea
excerpt: "Brainstorming an idea for unobtrusive UI for the penguin hunter game."
tags: [penguin-hunter, gamedev, UI, Unity]
comments: true
image:
feature: 2hs.png
credit: LucasArts
---
## UI Ideas
I'm kicking around some ideas for digging into the endangered species hunti... | {
"content_hash": "ed26227c23958bea09a41385fca9426b",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 299,
"avg_line_length": 49.476190476190474,
"alnum_prop": 0.7584215591915303,
"repo_name": "reustonium/2headedsquirrel.com",
"id": "93fa119c25a1de185dbec3aaa46a49ee49108768",... |
using content::BrowserThread;
namespace {
base::LazyInstance<FilePath>::Leaky
g_last_save_path = LAZY_INSTANCE_INITIALIZER;
} // namespace
class DevToolsFileHelper::SaveAsDialog : public SelectFileDialog::Listener,
public base::RefCounted<SaveAsDialog> {
public:
expl... | {
"content_hash": "a126500645c2d39d37a4a4711eb0b25a",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 80,
"avg_line_length": 30.596491228070175,
"alnum_prop": 0.5911697247706422,
"repo_name": "yitian134/chromium",
"id": "1dd41abfc3331ab8d09aa11c15427080fcef7f78",
"size": "... |
<?php
namespace ZendTest\Serializer\Adapter;
use Zend\Serializer;
use Zend\Serializer\Exception\ExtensionNotLoadedException;
/**
* @group Zend_Serializer
*/
class MsgPackTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Serializer\Adapter\MsgPack
*/
private $adapter;
public functio... | {
"content_hash": "1045c5297033a33fd86253b100792b17",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 118,
"avg_line_length": 25.65277777777778,
"alnum_prop": 0.5801299404439632,
"repo_name": "cpunsola/kiosko",
"id": "40150b0700411da25953aacfea89be121d239681",
"size": "399... |
<?php namespace Modules\Workshop\Scaffold\Module\Generators;
class ValueObjectGenerator extends Generator
{
/**
* Generate the given files
*
* @param array $valueObjects
* @return void
*/
public function generate(array $valueObjects)
{
if (! $this->finder->isDirectory($thi... | {
"content_hash": "79aa6870e0a175027502394ad994646f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 82,
"avg_line_length": 29.458333333333332,
"alnum_prop": 0.5983026874115983,
"repo_name": "bitsoflove/Workshop",
"id": "4ad5e1dda481451dbcbcd555710d5f8f70b88486",
"size": "... |
//
// RHManagedObjectContextManager.m
//
// Copyright (C) 2013 by Christopher Meyer
// http://schwiiz.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
// in the Software without restriction, inc... | {
"content_hash": "f53d5c61ba214f51a2b820afedc6d5dd",
"timestamp": "",
"source": "github",
"line_count": 417,
"max_line_length": 329,
"avg_line_length": 38.23741007194245,
"alnum_prop": 0.7363436814048291,
"repo_name": "appy-tw/1129ios",
"id": "ef5d657196286a405bd1a98d3ce73b9827977b60",
"size": "159... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
using AnnuaireCertifies.BackOffice.Web.ViewModels.Pages.Intervenant.Role.Details;
namespace AnnuaireCertifies.BackOffice.Web.ViewModels.Validators.Intervenant.Role.Detail... | {
"content_hash": "a662fdf57af760c347ab0e909417f04c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 105,
"avg_line_length": 34.77777777777778,
"alnum_prop": 0.7507987220447284,
"repo_name": "apo-j/Projects_Working",
"id": "7063c9f9f3abf06f9728b3a36afb787c9bfab8ca",
"size"... |
package org.apache.hadoop.hive.cli.control;
import org.apache.hadoop.hive.kudu.KuduTestSetup;
import org.apache.hadoop.hive.ql.QTestArguments;
import org.apache.hadoop.hive.ql.QTestProcessExecResult;
import org.apache.hadoop.hive.ql.QTestUtil;
import org.apache.hadoop.hive.ql.processors.CommandProcessorException;
imp... | {
"content_hash": "223727813ec96536b7d72e980c7c63e5",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 90,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6619326952763198,
"repo_name": "b-slim/hive",
"id": "71134e7b0a34f2f7374a7359e3217ebc42c74371",
"size": "4044",
... |
<?php
namespace SDMTests\RPS;
use PHPUnit\Framework\TestCase;
use SDM\RPS\CancelledTournamentException;
use SDM\RPS\InvalidTournamentException;
use SDM\RPS\Player;
use SDM\RPS\RPSTournament;
class Test extends TestCase
{
public function testPlayer(): void
{
$player = new Player('name', 'hand');
... | {
"content_hash": "fd2861b6dd1357cf2bc2257d4ac1ef7f",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 73,
"avg_line_length": 27.015267175572518,
"alnum_prop": 0.4388245267024583,
"repo_name": "scandesignsdk/gray_owl",
"id": "58809753bb295672123553ca88a7c8deb6606f0b",
"size... |
REPEATABLE = 'repeatable'
FLAGS = [REPEATABLE]
def _AssertFlagsAreValid(flags):
assert isinstance(flags, list)
for f in flags:
if f not in FLAGS:
raise AssertionError(
'Unrecognized flag for a timeline interaction record: %s' % f)
def GetJavaScriptMarker(label, flags):
"""Computes the mar... | {
"content_hash": "8dcd4773083b7c3b402403963a264b6d",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 79,
"avg_line_length": 27.257142857142856,
"alnum_prop": 0.7054507337526206,
"repo_name": "catapult-project/catapult",
"id": "f2ab6e17f84c459151d4b441f3a6ed1ead09bf0f",
"si... |
from org.myrobotlab.service import Speech
mouth = Runtime.createAndStart("mouth","Speech")
from org.myrobotlab.service import Servo
servo1 = Runtime.create("servo1","Servo")
servo2 = Runtime.create("servo2","Servo")
servo1.startService()
servo2.startService()
arduino = Runtime.createAndStart("arduino","Arduino")
ardu... | {
"content_hash": "c8756c1fe073a5703692b590d1e026a5",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 57,
"avg_line_length": 20.04705882352941,
"alnum_prop": 0.6637323943661971,
"repo_name": "MyRobotLab/pyrobotlab",
"id": "3ee04adc66b6b369ae4b84f8cac5a8c6b7ea2b74",
"size": ... |
namespace Cake.Common.Tools.MSBuild
{
/// <summary>
/// Represents a MSBuild platform target.
/// </summary>
public enum PlatformTarget
{
/// <summary>
/// Platform target: <c>MSIL</c> (Any CPU)
/// </summary>
MSIL = 0,
/// <summary>
/// Platform targ... | {
"content_hash": "b09a0c015d327d04f06609c64d602384",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 52,
"avg_line_length": 24.142857142857142,
"alnum_prop": 0.48422090729783035,
"repo_name": "ferventcoder/cake",
"id": "6cfdbba8cd8d6c1fe45583597925336ca928a461",
"size": "1... |
package servicediscovery
const (
// ErrCodeCustomHealthNotFound for service response error code
// "CustomHealthNotFound".
//
// The health check for the instance that is specified by ServiceId and InstanceId
// is not a custom health check.
ErrCodeCustomHealthNotFound = "CustomHealthNotFound"
// ErrCodeDupli... | {
"content_hash": "0a1c56ba87d8e171ac28383d2a3759f0",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 86,
"avg_line_length": 34.1948051948052,
"alnum_prop": 0.7736422331940752,
"repo_name": "enj/origin",
"id": "0238a42ba47549bf2a7dd00d83a79e0418850045",
"size": "2703",
"b... |
package teams
import (
"github.com/keybase/client/go/libkb"
"github.com/keybase/client/go/protocol/keybase1"
)
type uvAndKey struct {
UV keybase1.UserVersion
Key keybase1.PublicKeyV2NaCl
}
// loadKeyCache is a short-lived cache for loading keys and linkmaps for TeamLoader.
// It must be short-lived since it has... | {
"content_hash": "cf31720fe2d38c17315517d3b32571cb",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 94,
"avg_line_length": 28.675675675675677,
"alnum_prop": 0.7078228086710651,
"repo_name": "keybase/client",
"id": "97e9e19aabbe6ea07eddc26252ea6402acc7a673",
"size": "2122"... |
package com.talent.balance.frontend.handler;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.talent.balance.backend.ext.BackendExt;
import com.talent.balance.common.BalancePacket;
import com.talent.balance.conf.BackendServerConf;
import com.talent.balance.frontend.ext... | {
"content_hash": "f1e913faedb0bcda1c6f37c8b3995319",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 176,
"avg_line_length": 29.915384615384614,
"alnum_prop": 0.7012085368989457,
"repo_name": "RiverWeng/Mycat-Balance",
"id": "61a8d956eccf0ede111a0d33472b2c2f2d99c3eb",
"si... |
//
// RKXMLParserLibXML.m
//
// Created by Jeremy Ellison on 2011-02-28.
// Copyright 2011 RestKit
//
// 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/l... | {
"content_hash": "196c29df8e8ab8e28180871900c0c8f0",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 189,
"avg_line_length": 41.6,
"alnum_prop": 0.5874399038461539,
"repo_name": "forcedotcom/RestKit",
"id": "4e720dddd76a313fc4eb02db5142e1e70517f971",
"size": "6656",
"bi... |
package org.hildan.livedoc.core.scanners.types.predicates;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import org.junit.Test;
im... | {
"content_hash": "32661ef68fd85bad941717d60ee21525",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 76,
"avg_line_length": 35.641666666666666,
"alnum_prop": 0.7156885667523966,
"repo_name": "joffrey-bion/livedoc",
"id": "11d56e621b929bd612f12d929008202c50a05233",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.