text stringlengths 2 1.04M | meta dict |
|---|---|
function parseFormat(reader)
{
var results = new ResultNode("PSD structure");
try {
var stream = new DataStream(reader);
var node;
if (stream.readAsciiString(4) != "8BPS") {
throw "This is not a valid PSD file.";
}
if (stream.readUShortBe() != 1) {
th... | {
"content_hash": "54030d341de97e36a94ecebc916dd26b",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 144,
"avg_line_length": 38.46590909090909,
"alnum_prop": 0.5641063515509601,
"repo_name": "dbrant/fileviewer",
"id": "9b29406faa4793f1ec2c759606d67133b9cb2c8e",
"size": "7... |
using System;
using Lucene.Net.Util;
using Document = Lucene.Net.Documents.Document;
using Field = Lucene.Net.Documents.Field;
using IndexWriter = Lucene.Net.Index.IndexWriter;
using AttributeSource = Lucene.Net.Util.AttributeSource;
namespace Lucene.Net.Analysis
{
/// <summary> A <c>TokenStream</c> enumera... | {
"content_hash": "c954da1aa5b54caf895787268ad2e867",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 135,
"avg_line_length": 51.29931972789116,
"alnum_prop": 0.6316138443177297,
"repo_name": "joshball/Lucene.In.Action.NET",
"id": "4a446093a3fc7a056e222ad3c1d02c3cd93a8474",
... |
<!-- title: frappe.desk.form.utils --><div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.7.7</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/frappe/blob/develop/frappe/desk/form/utils.py"
target="_blank" style="margin-left: 10px; marg... | {
"content_hash": "28a72fe4dae0d70ec0f2c245a7334eb2",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 125,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.6064294631710362,
"repo_name": "sbktechnology/trufil-frappe",
"id": "d486930c2499475692b6b15c9877c6d5362d2255",
... |
import pathlib
import ezdxf
from ezdxf import colors
from ezdxf.gfxattribs import GfxAttribs
from ezdxf.render import forms
CWD = pathlib.Path("~/Desktop/Outbox").expanduser()
if not CWD.exists():
CWD = pathlib.Path(".")
# ------------------------------------------------------------------------------
# This examp... | {
"content_hash": "f9c3fb8c57993cd5d8de2fdf28185264",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 80,
"avg_line_length": 27.70149253731343,
"alnum_prop": 0.6287715517241379,
"repo_name": "mozman/ezdxf",
"id": "79d08eae99c29f37c3518df6d3c90570679d093e",
"size": "1921",
... |
require 'spec_helper'
RSpec.describe 'Jubi integration specs' do
let(:client) { Cryptoexchange::Client.new }
let(:eth_cny_pair) { Cryptoexchange::Models::MarketPair.new(base: 'ETH', target: 'CNY', market: 'jubi') }
it 'fetch pairs' do
pairs = client.pairs('jubi')
expect(pairs).not_to be_empty
pair ... | {
"content_hash": "08b8fbf934b2e77c9b70ecd3adc2088d",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 107,
"avg_line_length": 29.176470588235293,
"alnum_prop": 0.6774193548387096,
"repo_name": "coingecko/cryptoexchange",
"id": "31f5a7a1cb43a09a7343aa42563d80f2ee738318",
"si... |
module RestfulSync
module ApplicationHelper
end
end
| {
"content_hash": "7f32ce55c50e4f6619f72878f9e9af1d",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 26,
"avg_line_length": 11.4,
"alnum_prop": 0.8070175438596491,
"repo_name": "vala/restful_sync",
"id": "14c5e66db103cd95a312473e3b8df72010f50927",
"size": "57",
"binary": ... |
"""
Utility that imports a function.
"""
# Future
from __future__ import absolute_import, division, print_function, \
unicode_literals, with_statement
def import_function(function):
"""Imports function given by qualified package name"""
function = __import__(function, globals(), locals(), ['function'], 0)... | {
"content_hash": "6a441e04057187990bb303bd8c1ae532",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 117,
"avg_line_length": 37.05882352941177,
"alnum_prop": 0.6793650793650794,
"repo_name": "cigroup-ol/metaopt",
"id": "a4079b30827e9cff3c9775a894a951b5fdd022e9",
"size": "6... |
package org.javersion.object.mapping;
import static org.javersion.object.types.StringValueType.STRING;
import org.javersion.object.DescribeContext;
import org.javersion.object.TypeContext;
import org.javersion.object.types.ValueType;
import org.javersion.path.PropertyPath;
import org.javersion.reflect.TypeDescriptor... | {
"content_hash": "6888f1e01980da3fa33aeea2e305b5b3",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 96,
"avg_line_length": 28.458333333333332,
"alnum_prop": 0.7833089311859444,
"repo_name": "ssaarela/javersion",
"id": "69208a1f02ac076f811fe46f1eb336514f01651b",
"size": "1... |
"""This module contains common helper functions."""
from __future__ import unicode_literals
import base64
import os
import platform
import random
import shlex
import string
import subprocess
from creds.constants import (CMD_SUDO, RANDOM_FILE_EXT_LENGTH, LINUX_CMD_GROUP_ADD, LINUX_CMD_GROUP_DEL,
... | {
"content_hash": "e1e76ac60c3dcb966f7b346aaaa0282e",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 119,
"avg_line_length": 38.42574257425743,
"alnum_prop": 0.6415872197887142,
"repo_name": "jonhadfield/creds",
"id": "a06a2d317d36947f8684f6ad3aca3518dcf84155",
"size": "7... |
package fr.leomoldo.android.bunkerwar.activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.SoundPool;
import android.net.Uri;
import android.os.Bundle;
import android.... | {
"content_hash": "735826c7a676d92307749b8f5ef979e8",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 156,
"avg_line_length": 43.266666666666666,
"alnum_prop": 0.6953967642526965,
"repo_name": "leomoldo/bunkerwar",
"id": "df77b6c0e759c8a75174d93a580cc87c0ec9ac12",
"size": ... |
<html>
<head></head>
<script>
const worker = new Worker('/back_forward_cache/worker_with_importscripts.js');
window.receivedMessagePromise = new Promise(resolve => {
worker.addEventListener('message', (msg) => {
resolve(msg.data);
});
});
</script>
</html>
| {
"content_hash": "e2e1ae7a9faa13c7acf7069bb4a6d9b6",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 78,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.6766917293233082,
"repo_name": "scheib/chromium",
"id": "8fa30a40c5a54ead2464145616d23883da034d05",
"size": "266"... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... | {
"content_hash": "48bb7444378e27fe117165df027a7736",
"timestamp": "",
"source": "github",
"line_count": 25718,
"max_line_length": 134,
"avg_line_length": 34.66144334707209,
"alnum_prop": 0.5433099662001093,
"repo_name": "wtgodbe/coreclr",
"id": "62d958fa887190f23bc0b9a4e05061229c4d547f",
"size": "8... |
#include "config.h"
#include "ExceptionHelpers.h"
#include "CodeBlock.h"
#include "CallFrame.h"
#include "JSGlobalObjectFunctions.h"
#include "JSObject.h"
#include "JSNotAnObject.h"
#include "Interpreter.h"
#include "Nodes.h"
namespace JSC {
class InterruptedExecutionError : public JSObject {
public:
Interrupt... | {
"content_hash": "e1270fe844ad604524d5cc28db446887",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 207,
"avg_line_length": 55.806060606060605,
"alnum_prop": 0.7437011294526499,
"repo_name": "stephaneAG/PengPod700",
"id": "9bb740e309c6f70cbeb01b17669dbbf2078ffba6",
"size... |
<resources>
<string name="sdk_name">appaloosa-android-tools</string>
<string name="server_url" translatable="false">https://www.appaloosa-store.com/</string>
<!-- The version code and name should stay here not be directly in the manifest.
They are sent with the analytics and since the Manifest is ignor... | {
"content_hash": "771481b086abb5976b6a1abf555595f6",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 127,
"avg_line_length": 67.53333333333333,
"alnum_prop": 0.7339585389930898,
"repo_name": "appaloosa-store/appaloosa-android-tools",
"id": "7cb0d638d437f2c7daf52b693d41d3a6d3... |
package com.packtpub.java7.concurrency.chapter1.recipe7.task;
import java.util.Date;
import java.util.Deque;
import java.util.concurrent.TimeUnit;
import com.packtpub.java7.concurrency.chapter1.recipe7.event.Event;
/**
* Runnable class that generates and event every second
*
*/
public class WriterTask implements ... | {
"content_hash": "ce29f67bf7842933fb2061e27e19031e",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 104,
"avg_line_length": 21.88235294117647,
"alnum_prop": 0.6845878136200717,
"repo_name": "xuelvming/Java7ConcurrencyCookbook",
"id": "d3bc4baaaf9e51ee541386c77a9192cc5566926... |
import { inject, TestBed } from '@angular/core/testing';
import { UsersService } from './users.service';
import { HttpClient, HttpClientModule } from '@angular/common/http';
describe('UsersService', () => {
let usersService;
beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientModule]... | {
"content_hash": "50330a370daba583a95427e7b2524f87",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 28.94736842105263,
"alnum_prop": 0.6672727272727272,
"repo_name": "TF-Banksters/Vacations",
"id": "4fc34c641f19baf345b5491eb0a8f785955b87b0",
"size":... |
package org.springframework.rules.constraint;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.springframework.rules.constraint.Constraint;
import org.springframework.rules.reporting.TypeResolvable;
import org.springframework.rules.reporting.TypeResolvableSupport;
/**
* A constraint based... | {
"content_hash": "5f248e738f77ce7d9611261f0d307c58",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 83,
"avg_line_length": 24.135593220338983,
"alnum_prop": 0.7324438202247191,
"repo_name": "springrichclient/springrcp",
"id": "3e931e37e3a8ef9cb94f63f5ce49c2e214947ca3",
"s... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3ba95c9b0f139dbd566523ffb8210203",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "9b3b1048232aa492b150df83da7f50b588c3d494",
"size": "199... |
import collections
import json
import os
from os import path
import subprocess
import sys
import unittest
import yaml
INV_DIR = 'playbooks/inventory'
SCRIPT_FILENAME = 'dynamic_inventory.py'
INV_SCRIPT = path.join(os.getcwd(), INV_DIR, SCRIPT_FILENAME)
sys.path.append(path.join(os.getcwd(), INV_DIR))
import dynamic_... | {
"content_hash": "b9c135749b4b7b3e65a3ec80a7ae7ebf",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 79,
"avg_line_length": 31.59248554913295,
"alnum_prop": 0.5765254779983533,
"repo_name": "mrda/openstack-ansible",
"id": "feedb0dc27b9271ccb4eeca40f58099e3954c134",
"size"... |
class ObjectRecognitionLabelNameTranslator {
public:
ObjectRecognitionLabelNameTranslator();
virtual ~ObjectRecognitionLabelNameTranslator();
std::string Translate(size_t id);
private:
virtual std::string DoTranslate(size_t id) = 0;
class ObjectRecognitionLabelNameTranslatorD* d_;
};
#endif // _OBJECT_... | {
"content_hash": "35b3140b511e9d183b2e9b4393ff16a6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 55,
"avg_line_length": 25.5,
"alnum_prop": 0.7787114845938375,
"repo_name": "lisa0314/node-realsense-1",
"id": "88c690eaba7f0218755b67a79fafb303d85f1119",
"size": "650",
... |
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Portal;
using Esri.ArcGISRuntime.Symbology;
using Esri.ArcGISRuntime.UI;
using Microsoft.UI.Xaml.Media;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
names... | {
"content_hash": "f3c86af3fd5746a92cefc30d17fd88b5",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 275,
"avg_line_length": 54.94736842105263,
"alnum_prop": 0.6518199233716475,
"repo_name": "Esri/arcgis-runtime-samples-dotnet",
"id": "6ccc150d294d7c0ab640e494fa665f1e61731a... |
../../node_modules/karma/bin/karma $1 $2 | {
"content_hash": "e458840308845844ed973216b1140cc8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 40,
"avg_line_length": 40,
"alnum_prop": 0.65,
"repo_name": "tkaplan/apollo",
"id": "6cfe2608a4a89c1403cda23a8f973935e23e188b",
"size": "40",
"binary": false,
"copies": ... |
package main
import (
"context"
database "cloud.google.com/go/spanner/admin/database/apiv1"
"google.golang.org/api/iterator"
databasepb "google.golang.org/genproto/googleapis/spanner/admin/database/v1"
)
func main() {
ctx := context.Background()
c, err := database.NewDatabaseAdminClient(ctx)
if err != nil {
... | {
"content_hash": "a53af04925c25e82041487bb5939bc56",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 111,
"avg_line_length": 21.89189189189189,
"alnum_prop": 0.6851851851851852,
"repo_name": "googleapis/google-cloud-go",
"id": "9cdd83a7fe7e78b4b7923c7fb644727a09fd9dfd",
"s... |
@interface PodsDummy_SGVInstanceSwizzling_Swift_OSX : NSObject
@end
@implementation PodsDummy_SGVInstanceSwizzling_Swift_OSX
@end
| {
"content_hash": "d57e9f5f021c4b9982ba1af155b38062",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 62,
"avg_line_length": 32.5,
"alnum_prop": 0.8538461538461538,
"repo_name": "sanekgusev/SGVInstanceSwizzling",
"id": "354d39fd1b86df37ac021ebf72f4211cefef8dc3",
"size": "164... |
package mobi.cangol.mobile;
import android.test.ApplicationTestCase;
import mobi.cangol.mobile.service.AppService;
import mobi.cangol.mobile.service.conf.ConfigService;
/**
* Created by weixuewu on 16/6/11.
*/
public class CoreApplicationTest extends ApplicationTestCase<CoreApplication> {
private CoreApplicat... | {
"content_hash": "ad73acbc81078958b4f977f589ed8023",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 110,
"avg_line_length": 27.17241379310345,
"alnum_prop": 0.7296954314720813,
"repo_name": "Cangol/Cangol-appcore",
"id": "9406118dc103590b88ad534dd4af8071b11d2a00",
"size":... |
"""uncompyle6 packaging information"""
# To the extent possible we make this file look more like a
# configuration file rather than code like setup.py. I find putting
# configuration stuff in the middle of a function call in setup.py,
# which for example requires commas in between parameters, is a little
# less elegan... | {
"content_hash": "c3eaa89eeb1f71eba58526ef7897c65b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 79,
"avg_line_length": 39.776119402985074,
"alnum_prop": 0.6097560975609756,
"repo_name": "moagstar/python-uncompyle6",
"id": "a216d2d61e1b0ab469d128100f33fbe65e623f9d",
"s... |
Order: 130
---
Sharing variables and state across your builds can currently be achieved in a handful of different ways, depending on what state you want to share and across what scope.
## Typed Context
**_This only applies to Cake version `0.28.0` and later_**
> For more background on typed context, check out [the ... | {
"content_hash": "0687d13f421ea4e16af6eca55f5322e8",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 248,
"avg_line_length": 34.528301886792455,
"alnum_prop": 0.6762295081967213,
"repo_name": "devlead/website",
"id": "6953228b52b1bce1ae23ff317bbe62fe179eedb4",
"size": "36... |
describe("InterventionPlotBand", function() {
describe(".toHighChartsDate", function() {
describe("good input", function() {
it("returns a correct JavaScript UTC date for HighCharts", function() {
var input = { year: 2015, month: 8, day: 14 };
var high_charts_date = InterventionPlotBand.toH... | {
"content_hash": "0752087682c421dff39028d174da2030",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 98,
"avg_line_length": 41.888888888888886,
"alnum_prop": 0.6268788682581786,
"repo_name": "codeforamerica/somerville-teacher-tool",
"id": "b46543ebbd284fd33c74af38b99a6151872... |
@interface MOBProjectionEPSG6062 : MOBProjection
@end
| {
"content_hash": "816c49c05cc93fe29b48d4dfea9a0433",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.8363636363636363,
"repo_name": "jkdubr/Proj4",
"id": "9227d97254cc7fd005d053f94078ebe6eaed5a0d",
"size": "82",
"... |
layout: page
title: "Skadeförebyggande arbete"
meta_title: "Skadeförebyggande arbete"
subheadline: ""
teaser: ""
header:
image_fullwidth: "header_forening.jpg"
permalink: "/forening/skadeforebyggande_arbete/"
---
| {
"content_hash": "a1e36055765b008196d96504803aa530",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 48,
"avg_line_length": 24,
"alnum_prop": 0.7592592592592593,
"repo_name": "sonjacolmsjo/Ultimatesweden1",
"id": "775442d327bf4291464eb6487699ed6ed1506855",
"size": "222",
... |
package org.apache.derby.impl.sql.execute.rts;
import org.apache.derby.iapi.sql.execute.ResultSetStatistics;
import org.apache.derby.iapi.services.io.StoredFormatIds;
import org.apache.derby.iapi.services.i18n.MessageService;
import org.apache.derby.iapi.reference.SQLState;
import org.apache.derby.iapi.services.io... | {
"content_hash": "bf47190ae8e3535e3b5a2b5a1e82d00d",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 97,
"avg_line_length": 28.15028901734104,
"alnum_prop": 0.691170431211499,
"repo_name": "trejkaz/derby",
"id": "82ae1b6df9223434dfda1d6ef9dc98adb90a42bf",
"size": "5751",
... |
* 1.1.4 - Ease of use
* Create single method call to disable cache on UI AgentPolicy.
* Add notifyCompletion() and notifyProgress() methods on AbstractAgent.
* 1.1.3 - Open Source Release
* 1.1.1 - Bugfix
* Fix temporarily leaking most recent AgentListener.
* 1.1.0 - GroundControl static API
... | {
"content_hash": "12f491b60ae0c75997b6f3c42d20817d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 118,
"avg_line_length": 51.955555555555556,
"alnum_prop": 0.7091531223267751,
"repo_name": "BottleRocketStudios/Android-GroundControl",
"id": "ff6934990fc2759c79dae0c922263ce... |
package com.android.app.function.onekeyshare.theme.skyblue;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Imag... | {
"content_hash": "4f66bcd9495d5e33700f9a879864d09b",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 152,
"avg_line_length": 28.47342995169082,
"alnum_prop": 0.7312521208008144,
"repo_name": "frodoking/GradleAndroid-App",
"id": "699ee90fff8bf7f59611654a65127d7614c36fb3",
... |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<main role="main">
<div class="sourceContainer">
<pre><span class="sourceLineNo">001</span><a id="line.1">package io.ebean;</a>
<span class="sourceLineNo... | {
"content_hash": "8dbb8a9f2fb4bf824307e532cde53de3",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 136,
"avg_line_length": 40.74452554744526,
"alnum_prop": 0.6519168756718022,
"repo_name": "ebean-orm/ebean-orm.github.io",
"id": "477a550b7b285f2114f750b93781b4ae4fbda755",
... |
using System.Diagnostics.CodeAnalysis;
namespace xFunc.Maths.Analyzers.TypeAnalyzers;
/// <summary>
/// Extensions method for the <see cref="ResultTypes"/> enum.
/// </summary>
internal static class ResultTypesExtensions
{
/// <summary>
/// Helper method for throw the <see cref="ParameterTypeMismatchException... | {
"content_hash": "1d0bc08406c3f372ad4f6b4fe9a3c8a7",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 100,
"avg_line_length": 48.43589743589744,
"alnum_prop": 0.7215457914240339,
"repo_name": "sys27/xFunc",
"id": "264dd7f9b2a6a4dd7c724716777776872f6e8492",
"size": "2049",
... |
// The MIT License (MIT)
// Copyright (c) 2014 Rasmus Mikkelsen
// 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, including without limitation the rights to
// use, c... | {
"content_hash": "92877f73c774fdc5d9b927702198e26c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 100,
"avg_line_length": 43.285714285714285,
"alnum_prop": 0.7114568599717115,
"repo_name": "jnus/Serilog.Sinks.LogReceiver",
"id": "b73f767c43b6e3ef55c5686c341d313585c85d77",... |
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode* reverseBetween(ListNode* head, int m, int n) {
if (head == NULL) return NULL;
ListNode *tail = NULL;
... | {
"content_hash": "498133568cf6ab84f50b39d032570ec6",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 65,
"avg_line_length": 27.62,
"alnum_prop": 0.4663287472845764,
"repo_name": "yplusplus/LeetCode",
"id": "5fa4ff730edb2b610f2001e271e069dcd75d5757",
"size": "1381",
"bina... |
require 'spec_helper'
feature HomeController do
background do
visit root_path
end
scenario "Show top page" do
page.should have_content 'Home#index'
page.should have_content 'Find me in app/views/home/index.html.slim'
end
end | {
"content_hash": "9752e640b7c4eeb01471ebbfe8e03b85",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 72,
"avg_line_length": 20.5,
"alnum_prop": 0.7276422764227642,
"repo_name": "patorash/rails_template",
"id": "e9c196d717d61deb7bf5c483179f48985599338f",
"size": "262",
"b... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Trans. Wis. Acad. Sci. Arts Lett. 19(2): 668 (1919)
#### Original name
Ascochyta saniculae Davis
### Remarks
null | {
"content_hash": "459c8b0b6c44962d5e0673153ab4c961",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 13.615384615384615,
"alnum_prop": 0.6892655367231638,
"repo_name": "mdoering/backbone",
"id": "cb615a3f4e8c44b2a834abf848970ec2504e9f25",
"size": "24... |
using System.Configuration;
using System.IO;
namespace ZBuildLights.Core.Configuration
{
public class ApplicationConfiguration : IApplicationConfiguration
{
public string StorageFilePath
{
get
{
var value = Required("StorageFilePath");
va... | {
"content_hash": "f3594d1ca49c427be461e3f794f3809a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 106,
"avg_line_length": 28,
"alnum_prop": 0.5796703296703297,
"repo_name": "Vector241-Eric/ZBuildLights",
"id": "7f23bac5eb38fd5e645697fa895cec250f49c54f",
"size": "730",
... |
package com.adaptris.http;
/**
* <p>
* Root of all custom <code>Exception</code>s in the <code>http</code> package
* and sub-packages.
* </p>
*/
public class HttpException extends Exception {
/**
* <code>serialVersionUID</code>
*/
private static final long serialVersionUID = -2006020601L;
/**
... | {
"content_hash": "7ca1fc23543eae7a295c12cc336d9193",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 78,
"avg_line_length": 20.78688524590164,
"alnum_prop": 0.6309148264984227,
"repo_name": "mcwarman/interlok",
"id": "ec64e9e3827ccd2e4edced77208cdb04813a3bec",
"size": "186... |
using System.Collections;
using Game;
using Game.Enums;
using Photon;
using Photon.Enums;
using UnityEngine;
namespace Mod.Interface
{
public class CreateRoom : Gui
{
private readonly SimpleAES _aes;
private Texture2D _background;
private Texture2D _selectedNormal;
pri... | {
"content_hash": "31ba9def4febc283b57846c7dad106e1",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 235,
"avg_line_length": 49.56896551724138,
"alnum_prop": 0.5538086956521739,
"repo_name": "ITALIA195/Shelter",
"id": "2fe1a2be3c783b3379e21899e89a75350933d357",
"size": "1... |
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <cutils/properties.h>
#include <utils/RefBase.h>
#include <linux/android_pmem.h>
#include "gr.h"
#include "gpu.h"
#include "memalloc.h"
#include "alloc_controller.h"
using name... | {
"content_hash": "f5f4277a17532ac12bc3e8ba2bed5a62",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 78,
"avg_line_length": 27.275510204081634,
"alnum_prop": 0.6318742985409652,
"repo_name": "Zuli/device_sony_lt28",
"id": "a98baf8a8aa117e6de746e756bf7b7668ac7e693",
"size":... |
package com.swrve.sdk.rest;
import java.io.UnsupportedEncodingException;
import java.util.Map;
/**
* Used internally to define a REST client.
*/
public interface IRESTClient {
void get(String endpoint, IRESTResponseListener callback);
void get(String endpoint, Map<String, String> params, IRESTResponseListe... | {
"content_hash": "5974cd02a5d1e7d70d2e9d807e6c314c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 126,
"avg_line_length": 33.11764705882353,
"alnum_prop": 0.7921847246891652,
"repo_name": "leandroz/cordova-swrve",
"id": "51ad9deaa1747b17f37b754e095205f6f7a8b30f",
"size"... |
{% macro dev_heading(webapp, mkt) %}
<h3>
{% set details_complete = webapp.details_complete() %}
{% if details_complete %}<a href="{{ webapp.get_dev_url() }}">{% endif %}
<img class="icon" src="{{ webapp.get_icon_url(64) }}">
{{ webapp.name }}{% if details_complete %}</a>{% endif %}
</h3>
{% endmacr... | {
"content_hash": "b604f527c08f0876598d158e33c36381",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 77,
"avg_line_length": 40.625,
"alnum_prop": 0.563076923076923,
"repo_name": "shahbaz17/zamboni",
"id": "f66e3b08610fb876df3126cb6e226bf0323175ba",
"size": "325",
"binary"... |
using System;
using System.Text;
using System.Security.Permissions;
using System.Runtime.Serialization;
using OpenADK.Library;
using OpenADK.Library.Global;
using OpenADK.Library.us.Common;
namespace OpenADK.Library.us.Instr{
/// <summary>A StandardSettingBody</summary>
/// <remarks>
///
/// <para>Author: Generated b... | {
"content_hash": "7fa90beb1e4e7c95bb44c9fdce96dd5f",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 134,
"avg_line_length": 30.116564417177916,
"alnum_prop": 0.6801792625789367,
"repo_name": "open-adk/OpenADK-csharp",
"id": "1b6e16524112b873b095dd4f0b8df2f7563489ff",
"si... |
#ifndef QKBDVFB_QWS_H
#define QKBDVFB_QWS_H
#include <QtGui/qkbd_qws.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_QWS_KEYBOARD
#ifndef QT_NO_QWS_KBD_QVFB
class QSocketNotifier;
class QVFbKeyboardHandler : public QObject, public QWSKeyboardHandler
{
Q_OBJECT
public:
QVFbKeyboardHa... | {
"content_hash": "87fa41d7dd4e59b88404bfe4c7497854",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 69,
"avg_line_length": 14.97872340425532,
"alnum_prop": 0.7201704545454546,
"repo_name": "kzhong1991/Flight-AR.Drone-2",
"id": "509955ab10bd35a1a36ec285f7a6c03baa8e26ec",
"... |
package io.cattle.platform.iaas.api.auth.github;
import io.github.ibuildthecloud.gdapi.annotation.Field;
import io.github.ibuildthecloud.gdapi.annotation.Type;
@Type(name = "token")
public class Token {
private final String jwt;
private String code;
public Token(String jwt) {
this.jwt = jwt;
... | {
"content_hash": "6e3bcd0b872d089c6f4369d16eca1379",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 55,
"avg_line_length": 18.620689655172413,
"alnum_prop": 0.6370370370370371,
"repo_name": "alena1108/cattle",
"id": "78a78012a091adb5c36ae4890c3a38d27bfe44a8",
"size": "540... |
import { Events24 } from "../../";
export = Events24;
| {
"content_hash": "e6c748026f2c108ad5881250733bfdf0",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 34,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.5818181818181818,
"repo_name": "markogresak/DefinitelyTyped",
"id": "ea5ef16f9ced006509cd57ae72af0f331ab49bde",
"s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Hepetis multiramosa Mez
### Remarks
null | {
"content_hash": "58280e7f7d224608840c250efe1c1c41",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.76923076923077,
"alnum_prop": 0.7189542483660131,
"repo_name": "mdoering/backbone",
"id": "93ababbf5ed883a3b3c0b87b90eca15fc1297c5a",
"size": "209... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-e... | {
"content_hash": "a383a77af14521f40562072c2e4903ad",
"timestamp": "",
"source": "github",
"line_count": 618,
"max_line_length": 999,
"avg_line_length": 43.63915857605178,
"alnum_prop": 0.6283881493566688,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "21f0c7871b8d9e680517d897d9764c1c5ae4f37... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Owl Carousel - Images Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="jQuery Responsive Carousel - Owl Carusel">
<meta name="author" content="Bartosz Wojciechow... | {
"content_hash": "86ba6d4d451d67ae10cb2a2a5ab8b5c6",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 125,
"avg_line_length": 36.19950124688279,
"alnum_prop": 0.4237393221273078,
"repo_name": "carlngan/cmp-dmp",
"id": "813cc5cce72ff626fc0b34e63984cb4d9dade077",
"size": "14... |
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
id="abaplintBuilder"
name="Abaplint Project Builder"
point="org.eclipse.core.resources.builders">
<builder
hasNature="true">
<run
class="org.abaplint.eclipse.buil... | {
"content_hash": "66303013240ea9f63bc585f573abb443",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 88,
"avg_line_length": 33.06481481481482,
"alnum_prop": 0.48249789974796975,
"repo_name": "larshp/abaplint-eclipse",
"id": "89036dbfcaa8114c5cf4c5a0985e8fd0b4032135",
"siz... |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.7.4 at 2017-09-28
| Rendered using Apache Maven Fluido Skin 1.6
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0... | {
"content_hash": "4f1e2138c87eba2d4e03acfdc7bc3b5b",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 274,
"avg_line_length": 44.63963963963964,
"alnum_prop": 0.6020181634712412,
"repo_name": "sillelien/dollar",
"id": "5e3e0fc84917a9095ebd4191efa5488e22ea3bb7",
"size": "49... |
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/spinner"
android:pivotX="50%"
android:pivotY="50%" /> | {
"content_hash": "6ee4a18ae9d76103f7156097301a3153",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 76,
"avg_line_length": 41.2,
"alnum_prop": 0.6990291262135923,
"repo_name": "sayan801/Android-Loader-Progressbar-with-backbutton",
"id": "66328683f6ff1c3399d8586410f3db0f3d2f9... |
"use strict";
const prompt = require('prompt');
const db = require('../models');
const pass = require('../pass');
const schema = {
properties: {
username: {
pattern: /^[a-zA-Z\s\-]+$/,
message: 'Name must be only letters, spaces, or dashes',
required: true
},
email: {
required: t... | {
"content_hash": "a0abcca3584d7201c913044417564d4a",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 66,
"avg_line_length": 19.591836734693878,
"alnum_prop": 0.565625,
"repo_name": "electrified/notes",
"id": "c8313d02496d15220aad26509ab9b8e0b24b938f",
"size": "980",
"bin... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DP.Web.UI
{
[Serializable]
public class ClientInfo
{
string _IP = string.Empty;
string _Name = string.Empty;
string _Browser = string.Empty;
string _Language = string.Empty;
string _Request... | {
"content_hash": "b00739e2c028c5f694519d95fa5486a7",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 46,
"avg_line_length": 21.72093023255814,
"alnum_prop": 0.4277301927194861,
"repo_name": "dpflower/dptools",
"id": "d96bd2104f72b65fbece3bb1594fb7e65712b3f5",
"size": "1934... |
/**
* <p>cc.LabelTTF is a subclass of cc.TextureNode that knows how to render text labels with system font or a ttf font file<br/>
* All features from cc.Sprite are valid in cc.LabelTTF<br/>
* cc.LabelTTF objects are slow for js-binding on mobile devices.<br/>
* Consider using cc.LabelAtlas or cc.LabelBMFont inst... | {
"content_hash": "d9ccc73a91201b989fc0ff2235540bb5",
"timestamp": "",
"source": "github",
"line_count": 1201,
"max_line_length": 194,
"avg_line_length": 36.456286427976686,
"alnum_prop": 0.5942810158962178,
"repo_name": "lxp521125/weixin",
"id": "401b6f6d52631a3e1802a7fb58315cb28c7070d7",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3b6ae28f0b970a03364a725dd4245195",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "abe7a7dcc74fb737d2618ee3ba8ddad2467344ac",
"size": "182... |
<?php
namespace Phoebe;
interface ConnectionInterface extends \Phergie\Irc\ConnectionInterface
{
} | {
"content_hash": "6c069ccd8bc3eebba5ce095f0f1073fd",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 70,
"avg_line_length": 16.5,
"alnum_prop": 0.8282828282828283,
"repo_name": "stil/phoebe",
"id": "62e4b3a4d01d387866c9cfff7443feccd3672816",
"size": "99",
"binary": false,... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 16 22:49:47 ICT 2012 -->
<TITLE>
org.apache.fop.render.bitmap Class Hierarchy (Apache FOP 1.1 API)
</TITLE>
<META NAME="date" CONTENT... | {
"content_hash": "4bd121802262233cd1dcf1db03a619d3",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 590,
"avg_line_length": 71.30964467005076,
"alnum_prop": 0.6749715261958997,
"repo_name": "pconrad/ucsb-cs56-tutorials-fop",
"id": "050d8f5b307b15ad44285d88c099a7c6b3fa7309"... |
@import url(http://fonts.googleapis.com/css?family=Limelight);
@import url(http://fonts.googleapis.com/css?family=Oswald);
@import url(http://fonts.googleapis.com/css?family=Codystar);
@import url(http://fonts.googleapis.com/css?family=Didact+Gothic);
html,
body {
background: white;
margin: 0;
padding: 0;
}
nav... | {
"content_hash": "c2d5706acf30b8944934124b917ed72d",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 82,
"avg_line_length": 19.14814814814815,
"alnum_prop": 0.6698903932946486,
"repo_name": "KorenLeslieCohen/worldview",
"id": "089bf78c4f4c9b9f57a3a97c4b6df02bb9600203",
"si... |
$(document).ready(function(){
var editor = ace.edit($(".z-ace-editor")[0]);
editor.setTheme("ace/theme/clouds_midnight");
editor.getSession().setMode("ace/mode/html");
$('.z-editor-save').click(function(event) {
var waitingStateButton = $ZentralButtons.wait($(this));
console.log(waiti... | {
"content_hash": "d82b0cd2616c5290ee14df043dc5ce30",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 94,
"avg_line_length": 27.59375,
"alnum_prop": 0.5288788221970555,
"repo_name": "ZENTRALALEX/LeafEditor",
"id": "aca35158e2567be65eaaa60812c567dbd061f21b",
"size": "883",
... |
<?xml version="1.0"?>
<!--
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.cart.shipping">
<arguments>
<argument name="jsLayout" xs... | {
"content_hash": "8fdf80b8c2f85eee813029bb6e70ed3c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 153,
"avg_line_length": 46.81481481481482,
"alnum_prop": 0.4438291139240506,
"repo_name": "enettolima/magento-training",
"id": "6cd979b862a6598b41f2ca6d6d4bb183373258ad",
"... |
An Elixir module for generating [Gravatar](http://gravatar.com) urls.
Make sure to check out the
[Gravatar documentation](https://en.gravatar.com/site/implement/images/) for all
available options.
## Usage
```elixir
Exgravatar.generate "jdoe@example.com"
#=> "http://gravatar.com/avatar/694ea0904ceaf766c6738166ed89ba... | {
"content_hash": "063fc71252788a23c6363badaa9e1c17",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 80,
"avg_line_length": 30.473684210526315,
"alnum_prop": 0.7599309153713298,
"repo_name": "optikfluffel/exgravatar",
"id": "6c82c7e91c361b490cdd7c4e67b3626c8c75fbe5",
"size... |
id: tutorial-ingestion-spec
title: "Tutorial: Writing an ingestion spec"
sidebar_label: "Writing an ingestion spec"
---
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ rega... | {
"content_hash": "001c6ffbafbe85ec12348b286ae3a69e",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 287,
"avg_line_length": 35.23801652892562,
"alnum_prop": 0.5985740419344246,
"repo_name": "gianm/druid",
"id": "821c376f637fcfee97c3191dd02d43caf0a07e39",
"size": "22127",... |
require "yaml"
module CtsPapertrailSerializer
extend self # makes all instance methods become module methods as well
def load(string)
hash = ::YAML.load string
if hash.key?('properties')
properties_hash = ::JSON.parse(hash['properties'])
properties_hash.each do | key, value|
hash[key]... | {
"content_hash": "9e976ddc15bfef991a2907a532079cca",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 75,
"avg_line_length": 30.025,
"alnum_prop": 0.694421315570358,
"repo_name": "ministryofjustice/correspondence_tool_staff",
"id": "693e971140b78fb58269c731abb8fc90536e531f",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0b875820d9fa6dfdc611dab70b0ea661",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "21fda662312de3fe87ee6e360196ebf3f7302ec8",
"size": "18... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "82946dfa77760a81d33af3256fba84a5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "0e3442a3ea813c8430059162bf4d3c8334bea62e",
"size": "190... |
export TEXINPUTS=../tex//:
all: thesis.pdf
# LaTeX must be run multiple times to get references right
thesis.pdf: thesis.tex $(wildcard *.tex) bibliography-jabref.bib thesis.xmpdata
pdflatex $<
bibtex thesis
pdflatex $<
pdflatex $<
pdflatex $<
clean:
rm -f *.log *.dvi *.aux *.toc *.lof *.lot *.out *.bbl *.blg ... | {
"content_hash": "51ea472a79e93b4180953c33ccba43a3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 79,
"avg_line_length": 23,
"alnum_prop": 0.6811594202898551,
"repo_name": "oskopek/TransportEditor",
"id": "1db0146700cd625a1ce445a76c4f64ccfb46495a",
"size": "345",
"bin... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Wed Nov 21 16:03:52 EST 2012 -->
<TITLE>
org.pentaho.di.trans.steps.rest
</TITLE>
<META NAME="date" CONTENT="2012-11-21">
<LINK REL ="styles... | {
"content_hash": "d90c5baca8bf2e95dd5d035ca8b5bd36",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 163,
"avg_line_length": 42.012121212121215,
"alnum_prop": 0.6090594345066359,
"repo_name": "ColFusion/PentahoKettle",
"id": "07590e7ed1eb1c419b3dc688f5a9b03468cae71b",
"si... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.0-master-3e34e02
*/
goog.provide('ng.material.components.toolbar');
goog.require('ng.material.components.content');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.toolbar
*/
angular.modu... | {
"content_hash": "8b96cda6dd930dd38156e52d5d41e1f2",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 111,
"avg_line_length": 30.94017094017094,
"alnum_prop": 0.6053867403314918,
"repo_name": "jzucadi/bower-material",
"id": "da8ab319f5bb7eb61f8f7d0035344fb6f8e7b1ce",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>maths: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "076babacd6c7d5f06eee3993d5c7c789",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 159,
"avg_line_length": 41.357142857142854,
"alnum_prop": 0.5392918825561313,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "2f960fdbeb4f0b431c789696fab54b44f0057683",... |
"use strict";
const _serializer = _ros_msg_utils.Serialize;
const _arraySerializer = _serializer.Array;
const _deserializer = _ros_msg_utils.Deserialize;
const _arrayDeserializer = _deserializer.Array;
const _finder = _ros_msg_utils.Find;
const _getByteLength = _ros_msg_utils.getByteLength;
//------------------------... | {
"content_hash": "6031d226d3872007e0053f197a5f9c75",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 96,
"avg_line_length": 24.304093567251464,
"alnum_prop": 0.6239172281039461,
"repo_name": "robotic-ultrasound-image-system/ur5",
"id": "b4b25bb4db2e1e5874a8f8005ed5370c51a8a... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_memcpy_14.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml
Template File: sources-sink-14.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allo... | {
"content_hash": "2ebe803719e580974ce59b922905d4e3",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 123,
"avg_line_length": 32.86764705882353,
"alnum_prop": 0.6031319910514541,
"repo_name": "JianpingZeng/xcc",
"id": "ec096ebbc61a31662c2d5c15b53c1757aaef7bdb",
"size": "44... |
var certificate_panel = $("#CertificatePanel");
var domain_panel = $("#DomainPanel");
var ip_panel = $("#IpPanel");
var alert_panel = $("#AlertPanel");
var certificate_url = "/monitors/view_certificates";
var domain_url = "/monitors/view_domains";
var ip_url = "/monitors/view_ips";
var alert_url = "/monitors/view_aler... | {
"content_hash": "519c45f43c65b71a21082402d920f102",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 118,
"avg_line_length": 28.993788819875775,
"alnum_prop": 0.5717652099400171,
"repo_name": "gdit-cnd/RAPID",
"id": "0103f564e6c05b7e18d6692a4842b668e24a131c",
"size": "466... |
package ua.edu.odeku.ceem.mapRadar.tools.adminBorder.viewManager
import javax.swing.JPanel
import ua.edu.odeku.ceem.mapRadar.tools.{CeemRadarTool, ToolFrame}
/**
* User: Aleo Bakalov
* Date: 26.03.2014
* Time: 9:51
*/
class AdminBorderViewManagerTool extends CeemRadarTool {
val form = new AdminBorderViewForm... | {
"content_hash": "ff363d5e5a0b2cddfcdd41c45f784828",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 23.516129032258064,
"alnum_prop": 0.7229080932784636,
"repo_name": "aleo72/ww-ceem-radar",
"id": "071edc5f172d40cc557651730578dfb92f79d088",
"size": ... |
// Copyright 2019 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.
// Polymer BrowserTest fixture and aXe-core accessibility audit.
GEN_INCLUDE([
'//chrome/test/data/webui/a11y/accessibility_test.js',
'//chrome/test/d... | {
"content_hash": "5a3b5ea479dc03ff3746350fbe208c2c",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 79,
"avg_line_length": 28.11111111111111,
"alnum_prop": 0.6476566911349521,
"repo_name": "ric2b/Vivaldi-browser",
"id": "f350173f6b60c4fc5d7451136e8cd2d83c55091b",
"size": ... |
layout: default
---
{% include blog-migrated.html %}
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop=... | {
"content_hash": "f9830eaa028a1e10e8af164c607d5803",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 307,
"avg_line_length": 53.3,
"alnum_prop": 0.6594746716697936,
"repo_name": "APIs-guru/APIs-guru.github.io",
"id": "7bff75a57532397978fa734e0977ad769503f8a8",
"size": "107... |
FROM locustio/locust
WORKDIR /tasks
COPY tasks.py .
COPY test-config test-config
RUN pip install -U locust
| {
"content_hash": "17f7617bf21faf4e1f04cbbe9c690cda",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 28,
"avg_line_length": 18,
"alnum_prop": 0.7870370370370371,
"repo_name": "GoogleCloudPlatform/mlops-on-gcp",
"id": "3c211ca0f14573633c0403c85ca06f044a449cd7",
"size": "706"... |
{% extends "layout.html" %}
{% block content %}
<div class="jumbotron">
<h1>Welcome to Whose turn is it anyway?</h1>
<p>Start tracking whose turn it is to perform those boring, fun or repetitive tasks!</p>
{% if not current_user.is_authenticated() %}
<p><a href="{{ url_for('public.register') }}" class="btn bt... | {
"content_hash": "1248f588373acb7705bbac99b72b8692",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 111,
"avg_line_length": 24,
"alnum_prop": 0.6470588235294118,
"repo_name": "apollux/whose_turn_is_it_anyway",
"id": "4b8adc7236a9985661c1ff76a0e08bc811a8286c",
"size": "409... |
export { Hd32 as default } from "../../";
| {
"content_hash": "a424e52df1a2e472af2517488d086fb3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 41,
"avg_line_length": 42,
"alnum_prop": 0.5476190476190477,
"repo_name": "georgemarshall/DefinitelyTyped",
"id": "462f45bd6c3593bb41890324d6cbd70138bc626b",
"size": "42",
... |
<?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": "20a75d35d8a015ab39888ba1d1b12206",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 36.310344827586206,
"alnum_prop": 0.6628679962013295,
"repo_name": "craigacgomez/flaming_monkey_packages_apps_Email",
"id": "10648df70b51c5df97ead0f1b9... |
<?hh
namespace beatbox\test;
use beatbox;
class FormTest extends beatbox\Test {
/**
* @group fast
*/
public function testCSRF() {
// Make sure that a csrf input is added.
$form = <bb:form />;
$this->assertContains('name="__csrf"', (string)$form);
}
/**
* @group fast
*/
public function testFragmen... | {
"content_hash": "32a80fc23ae8e199d6585eb03ed6e6d8",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 85,
"avg_line_length": 26.24199288256228,
"alnum_prop": 0.5797396257119609,
"repo_name": "PocketRent/beatbox",
"id": "5d9a2c0e688a4cb70b40d3852ac0a4bab91d592d",
"size": "7... |
// BoundaryTree.cpp: implementation of the CBoundaryTree class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "BoundaryTree.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
///////////////////////////////////////... | {
"content_hash": "2e26c18701b9364f444fa7ed7fd303f7",
"timestamp": "",
"source": "github",
"line_count": 503,
"max_line_length": 122,
"avg_line_length": 22.660039761431413,
"alnum_prop": 0.6175644849973679,
"repo_name": "karlgluck/fabathome",
"id": "6929376a785fb7c2bc62cdbef6ea94649bb17858",
"size":... |
// 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.
import {assertInstanceof} from 'chrome://resources/js/assert.js';
import {Menu} from './menu.js';
import {MenuItem} from './menu_item.js';
/**
* Menu item with ripple animati... | {
"content_hash": "f4619cecb76abaafc04a5080e271e5bc",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 78,
"avg_line_length": 23.66346153846154,
"alnum_prop": 0.6111336854937017,
"repo_name": "chromium/chromium",
"id": "e81534d2d77d02cbf47b9a4186bed05c4cbbaf09",
"size": "73... |
#include <Array.hpp>
#include <common/half.hpp>
#include <kernel/random_engine.hpp>
#include <af/dim4.hpp>
using common::half;
namespace opencl {
void initMersenneState(Array<uint> &state, const uintl seed,
const Array<uint> &tbl) {
kernel::initMersenneState(*state.get(), *tbl.get(), seed... | {
"content_hash": "8fff18b23f55047e9fbc42d7d20cba0b",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 80,
"avg_line_length": 49.86486486486486,
"alnum_prop": 0.4644986449864499,
"repo_name": "umar456/arrayfire",
"id": "c112df4196a90f47f41d1bce50e210abdcc939dd",
"size": "77... |
import renderStaticStyles, { extractDynamicStyles } from '../../modules/core/renderer'
import StyleContainer from '../../modules/api/StyleContainer'
describe('Extracting dynamic styles', () => {
it('should return a scoped stateful selector if a function is passed', () => {
const input = props => ({ backgroundCol... | {
"content_hash": "55805db88a3f7cdaab890f6c00a2adf2",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 86,
"avg_line_length": 30.47826086956522,
"alnum_prop": 0.6252971944840704,
"repo_name": "dustin-H/react-look",
"id": "8b862220177ee1453c11bdd196e2e0ea08fd9ef3",
"size": "2... |
* Updated: Styles in the Builder and Customizer are now compatible with WordPress 4.4.
* Improved: Range slider options in the Customizer now perform better.
* Fixed: Some font family options didn't work correctly if the Global body font was not set to the default.
* Fixed: Custom logo attachment ID couldn't be determi... | {
"content_hash": "1dbdb619cb623467238ecac8087794dc",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 144,
"avg_line_length": 44.04237288135593,
"alnum_prop": 0.7832724007440189,
"repo_name": "lamosty/lamosty.com",
"id": "850583d6d5f5343cc8053c722b44c3a984c85726",
"size": ... |
using CoreGraphics;
using UIKit;
namespace Appearance
{
public class PlainView : UIView
{
private UIProgressView progress;
private UIButton plainButton;
private UISlider slider;
public PlainView()
{
slider = new UISlider();
progress = new UIProgr... | {
"content_hash": "a21f6945dbb9cfb2762f676f5ab76c45",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 72,
"avg_line_length": 25.22222222222222,
"alnum_prop": 0.4985315712187959,
"repo_name": "xamarin/monotouch-samples",
"id": "e09c5e8446fdb4c5fad67b516a77573d6be131f8",
"siz... |
<resources>
<string name="app_name">酷欧天气</string>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPr... | {
"content_hash": "3835542b9f4efccd92800e69f332919b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 35.25,
"alnum_prop": 0.6477541371158393,
"repo_name": "yhx95/yhxcoolweather",
"id": "a4f9410a0c6deed63ae42552d8e42ed525f02d3f",
"size": "431",
"bin... |
module UnittestJS
module Builder
module HtmlHelper
def script_tag(filename)
"<script src=\"#{filename}?#{cache_buster}\" type=\"text/javascript\" charset=\"utf-8\"></script>"
end
# for backwards compatibility:
alias :to_script_tag :script_tag
def link_tag(filename)
... | {
"content_hash": "90a86d04c7239cff0efa03db9c3f8dbb",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 106,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.5865546218487395,
"repo_name": "tobie/unittest_js",
"id": "13d550de82a6753780cc3882c7585f7e27f89779",
"size": "5... |
import { merge, find } from 'lodash'
const defaultConfig = {
envs: {
local: {
serverUrl: 'http://localhost:4000',
logLevel: 'trace'
},
dev: {
serverUrl: 'http://tessellate-stage.elasticbeanstalk.com',
logLevel: 'debug'
},
stage: {
serverUrl: 'http://tessellate-stage.... | {
"content_hash": "3ebfeae0f160906c125754c87a5c9aa3",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 114,
"avg_line_length": 20.806818181818183,
"alnum_prop": 0.6127799016930638,
"repo_name": "KyperTech/matter-library",
"id": "1c0172db0105ac38535cf73b947f9866840a7c90",
"si... |
@interface PodsDummy_Pods_TLTools_Tests : NSObject
@end
@implementation PodsDummy_Pods_TLTools_Tests
@end
| {
"content_hash": "a07ff61c49ba2f74cd14e4059b0b005a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 50,
"avg_line_length": 26.5,
"alnum_prop": 0.8207547169811321,
"repo_name": "tang335976123/TLTools",
"id": "cbaf810133b579e51858c0be6895c975cb1d7965",
"size": "140",
"bina... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.tsa.statespace.mlemodel.MLEModel.update — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="... | {
"content_hash": "392c6736409c78037625846f8b5d68da",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 572,
"avg_line_length": 47.01086956521739,
"alnum_prop": 0.653179190751445,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "c8be50c2825ac4e98c3f43f7f7c00f21711c6972... |
require 'spec_helper'
describe InstanceManager::InstanceFormatter do
context "with a single ec2 instance" do
subject { InstanceManager::InstanceFormatter.new(@staging) }
it "should output the information we care about" do
output=<<EOF
#{@staging.id} => #{@staging.tags["Name"]}
ip: #{@staging.public_ip_add... | {
"content_hash": "8f2b42a1c8a03580939cd1cf223b9f20",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 108,
"avg_line_length": 33.03030303030303,
"alnum_prop": 0.6522935779816513,
"repo_name": "akatz/instance_manager",
"id": "9423ff7b67ad4f0a6df91dda10668104639b867d",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/context_menu_view"
android:title="@string/context_menu_view" />
</menu> | {
"content_hash": "cd7877793619372496e4cbacd0dfad1e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 65,
"avg_line_length": 36.5,
"alnum_prop": 0.6438356164383562,
"repo_name": "datanets/otashu",
"id": "9f0e50b57ebacb8ab73ce3e80fb75cb57fa81b4c",
"size": "219",
"binary": f... |
/**
* org.apache.beam.sdk.nexmark.model.sql.adapter.
*/
/**
* Model adapter which contains a mapping between specific Java model to a Row.
*/
package org.apache.beam.sdk.nexmark.model.sql.adapter;
| {
"content_hash": "cf2ead6a6b8b377db9c4763bbc9e6a26",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 79,
"avg_line_length": 20.4,
"alnum_prop": 0.7156862745098039,
"repo_name": "tgroh/beam",
"id": "6c79ad3edbb200f8ffe76c11061de60d8f86700a",
"size": "1009",
"binary": fals... |
using Alachisoft.NCache.Common.Stats;
using Alachisoft.NCache.Common.Threading;
using System;
namespace Alachisoft.NCache.Client
{
class AsyncOperationCompletedEventTask : AsyncProcessor.IAsyncTask
{
private bool _notifyAsync;
private CommandBase _command;
private string _key;
p... | {
"content_hash": "b22af306c06802c23c3a6db54ffd7e99",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 170,
"avg_line_length": 40.57377049180328,
"alnum_prop": 0.5628282828282828,
"repo_name": "Alachisoft/NCache",
"id": "4f8321d82c541110ad5f864df0cda7d3bac18ddc",
"size": "30... |
@interface ScrollViewAndAutolayoutTests : XCTestCase
@end
@implementation ScrollViewAndAutolayoutTests
- (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 calle... | {
"content_hash": "6fe1f8b1a8d33d5b9409b2046f96083d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 24.137931034482758,
"alnum_prop": 0.6914285714285714,
"repo_name": "MarshalW/ScrollViewAndAutolayout",
"id": "3255737d787761152929db9dd5c47654ffaefd31... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.