text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
namespace Oro\Bundle\ActionBundle\Tests\Unit\Model;
use Oro\Bundle\ActionBundle\Model\OperationDefinition;
use Oro\Component\Testing\Unit\EntityTestCaseTrait;
class OperationDefinitionTest extends \PHPUnit_Framework_TestCase
{
use EntityTestCaseTrait;
/** @var OperationDefinition */
protected $de... | {
"content_hash": "2a30187ba095070568b32fb448b4e7f1",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 108,
"avg_line_length": 34.082352941176474,
"alnum_prop": 0.5560925094925785,
"repo_name": "trustify/oroplatform",
"id": "636c4f952d4637d8abd900e8a363b67ed825256d",
"size":... |
import datetime
import os
SCHEDULER_TASKS = [
{
"path": "tests.tasks.general.MongoInsert",
"params": {
"monthday": i + 1
},
"monthday": i + 1,
"dailytime": datetime.datetime.fromtimestamp(float(os.environ.get("MRQ_TEST_SCHEDULER_TIME"))).time()
} for i in ran... | {
"content_hash": "117d6b56e59276458621cd4e93698ae3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 109,
"avg_line_length": 23.533333333333335,
"alnum_prop": 0.5779036827195467,
"repo_name": "pricingassistant/mrq",
"id": "6210d974af02c23388855f1f59f018a135ecf62a",
"size":... |
<?php
namespace Modules\Contact\Mappers;
use Modules\Contact\Models\Contact;
use Modules\Contact\Models\ContactNullObject;
use Modules\LibraryModule\Entity\EntityMapper;
class ContactMapper extends EntityMapper
{
const URL = 'contacts';
public function __construct(){
parent::__construct(self::URL);
... | {
"content_hash": "0eb98f2f2beca78689ca303267de3512",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 71,
"avg_line_length": 28.34285714285714,
"alnum_prop": 0.65625,
"repo_name": "filchakov/soap_wrapper",
"id": "76090ee58045ca363a2f42ffd6f5d0d5a11f1d3a",
"size": "992",
"... |
int
main(int argc, char **argv)
{
unsigned char sk[crypto_box_SECRETKEYBYTES];
unsigned char pk[crypto_box_PUBLICKEYBYTES];
char sk_hex [(crypto_box_SECRETKEYBYTES * 2) + 1];
char pk_hex [(crypto_box_PUBLICKEYBYTES * 2) + 1];
if (sodium_init() == -1) {
printf("failed to initialize crypto library.\n");
... | {
"content_hash": "9fa156b9bebe8054288f1825e3cbf7e2",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 59,
"avg_line_length": 31.7,
"alnum_prop": 0.6656151419558359,
"repo_name": "cmusser/vpnd",
"id": "a7244bccad77db9ca8f57b6c295ebf2f1e9786a2",
"size": "694",
"binary": fal... |
import {Routes} from '@angular/router';
import {RequestCalcComponent} from "./request-calc";
import {simpleAppRoutes} from "./simple-app/simple-app.routes";
import {LandingComponent} from "./landing/landing.component";
import {extendAppRoutes} from "./extend-app/extend-app.routes";
export const routes: Routes = [
{... | {
"content_hash": "48bd58e31c78c05417a34fc4c22b1e52",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 63,
"avg_line_length": 39.06666666666667,
"alnum_prop": 0.726962457337884,
"repo_name": "2muchcoffeecom/ng2-restangular",
"id": "01e5da11176b107225a426ec28c3634d16355799",
... |
package org.cloudfoundry.uaa.authorizations;
import org.junit.Test;
public final class GetOpenIdProviderConfigurationRequestTest {
@Test
public void valid() {
GetOpenIdProviderConfigurationRequest.builder()
.build();
}
}
| {
"content_hash": "00586d84ec6187259ee2e9ef70e50d54",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 62,
"avg_line_length": 17.266666666666666,
"alnum_prop": 0.7027027027027027,
"repo_name": "alexander071/cf-java-client",
"id": "497d2df6016b634a06a58ba5d8a334d3cc0ff4f5",
"... |
<?php
final class PhabricatorPolicyTestCase extends PhabricatorTestCase {
/**
* Verify that any user can view an object with POLICY_PUBLIC.
*/
public function testPublicPolicyEnabled() {
$env = PhabricatorEnv::beginScopedEnv();
$env->overrideEnvConfig('policy.allow-public', true);
$this->expect... | {
"content_hash": "ba5dcfac8530d8848eb2359f83913e7e",
"timestamp": "",
"source": "github",
"line_count": 335,
"max_line_length": 76,
"avg_line_length": 25.355223880597016,
"alnum_prop": 0.6066635271956675,
"repo_name": "Automattic/phabricator",
"id": "d54ca7365140baeadc2cb61b451dc3f2061e8932",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Workbooster.ObjectDbMapper.Attributes;
namespace Workbooster.ObjectDbMapper.Reflection
{
public static class ReflectionHelper
{
#region PUBLIC METHODS
/// <summary>
... | {
"content_hash": "b13c7da3e803ff1aaf93f8c891e9903c",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 149,
"avg_line_length": 37.46666666666667,
"alnum_prop": 0.5405298536971135,
"repo_name": "Workbooster/ObjectDbMapper",
"id": "c1f4931e1b991fc3a4cc7c4003e87733442230d4",
"... |
var Api, DefaultImplementation, DocumentationGenerator, Path, Resource,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
Resource = require("./resource");
DefaultImplementation = require("./impl/default_implementat... | {
"content_hash": "5f9524dd077857359bee962ee67e380f",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 152,
"avg_line_length": 25.85981308411215,
"alnum_prop": 0.6140224069389231,
"repo_name": "koshdnb/mongoose-express-api",
"id": "81110b309046c3b6738e0e59fb9aa89265823e6e",
... |
@interface BSCollectionViewController ()
@end
@implementation BSCollectionViewController {
NSInteger _beforeChangeIndex;
NSInteger _itemsPerPage;
}
- (id)initWithCollectionViewLayout:(UICollectionViewLayout *)layout {
self = [super init];
if (self) {
_collectionView = [[UICollectionView a... | {
"content_hash": "3cd19dd08407a7945e9a3a7cafae3cd5",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 162,
"avg_line_length": 26.080459770114942,
"alnum_prop": 0.6557955046275893,
"repo_name": "piotrbernad/BScrollController",
"id": "66bcf43e96bef45288cef82b53abd99e5461672b",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "4092e6f5e422f90a02e933d94ae92eeb",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 296,
"avg_line_length": 43.92344497607655,
"alnum_prop": 0.5096949891067538,
"repo_name": "dcarda/aba.route.validator",
"id": "e1e3492ccb9f8a4df81e2958bb794695e531451d",
"... |
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* <p>The output for the DeleteThingType operation.</p>... | {
"content_hash": "c6eec0ceff0ae4b059ec2c71ef37b1fc",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 109,
"avg_line_length": 21.94736842105263,
"alnum_prop": 0.7146282973621103,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "222398c6da9f57b58f4cfe7cf885d749e37b44b4",
"size":... |
title: Error Installing Module(s) on DNN 4.5.5 at WebHost4Life
date: '2007-08-23T00:27:00.000-04:00'
author: John
tags:
- DotNetNuke
- OSS
modified_time: '2010-09-05T15:52:41.309-04:00'
blogger_id: tag:blogger.com,1999:blog-2811308028656623966.post-7504244834968718211
blogger_orig_url: http://pragmatic-software.blogspo... | {
"content_hash": "48241fad5893c4cd6e556d55ee6868c4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 684,
"avg_line_length": 88.91666666666667,
"alnum_prop": 0.7947516401124649,
"repo_name": "jwatson3d/jwatson3d.github.io",
"id": "d077bfae805eceb80cffd89f91a9e6785da8811f",
... |
Archlinux mkinitcpio hook to enable the tinyssh daemon in early userspace
| {
"content_hash": "9b1f5fc3e030520548729e840d42b3e4",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 73,
"avg_line_length": 74,
"alnum_prop": 0.8513513513513513,
"repo_name": "grazzolini/mkinitcpio-tinyssh",
"id": "8ddf3c58e11d10605121474e2218a1f040f7459f",
"size": "95",
... |
package org.apache.jmeter.protocol.ldap.config.gui;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import javax.swing.BorderFactory;
import javax.swing.ButtonGroup;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.s... | {
"content_hash": "9da8040724188bc132d4b88e06fe161f",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 125,
"avg_line_length": 37.11491442542787,
"alnum_prop": 0.6407114624505929,
"repo_name": "d0k1/jmeter",
"id": "b19425df25ea2e34b85acb25759da12b75afd035",
"size": "15982",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hoare-tut: 22 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... | {
"content_hash": "d557c04ff25345b23d3dfa51a3c2a56b",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 159,
"avg_line_length": 47.689119170984455,
"alnum_prop": 0.5846371142981313,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6248c69b3b37c40130f5ff82d7c321b4e750d2d8",... |
mirrors-site
============
Welcome to takeseem.com Open Source Mirror Site
| {
"content_hash": "c26108b356226f83d4cbc174f962bf4d",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 47,
"avg_line_length": 18.75,
"alnum_prop": 0.68,
"repo_name": "takeseem-com/mirrors-site",
"id": "a510b01df732205989dd4b0e0fdc223cb4458dbe",
"size": "75",
"binary": false... |
try:
import pyflakes
pyflakes # avoid unused warning when validating self!
except ImportError:
print("Validate requires pyflakes. Please install " "with: pip install pyflakes")
exit()
import argparse
import os
from subprocess import call
import re
abspath = os.path.abspath(__file__)
dname = os.path.... | {
"content_hash": "f35141598876deb5e6f981effa02a022",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 85,
"avg_line_length": 25.48421052631579,
"alnum_prop": 0.5968608013217679,
"repo_name": "autolab/Tango",
"id": "546db78b8d076cd9b5db5394346ece46ed3f03ad",
"size": "2585",
... |
<?php
include_once 'header.php';
include_once 'includes/alternatif.inc.php';
$pro = new Alternatif($db);
$stmt = $pro->readAll();
$count = $pro->countAll();
if(isset($_POST['hapus-contengan'])){
$imp = "('".implode("','",array_values($_POST['checkbox']))."')";
$result = $pro->hapusell($imp);
if($result){
... | {
"content_hash": "dc293bcab9a57355a19963ab22035879",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 228,
"avg_line_length": 33.88990825688074,
"alnum_prop": 0.5178668110449377,
"repo_name": "aldhi253/Aplikasi_SPK_Dengan_PHP",
"id": "0ef712f5f4a0744fa589299ff516dd7a665ab4e2... |
package io.github.factoryfx.factory.storage.migration.datamigration;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.fasterxml.jackson.data... | {
"content_hash": "38f38df27fe19d1d75396c2e3f030b5a",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 151,
"avg_line_length": 36.325581395348834,
"alnum_prop": 0.6168831168831169,
"repo_name": "factoryfx/factoryfx",
"id": "b2f868a227216cc25a7785d2962e737dab479c79",
"size":... |
//go:generate stringer -output types_industry_string.go -type=ActivityType
package evego
import "fmt"
// ActivityType is an industrial activity performed on or resulting in
// a blueprint.
type ActivityType int
// The ActivityType values.
const (
None ActivityType = iota
Manufacturing
ResearchingTechnology
Res... | {
"content_hash": "c9ed55964b3aac4194ec4283cc34aa8d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 78,
"avg_line_length": 22.45945945945946,
"alnum_prop": 0.7569193742478941,
"repo_name": "backerman/evego",
"id": "0ea0a76f150e3f4c34b80570611cffc1458fb178",
"size": "1395"... |
Rails.application.routes.draw do
devise_for :users, controllers: {registrations: 'auth/registrations',
confirmations: 'auth/confirmations',
passwords: 'auth/passwords',
sessions: 'auth/sessions'}
conce... | {
"content_hash": "9a591c52185b2a0a97f85020eedc5d11",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 71,
"avg_line_length": 34.285714285714285,
"alnum_prop": 0.5416666666666666,
"repo_name": "pineapplethief/rubyvoodoo",
"id": "9ee3d688893aea67c9dac4128d30b8cbb2f47460",
"si... |
<?php
namespace Lv\ShopBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony.com... | {
"content_hash": "9235419abfce7cc2995a3b3c24053255",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 131,
"avg_line_length": 29.96551724137931,
"alnum_prop": 0.713463751438435,
"repo_name": "jonnobi/symfony2",
"id": "915933c870a71edf3fb6a53470374ed3a6a36423",
"size": "869"... |
@interface HMPhotoBrowserAnimator() <UIViewControllerAnimatedTransitioning>
@end
@implementation HMPhotoBrowserAnimator {
BOOL _isPresenting;
HMPhotoBrowserPhotos *_photos;
}
#pragma mark - 构造函数
+ (instancetype)animatorWithPhotos:(HMPhotoBrowserPhotos *)photos {
return [[self alloc] initWithPhotos:photos... | {
"content_hash": "62ea6181fd07a0d301d1100bef63927f",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 214,
"avg_line_length": 31.449664429530202,
"alnum_prop": 0.7148954332052924,
"repo_name": "itheima-developer/HMPhotoBrowser",
"id": "c6c9c600a386b2a1bff624d3983dc864b56c58e... |
package mesosphere.marathon.tasks
import mesosphere.marathon.core.task.Task
import org.apache.mesos.Protos.TaskID
import org.scalatest.{ Matchers, FunSuite }
import mesosphere.marathon.state.PathId._
class TaskIdTest extends FunSuite with Matchers {
test("AppIds can be converted to TaskIds and back to AppIds") {
... | {
"content_hash": "0312cab5c5a814790a032a590808cede",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 112,
"avg_line_length": 37.266666666666666,
"alnum_prop": 0.7334525939177102,
"repo_name": "titosand/marathon",
"id": "8cca7d6b09901187557dffe4a5f4b864812853e4",
"size": "1... |
namespace cc {
namespace {
scoped_ptr<LayerImpl> layerImplForScrollAreaAndScrollbar(
FakeLayerTreeHostImpl* host_impl,
scoped_ptr<WebKit::WebScrollbar> scrollbar,
bool reverse_order)
{
scoped_refptr<Layer> layerTreeRoot = Layer::create();
scoped_refptr<Layer> child1 = Layer::create();
scoped_re... | {
"content_hash": "d8943c83f7c44632fe81308baeee13fe",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 223,
"avg_line_length": 43.80790960451977,
"alnum_prop": 0.7363941191643023,
"repo_name": "nacl-webkit/chrome_deps",
"id": "e6a7bff0b3067757693a358b602684fbf7b6c92b",
"siz... |
using NUnit.Framework;
namespace I18NPortable.UnitTests
{
[TestFixture]
public class BindingTests : BaseTest
{
[Test]
public void Indexer_Is_Bindable()
{
I18N.Current.Locale = "es";
var translation = I18N.Current.Translate("one");
I18N.Current.P... | {
"content_hash": "16745cad8af35718faa74d7cd3bc0752",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 64,
"avg_line_length": 25.633802816901408,
"alnum_prop": 0.4978021978021978,
"repo_name": "xleon/I18N-Portable",
"id": "a89262eb8b73796e7afb0f5de4df9c2796512b02",
"size": "... |
#region license
// Copyright (c) 2009 Mauricio Scheffer
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | {
"content_hash": "ce9007b1a513bfd5f27ebd7a3517f4fa",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 124,
"avg_line_length": 34,
"alnum_prop": 0.724400871459695,
"repo_name": "mausch/MiniMVC",
"id": "2a3ab6c51a193dba807b4a8aaa074befc1884797",
"size": "920",
"binary": fal... |
<?xml version="1.0"?>
<Document>
<sentence>
<value> Ronald John Garan, Jr. (born October 30, 1961) is a NASA astronaut. </value>
<annotated-sentence> [[Ronald John Garan|Ronald_J._Garan,_Jr.]], Jr. (born October 30, 1961) is a [[NASA|NASA]] [[astronaut|Astronaut]]. </annotated-sentence>
<pattern_crowdsource>... | {
"content_hash": "cae1d9279b923fb40477014c73a6f0c8",
"timestamp": "",
"source": "github",
"line_count": 2984,
"max_line_length": 408,
"avg_line_length": 26.744302949061662,
"alnum_prop": 0.6800576404987156,
"repo_name": "pvougiou/KB-Text-Alignment",
"id": "78fdc1ee5d55d7673403631212bda553f62f5f2b",
... |
package com.wii.vmail.pojo;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import android.util.Log;
import com.wii.vmail.pojo.CircleId;
import com.wii.vmail.pojo.MailAddress;
public class Profile implements Serializable {
static final long serialVersionUID = 1L;
... | {
"content_hash": "8769ffc285de61eb18f556484bcff9f3",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 100,
"avg_line_length": 26.958333333333332,
"alnum_prop": 0.5381761978361669,
"repo_name": "moreus/vMail",
"id": "ff3bca8818c1480ff193fdc9847a9b6354d5d6a1",
"size": "3235"... |
angular.module("myApp.services", [])
.factory("regionService", ["$http", "$q", function ($http, $q) {
return {
getUserRegion: function () {
var deferred = $q.defer();
navigator.geolocation.getCurrentPosition(function(position) {
$http({
... | {
"content_hash": "fdd71b542e6487a150d94b6057feef4c",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 153,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.37150096525096526,
"repo_name": "sargisshahinyan/Music",
"id": "6915a6c7adb014ecf6512191b158db45a51779e3",
"siz... |
namespace hackerrank {
namespace bmgandre {
namespace algorithms {
namespace implementation {
class counting_valleys
{
public:
static int solve(int n, std::string s);
};
} // namespace algorithms
} // namespace implementation
} // namespace bmgandre
} // namespace hackerrank
| {
"content_hash": "e985c23f2690731b1883c968229a193c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 40,
"avg_line_length": 18.6,
"alnum_prop": 0.7526881720430108,
"repo_name": "bmgandre/hackerrank-cpp",
"id": "365a4e01e1debc434dccc1c05eac58911aa5453b",
"size": "312",
"b... |
namespace Checkpoints
{
typedef std::map<int, uint256> MapCheckpoints;
//
// What makes a good checkpoint block?
// + Is surrounded by blocks with reasonable timestamps
// (no blocks before with a timestamp after, none after with
// timestamp before)
// + Contains no strange transactio... | {
"content_hash": "723528276a2cd93d9cb67b942f7030d0",
"timestamp": "",
"source": "github",
"line_count": 405,
"max_line_length": 200,
"avg_line_length": 43.14074074074074,
"alnum_prop": 0.6521291208791209,
"repo_name": "lightspeedcrypto/lightspeed",
"id": "509ca77a5864cc722a876232f12cabaeba916116",
... |
<objects xmlns="http://www.springframework.net"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd">
</objects>
| {
"content_hash": "80989c447864b0ba7efea64c18d2be14",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 107,
"avg_line_length": 56,
"alnum_prop": 0.7633928571428571,
"repo_name": "MaferYangPointJun/Spring.net",
"id": "8b6cbe22ad29e43fa49ac9285b308df2a48f362b",
"size": "224",
... |
/**
* File : popwayback.ph
* Author : Valentin Clement (clementval)
* Description : Implementation of the POPWayback object
* Creation date : 2010/10/07
*
* Modifications :
* Authors Date Comment
* clementval 2010/10/07 First implementation of this object
* clementval 2010/10/22 Add doxygen comment
*... | {
"content_hash": "9e09dd1f7dd4ad698e02c53e155383f2",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 124,
"avg_line_length": 24.328859060402685,
"alnum_prop": 0.6355862068965518,
"repo_name": "GaretJax/pop-utils",
"id": "f027e71289b0bebac236f22c1dda7829b442b6fd",
"size": ... |
package msgpack4z
import scala.util.control.NonFatal
import scalaz._
trait MsgpackCodec[A] {
def pack(packer: MsgPacker, a: A): Unit
def packF: Packer[A] =
pack
final def toBytes(a: A, packer: MsgPacker): Array[Byte] = {
pack(packer, a)
packer.result()
}
final def unpackAndClose(unpacker: Msg... | {
"content_hash": "74481765f6565068e1a3ee4f5bf15942",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 137,
"avg_line_length": 26.6260162601626,
"alnum_prop": 0.5938931297709924,
"repo_name": "msgpack4z/msgpack4z-core",
"id": "1bf5497b1533ee6569c72e9cadeb0dd0b48569a5",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "38f0bc60906adc6f4df9c49bba6d1389",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "a7efabf47e9b510528d45dabefb856aa86d547f3",
"size": "182... |
using System.Threading.Tasks;
namespace PeanutButter.Utils
{
/// <summary>
/// Extension methoss for tasks
/// </summary>
public static class TaskExtensions
{
/// <summary>
/// Runs a task which returns a result synchronously, returning that result
/// </summary>
///... | {
"content_hash": "63849fc0000d906ebb809f43d552926d",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 83,
"avg_line_length": 25,
"alnum_prop": 0.4957894736842105,
"repo_name": "fluffynuts/PeanutButter",
"id": "a2b461827f744fecccf5ebf1334bf47ede4a2357",
"size": "950",
"bin... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsHtml5PlainTextUtils_h
#define nsHtml5PlainTextUtils_h
#include "nsHtml5HtmlAttributes.h"
class nsHtml5... | {
"content_hash": "475a6a7b98624a81ee97b9343ec45ecd",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 70,
"avg_line_length": 27.5,
"alnum_prop": 0.7568181818181818,
"repo_name": "andrasigneczi/TravelOptimizer",
"id": "997702cffffd50a9135d8e64ec5540d09b83789e",
"size": "440"... |
using DogeNews.Services.Common.Contracts;
using DogeNews.Web.Infrastructure.Bindings;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Ninject;
namespace DogeNews.Web.Hubs
{
[HubName("notificationHub")]
public class NotificationHub : Hub
{
public void Init()
{
... | {
"content_hash": "d7edf1157eac99a652a0e2353292abb8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 110,
"avg_line_length": 25.4,
"alnum_prop": 0.7106299212598425,
"repo_name": "SuchTeam-NoJoro-MuchSad/Doge-News",
"id": "ab122da68bcb9af040dfa233c83acbefcbdd6436",
"size": ... |
$(function () {
left();
$("#tabul >li").each(function () {
$(this).bind("click",function(){
$("#tabul >li").removeClass("active_tab");
$(this).toggleClass("active_tab");
});
});
});
function left(){
var html="";
html=leftli(html,"jq_index i_32_tables","首页","","index.html");
html=leftli(html,"jq_dialog... | {
"content_hash": "9d8847c5a5bee8e747b6ba234bb5b932",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 104,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.6286407766990292,
"repo_name": "futureskywei/whale",
"id": "92f75ff97abab3d041c3c3f63e733e8ee5aafe0e",
"size": "... |
package org.apache.sentry.tests.e2e.dbprovider;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
import org.apach... | {
"content_hash": "201504e158174972afe61f167ce3cbb8",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 114,
"avg_line_length": 39.73913043478261,
"alnum_prop": 0.5747348931156371,
"repo_name": "apache/incubator-sentry",
"id": "35f41c6efc15afe566c760ac0e524946e4725991",
"siz... |
namespace clover {
namespace game { namespace editor {
using namespace net::msg;
struct CloverPathMsgTraits {
NET_MSG_TRAITS_NAME("clpt") // CLover PaTh
NET_MSG_TRAITS_VALUE(util::Str8) // Path to binary directory
};
struct ResourceRootMsgTraits {
NET_MSG_TRAITS_NAME("rsrt") // ReSource RooT
NET_MSG_TRAITS_VALUE... | {
"content_hash": "60859ae84739cc21f16b2b7af788d514",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 161,
"avg_line_length": 30.415584415584416,
"alnum_prop": 0.7087959009393681,
"repo_name": "crafn/clover",
"id": "866a43a0968c9a899efa47499159a5d260ac66f4",
"size": "2488",... |
package org.apache.jena.commonsrdf.impl;
import org.apache.jena.graph.Node;
import org.apache.jena.riot.out.NodeFmtLib;
import org.apache.jena.shared.PrefixMapping;
import org.apache.jena.shared.impl.PrefixMappingImpl;
class JCR_Term implements JenaNode {
private Node node;
static private PrefixMapping empt... | {
"content_hash": "28f8b0a78337b5edacb3e0ecfb8144b7",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 65,
"avg_line_length": 20.59375,
"alnum_prop": 0.6798179059180577,
"repo_name": "apache/jena",
"id": "9a54c4fde526350b8caa8e3c2a68c80976585a54",
"size": "1465",
"binary":... |
package com.sample.httpCore.httpInterface;
import android.content.Context;
import android.content.Intent;
import android.location.LocationManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.telephony.Tele... | {
"content_hash": "3773960493ea20006a28ba6e7654242c",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 184,
"avg_line_length": 32.684,
"alnum_prop": 0.5497491127157019,
"repo_name": "carozhu/EducationProject",
"id": "1f8bcabaed7ae8a071dbfbf776216f5fed01356b",
"size": "8513"... |
using namespace mx::core;
using namespace std;
using namespace mxtest;
TEST( Test01, Properties )
{
TestMode v = TestMode::one;
PropertiesPtr object = tgenProperties( v );
stringstream expected;
tgenPropertiesExpected( expected, 1, v );
stringstream actual;
// object->toStream( std::cout, 1 );
object->toStre... | {
"content_hash": "949ce3f566285a4e73092fc8e03d3382",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 120,
"avg_line_length": 45.8828125,
"alnum_prop": 0.4902945683636983,
"repo_name": "Webern/MusicXML-Class-Library",
"id": "dfb1a7a7e3dd9bb48c5d356966d0c3d82fb27753",
"size... |
package com.michaelfotiadis.ibeaconscanner.activities;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
im... | {
"content_hash": "403fe3fc479bf390cca0036f27a19c6c",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 120,
"avg_line_length": 35.069252077562325,
"alnum_prop": 0.7712480252764613,
"repo_name": "joeyvanderbie/Android--iBeacon-Scanner-Service",
"id": "ab53209bd7fe207fad474b29c... |
package org.sana.android.activity;
import org.sana.R;
import org.sana.android.provider.Notifications;
import android.app.NotificationManager;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.Gravity;
import android.vi... | {
"content_hash": "2f3550fc75091ae30fc466d8b1ee13d7",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 124,
"avg_line_length": 38.234177215189874,
"alnum_prop": 0.6636318490316173,
"repo_name": "UNFPAInnovation/GetIn_Mobile",
"id": "3dd0d0b66a3a1f66fbae35bd4daf30e964c5c4ce",
... |
<?php
namespace StickyNotes\Model\Entity;
/**
* Class StickyNote
* module/StickyNotes/src/StickyNotes/Model/Entity/StickyNote.php
* @package StickyNotes\Model\Entity
*/
class StickyNote {
protected $_id;
protected $_note;
protected $_created;
public function __construct(array $options = null) {... | {
"content_hash": "426a7252c7cbef01c44f15c9c2d929e7",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 65,
"avg_line_length": 22.039473684210527,
"alnum_prop": 0.5253731343283582,
"repo_name": "TimvanSteenbergen/FatBoy",
"id": "f2c87744bba8f1fa838b9fe5144c30999f296c42",
"siz... |
#ifndef PHALCON_TRANSLATE_ADAPTER_GETTEXT_H
#define PHALCON_TRANSLATE_ADAPTER_GETTEXT_H
#include "php_phalcon.h"
extern zend_class_entry *phalcon_translate_adapter_gettext_ce;
PHALCON_INIT_CLASS(Phalcon_Translate_Adapter_Gettext);
#endif /* PHALCON_TRANSLATE_ADAPTER_GETTEXT_H */
| {
"content_hash": "9e6a966a14a166539268d5cc4d21b5d4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 62,
"avg_line_length": 22.076923076923077,
"alnum_prop": 0.7874564459930313,
"repo_name": "unisys12/phalcon-hhvm",
"id": "b63950bad63b59ec5da3a52fb514cbce2dc56098",
"size":... |
title: Add New Properties to a JavaScript Object
localeTitle: Adicionar novas propriedades a um objeto JavaScript
---
## Adicionar novas propriedades a um objeto JavaScript
Aqui está o exemplo:
```js
var ourDog = {
"name": "Camper",
"legs": 4,
"tails": 1,
"friends": ["everything!"]
};
ourDog.bark = ... | {
"content_hash": "ff82d22432259f48c3b7160541558de6",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 64,
"avg_line_length": 17.15625,
"alnum_prop": 0.6211293260473588,
"repo_name": "pahosler/freecodecamp",
"id": "a431cdeae0fb34cd14f910c876db32d3903fa5d4",
"size": "557",
... |
SYNONYM
#### According to
Index Fungorum
#### Published in
null
#### Original name
Puccinia ribesii-caricis f. sp
### Remarks
null | {
"content_hash": "02a56aa8958713af16b84ae062989558",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.7014925373134329,
"repo_name": "mdoering/backbone",
"id": "8f924a813ddc7b678126250b70ced1a8531176f2",
"size": "18... |
<<<<<<< HEAD
# ordmon
Monitors orders on c-cex
=======
# cxfreexenviron
something I use to convert my scripts to executables
>>>>>>> e605c2d5fc24ab4716a4a59443d10c76e8a7cbd8
Certain sites do not like being scraped, to get around this python needs to pretend to be a browser.
You need to download the program chrome drive... | {
"content_hash": "9cbb750d881d8da9515d8e02f0d14426",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 165,
"avg_line_length": 50,
"alnum_prop": 0.777,
"repo_name": "Triballian/ordmon",
"id": "de6d610641d5c63d5bf745b0b0bc276d47d600bf",
"size": "1000",
"binary": false,
"c... |
<?php
/**
* File SchemaInterface.php
*
* @author Edward Pfremmer <epfremme@nerdery.com>
*/
namespace Epfremme\Swagger\Entity\Schemas;
/**
* Class SchemaInterface
*
* @package Epfremme\Swagger
* @subpackage Entity\Schemas
*/
interface SchemaInterface
{
/**
* Return schema type
* @return string
... | {
"content_hash": "3c99631e18d8272cd6b7ba2a7e871829",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 49,
"avg_line_length": 17.26530612244898,
"alnum_prop": 0.6028368794326241,
"repo_name": "epfremmer/swagger",
"id": "4a0c76faf2ebeb191d8180a7144cb246f728217d",
"size": "846... |
import unittest
import mock
from ...haystack.utils import get_instance
class GetInstanceTestCase(unittest.TestCase):
def test_get_instance_should_call_and_return_managers_get_with_pk_from_model_class(
self):
# setup
model_class = mock.Mock()
pk = '1'
get = model_class.... | {
"content_hash": "a39bd572d099c6842d4d2fac455e253c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 87,
"avg_line_length": 30.634615384615383,
"alnum_prop": 0.6195856873822976,
"repo_name": "hellhound/dentexchange",
"id": "f6fdd41e6064cd3db7a1cb7ee9b0c35d9cc8a7ed",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace FoursquareApi.Services
{
internal static class QueryStringHelper
{
internal static string BuildQueryString(Dictionary<string, string> argsDictionary)
... | {
"content_hash": "00b44c1c438213b5b8a0d48f5fbd9f9d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 90,
"avg_line_length": 31.11111111111111,
"alnum_prop": 0.5607142857142857,
"repo_name": "dmitrysmorodinnikov/FoursquareAPI",
"id": "9af41ca9d02e9014d5e28553642767eb6de12550"... |
using namespace arangodb::aql;
size_t QueryOptions::defaultMemoryLimit = 0;
size_t QueryOptions::defaultMaxNumberOfPlans = 128;
#ifdef __APPLE__
// On OSX the default stack size for worker threads (non-main thread) is 512kb
// which is rather low, so we have to use a lower default
size_t QueryOptions::defaultMaxNodesP... | {
"content_hash": "c5a8a5c562cb6cd8808e0d9163a0a054",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 80,
"avg_line_length": 32.07395498392283,
"alnum_prop": 0.6752882205513785,
"repo_name": "wiltonlazary/arangodb",
"id": "1e8aab7ade8f8828e2b350cbf899f9f77dd9e81a",
"size":... |
package com.sixsq.slipstream.connector.local;
import com.sixsq.slipstream.connector.CredentialsBase;
import com.sixsq.slipstream.credentials.Credentials;
import com.sixsq.slipstream.credentials.ICloudCredential;
import com.sixsq.slipstream.exceptions.InvalidElementException;
import com.sixsq.slipstream.exceptions.Sl... | {
"content_hash": "ab84f49ac7aa1815cbb49b6b7ca2a0c7",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 105,
"avg_line_length": 31.902439024390244,
"alnum_prop": 0.823394495412844,
"repo_name": "slipstream/SlipStreamServer",
"id": "fb2f0fe73bd205898b8aeb134914fadd8c962b15",
"... |
var ghostBookshelf,
Bookshelf = require('bookshelf'),
when = require('when'),
moment = require('moment'),
_ = require('underscore'),
uuid = require('node-uuid'),
config = require('../../../config'),
Validator = require('validator').Validator,
sanitize = require('... | {
"content_hash": "03eb7c2fa3d1b3dc2a63fa3b746c11d0",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 199,
"avg_line_length": 29.626168224299064,
"alnum_prop": 0.5358044164037855,
"repo_name": "1kevgriff/Ghost",
"id": "aa5e3f95c91759df2ab89480460fc52bec58246a",
"size": "63... |
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet config="main"><source path="/home/paolo/Development/com.numix.calculator.pro/app/src/androidTest/assets"/></dataSet></merger> | {
"content_hash": "52655659c8e86ee6db5ead71365247fc",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 154,
"avg_line_length": 96.5,
"alnum_prop": 0.7357512953367875,
"repo_name": "numixproject/com.numix.calculator",
"id": "ab993d11108b73c3ab9a8515a56a3ece0afd5f52",
"size": "... |
package com.mehmetakiftutuncu.muezzin.activities;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
/**
* Created by akif on 04/06/16.
*/
public abstract class MuezzinActivity extends AppCompatActivity {
public void setTitle(String title) {
ActionBar supportAction... | {
"content_hash": "acae469e6d200d3cb7ab03c3b4bf2ebe",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 65,
"avg_line_length": 27,
"alnum_prop": 0.6639566395663956,
"repo_name": "mehmetakiftutuncu/Muezzin",
"id": "b19a00a783941c69659ea1eeef8dffe679ce40af",
"size": "1107",
"... |
<?php
namespace Fabs\CouchDB2\Tool;
use Fabs\CouchDB2\Couch;
use Fabs\CouchDB2\CouchConfig;
use Fabs\CouchDB2\Model\DesignDocument;
use Fabs\CouchDB2\Model\FullText;
use Fabs\CouchDB2\Model\ReplicatorDocument;
use Fabs\CouchDB2\Model\View;
use Fabs\CouchDB2\Query\DBQuery;
class DesignDocumentsReplicator
{
/** @... | {
"content_hash": "64724e707688b8607cb0f6d8d78661eb",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 130,
"avg_line_length": 37.89105058365759,
"alnum_prop": 0.48844731977818856,
"repo_name": "necipallef/CouchDB2-PHP-Client",
"id": "343d0c2164f5f6440cbd3688f4fa3f3a1fe7edd3"... |
+ src/
- config.h - Configure file
- base.h&.c - Included by all other header file.
- opcode.h&.c - Opcode declarations and some opcode utilities.
- parser.h&.c - Achieve a token scanner and a recursive descent parser.
- parser_callback.h&.c - Callback functions, which are called when pars... | {
"content_hash": "aad03f20b6e640ed4c638081df86700a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 134,
"avg_line_length": 42,
"alnum_prop": 0.6574074074074074,
"repo_name": "morrow1nd/luax",
"id": "4f6f2878f17e7d741ee837dead2e5eb058068c89",
"size": "781",
"binary": fa... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycotaxon 5(1): 1629 (1977)
#### Original name
Stictis carpenteriana Sherwood
### Remarks
null | {
"content_hash": "d7ec528bc97ee425fbed717dcd6c8414",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 12.153846153846153,
"alnum_prop": 0.7151898734177216,
"repo_name": "mdoering/backbone",
"id": "5d95fd33b4605ada5d10dcdec92cba38463021bc",
"size": "21... |
package Buddha::TestFixture2;
1;
| {
"content_hash": "2213df470209971fc4a9dbe10859db56",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 29,
"avg_line_length": 11.333333333333334,
"alnum_prop": 0.7647058823529411,
"repo_name": "gitpan/Test-FITesque",
"id": "7439b98bbb940a49b7443476f26a20663116feda",
"size": "... |
require 'mida/vocabulary'
module Mida
module SchemaOrg
autoload :Thing, 'mida/vocabularies/schemaorg/thing'
autoload :Event, 'mida/vocabularies/schemaorg/event'
# User interaction: Tweets.
class UserTweets < Mida::Vocabulary
itemtype %r{http://schema.org/UserTweets}i
include_vocabulary ... | {
"content_hash": "25984db01f2a0b087776ac8e8d0a2878",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 56,
"avg_line_length": 24.11764705882353,
"alnum_prop": 0.7170731707317073,
"repo_name": "LawrenceWoodman/mida",
"id": "1a940e9d2fa332eabdf2cec9f8fe48540c0f1245",
"size": "... |
class Ey::Core::Client
class Real
def request_callback(options={})
(url = options["url"]) || (id = options.fetch("id"))
request(
:path => "/requests/#{id}/callback",
:method => :post,
:url => url,
)
end
end
class Mock
def request_callback(options={})
... | {
"content_hash": "56d9644f14d53da42cbbd7b81eef86e4",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 58,
"avg_line_length": 20.384615384615383,
"alnum_prop": 0.5358490566037736,
"repo_name": "engineyard/core-client-rb",
"id": "f42c356a597e21da22e31216cedacfef97a63f78",
"si... |
import datetime
import numpy
import grocsvs
VCF_HEADER = \
"""##fileformat=VCFv4.3
##fileDate={date}
##source=grocsvs_v{version}
##reference=file://{reference}
{chromosomes}
##INFO=<ID=ASSEMBLED,Number=0,Type=Flag,Description="Event is supported by a read-cloud-based sequence assembly across the breakpoints">
##INFO=... | {
"content_hash": "ed211df8ff2cc0dfdff4e7f39d10cf87",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 168,
"avg_line_length": 39.6242774566474,
"alnum_prop": 0.6545587162654997,
"repo_name": "grocsvs/grocsvs",
"id": "bcad50b72a8c8f347e4013ae61524d16fdecf2c2",
"size": "6855... |
/*global describe, it*/
"use strict";
var should = require("should"),
through = require("through2"),
path = require("path"),
fs = require("fs"),
join = path.join,
git = require("../lib/git");
require("mocha");
var gutil = require("gulp-util"),
gulp = require("gulp"),
suffix = require("../");
describe(... | {
"content_hash": "2afc3fe71525819ce53e40b311a8841f",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 84,
"avg_line_length": 27.61572052401747,
"alnum_prop": 0.5929791271347249,
"repo_name": "shawn-simon/gulp-gitshasuffix",
"id": "5622d32af43f31aa87d994c06c60e87ff8bc232a",
... |
<!--lint enable maximum-line-length-->
alpha bravo charlie delta echo foxtrot golf hotel india julliet kilo lima mike november.
<!--lint disable maximum-line-length-->
alpha bravo charlie delta echo foxtrot golf hotel india julliet kilo lima mike november.
| {
"content_hash": "b2595aee85c8e36f85f00e6b1c69bb5a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 88,
"avg_line_length": 37.142857142857146,
"alnum_prop": 0.7807692307692308,
"repo_name": "basyura/mdast-lint",
"id": "29a7330b8c36be3c75d734165597a31a038a1ccf",
"size": "26... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<title>Recent Books</title>
<script src="site_libs/header-attrs-2.13/header-attrs.js"></script>
<script src="site_libs/jquery-3.6.0/jquery-3.6.0.min.js"></scr... | {
"content_hash": "a81b3e1b93a95743e0945ef181991db3",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 181,
"avg_line_length": 23.943548387096776,
"alnum_prop": 0.6411810935219491,
"repo_name": "alanarnholt/alanarnholt.github.io",
"id": "9d1abd3fa1de072cab5789d618e7e76f41ffe4... |
class ProxyImage implements Image {
private RealImage image = null;
private String filename = null;
public ProxyImage(String FILENAME) {
filename = FILENAME;
}
public void displayImage() {
if (image == null) {
image = new RealImage(filename);
... | {
"content_hash": "73b05919aff8eaf2b166b778216babf4",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 43,
"avg_line_length": 22.75,
"alnum_prop": 0.5521978021978022,
"repo_name": "jucimarjr/ooerlang",
"id": "a3c91f59c5309dc10af87c9a50047aa741acd55e",
"size": "364",
"binar... |
// In the JVT syntax, frequently flags are used that indicate the presence of
// certain pieces of information in the NALU. Here, these flags are also
// present. In the encoder, those bits indicate that the values signalled to
// be present are meaningful and that this part of the syntax should be
// written to... | {
"content_hash": "98f5d8180d87cdd4d8b6f9638447d2c7",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 133,
"avg_line_length": 51.40594059405941,
"alnum_prop": 0.514926810477658,
"repo_name": "ensemblr/llvm-project-boilerplate",
"id": "79267e25d3d4442d9d6a0090169deee358a41443... |
layout: nohead
---
# Crear Actividades
## Cuestionarios
Puedes agregar cuestionarios sencillos que incluan preguntas de opción
múltiple y de completar. El cuestionario se captura en dos partes como
se muestra en la imágen:

* ***La sección de instruc... | {
"content_hash": "87c790c14d1650327d3cea04c6893b94",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 152,
"avg_line_length": 24.149321266968325,
"alnum_prop": 0.6940228592842421,
"repo_name": "mariosky/protoboard",
"id": "a52fbe113d4802af58099b9accd2d443e22d4a89",
"size":... |
#region Licence
#endregion
namespace Paramore.Brighter.MessagingGateway.RMQ
{
public class RmqMessageConsumerFactory : IAmAMessageConsumerFactory
{
private readonly RmqMessagingGatewayConnection _rmqConnection;
/// <summary>
/// Initializes a new instance of the <see cref="RmqMessag... | {
"content_hash": "6c5eda089e0ba408c9059d9fd994925f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 94,
"avg_line_length": 33.083333333333336,
"alnum_prop": 0.6246851385390428,
"repo_name": "BrighterCommand/Paramore.Brighter",
"id": "9a8ff82e041d4057ba5d42e2d91167f37f0ccb28... |
const UrlParamsController = new class
{
constructor(){
this.getParameters = {};
this.hashParameters = {};
this._fetch();
}
_clearParams(){
this.getParameters = {};
this.hashParameters = {};
}
_fetch(){
this._clearParams();
wi... | {
"content_hash": "9443143ebec27b6856448c5dc7038631",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 93,
"avg_line_length": 22.205479452054796,
"alnum_prop": 0.5163479333744602,
"repo_name": "jivemonkey2000/evhighwaystatus",
"id": "466f54a388e8fbff195e530d607d226ab86ed600",
... |
<?php
namespace Bundle\ChessBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class PageController extends Controller
{
public function indexAction()
{
return $this->render('BloggerBlogBundle:Page:index.html.twig');
}
}
| {
"content_hash": "b22d7c160c8d97b35291e6f41864681d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 20.76923076923077,
"alnum_prop": 0.7444444444444445,
"repo_name": "palletorsson/symfony-of-chess",
"id": "b06b47852b10da65a48569f70404359fc48eaaa5",
... |
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("Ex... | {
"content_hash": "f5e974ec4cc1dac94243f83e53b3dbdd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.666666666666664,
"alnum_prop": 0.75,
"repo_name": "kindermannhubert/ExtensibleILRewriter",
"id": "2923ee46e751f2ddd555c3a347fdf6d94ce821b4",
"size... |
using System.Web;
using System.Web.Optimization;
namespace SingularityLandingPage
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Ad... | {
"content_hash": "7dd9295722924741ee8896d1ae29f10a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 112,
"avg_line_length": 40.354838709677416,
"alnum_prop": 0.5771382893685052,
"repo_name": "ownacademy/SingularityLandingPage",
"id": "71c394e6923a88132daee012c99d6823f1bea60... |
void pfun(double x[], double y[], double u[], double v[], int points)
{
char * commandsForGnuplot[] = {"set terminal png","set output 'energy.png'","set title \"Integral Values as a Function of Distance\"","set logscale x 2", "set logscale y 10", "plot 'data.temp' u 1:2 title 'VEGAS' w l, 'data.temp' u 1:3 title 'H... | {
"content_hash": "2179a7b46d1a9165b4a506c0e77b913f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 326,
"avg_line_length": 41.78947368421053,
"alnum_prop": 0.5969773299748111,
"repo_name": "connor-occhialini/fin2",
"id": "008c073d38a1aef0c73ae83344a94afcec1c777d",
"size"... |
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: AssemblyTi... | {
"content_hash": "e4823874fa60243ab6fdd6b01751ba5b",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 40.05714285714286,
"alnum_prop": 0.7318116975748931,
"repo_name": "dajbych/samples",
"id": "3b56462cf65c3a1c10f4140edc0875e30331b2eb",
"size": "1406"... |
""" recording warnings during test function execution. """
from __future__ import absolute_import, division, print_function
import inspect
import _pytest._code
import py
import sys
import warnings
import re
from _pytest.fixtures import yield_fixture
from _pytest.outcomes import fail
@yield_fixture
def recwarn():
... | {
"content_hash": "788d49049d83c8b71040a5db5bd88be5",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 104,
"avg_line_length": 36.291845493562235,
"alnum_prop": 0.5956717123935666,
"repo_name": "tareqalayan/pytest",
"id": "ab0f79c75baa920d9e730fdaff6eb59b49a37cbf",
"size": ... |
<!DOCTYPE html>
<!--
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
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (... | {
"content_hash": "368ee1a9f957481d49166d15882c0956",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 837,
"avg_line_length": 54.47019867549669,
"alnum_prop": 0.6909422492401216,
"repo_name": "samswag/sugarizer",
"id": "ebb69cb0d3a2224f41843fa4b138b30e9408d8fc",
"size": "8... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.0... | {
"content_hash": "c55a0443504b53bcbce9ceac8165585d",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 124,
"avg_line_length": 24.632653061224488,
"alnum_prop": 0.6230323115161558,
"repo_name": "BlueBrain/bluima",
"id": "be07ec59aa9e046196c4a44a878d0c0d52e1f5ae",
"size": "24... |
// Copyright 2006 Nemanja Trifunovic
#ifndef UTF8_FOR_CPP_CORE_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
#define UTF8_FOR_CPP_CORE_H_2675DCD0_9480_4c0c_B92A_CC14C027B731
#include <iterator>
namespace utf8
{
// The typedefs for 8-bit, 16-bit and 32-bit unsigned integers
// You may need to change them to match... | {
"content_hash": "75d735a373a88089465aa2fdcccfdcd0",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 138,
"avg_line_length": 31.024844720496894,
"alnum_prop": 0.568968968968969,
"repo_name": "wangjianxue/TouchVG",
"id": "0d1676f26b996a8864ffe4530a77c163c7020065",
"size": ... |
package org.meltwater.amanze.spellchecker;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Hashtable;... | {
"content_hash": "1142713bc8893cd188a12eaa0f0e454e",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 123,
"avg_line_length": 34.036764705882355,
"alnum_prop": 0.6517606394469648,
"repo_name": "darlingtonamz/SpellChecker",
"id": "f09666c27fd2d80651db62476762ea841c7c7ea1",
... |
#include "config.h"
#include "gom/gomjsmouseevent.h"
#include "gom/dom/gomdomexception.h"
#include "gom/dom/gommouseevent.h"
#include "gom/gomjsexception.h"
#include "gom/gomjsobject.h"
#include "gom/gomjsuievent.h"
#include "gommacros.h"
#include <glib.h>
static void
gom_js_mouse_event_finalize (JSContext *cx, J... | {
"content_hash": "c370bb5eeaa9d19ebe3427b7bab91046",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 101,
"avg_line_length": 26.60759493670886,
"alnum_prop": 0.6779257849666984,
"repo_name": "jberkman/gom",
"id": "a42a04501f87628c389054600b53a6c510a62935",
"size": "3202",
... |
<?php
require_once ("../Includes/simplecms-config.php");
require_once ("../Includes/connectDB.php");
require_once ("../Includes/session.php");
//判断用户是否登录
$totalCount = 0;
$totalPage = 0;
if (isset($_GET['pageNum']) && isset($_GET['pageSize']) && isset($_GET['newsCategoryId'])) {
$pageNum = intval($_GET['pageNum'... | {
"content_hash": "b81f32fe41cca3669e7b7a386cedd8ff",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 113,
"avg_line_length": 21.355555555555554,
"alnum_prop": 0.554630593132154,
"repo_name": "cmssfe/tushuguan",
"id": "9b6ff94a9b0bf62c0481dc40300831d137c58938",
"size": "193... |
import {Component, Input} from '@angular/core';
@Component({
selector: 'inner',
template: `<p>{{val}}`
})
export class InnerComponent {
@Input() val:number;
}
| {
"content_hash": "97d32038d3097a29e24c80a4cc4e875d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 18.444444444444443,
"alnum_prop": 0.6506024096385542,
"repo_name": "msfrisbie/angular-2-cookbook",
"id": "cd5133d16d8b6d17fbd7743574ea3d18b75ebae8",
"... |
// Copyright (c) 2016-2021 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <versionbits.h>
#include <consensus/params.h>
ThresholdState AbstractThresholdConditionChecker::GetStateFor(const C... | {
"content_hash": "4823b7ee690ca7cb0214f242ddc9f118",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 170,
"avg_line_length": 40.552845528455286,
"alnum_prop": 0.6679029671210907,
"repo_name": "achow101/bitcoin",
"id": "7a297c2bbb63e78b2cd7992cd4bc17cd2b52c6af",
"size": "9... |
@implementation UIView (XYSExtension)
-(void)setXys_x:(CGFloat)xys_x
{
CGRect frame = self.frame;
frame.origin.x = xys_x;
self.frame = frame;
}
-(CGFloat)xys_x
{
return self.frame.origin.x;
}
-(void)setXys_y:(CGFloat)xys_y
{
CGRect frame = self.frame;
frame.origin.y = xys_y;
self.frame = fr... | {
"content_hash": "c9d90d3c40805dde0a10b77f9b8da67b",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 83,
"avg_line_length": 19.619565217391305,
"alnum_prop": 0.657617728531856,
"repo_name": "XuYeS/simulateBS",
"id": "13a66dc90da064f56056ec1f5f66765a8fb103ab",
"size": "1983... |
About
======
`muni` is a simple NextBus API Client library and command line tool for retrieving
San Francisco Muni bus route and stop prediction information.
Install
=======
```bash
$ gem install muni
```
Client Library
===============
Usage
------
```ruby
# Find all routes.
Muni::Route.find(:all)
# => [<Muni::R... | {
"content_hash": "31a89950fe736b48815456f59c5c949b",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 143,
"avg_line_length": 25.482142857142858,
"alnum_prop": 0.649614576033637,
"repo_name": "jeffremer/muni",
"id": "8c8e8bb28198b7d1ddf3fefbc475c1d9b7956474",
"size": "1427"... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<!--
<parameters>
<parameter key="bootbusi... | {
"content_hash": "58c0430c567337f69f86b6eb36a6dfd5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 120,
"avg_line_length": 37.05,
"alnum_prop": 0.659919028340081,
"repo_name": "alphalemon/BootbusinessThemeBundle",
"id": "d588ea5d015e13a7982db30c8d36e73cb633b0ed",
"size":... |
<?php
namespace osCommerce\OM\Core\Site\Website\SQL\_Global;
use osCommerce\OM\Core\Registry;
class SaveUserServerInfo
{
public static function execute(array $data): int
{
$OSCOM_PDO = Registry::get('PDO');
$Qcheck = $OSCOM_PDO->prepare('select id from :table_website_user_server_info where ... | {
"content_hash": "4ef0267ff9e7ae34b29e6d372dc660d4",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 474,
"avg_line_length": 53.825,
"alnum_prop": 0.6270320483046912,
"repo_name": "haraldpdl/oscommerce_website",
"id": "57a73a22f9bb4d8c95202b3f39e27fd39f79bae6",
"size": "23... |
//
// DkimBodyFilterBase.cs
//
// Author: Jeffrey Stedfast <jeff@xamarin.com>
//
// Copyright (c) 2015 Xamarin Inc. (www.xamarin.com)
//
// 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 wi... | {
"content_hash": "e711bf5f3803cb76085cc9725ed96803",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 96,
"avg_line_length": 33.23287671232877,
"alnum_prop": 0.7052761747732894,
"repo_name": "nachocove/MimeKit",
"id": "7ccf10305da9fe778dd646d77feae70cf2a6ae95",
"size": "242... |
package ch.post.pf.gradus.ViewModel;
import ch.post.pf.gradus.Models.User;
import ch.post.pf.gradus.ViewModel.User.UserView;
public class SubjectView {
private Long id;
private String name;
private User creator;
public Long getId() {
return id;
}
public void setId(Long id) {
... | {
"content_hash": "de0cf0556dc105d7bc20051087cfee0b",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 49,
"avg_line_length": 15.55,
"alnum_prop": 0.5996784565916399,
"repo_name": "mirioeggmann/gradus",
"id": "cdc447f6142b6ee26e4ac992419be0156bdc689d",
"size": "622",
"bina... |
typedef NS_ENUM(NSInteger, DynamicIncludeType) {
DynamicIncludeALL,
DynamicIncludeWithoutNull,
DynamicIncludeObjectOnly,
};
@interface DynamicClass : NSObject
+ (void)showProperties:(id)instanceClass;
+ (void)showObjectType:(id)instanceClass;
+ (NSMutableDictionary *)dictionaryWithObject:(id)instanceClas... | {
"content_hash": "e812d621224c632f2b8ab09b596e59fd",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 101,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.7950819672131147,
"repo_name": "comcxx11/DynamicClassForObjective-C",
"id": "019d0ca7458a66d477d63618500da8507544c... |
<?php
namespace TreeSoft\Specifications\DAL\Eloquent\Transformers;
use TreeSoft\Specifications\DAL\Eloquent\Model;
use TreeSoft\Specifications\Support\DataPreparator;
use TreeSoft\Specifications\Support\Transformers\EntityTransformer as ParentTransformer;
use TreeSoft\Specifications\Transforming\Converter\Extractor;
... | {
"content_hash": "50e68c02e667a67ca3f1e53d72158773",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 88,
"avg_line_length": 25.193877551020407,
"alnum_prop": 0.5901174564601053,
"repo_name": "Tree-soft/specifications",
"id": "53006195d2d9e6c6a7eef347c7eb9b402af005aa",
"siz... |
package main
const version = "v0.2.0-dev"
| {
"content_hash": "0558a261acaffaa25811f1140a7f1a03",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 28,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.6976744186046512,
"repo_name": "bmorton/deployctl",
"id": "7823e0c2a750fd4cda4c7cd2732d50322432133c",
"size": "43"... |
package org.elasticsearch.transport.netty4;
import io.netty.bootstrap.Bootstrap;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.buffer.UnpooledByteBufAllocator;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import i... | {
"content_hash": "7c4d327ac33a34023c54091d1953cb65",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 128,
"avg_line_length": 44.142011834319526,
"alnum_prop": 0.6735924932975871,
"repo_name": "GlenRSmith/elasticsearch",
"id": "2f0440e9df97a80beed260885972e289f2acd3cb",
"s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.