text stringlengths 2 1.04M | meta dict |
|---|---|
"""Multiprocessing via Popen.
This module provides a multi-processing pool backed by Popen.
with additional timeout support.
"""
import os
import sys
import struct
import threading
import subprocess
import concurrent.futures
from enum import IntEnum
from collections import namedtuple
import pickle
def kill_child_pro... | {
"content_hash": "8e0a0d0b188acb9d7fcce52669339168",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 98,
"avg_line_length": 29.026881720430108,
"alnum_prop": 0.5759399888868308,
"repo_name": "dmlc/tvm",
"id": "907231c1a9fa07988cae1e08f18be533a5525cba",
"size": "11614",
... |
package org.apache.camel.component.cxf.jaxrs.testbean;
import javax.xml.bind.annotation.XmlRootElement;
/**
*
* @version $Revision$
*/
@XmlRootElement(name = "Customer")
public class Customer {
private long id;
private String name;
public long getId() {
return id;
}
public void setId... | {
"content_hash": "f25a8f95f72034c37f7ee818fa5dfcfb",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 54,
"avg_line_length": 16.4,
"alnum_prop": 0.6056910569105691,
"repo_name": "kingargyle/turmeric-bot",
"id": "b75a4d93cf023b2287183b6a0a5e785556761e00",
"size": "1295",
"... |
simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 2.5+
and Python 3.3+. It is pure Python code with no dependencies,
but includes an optional C extension for a serious speed boost.
The latest documentation for simplejson can be read online here:
http:... | {
"content_hash": "0af95e6716ec1fb3284e5d670e4f115d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 70,
"avg_line_length": 48.689655172413794,
"alnum_prop": 0.7889518413597734,
"repo_name": "mollstam/UnrealPy",
"id": "e4b47fb6e73563a449990672881a34f15d0fdefa",
"size": "14... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "080221b923e64787cdad2c123d9995ac",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 363,
"avg_line_length": 69.52991452991454,
"alnum_prop": 0.6649047326367548,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "abce7114dd7c35cc116278d338d8c30447d04463",
"siz... |
<?php
/**
* Class Mage_Adminhtml_Permissions_VariableController
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Adminhtml_Permissions_VariableController extends Mage_Adminhtml_Controller_Action
{
/**
* @return $this
*/
... | {
"content_hash": "7318ce9dafa071cdb848e61f95f9deba",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 112,
"avg_line_length": 31.3125,
"alnum_prop": 0.49251497005988026,
"repo_name": "fabiensebban/magento",
"id": "38ce7128c9af555df4ff1ad232ffb445b994ea2a",
"size": "6968",
... |
#ifndef __RTL_SDR_H
#define __RTL_SDR_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <rtl-sdr_export.h>
typedef struct rtlsdr_dev rtlsdr_dev_t;
RTLSDR_API uint32_t rtlsdr_get_device_count(void);
RTLSDR_API const char* rtlsdr_get_device_name(uint32_t index);
/*!
* Get USB device strings.
... | {
"content_hash": "77c20d62dd1f113a330041f01226bb40",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 90,
"avg_line_length": 31.813753581661892,
"alnum_prop": 0.7079167792488517,
"repo_name": "EirSpace/Hera",
"id": "75bfd3fda7e50f2dc33eb22fb2ec261dd46ab1fb",
"size": "11954... |
<?php
namespace ZendTest\Barcode\Object;
use Zend\Barcode;
use Zend\Barcode\Object\Exception\BarcodeValidationException;
/**
* @group Zend_Barcode
*/
class PostnetTest extends TestCommon
{
protected function getBarcodeObject($options = null)
{
return new Barcode\Object\Postnet($options);
... | {
"content_hash": "6fc40240eeedc327847b9072bef9049b",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 84,
"avg_line_length": 32.36363636363637,
"alnum_prop": 0.6288389513108614,
"repo_name": "zendframework/zend-barcode",
"id": "cf7b014ac75ecf369e6f4b10e8e8c93de1f2486d",
"s... |
FROM node:8
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
ADD . /app
# Install any needed packages specified in requirements.txt
RUN npm install
# Make port available to the world outside this container
EXPOSE 80
# Run app.js when the container la... | {
"content_hash": "121630e15a2a5296aa8f32fddc708535",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 64,
"avg_line_length": 21.75,
"alnum_prop": 0.7614942528735632,
"repo_name": "xanderrman/mtgcode",
"id": "70584d4567b083a0518566a381cf18571c5d6003",
"size": "397",
"binar... |
package terminal
import (
"bufio"
"bytes"
"github.com/kr/pty"
"io"
"os"
"os/exec"
"unicode"
"unicode/utf8"
)
// VT represents the virtual terminal emulator.
type VT struct {
dest *State
rc io.ReadCloser
br *bufio.Reader
pty *os.File
}
// Start initializes a virtual terminal emulator with the target ... | {
"content_hash": "ec97c9a180da4bd465cc09e26880f3b1",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 78,
"avg_line_length": 19.6158940397351,
"alnum_prop": 0.6343686698176908,
"repo_name": "kiasaki/ry",
"id": "9f86f0fea462b2657e5e669d88ff85f20a5a9104",
"size": "2962",
"... |
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['deprecated'],
'supported_by': 'certified'}
DOCUMENTATION = r'''
---
module: bigip_gtm_facts
short_description: Collect facts from F5... | {
"content_hash": "bef36611aeb5d8ba47d2d308b5396a57",
"timestamp": "",
"source": "github",
"line_count": 979,
"max_line_length": 101,
"avg_line_length": 32.40449438202247,
"alnum_prop": 0.5799079561215483,
"repo_name": "SergeyCherepanov/ansible",
"id": "745360cc10c533638731e727dccbdcc13d4ebf6b",
"si... |
package ee.pri.bcup.client.common.chat;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JTextField;
public abstract class BaseChatTextInput extends JTextField implements ActionListener {
private static final long serialVersionUID = 1L;
public BaseChatTextInput() {
thi... | {
"content_hash": "f34e1b86d669d4af66f6b36273ef5867",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 86,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.7423780487804879,
"repo_name": "rla/bcup",
"id": "d4266c7bd08417bc8db6a2a80c62b5d307e47134",
"size": "656",
"bi... |
isChild: true
---
## Web Application Security
There are bad people ready and willing to exploit your web application. It is important that you
take necessary precautions to harden your web application's security. Luckily, the fine folks at [The Open Web Application Security Project][1] (OWASP) have compiled a compre... | {
"content_hash": "93f51aff7c657ed56bc58ca7361c0697",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 316,
"avg_line_length": 49.166666666666664,
"alnum_prop": 0.7762711864406779,
"repo_name": "derickr/php-the-right-way",
"id": "f84dfad5de95c11afe2dd158caee8d337718c88f",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "771966eb2e0f4ba740fae7a5611283d7",
"timestamp": "",
"source": "github",
"line_count": 498,
"max_line_length": 999,
"avg_line_length": 37.75502008032129,
"alnum_prop": 0.6025954685671737,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "0e2687f70835857dbfe925bc54aae789babefee... |
package com.box.l10n.mojito.slack.request;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Field {
String title;
String value;
@JsonProperty("short")
Boolean isShort;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
... | {
"content_hash": "a1f03004f8bd40ed2e02d51f57b38b3f",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 53,
"avg_line_length": 15.243243243243244,
"alnum_prop": 0.6684397163120568,
"repo_name": "box/mojito",
"id": "07fd8db3a5f2b7aca2871fae0bef520d3fcfae32",
"size": "564",
"... |
require ("$ENV{PSETHOME}/mb/IMUtil.pl");
require ("$ENV{PSETHOME}/mb/dismb_msg.pl");
$FlagsFormat="[-n] [-V]";
$RequestLogFileDir="$DISIM}/tmp/Request/log";
$UniqueRequestID=0;
@RequestStack=();
@BuildRequestStack=();
@SimplifyRequestStack=();
@QARRequestStack=();
@ServeRequestStack=();
sub SetupDefaults(@_)
{
my(... | {
"content_hash": "c1554bdde2f5203aafe9d062be42fa17",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 114,
"avg_line_length": 27.085,
"alnum_prop": 0.6459294812626916,
"repo_name": "kit-transue/software-emancipation-discover",
"id": "950cbaf07f4ee233d45ccd28e4bea90cc739ab1c"... |
#ifndef _I2O_H
#define _I2O_H
#include <linux/i2o-dev.h>
/* How many different OSM's are we allowing */
#define I2O_MAX_DRIVERS 8
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/workqueue.h> /* work_struct */
#include <linux/mempool.h>
#inclu... | {
"content_hash": "dfdfb0a13502c3745bc18783164062a9",
"timestamp": "",
"source": "github",
"line_count": 972,
"max_line_length": 81,
"avg_line_length": 30.717078189300413,
"alnum_prop": 0.704457916066584,
"repo_name": "sahdman/rpi_android_kernel",
"id": "a6deef4f4f67abd63f39d5b8ab96fdf91e9f98c8",
"s... |
import _plotly_utils.basevalidators
class TickfontValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="tickfont", parent_name="heatmap.colorbar", **kwargs
):
super(TickfontValidator, self).__init__(
plotly_name=plotly_name,
parent_... | {
"content_hash": "f66da1c3020687ce942fcd07a5a61a83",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 78,
"avg_line_length": 39.64102564102564,
"alnum_prop": 0.5407503234152652,
"repo_name": "plotly/plotly.py",
"id": "0d554d1067f4c40ad57457ddb1c1fccb548a1701",
"size": "1546... |
import { connect } from 'react-redux';
import ExplorerButtonGroup from '.';
import {
dispatchJob, checkJob, fetchJobResult, resetJobState,
} from '../../Analysis/AnalysisJob';
const mapStateToProps = (state) => ({
job: state.analysis.job,
userAccess: state.userAccess.access,
user: state.user,
});
const mapDis... | {
"content_hash": "c991857ab8e35d239a1fa75e6d073f85",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 99,
"avg_line_length": 33.714285714285715,
"alnum_prop": 0.7358757062146892,
"repo_name": "uc-cdis/data-portal",
"id": "7d961540f6c2a102e83302d982553e48486c7b63",
"size": "... |
import { RESET_ITEM } from '../actionTypes';
export default () => ({ type: RESET_ITEM });
| {
"content_hash": "c5935e5295ae615ac68c8bd3306ab4d3",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 44,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6153846153846154,
"repo_name": "katima-g33k/blu-react-desktop",
"id": "aa0cad837751299c5efe29bd313f6cce58b9450e",
... |
import sys
sys.path.append('../common/tests')
import uuid
import json
from flexmock import flexmock, Mock
from testtools.matchers import Equals, Contains, Not
import stevedore.extension
from test_utils import *
from test_common import TestCase, setup_extra_flexmock
import ConfigParser
from vnc_cfg_api_server import vn... | {
"content_hash": "df1367167856cb2d36930f3744a5196e",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 112,
"avg_line_length": 35.404761904761905,
"alnum_prop": 0.6580363147276396,
"repo_name": "Juniper/contrail-dev-controller",
"id": "730d8db47b11a3f3684ebd3300f2230edf33a830"... |
var UID = 0;
var UID_KEY = '_simple_token_uid_';
function tokenize(obj) {
switch (typeof obj) {
case 'string':
return JSON.stringify(obj);
case 'boolean':
case 'number':
return ''+obj;
}
if (undefined === obj) return 'undefined';
if (null === obj) return 'null';
if (!obj[UID_KEY... | {
"content_hash": "a27cfdf6ad35a0b790ee8d6005c9d155",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 62,
"avg_line_length": 20.52,
"alnum_prop": 0.5828460038986355,
"repo_name": "esco/simple-token",
"id": "03c328bfe422fea3f3ea83af093e0b7283c7806d",
"size": "513",
"binary... |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/ash/components/dbus/os_install/os_install_client.h"
#include "base/logging.h"
#include "base/observer_list.h"
#include "chromeos/ash/components/dbus/os_inst... | {
"content_hash": "4a84c825b0e8f549e989af41ead59b87",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 79,
"avg_line_length": 29.85427135678392,
"alnum_prop": 0.7027436458508669,
"repo_name": "chromium/chromium",
"id": "e6428a0728ea8ee7a02538ad32fcc9d4c2097514",
"size": "59... |
using System.Linq;
using NUnit.Framework;
using Palaso.WritingSystems;
namespace Palaso.Tests.WritingSystems
{
[TestFixture]
public class EthnologueLookupTests
{
private EthnologueLookup _ethnologue;
[SetUp]
public void Setup()
{
_ethnologue = new EthnologueLookup();
}
[Test]
public void Suggest... | {
"content_hash": "145d9447b226c41fa09c120bdfa8d732",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 129,
"avg_line_length": 30.525,
"alnum_prop": 0.6867321867321867,
"repo_name": "JohnThomson/libpalaso",
"id": "6bd6324a3b01dd05e4d9dc9473277f3a984f728b",
"size": "4886",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>elpi: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "e430a6acd78fb2ebdcd17634f9540e17",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 159,
"avg_line_length": 43.206896551724135,
"alnum_prop": 0.5553338653897313,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bc0f56d5d30bd1287bc7d167c50cb8c41fb54cdf",... |
package jUnitXmlReporter.jUnitElementClasses.testCases;
import org.jdom2.Element;
/**
* Default testcase implementation
*/
public class ErrorTestCase extends DefaultTestCase
{
public ErrorTestCase(String name, String message)
{
super(name, message);
}
public ErrorTestCase(String message)
{
super("defaultN... | {
"content_hash": "ae8b73f04a7389bf0a28e7ee700973f2",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 20.448275862068964,
"alnum_prop": 0.7436762225969646,
"repo_name": "JchnPkr/jUnitXmlReporter",
"id": "5d67f3c9c7f874f9e26d48eb87fef2d2805f7c00",
"siz... |
package notify
import "golang.org/x/sys/windows/svc"
// globalStatus store windows service status, it can be
// use to notify caddy status.
var globalStatus chan<- svc.Status
func SetGlobalStatus(status chan<- svc.Status) {
globalStatus = status
}
func Ready() error {
if globalStatus != nil {
globalStatus <- sv... | {
"content_hash": "0b148026fe39e03e7c479d6f878370ee",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 55,
"avg_line_length": 19.804878048780488,
"alnum_prop": 0.7019704433497537,
"repo_name": "l3dlp/caddy",
"id": "5666a4c227bf18e1ca51a53da84c61cda513859a",
"size": "1424",
... |
package org.sakaiproject.component.kerberos.user;
public class VerifyJassAuthenticateTest extends AbstractAuthenticateTest {
protected JassAuthenticate jass;
public void setUp() throws Exception {
super.setUp();
jass = new JassAuthenticate(servicePrincipal, "ServiceKerberosAuthentication", "KerberosAuthenti... | {
"content_hash": "24f877832b00fb349a2f6935d3a47159",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 107,
"avg_line_length": 24.714285714285715,
"alnum_prop": 0.7822736030828517,
"repo_name": "OpenCollabZA/sakai",
"id": "c8cd6f3ac9888ce2ce9ebbcc33831873526600ca",
"size": "... |
package logutil
import (
"bytes"
"fmt"
"io"
"runtime"
"strings"
"sync"
"time"
logutilpb "github.com/youtube/vitess/go/vt/proto/logutil"
)
// Logger defines the interface to use for our logging interface.
// All methods should be thread safe (i.e. multiple go routines can
// call these methods simultaneously)... | {
"content_hash": "93bcb1e19d933eed2fe3cb21ded3b73f",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 80,
"avg_line_length": 25.96457765667575,
"alnum_prop": 0.6999685171581488,
"repo_name": "dumbunny/vitess",
"id": "c8f79e0a4534ea2c78a389f72d943e340bb41595",
"size": "9529... |
package org.squiddev.luaj.api.builder;
import org.luaj.vm2.LuaError;
import org.luaj.vm2.LuaTable;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.Varargs;
import org.objectweb.asm.Type;
import org.squiddev.luaj.api.LuaObject;
import org.squiddev.luaj.api.utils.TinyMethod;
import static org.objectweb.asm.Opcodes.AC... | {
"content_hash": "9217eec39c2164a4ed9bd0445ac0ae09",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 132,
"avg_line_length": 50.264150943396224,
"alnum_prop": 0.777027027027027,
"repo_name": "SquidDev/luaj.api",
"id": "99e00fc347a76c453de5a9bee70765cb61843ba4",
"size": "26... |
var principalName = "";
$('td b:contains("IN ACTION LIST")').each(function() {
console.log("tagname = " + $(this).parent().prop("tagName"));
var aTextParent = $(this).parent();
var requestedOf = aTextParent.next();
var userLink = requestedOf.find('a');
var href = userLink.attr('href');
var princ... | {
"content_hash": "185f802af0382e277d38525a7851b1b2",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 127,
"avg_line_length": 38.82608695652174,
"alnum_prop": 0.5957446808510638,
"repo_name": "r351574nc3/userscripts",
"id": "b0ebfe089f1052b0ad2a82fd7a57c750e1efbac5",
"size"... |
package org.powlab.jeye.tests.inner;
public class InnerClassTest0_5 {
private final Integer x = 3;
private int y;
public void foo() {
new Inner1();
}
public class Inner1 {
public Inner1() {
System.out.println(x);
System.out.println(y);
}
... | {
"content_hash": "91713aa3aac616ee3ab47413f5444c19",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 47,
"avg_line_length": 19.04,
"alnum_prop": 0.5168067226890757,
"repo_name": "powlab/jeye",
"id": "01d1178d5125864f16bc7f32e77683a2d485f033",
"size": "476",
"binary": fal... |
class BrowserFrame;
class BrowserView;
namespace views {
class DesktopNativeWidgetAura;
}
class BrowserDesktopRootWindowHostLinux
: public BrowserDesktopRootWindowHost,
public views::DesktopRootWindowHostLinux {
public:
BrowserDesktopRootWindowHostLinux(
views::internal::NativeWidgetDelegate* nativ... | {
"content_hash": "8703e23cfb97b386d60f7eb66c5fbcb9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 82,
"avg_line_length": 31.642857142857142,
"alnum_prop": 0.7990970654627539,
"repo_name": "timopulkkinen/BubbleFish",
"id": "3ec22a058e6503feb5bb2fc78815a9697f06328c",
"siz... |
from django.conf import settings
from django.db.models import Avg, Max, Min, Count
# Python standard
import math
from datetime import date as _date
# Spenglr
from network.models import Network
# Calculate mSQ for the oldest records
def batch_network_update_sq():
# Random 1000 networks
# NOTE: Fix to something... | {
"content_hash": "27b2917f3c06e26880b1743dd4fcaf8f",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 102,
"avg_line_length": 30.875,
"alnum_prop": 0.6811740890688259,
"repo_name": "mfitzp/smrtr",
"id": "7ab1e624b80b2f70b501a6bce09116bc80a1754a",
"size": "988",
"binary": ... |
<?xml version="1.0" encoding="utf-8"?>
<CrawlItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Text>Sve pohvale na brzinu dostave!!</Text>
<Rating>4</Rating>
<Source>http://pauza.hr/menu/pronto-pizza</Source>
</CrawlItem> | {
"content_hash": "358c75ead64fb0816d017e6087ba1367",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 110,
"avg_line_length": 48,
"alnum_prop": 0.6944444444444444,
"repo_name": "Tweety-FER/tar-polarity",
"id": "8c52fb8805de2121c454dcf9d113aebae2dac332",
"size": "288",
"bin... |
<!DOCTYPE html>
<html>
<head>
<title>Datatable: Combo Editor</title>
<link rel="stylesheet" href="../../../codebase/webix.css" type="text/css" charset="utf-8">
<script src="../../../codebase/webix.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="../common/sampl... | {
"content_hash": "8f8cfc99c0f3b486f68b3a71a3d6ef4f",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 92,
"avg_line_length": 30.23404255319149,
"alnum_prop": 0.6023926812104152,
"repo_name": "sigstop/ivanos",
"id": "365c33afe2328479fc6c24bdc7b43fa143eb1d28",
"size": "1421",... |
table {
border-spacing: 0;
border-collapse: collapse;
}
td,
th {
padding: 0;
}
.table {
width: 100%;
margin-bottom: 20px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
padding: 8px;
line-height... | {
"content_hash": "716843d8ea5738bf4a822c5291861a3c",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 50,
"avg_line_length": 23.625,
"alnum_prop": 0.625,
"repo_name": "hungnq1989/hungnq1989.github.io",
"id": "b59624d2d99f95a3cf38b83c879f4e1b0605bdf8",
"size": "1512",
"bin... |
from warehouse import tasks
from warehouse.accounts.interfaces import ITokenService, TokenExpired
from warehouse.packaging.models import RoleInvitation, RoleInvitationStatus
@tasks.task(ignore_result=True, acks_late=True)
def update_role_invitation_status(request):
invites = (
request.db.query(RoleInvitat... | {
"content_hash": "b78b0ed4b571636c973d84748fddef65",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 35.473684210526315,
"alnum_prop": 0.7240356083086054,
"repo_name": "pypa/warehouse",
"id": "6daa5fde1b2918dbfdba627f6fb65c90f364b263",
"size": "1215"... |
module ActiveJob
module Instrumentation #:nodoc:
extend ActiveSupport::Concern
included do
around_enqueue do |_, block|
scheduled_at ? instrument(:enqueue_at, &block) : instrument(:enqueue, &block)
end
around_perform do |_, block|
instrument :perform_start
instrumen... | {
"content_hash": "dd734c47b79fbfe489f5098152b1b58e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 93,
"avg_line_length": 26.727272727272727,
"alnum_prop": 0.6360544217687075,
"repo_name": "shioyama/rails",
"id": "ed3eebd6265a0251f50489ab3aca7e2c0145bddc",
"size": "619",... |
import dedent from 'dedent';
import { escape as escapeHtml } from 'lodash';
import { TEST_RUN_ERRORS } from '../types';
import renderForbiddenCharsList from '../render-forbidden-chars-list';
import { replaceLeadingSpacesWithNbsp } from '../../utils/string';
import TEST_RUN_PHASE from '../../test-run/phase';
const SUBT... | {
"content_hash": "6264e1ff6ee7758da798a899cd1caa32",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 231,
"avg_line_length": 45.91545189504373,
"alnum_prop": 0.6826465172391898,
"repo_name": "MargaritaLoseva/testcafe",
"id": "a4c685b777096a174a71adfc10c2b3c2fe890684",
"si... |
@implementation STASegmentedControl
// reference: http://stackoverflow.com/a/21459772/347339
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
NSInteger previousSelectedSegmentIndex = self.selectedSegmentIndex;
[super touchesEnded:touches withEvent:event];
CGPoint locationPoint =... | {
"content_hash": "ad2ec0e2eb922a04556276102d9ce952",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 120,
"avg_line_length": 40.84615384615385,
"alnum_prop": 0.7335216572504708,
"repo_name": "alexclp/STAControls",
"id": "8bf54c25a6795e3ad60c0e45e299c5453411eccd",
"size": "... |
@implementation Friend
@end
| {
"content_hash": "ea8429c2de27d808afdabc7fab044a4b",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 22,
"avg_line_length": 9.666666666666666,
"alnum_prop": 0.7931034482758621,
"repo_name": "rememerme/nomnom-ios",
"id": "2bfe56a66d2e03f57ab47f76f8215724451f8d00",
"size": "1... |
extern FILE *emacs_fopen (char const *, char const *);
| {
"content_hash": "a779ed16797bec497199f5097251d4cc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 54,
"avg_line_length": 55,
"alnum_prop": 0.6909090909090909,
"repo_name": "jawatech/emacs-24.5",
"id": "e9dfb6960590e85ecbc6626aef69c4a8346c1991",
"size": "74",
"binary": ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "234e68417318a20e2c5813ef6f33ffd3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "17fbfd71378b3d8cdc41e74ca75491b15dd70fd0",
"size": "190... |
module PDFMeta
class Command
def initialize(path='', options={})
raise ArgumentError if path.empty?
@path = path
@options = default_options.merge(options)
end
def run!
runner = PDFMeta::Runner.new(command)
if runner.success?
PDFMeta::Parser.new(runner.output).r... | {
"content_hash": "0347ce4935db402829888fa13a46dba4",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 74,
"avg_line_length": 18.264705882352942,
"alnum_prop": 0.5603864734299517,
"repo_name": "boardiq/pdf_meta",
"id": "a60f94f110f0514f3ba710be305d6bcdf124b9b6",
"size": "621... |
from importlib import import_module
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test
def package_env(file_name, strict=False):
file_path = os.path.join(os.path.dirname(__file__), file_name)
if os.path.exists(file_path) or strict:
return open(f... | {
"content_hash": "92a8448577848ce1930303ce31004534",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 89,
"avg_line_length": 34.59803921568628,
"alnum_prop": 0.5471805043921791,
"repo_name": "denz/swarm-crawler",
"id": "38b8daac4ab8c5de34c91ad5067acd34182058c1",
"size": "3... |
import useSWR from 'swr'
import Person from '../components/Person'
const fetcher = (url) => fetch(url).then((res) => res.json())
export default function Index() {
const { data, error } = useSWR('/api/people', fetcher)
if (error) return <div>Failed to load</div>
if (!data) return <div>Loading...</div>
return... | {
"content_hash": "ee9d4d8f895d11d3768c0253a3a3166c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 61,
"avg_line_length": 22.31578947368421,
"alnum_prop": 0.5707547169811321,
"repo_name": "zeit/next.js",
"id": "2043d223ae676f133e0b8954e4d310e0b68b4ad5",
"size": "424",
... |
require 'resque'
module Resque
class Worker
# if we let resque trap signals trinidad cannot ever be stopped
alias :old_register_signal_handlers :register_signal_handlers
def register_signal_handlers
end
end
end
| {
"content_hash": "c9c247cb9c3c7df1c66ba0a7eaf421c2",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 67,
"avg_line_length": 21.181818181818183,
"alnum_prop": 0.7424892703862661,
"repo_name": "trinidad/trinidad_resque_extension",
"id": "8b406aea01cfc87c12340415a18e900002381fa... |
class RestaurantFood < ApplicationRecord
belongs_to :restaurant, optional: true
belongs_to :food, optional: true
after_destroy :check_food, :check_restaurant
validates :price, numericality: { greater_than_or_equal_to: 0, allow_nil: true }
def check_food
food.destroy_if_orphaned if food
end
def check... | {
"content_hash": "abd6ed640d738f9634870d588405c0f1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 82,
"avg_line_length": 27.928571428571427,
"alnum_prop": 0.7468030690537084,
"repo_name": "krishl/restaurant-planner",
"id": "e006375eeb0d7f5485e41f511d346b2a523cf5f4",
"si... |
#define C_LUCY_LEXINDEX
#include "Lucy/Util/ToolSet.h"
#include "Lucy/Index/LexIndex.h"
#include "Lucy/Index/Segment.h"
#include "Lucy/Index/TermInfo.h"
#include "Lucy/Index/TermStepper.h"
#include "Lucy/Plan/Architecture.h"
#include "Lucy/Plan/FieldType.h"
#include "Lucy/Plan/Schema.h"
#include "Lucy/Store/Folder.h... | {
"content_hash": "f2dc1efe2dab2d3c25dcedce41844e93",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 86,
"avg_line_length": 32.27894736842105,
"alnum_prop": 0.5959563019729334,
"repo_name": "rectang/lucy",
"id": "162933f129cf85a60d7f91d820959d6591e9cbd4",
"size": "6931",
... |
#ifndef QABSTRACTITEMVIEW_H
#define QABSTRACTITEMVIEW_H
#include <QtGui/qabstractscrollarea.h>
#include <QtCore/qabstractitemmodel.h>
#include <QtGui/qitemselectionmodel.h>
#include <QtGui/qabstractitemdelegate.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_ITEMVIEWS
class QMenu;
class QDrag... | {
"content_hash": "c5aa988b3e4849592c6b70b5f00a18b5",
"timestamp": "",
"source": "github",
"line_count": 339,
"max_line_length": 103,
"avg_line_length": 34.48672566371681,
"alnum_prop": 0.7416816354460696,
"repo_name": "phofman/qt",
"id": "983e256d3f1e55bc08420086f358dcee6bbd38d9",
"size": "13373",
... |
class Admin < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :timeoutable and :omniauthable, :registerable, :recoverable, :rememberable,
devise :database_authenticatable, :trackable, :validatable, :lockable
end
| {
"content_hash": "811d63bd7a86fbe12d02efb4fe58d6d7",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 93,
"avg_line_length": 52,
"alnum_prop": 0.7846153846153846,
"repo_name": "CannyFoxx/gallery",
"id": "83ad35db95de10cc71efd94eb2e773ef8f130672",
"size": "260",
"binary": f... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package controller;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.applicat... | {
"content_hash": "a3c8a3cbfd7d8c766d23bf2491dbd292",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 101,
"avg_line_length": 29.483870967741936,
"alnum_prop": 0.6464259664478483,
"repo_name": "vinicius-carvalho/crudEmp",
"id": "ba4a8703c1f89cd88c0500d2cf715c73416c59ad",
"... |
package com.hurence.logisland.documentation.html;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
import com.hurence.logisland.annotation.behavior.ReadsAttribute;
import com.hurence.logisland.annotation.... | {
"content_hash": "efac73046fce3efdd20e556d662612f4",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 103,
"avg_line_length": 39.4,
"alnum_prop": 0.6737832188713049,
"repo_name": "MiniPlayer/log-island",
"id": "546a710f8b76722857c1b5308931e81b5055da63",
"size": "7323",
"... |
@interface AugumentedRealityDemoTests : XCTestCase
@end
@implementation AugumentedRealityDemoTests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown
{
// Put teardown code here. This method is called af... | {
"content_hash": "0867d2cb6a64c497ba9f4ad0ceae7578",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 107,
"avg_line_length": 20.625,
"alnum_prop": 0.7090909090909091,
"repo_name": "prabhuNatarajan/AugumentedRealityDemo-OCR",
"id": "90be5c108ba33f4b6012ea971f18bd218b801ab2",
... |
The units of all coordinates are in microns (um).
## bcbp2
The BC/BCBP data. Each data file contains three lines (x,y,c). x and
y is the spatial coordinate and c determines the class of neuron (1
for BC, 2 for BCBP). For each data file ending `.dat`, there is also
a file ending `.w` that contains four numbers (xl ... | {
"content_hash": "b3e55b033503c5b5dc10f91036a8eb8e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 33.148148148148145,
"alnum_prop": 0.7452513966480447,
"repo_name": "sje30/eglen2015",
"id": "eb0862395b7777ba65ad1cc101eacc5160bf68ab",
"size": "905"... |
using System.ComponentModel;
public class ClassStaticProperties : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public static string Property { get; set; }
} | {
"content_hash": "b2b56ac9a437beff440fdab7cfbe7e76",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 29,
"alnum_prop": 0.8078817733990148,
"repo_name": "user1568891/PropertyChanged",
"id": "da2b073dc74673736fed410394f99cdaf10f3d5d",
"size": "203",
"... |
<html>
<head>
<script>
window.location.replace("{{ page.redirect }}" + window.location.hash);
</script>
<!-- Fall back to a <meta> redirect if the user has JavaScript disabled. -->
<meta http-equiv="refresh" content="0;url={{ page.redirect }}">
</head>
</html>
| {
"content_hash": "2c8910d6dc84e484abe0e4a5116de896",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 80,
"avg_line_length": 31.88888888888889,
"alnum_prop": 0.6097560975609756,
"repo_name": "safarmer/bazel",
"id": "410d88da04118a512ecd04f4b1c647c5d776242a",
"size": "287",
... |
'''
Created on 22.10.2014
@author: Philip
'''
import flask
import flask_login
import users.forms
import users.models
import utils.forms
import utils.redirect
from utils.views import get_column_names, create_table, alert_warning, alert_info, alert_success, \
error_not_found, error_access_denied, create_action_url... | {
"content_hash": "bc8a25aa7d06f0e81628b4f58a91bba3",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 113,
"avg_line_length": 37.747899159663866,
"alnum_prop": 0.6667408726625111,
"repo_name": "philipschoemig/TACTourney",
"id": "18b82e5e02390f29d385fff5667833b488367013",
"... |
"""Openstack logging handler.
This module adds to logging functionality by adding the option to specify
a context object when calling the various log methods. If the context object
is not specified, default formatting is used. Additionally, an instance uuid
may be passed as part of the log message, which is intended ... | {
"content_hash": "e3f41cb2d4bd1b339f04a95f23c9ca5c",
"timestamp": "",
"source": "github",
"line_count": 539,
"max_line_length": 78,
"avg_line_length": 35.06679035250464,
"alnum_prop": 0.5901275064811385,
"repo_name": "ccrouch/tuskar",
"id": "b29d5b6cf94253e51fb287b1574067f0a01bf5ee",
"size": "19717... |
function [p, q, r_handle] = chebpade(F, m, n, varargin)
%CHEBPADE Chebyshev-Pade approximation.
% [P, Q, R_HANDLE] = CHEBPADE(F, M, N) computes polynomials P and Q of degree
% M and N, respectively, such that the rational function P/Q is the type (M,
% N) Chebyshev-Pade approximation of type Clenshaw-Lord to th... | {
"content_hash": "14920527b8138160b788b4a2dd4782c5",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 80,
"avg_line_length": 32.450819672131146,
"alnum_prop": 0.594215711038141,
"repo_name": "asgeirbirkis/chebfun",
"id": "3cf7e3043fa268b09c8b2c98a6d82c5843e52e1d",
"size": ... |
package org.hmhb.authentication;
import javax.annotation.Nonnull;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
import javax.xml.bind.DatatypeConverter;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.codahale.metrics.annotation.Timed;
import ... | {
"content_hash": "f32d47838cdf84220201e614ba67eddd",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 112,
"avg_line_length": 33.28703703703704,
"alnum_prop": 0.6394993045897079,
"repo_name": "healthbam/healthbam",
"id": "4453d2530408d131563e283779726f1ece59ac1a",
"size": ... |
'use strict';
var app = app || {};
// MessageView handles a rendering of a single message.
app.StatsView = Backbone.View.extend({
el: '#stats',
initialize: function(options) {
_.bindAll(this, 'render');
},
render: function() {
var model = new Backbone.Model({defaults: {requests_per_se... | {
"content_hash": "50be5453ddcbecd0a50970ff95bcbff7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 77,
"avg_line_length": 28.962962962962962,
"alnum_prop": 0.5153452685421995,
"repo_name": "miguelgrinberg/microflack_ui",
"id": "c1e0a48ebbbb242ba7d7cfd094ffa709c30afdb9",
... |
@interface HeartRateExerciseViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, RDBluetoothLowEnergyDelegate>
typedef enum
{
HRTIME = 0,
HR_BURNED_CALORIES,
HR_ZONE_MIN,
HR_ZONE_MAX
}HeartRateTableDataIndex;
@property (weak, nonatomic) IBOutlet CircleView *MainCircleView;
@pr... | {
"content_hash": "f6b29a1d18f13ebdfa20b50e5c1a8e5c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 135,
"avg_line_length": 44.57142857142857,
"alnum_prop": 0.8100961538461539,
"repo_name": "ict-club/ProjectAdept",
"id": "e7008350720d66bdbffccb8d00c93be9264fd72e",
"size":... |
<!doctype html>
<html class="no-js" lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Cinéma Gérard Phillipe</title>
<meta name="Cinema Wasquehal" content="index du site">
<meta name="viewport" content="width=device-width, initial-scale=1">
<... | {
"content_hash": "7971adafec715d0aaca6e999dc54e79b",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 200,
"avg_line_length": 47.0365296803653,
"alnum_prop": 0.5000485389767984,
"repo_name": "Simplon-Roubaix/Cinema-Wasquehal",
"id": "4224345b6f8735b89957cc2ad7aaad6795f0fb01"... |
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [AutoWho].[ViewCurrentSessions]
(
--filters:
@activity TINYINT=1, -- 0 = Running only, 1 = Active + idle-open-tran, 2 = everything
@dur INT=0, -- duration, milliseconds
@db NVARCHAR(512)=N'', -- spids with context database names in... | {
"content_hash": "0c67c37769d676143554a28eb1698f6e",
"timestamp": "",
"source": "github",
"line_count": 746,
"max_line_length": 174,
"avg_line_length": 36.54691689008043,
"alnum_prop": 0.688343603286385,
"repo_name": "AaronMorelli/ChiRho",
"id": "b8ae38970ec59af096b615c985724afa4266d53b",
"size": "... |
title: Upgrade Docker EE
description: Learn how to upgrade your Docker Enterprise Edition, to start using
the latest features and security patches.
keywords: enterprise, upgrade
---
To upgrade Docker Enterprise Edition you need to individually upgrade each of the
following components:
1. Docker Engine.
2. Universal... | {
"content_hash": "10f489c19cdce2abc53f221a1b318ea5",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 107,
"avg_line_length": 36.972477064220186,
"alnum_prop": 0.7774193548387097,
"repo_name": "shin-/docker.github.io",
"id": "cb3681fcafdf1e6bfb54ae92cbb980364478bd4a",
"siz... |
package jo.log;
import java.util.logging.Handler;
import java.util.logging.LogRecord;
import jo.sm.ui.component.LogTextArea;
/**
* @Auther Robert Barefoot for SMEdit - version 1.0
**/
public class TextAreaLogHandler extends Handler {
public static final LogTextArea TEXT_AREA = new LogTextArea();
@Override
pu... | {
"content_hash": "539f822cb3c2b4cbdc5aabbe47003155",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 63,
"avg_line_length": 17.75862068965517,
"alnum_prop": 0.7417475728155339,
"repo_name": "daedalusz/SMEdit",
"id": "7fd2954379caad4ac161e14a605fc05eb9786fbe",
"size": "1188... |
package http
import (
"github.com/lastbackend/lastbackend/pkg/client/genesis/types"
"github.com/lastbackend/lastbackend/internal/util/http/request"
"github.com/lastbackend/lastbackend/pkg/client/genesis/config"
"github.com/lastbackend/lastbackend/pkg/client/genesis/http/v1/client"
rr "github.com/lastbackend/lastb... | {
"content_hash": "016f1ffc19d7aaa34c15a03140fafd97",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 75,
"avg_line_length": 21.612244897959183,
"alnum_prop": 0.7346553352219075,
"repo_name": "undassa/lastbackend",
"id": "b5ae1136eeecd1e6ecdca1be036ef5e619d21600",
"size": "... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "3f3ba1714357e7cd882ffbb12d849beb",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "zengjiashi/JSgitHub",
"id": "942d1458c391388eca0c5199ac3295159d8c891c",
"size": "2... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
using Xunit;
using static Microsoft.CodeAnalysis.Editor.UnitTests.Classification.FormattedClassifi... | {
"content_hash": "b315ed7c33f081fe6b3fc94bfc160241",
"timestamp": "",
"source": "github",
"line_count": 1017,
"max_line_length": 161,
"avg_line_length": 32.023598820059,
"alnum_prop": 0.5044215180545321,
"repo_name": "Giftednewt/roslyn",
"id": "a26356b75e7f99c748ca62382ef2677b68374f5b",
"size": "32... |
package org.bouncycastle.tls.crypto.impl.bc;
import org.bouncycastle.crypto.Digest;
import org.bouncycastle.crypto.Signer;
import org.bouncycastle.crypto.digests.NullDigest;
import org.bouncycastle.crypto.encodings.PKCS1Encoding;
import org.bouncycastle.crypto.engines.RSABlindedEngine;
import org.bouncycastle.crypto.p... | {
"content_hash": "34152b6c3ec70b883e08cfd1614b9d59",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 107,
"avg_line_length": 37.93103448275862,
"alnum_prop": 0.6945454545454546,
"repo_name": "bcgit/bc-java",
"id": "92b8bd8a31151a72847bb10c1d5399045b99e17c",
"size": "2200",... |
<div class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="showing = false" ng-show="canDismiss">×</button>
<h4 class="modal-title" ng-bind="modalTitle"... | {
"content_hash": "1155e73f6ac24bb66128e2979bf1efe3",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 147,
"avg_line_length": 37.90909090909091,
"alnum_prop": 0.6139088729016786,
"repo_name": "ellerbus/Dynamo",
"id": "537302c43f6c5679f8e848a07853bf1f700878ca",
"size": "419"... |
#import "IJKMediaUtils.h"
@implementation IJKMediaUtils
+ (NSString*)createTempFileNameForFFConcat
{
return [IJKMediaUtils createTempFileNameWithPrefix:@"ffconcat-"];
}
+ (NSString*)createTempFileNameWithPrefix: (NSString*)aPrefix
{
return [IJKMediaUtils createTempFileNameInDirectory: NSTemporaryDirectory(... | {
"content_hash": "fd9f4c1b765db94a1620bfe338b0834a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 91,
"avg_line_length": 30,
"alnum_prop": 0.6868686868686869,
"repo_name": "xpemail/ijkplayer",
"id": "25fac7d43c97734817af05d0177339a3a2956130",
"size": "1842",
"binary":... |
import unittest
import numpy
import chainer
from chainer.backends import cuda
from chainer import functions
from chainer import gradient_check
from chainer import testing
from chainer.testing import attr
from chainer.utils import type_check
@testing.parameterize(*testing.product_dict(
[{'dtype': numpy.float16},... | {
"content_hash": "e9c011f4c564f659d93fe4e86509a000",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 79,
"avg_line_length": 37,
"alnum_prop": 0.5895143263564316,
"repo_name": "ktnyt/chainer",
"id": "2905328d888813a0a164c1a7dc17c162e250d184",
"size": "4921",
"binary": fa... |
package arm
import (
"fmt"
"testing"
"github.com/Azure/packer-azure/packer/builder/azure/common/constants"
"github.com/mitchellh/multistep"
)
func TestStepDeleteResourceGroupShouldFailIfDeleteFails(t *testing.T) {
var testSubject = &StepDeleteResourceGroup{
delete: func(string) error { return fmt.Errorf("!! U... | {
"content_hash": "7f6633b2f88d8ec2232e987432ca2b90",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 110,
"avg_line_length": 30.4125,
"alnum_prop": 0.740649404027949,
"repo_name": "rchalumeau/packer-azure",
"id": "cb7978be2845dd725bd889a3beefceb8483f3aaa",
"size": "2596",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Fl. francisc. 29. 1891
#### Original name
null
### Remarks
null | {
"content_hash": "e27c03a317c017e4e5a24106188fdecb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.615384615384615,
"alnum_prop": 0.6887417218543046,
"repo_name": "mdoering/backbone",
"id": "88699e1c119cd25ca5e319391550081db61f6209",
"size": "23... |
class CreateIndirectpartFaultships < ActiveRecord::Migration
def change
create_table :indirectpart_faultships do |t|
t.integer :indirectpart_id
t.integer :fault_id
t.timestamps
end
end
end
| {
"content_hash": "01256e08f487257a5a0b46231382aadb",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 60,
"avg_line_length": 22,
"alnum_prop": 0.7090909090909091,
"repo_name": "chinxianjun/autorepair",
"id": "a366131d00e5b3f3bfc2e265f8723e3ebc0ebff1",
"size": "220",
"bina... |
/* This is a compiled file, to make changes persist, consider editing under the templates directory */
.pace {
-webkit-pointer-events: none;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.pace .pace-activity {
display: block;
position: fixed;
z-index: 20... | {
"content_hash": "583241995deed0fc84931717b1468b89",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 102,
"avg_line_length": 27.424657534246574,
"alnum_prop": 0.6718281718281718,
"repo_name": "asiboro/asiboro.github.io",
"id": "8f1b64f3e31b040d67e7bba3b36644876e708ab3",
"s... |
/**
* Rooms
* Pokemon Showdown - http://pokemonshowdown.com/
*
* Every chat room and battle is a room, and what they do is done in
* rooms.js. There's also a global room which every user is in, and
* handles miscellaneous things like welcoming the user.
*
* @license MIT license
*/
const TIMEOUT_EMPTY_DEALLOCA... | {
"content_hash": "b68501e19a956a8431f36df1ef31ac4d",
"timestamp": "",
"source": "github",
"line_count": 1565,
"max_line_length": 248,
"avg_line_length": 30.205750798722043,
"alnum_prop": 0.6452868505669318,
"repo_name": "NHarmoniaG/Pokemon-Showdown",
"id": "9f8b876aca198fe9fed677c61046e8e51c4782d2",
... |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.OfficeApi.Enums
{
/// <summary>
/// SupportByVersion Office 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Office.MsoTextCaps"/> </remarks>
[SupportB... | {
"content_hash": "629c4a7c64c40731778d0e0a4855340f",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 133,
"avg_line_length": 26.595238095238095,
"alnum_prop": 0.6293643688451208,
"repo_name": "NetOfficeFw/NetOffice",
"id": "fcf5b947df149dee7a6269b7ef3463272afca455",
"size"... |
package org.cordovastudio.editors.designer;
import com.intellij.codeHighlighting.BackgroundEditorHighlighter;
import com.intellij.ide.structureView.StructureViewBuilder;
import com.intellij.openapi.fileEditor.FileEditor;
import com.intellij.openapi.fileEditor.FileEditorLocation;
import com.intellij.openapi.fileEdito... | {
"content_hash": "17a846f60db600282045185e1db3dab6",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 112,
"avg_line_length": 28.467153284671532,
"alnum_prop": 0.7153846153846154,
"repo_name": "chrimm/cordovastudio",
"id": "477e3b95e98be57d4c458f3196b95a337ad76308",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.m039.wf"
android:versionCode="1"
android:versionName="1.0">
<application android:label="@string/app_name" >
<activity android:name="DemoActivity"
andro... | {
"content_hash": "b032855ec5a48e6b78b9962204465417",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 76,
"avg_line_length": 40.266666666666666,
"alnum_prop": 0.6026490066225165,
"repo_name": "m039/android-heavy-list",
"id": "e6be4e68bbb9d055dd63777d2b0b245de553e878",
"size... |
/* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt */
/*
* Quicktags
*
* This is the HTML editor in WordPress. It can be attached to any textarea and will
* append a toolbar above it. This script is self-contained (does not require external libraries).
*
* Run quicktags(settings) to initialize it,... | {
"content_hash": "626dcd561984844ff53deabb0a9a3adc",
"timestamp": "",
"source": "github",
"line_count": 712,
"max_line_length": 198,
"avg_line_length": 30.46769662921348,
"alnum_prop": 0.6125478264878071,
"repo_name": "cupcakemafa/cupcakemafa.github.io",
"id": "1e770828032736309d9be95e6c7c138799d78a8... |
<?php
namespace App\Modules\Staff;
class StaffController extends \Phalcon\Mvc\Controller {
public function index() {
$this -> response -> sendContent(array('message' => __METHOD__));
}
public function login() {
$data = json_decode(file_get_contents('php://input'), true);
$records = array();
if... | {
"content_hash": "eb8534e4cd46b30144898ec84434b237",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 103,
"avg_line_length": 24.87142857142857,
"alnum_prop": 0.5450890292935094,
"repo_name": "w280561543/tuanzu-php",
"id": "591653b40a9788e5534fd4afccff05c56f863a86",
"size":... |
/*
* W.J. van der Laan 2011-2012
*/
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "util.h"
#include "ui_interface.h"
#include "paymentserver.h"
#include "splashscre... | {
"content_hash": "792d1e883e6a84ba90093db2527723e5",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 206,
"avg_line_length": 34.28064516129032,
"alnum_prop": 0.6332925566952103,
"repo_name": "fishcoin/fishcoin",
"id": "3f807719e4ee2ddeb6ae26ac4b70f345e3364eac",
"size": "1... |
<?php
namespace Liuwen\Alipay\Request;
/**
* ALIPAY API: alipay.mobile.public.template.message.get request
*
* @author auto create
* @since 1.0, 2016-07-29 20:00:22
*/
class AlipayMobilePublicTemplateMessageGetRequest
{
/**
* 消息母板id
**/
private $templateId;
private $apiParas = array();
private $termin... | {
"content_hash": "1e2e479dff92eb9f31bf9f8e927d1fa8",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 64,
"avg_line_length": 15.827868852459016,
"alnum_prop": 0.7017089590885551,
"repo_name": "kkfd008/alipay-sdk-php",
"id": "872b0644819ba7a91c94246ae7f76b2e45c0df61",
"size... |
using UnityEngine;
using System.Collections;
public class MoveTransform : MonoBehaviour {
public enum Timing {
Null,
Update,
LateUpdate,
}
public Timing m_Timing = Timing.Update;
public Vector3 m_PositionSpeed = Vector3.zero; //移動速度
[QuaternionEuler] public Quaternion m_RotationSpeed = Quate... | {
"content_hash": "5594d87ba97d5648be6c4ec3ae180a72",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 120,
"avg_line_length": 22.14,
"alnum_prop": 0.6522131887985546,
"repo_name": "eral/hd-danmaku",
"id": "a8b29a02456509acfefe7d1cecfb86547ea6aeac",
"size": "1161",
"binary... |
package obfs4
import (
"bytes"
"crypto/hmac"
"crypto/sha256"
"encoding/hex"
"errors"
"fmt"
"hash"
"strconv"
"time"
"git.torproject.org/pluggable-transports/obfs4.git/common/csrand"
"git.torproject.org/pluggable-transports/obfs4.git/common/ntor"
"git.torproject.org/pluggable-transports/obfs4.git/common/r... | {
"content_hash": "aed7dc39a61ef2bb83cedce81bc15bf6",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 121,
"avg_line_length": 30.3825,
"alnum_prop": 0.7152143503661648,
"repo_name": "afdnlw/obfs4",
"id": "57de46040f5e34b5191bff51ab81f8ce3271365a",
"size": "13560",
"binar... |
/* Includes ------------------------------------------------------------------*/
#include "stm32f0xx_hal.h"
#ifdef HAL_CAN_MODULE_ENABLED
#if defined(STM32F072xB) || defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F091xC) || defined(STM32F098xx)
/** @addtogroup STM32F0xx_HAL_Driver
* ... | {
"content_hash": "682d0695449f3b02d48c3489916fa685",
"timestamp": "",
"source": "github",
"line_count": 1597,
"max_line_length": 129,
"avg_line_length": 32.223544145272385,
"alnum_prop": 0.5536231320806048,
"repo_name": "rbsexton/mpelite-stm32f0",
"id": "021c25cba43e7410ecdebf6519dd329cf162a5b0",
"... |
#ifndef ITEM_HPP
#define ITEM_HPP
#include <string>
#include <JsonBox.h>
#include "entity.hpp"
class EntityManager;
class Item : public Entity
{
public:
// Name and description of the item
std::string name;
std::string description;
// Constructors
Item(const std::string& id,
const std::string& name,
c... | {
"content_hash": "1ead2a7c291e4ef0f011c7fb9afbca1b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 49,
"avg_line_length": 18.21875,
"alnum_prop": 0.6912521440823327,
"repo_name": "Piepenguin1995/retro-rpg",
"id": "8acb98fc80aff021eccdebbde6e59728ed8dad9b",
"size": "583",... |
function prev() {
PREV=$(fc -lrn | head -n 1)
sh -c "pet new `printf %q "$PREV"`"
}
function pet-select() {
BUFFER=$(pet search --query "$LBUFFER")
CURSOR=$#BUFFER
zle redisplay
}
zle -N pet-select
# move pluginlist because async load occurs below error
# stty: 'standard input': Inappropriate ioctl for devic... | {
"content_hash": "ea7965505ccea12fb731eaa5af7368f8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 56,
"avg_line_length": 22.352941176470587,
"alnum_prop": 0.6421052631578947,
"repo_name": "yutakatay/dotfiles",
"id": "04901784f6e1974d4019e88a6a6e8830abb9a4c5",
"size": "3... |
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using FluentAssertions;
using Xunit;
namespace Rocks.Helpers.Tests
{
[Collection("NoParallel")]
public class GlobalDbFactoriesProviderTests
{
private sealed class TestDbProviderFactory : DbProviderFactory
... | {
"content_hash": "30be570c84bde77f5b0c5e01d7469e1d",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 87,
"avg_line_length": 26.337209302325583,
"alnum_prop": 0.5788079470198676,
"repo_name": "kukuRUSik/Rocks.Helpers",
"id": "70a3d90d595cec57c84ab4e79b942c8e8d187d1d",
"size... |
namespace LudogorieFood.Data.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class AddSlidesTable :... | {
"content_hash": "1c90fdcdc4777174dbc585bbcdc811e6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 97,
"avg_line_length": 28.928571428571427,
"alnum_prop": 0.6259259259259259,
"repo_name": "ahmedmatem/ludogoriefood",
"id": "fb0a5b76879f7260b6b786087c74859ad22b1134",
"siz... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("5.... | {
"content_hash": "d65b1c4c516db31468339fc35e5b0c4e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.416666666666664,
"alnum_prop": 0.7448907681465821,
"repo_name": "origami99/SoftUni-Programming-Fundamentals-Intensive",
"id": "d89bf68e3e61173e2f83e... |
cask "unity-android-support-for-editor" do
version "2022.1.19f1,2fd7b40534d1"
sha256 "d49c4ff61e827d6774df752656230074941120c15213eb56a960f96053055e64"
url "https://download.unity3d.com/download_unity/#{version.csv.second}/MacEditorTargetInstaller/UnitySetup-Android-Support-for-Editor-#{version.csv.first}.pkg",
... | {
"content_hash": "9ec497f963d3f454987b7511a4dedcd0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 162,
"avg_line_length": 36.142857142857146,
"alnum_prop": 0.7075098814229249,
"repo_name": "stephenwade/homebrew-cask",
"id": "d1936f72f198d86f8ba815465a956e46349fd7ee",
"s... |
layout: default
title: Tapahtumakalenteri
permalink: /kalenteri/
---
<div class="well">
<p><img src="{{site.url}}/images/nuotio_heko_kansi.jpg"
style="width:100%;"></p>
<h1>Tapahtumakalenteri</h1>
<iframe src="https://calendar.google.com/calendar/embed?showTitle=0&showDate=0&showPrint=0&sho... | {
"content_hash": "c1a56586c5abfb9ffce3637d91ded016",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 375,
"avg_line_length": 49.5,
"alnum_prop": 0.7289562289562289,
"repo_name": "HelsinginKotkat/website",
"id": "92b2ff0d767321a1c5f946a6b41fc18c4bf6b692",
"size": "598",
"... |
exports.name = "map_join";
exports.call = function(map, separator) {
map = this.castMap(map);
separator = this.castString(separator || ',');
var values = map.values();
var result = [];
for (var i = 0; i < values.length; i++) {
result.push(this.castString(values[i]));
}
return result... | {
"content_hash": "9f3911ebc50b6995ff62a1d0c31977a0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 50,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.5970588235294118,
"repo_name": "toxic-spanner/mca-compiler",
"id": "37cc0fb0e162ac30f7e4ce79dfaf8503a528de5b",
"s... |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.test.cfg;
import static org.hibernate.validator.testutil.ConstraintVi... | {
"content_hash": "c36c7c65fc4b4983f6abe9341dea29d3",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 144,
"avg_line_length": 30.63063063063063,
"alnum_prop": 0.8147058823529412,
"repo_name": "hibernate/hibernate-validator",
"id": "17082625fc4e86fec330f54bfbd2beb996118c83",
... |
<!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_17) on Tue Feb 23 09:37:20 PST 2010 -->
<TITLE>
CommandProcessor (Selenium Remote Control 1.0.3)
</TITLE>
<META NAME="date" CONTENT="2010-02-23">
<... | {
"content_hash": "f454eac95f02616ea25fbc63b343ca69",
"timestamp": "",
"source": "github",
"line_count": 472,
"max_line_length": 328,
"avg_line_length": 36.807203389830505,
"alnum_prop": 0.6437575548264548,
"repo_name": "mgrauer/midas3score",
"id": "4f9b18730bed63e59b9402d7189048922bb8d7af",
"size":... |
Generator::Generator(sc_module_name name)
: sc_module(name)
{
SC_THREAD(generate_thread);
request_NS.initialize(false);
request_SN.initialize(false);
request_WE.initialize(false);
request_EW.initialize(false);
SC_METHOD(print_method);
sensitive << request_NS << request_SN << request_WE << request_EW;
}... | {
"content_hash": "6223a2cee3ffd954daf68cc01558a2fd",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 192,
"avg_line_length": 24.08823529411765,
"alnum_prop": 0.5763125763125763,
"repo_name": "hansfilipelo/TDTS07",
"id": "6b5dd323440d7f43e1f013f4cfc60480befe31c9",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.