text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Css · Bootstrap</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="assets/css/bootstrap.css... | {
"content_hash": "791969a9b13640ad5bc54ec6722c4d23",
"timestamp": "",
"source": "github",
"line_count": 2436,
"max_line_length": 415,
"avg_line_length": 42.82266009852217,
"alnum_prop": 0.5450458223091377,
"repo_name": "kbanman/phantom-bootstrap",
"id": "53cd678d03e80d47730106b90d10bc6b3a3d7a20",
"... |
function getArmor(index)
local armor = game.players[index].get_inventory(defines.inventory.player_armor)[1]
if armor ~= nil and armor.valid_for_read == true then
return armor
end
return false
end
function decideHoverboardStatus(event)
local index = event.player_index
local armor = getArmor(index)
if ... | {
"content_hash": "a523a3affd6dee27aa20b368025701bc",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 89,
"avg_line_length": 26.958333333333332,
"alnum_prop": 0.7248840803709428,
"repo_name": "kiba/Factorio-MagneticFloor",
"id": "55a3d804fc5c7cab369bf5c89b44747610bb2f95",
"... |
@class RemotingClient;
@protocol ClientGesturesDelegate<NSObject>
- (void)keyboardShouldShow;
- (void)keyboardShouldHide;
- (void)menuShouldShow;
@end
@interface ClientGestures : NSObject
- (instancetype)initWithView:(UIView*)view client:(RemotingClient*)client;
@property(weak, nonatomic) id<ClientGesturesDelegate>... | {
"content_hash": "f65242b11a1ecc427a4582789e35b0e7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 22.470588235294116,
"alnum_prop": 0.7853403141361257,
"repo_name": "endlessm/chromium-browser",
"id": "6cc4bad7b35b6f7eddc08933df5d913f09718884",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1a3f1ed9e5664062f6c31c0b4d73142f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a8ff18d292e2e6b6ada3cc12140d362f394f0442",
"size": "20... |
{% extends "account/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block head_title %}{% trans "Account" %}{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-md-5">
<h2>{% trans "E-mail Addresses" %}</h2>
{% if user.emailaddress_set.all %}
... | {
"content_hash": "8e42cf18541ab451033e339a5f31bdc6",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 218,
"avg_line_length": 35.139240506329116,
"alnum_prop": 0.5706051873198847,
"repo_name": "fretscha/pfa",
"id": "5a34404cfa0c68c3b56b4e87000ac314219e3172",
"size": "2776",... |
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
from django.views.generic import TemplateView
from thanksobama.main.views import *
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'thanksobama.views.home', name='home'),
# url(r'^blog/', include... | {
"content_hash": "04cc025f85da50033d7a06aa2556a124",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 62,
"avg_line_length": 29.235294117647058,
"alnum_prop": 0.6901408450704225,
"repo_name": "kz26/ThanksObama",
"id": "97c952a0655b2fcd99d19a209d75b6efdb606cbb",
"size": "497... |
title: Notes
anchor: notes
---
### Browser support
Browser support for the canvas element is available in all modern & major mobile browsers <a href="http://caniuse.com/canvas" target="_blank">(caniuse.com/canvas)</a>.
For IE8 & below, I would recommend using the polyfill ExplorerCanvas - available at <a href=... | {
"content_hash": "60b954322d1a889f09d91cf584ac6655",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 356,
"avg_line_length": 69.36585365853658,
"alnum_prop": 0.75,
"repo_name": "IIC3143-Equipo1/angularJS",
"id": "96eb8d7fce013260a74474cb96942fd519f05dde",
"size": "2849",
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | {
"content_hash": "f84231940f22be58bd27f6ec616e3116",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 102,
"avg_line_length": 47.135416666666664,
"alnum_prop": 0.6574585635359116,
"repo_name": "fiWhy/CodeIgniter-Chat-Application",
"id": "c1b8ab7f45394ccba47e59f15a55bb556fb6fc... |
'use strict'
module.exports = require('../lib/actions/TYPES')
| {
"content_hash": "8085fe9059573eb10085f9e7bd529054",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 21,
"alnum_prop": 0.6984126984126984,
"repo_name": "agrasley/react-recorder-redux",
"id": "1bf83aa29cd13b9bac57d20364bade24f68daa53",
"size": "63",
... |
extern "Java"
{
namespace gnu
{
namespace java
{
namespace beans
{
namespace decoder
{
class ClassHandler;
class ElementHandler;
}
}
}
}
}
class gnu::java::beans::decoder::ClassHandler : public ::gnu::java::beans::decoder::SimpleHandle... | {
"content_hash": "3e7f0366d29014b5ee0a3d774719304d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 97,
"avg_line_length": 20.566666666666666,
"alnum_prop": 0.6110210696920584,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "7c8ea8844aa3739d2236ab124f31e3bbfd50... |
/**
* Filter the query by 2 <?php echo $refClassName ?> objects for a Equal Nest <?php echo $className ?> relation
*
* @param <?php echo $refClassName ?>|integer $object1
* @param <?php echo $refClassName ?>|integer $object2
* @return <?php echo $queryClassName ?> Fluent API
*/
public function filt... | {
"content_hash": "a2a60802b019f0cdabca0562c44a2388",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 134,
"avg_line_length": 59.21052631578947,
"alnum_prop": 0.6213333333333333,
"repo_name": "VanTanev/EqualNestBehavior",
"id": "fa61325ed4ab140cdf38d65eb3b6eaeabecbe9bb",
"s... |
package codeu.chat.client.commandline;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
// PANEL
//
// A panel is a collection of commands that are to be executed within a specifc
// context. Similar to how panels are used in a GUI, is is a command line
// equivalent.
/... | {
"content_hash": "caa435a9a7adefd04d99324d8fd895b6",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 82,
"avg_line_length": 27.933333333333334,
"alnum_prop": 0.7008750994431185,
"repo_name": "PabloG6/codeu_project_2017",
"id": "8a3ab9bebb50c1107e9038a3908a05df030505b3",
"s... |
package com.cky.learnandroiddetails.MVP;
/**
* Created by cuikangyuan on 16/7/29.
*/
public class LoginPresenterImpl implements LoginPresenter, OnLoginFinishedListener {
private LoginView mLoginView;
private LoginModel mLoginModel;
public LoginPresenterImpl(LoginView loginView) {
mLoginView = ... | {
"content_hash": "715b6ac4848be9198f8d38baf0ad6854",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 84,
"avg_line_length": 22.814814814814813,
"alnum_prop": 0.6038961038961039,
"repo_name": "cuikangyuan/LearnAndroidDetails",
"id": "ad87af71909d3b4bf0ecc0e53ebdfeebeaf69c6c",... |
Async Http Client ([@AsyncHttpClient](https://twitter.com/AsyncHttpClient) on twitter)
---------------------------------------------------
[Javadoc](http://www.javadoc.io/doc/com.ning/async-http-client/)
[Getting](https://jfarcand.wordpress.com/2010/12/21/going-asynchronous-using-asynchttpclient-the-basic/) [started]... | {
"content_hash": "4e9a0d26c566c1ce0ea33c63206d0893",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 324,
"avg_line_length": 33.1522633744856,
"alnum_prop": 0.714498510427011,
"repo_name": "stepancheg/async-http-client",
"id": "9647d8f5a4ea2c92939f3d573635a680e71f1b28",
"... |
<!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_45) on Sat Sep 28 14:09:56 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
org.apache.solr.client.so... | {
"content_hash": "1828b0eabf50cee8f8c92f8b4a8826e9",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 244,
"avg_line_length": 53.82736156351792,
"alnum_prop": 0.6404236006051437,
"repo_name": "hajimeni/dbflute-solr-example",
"id": "06a6bad413d8576c7fe599b9cbe5d5ae1ff96775",
... |
title: "NGINX Ingress"
meta_title: "nginx"
meta_description: "Polyaxon provides support for an Ingress resource compatible with the Nginx stable helm chart."
custom_excerpt: "NGINX Ingress Controller for Kubernetes is a controller built around the Kubernetes Ingress resource."
image: "../../content/images/integrations/... | {
"content_hash": "e5a2d7128863be056ba5e3f09715fc91",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 135,
"avg_line_length": 23.945945945945947,
"alnum_prop": 0.7302483069977427,
"repo_name": "polyaxon/polyaxon",
"id": "fca5e17565728152d6b68c41ce4c4cb1a6976776",
"size": "... |
/* eslint-disable camelcase */
/**
* 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, Vers... | {
"content_hash": "5b9cc72e663e62e05a2120573b621274",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 80,
"avg_line_length": 37.977777777777774,
"alnum_prop": 0.7115272088940902,
"repo_name": "zhouyao1994/incubator-superset",
"id": "3fe253edfdfd120d4919cb520072b8b74a011e13",
... |
package org.knowm.xchange.coinmate.dto.marketdata;
import org.knowm.xchange.coinmate.dto.CoinmateBaseResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Martin Stachon
*/
public class CoinmateTransactions extends CoinmateBaseResponse<CoinmateTransactionsData> {
public CoinmateTransact... | {
"content_hash": "0e1d278030ceb0a2efe8a51aa2306db2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 118,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.7869481765834933,
"repo_name": "stevenuray/XChange",
"id": "a02b5738b96a939a43ad2f0eba368f2477dd47b5",
"size": "1... |
import {ExecuteOnLoad, ExecuteIfSetting} from 'src/utils/actionDecorators';
import {GalleryPage} from 'src/pages/gallery';
import {DictionaryService} from 'src/services';
import {getSearchTerm} from 'src/utils/path';
import appLog from 'src/log';
const log = appLog.setCategory('Search');
export class SearchPage exte... | {
"content_hash": "feffeb9866c3f63d6786e89704a64697",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 86,
"avg_line_length": 35.064516129032256,
"alnum_prop": 0.6494940202391905,
"repo_name": "paarthenon/pixiv-assistant",
"id": "96871ce5a1794e722ee13a83becb60873996ff8c",
"s... |
using ImmutableDotNet.Serialization.Newtonsoft;
using Newtonsoft.Json;
using ProtoBuf;
using Shouldly;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Text.Json;
using Xunit;
namespace ImmutableNet.Tests
{
public class ImmutableTests
{
cla... | {
"content_hash": "f11dc8ae6245d72a311636b432317084",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 116,
"avg_line_length": 31.191666666666666,
"alnum_prop": 0.547021106064654,
"repo_name": "mattnischan/Immutable.Net",
"id": "0dad65e5d441e1fd38defdad79ce0f96dac0eef2",
"s... |
SET u{SRC_DIR} /tmp/share ;
SET u{FILE_NAME} *.gz ;
SET u{LOG_LEVEL} 2 ;
-- delete named graphs
-- SPARQL CLEAR GRAPH <graph-iri> ;
-- register RDF files to load; graph URIs in *.graph files
DELETE FROM DB.DBA.load_list ;
ld_dir('$u{SRC_DIR}', '$u{FILE_NAME}', NULL) ;
SELECT * FROM DB.DBA.load_list ;
-- load RDF fil... | {
"content_hash": "ae5f21de3a471a66db87fcc8ed5a1b69",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 58,
"avg_line_length": 22.47826086956522,
"alnum_prop": 0.6228239845261122,
"repo_name": "DTL-FAIRData/ODEX4all-UseCases",
"id": "194e891e0460767f3d35f988b4b68f7a3fcdb441",
... |
package integration.diff;
import diff.DiffConfiguration;
import diff.utils.JSONUtils;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springfr... | {
"content_hash": "9300e7ac87146f3ef4f79977f56af8e6",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 154,
"avg_line_length": 38.526315789473685,
"alnum_prop": 0.6559653916211293,
"repo_name": "jonatasemidio/diffsb",
"id": "f41e016b7e8b0653640543f4007f2eaa15997a74",
"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: AssemblyTitle("hm... | {
"content_hash": "1b7dd0a892f103f9448752d55dcecaa5",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.583333333333336,
"alnum_prop": 0.7473684210526316,
"repo_name": "nrogoff/EnterpriseAppSettings",
"id": "2e19f293771c05d2c512bb4de661a38d32e68b5d",
... |
#ifndef __BASE64CODECTEST_H__
#define __BASE64CODECTEST_H__
#include <gtest/gtest.h>
class Base64CodecTest : public testing::Test {
public:
Base64CodecTest();
virtual ~Base64CodecTest();
virtual void SetUp();
virtual void TearDown();
};
#endif //__BASE64CODECTEST_H__
| {
"content_hash": "53d13729b4425aa1958337645954c591",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 46,
"avg_line_length": 18.4,
"alnum_prop": 0.717391304347826,
"repo_name": "opencs/ocsbincodec-c",
"id": "a09f04587c293e498b93a3bd7bd0f2f6ba2966ee",
"size": "1862",
"bina... |
package org.apache.polygene.tutorials.composites.tutorial7;
/**
* This interface aggregates the behaviour and state
* of the HelloWorld sub-interfaces. To a client
* this is the same as before though, since it only
* has to deal with this interface instead of the
* two sub-interfaces.
*/
public interface HelloW... | {
"content_hash": "e46684611873e0af96ac73fa71d70366",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 59,
"avg_line_length": 27,
"alnum_prop": 0.7671957671957672,
"repo_name": "Qi4j/qi4j-sdk",
"id": "c7ae399455d4844cfc39b154211ea34dd6c91d6f",
"size": "1203",
"binary": fal... |
package org.apache.wink.itest.pathmethods;
import java.io.IOException;
import junit.framework.TestCase;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.URI;
import org.apache.commons.httpclient.URIException;
import org.apache.commons.httpclient.methods.GetMethod;
import org.ap... | {
"content_hash": "c5a0a811532135ccaa8821cee71158be",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 79,
"avg_line_length": 35.739583333333336,
"alnum_prop": 0.5689303410084523,
"repo_name": "os890/wink2_discuss",
"id": "70b1bfba96b12ffe3a4805881c35f6bfd08671e5",
"size": "... |
package org.jivesoftware.openfire.plugin.rest.entity;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
/**
* The Class RosterEntities.
*/
@XmlRootElement(name = "roster")
public class RosterEntities {
/** The roster. */
List<RosterItemEntity> r... | {
"content_hash": "3b54675b2511cb00722387c98b7e088c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 55,
"avg_line_length": 17.01851851851852,
"alnum_prop": 0.661588683351469,
"repo_name": "darkpsy3934/community-plugins",
"id": "fd2afc839ffe9514c1926d53f1454fcba0075362",
"... |
/*# sourceMappingURL=mixin.css.map */
| {
"content_hash": "af953c968a48db2a6d8e97a34c618ecc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 37,
"avg_line_length": 13.333333333333334,
"alnum_prop": 0.675,
"repo_name": "jasonroque/template.com",
"id": "80a4df21890f77959614bd1c190f6f447692337d",
"size": "40",
"bi... |
/**
* @author Florian Feuerstein
* @date 03.08.2016
*
* Forward declarations and typedefs of G3d lib.
*/
#pragma once
#include <memory>
namespace G3d
{
class Mesh;
typedef std::shared_ptr<Mesh> MeshPtr;
typedef std::shared_ptr<Mesh const> MeshCPtr;
class Shader;
typedef std::shared_ptr<Shader> ShaderPtr;
ty... | {
"content_hash": "607e5f013d47d26eade35a9ba3af1ce0",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 54,
"avg_line_length": 19.64516129032258,
"alnum_prop": 0.7438423645320197,
"repo_name": "TheFloHub/Graphics3dLib",
"id": "94613db2b109642aad302fc3a226773ca4150ab9",
"size"... |
function setFormat(format) {
$("#format").val(format);
$(".format").removeClass("active");
$("#format_" + format).addClass("active");
}
function checkAdb() {
if (typeof(adsOn) == "undefined") {
$("body").addClass('adb');
if (typeof(ga) == "function") ga('send', 'event', 'adblock', 'show... | {
"content_hash": "001a8b4f51c0b330d5c215d61b8dcd26",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 89,
"avg_line_length": 27.02127659574468,
"alnum_prop": 0.5393700787401575,
"repo_name": "ovcaman/ydovcaman",
"id": "171238dac4ce63517c11bf17f53de25683efd513",
"size": "127... |
module ThinkingSphinx
module Masks; end
end
require 'thinking_sphinx/masks/scopes_mask'
describe ThinkingSphinx::Masks::ScopesMask do
let(:search) { double('search', :options => {}, :per_page => 20) }
let(:mask) { ThinkingSphinx::Masks::ScopesMask.new search }
describe '#search' do
it "replaces the que... | {
"content_hash": "fa9af27ec07ab4230385eaf0424a3b22",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 74,
"avg_line_length": 25.083333333333332,
"alnum_prop": 0.5974025974025974,
"repo_name": "SAManage/thinking-sphinx",
"id": "c74e1a473564476f4e8de1af2686ad6efe6daf60",
"si... |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
//[assembly: NeutralResourcesLang... | {
"content_hash": "e869a5a59068864968166223d1531b8f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 91,
"avg_line_length": 24.36842105263158,
"alnum_prop": 0.755939524838013,
"repo_name": "rolbeh/Magic.net",
"id": "7610be73bbf01f86a171b6117a0766f585ca3c7a",
"size": "466",... |
<?php
namespace Magento\Sales\Test\Page;
use Magento\Mtf\Client\Locator;
use Magento\Mtf\Factory\Factory;
use Magento\Mtf\Page\Page;
/**
* Manage orders page.
*/
class SalesOrderShipmentNew extends Page
{
/**
* URL for manage orders page.
*/
const MCA = 'sales/order/shipment/new';
/**
... | {
"content_hash": "aec19a5324a4aeecc7d4e1a32064afc2",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 87,
"avg_line_length": 19.916666666666668,
"alnum_prop": 0.5962343096234309,
"repo_name": "andrewhowdencom/m2onk8s",
"id": "ac8634ea769bb737c74c0c373e81fcba240837ab",
"size... |
;;----------------------DATOS----TODO EN MAYUSCULAS!!!!
let db "ESPACIO LIBRE EN:",0xA," "
Sectores db 'sectores', 13, 10
Caras db 'caras', 13, 10
Cilindros db 'cilindros', 13, 10
nl db 0xA
res resb 10
;;----------------------ARRANQUE-------------------------------
USE16
ORG 0x7C00
jmp inicio
inicio:
... | {
"content_hash": "1801e5078d763b0458ee8c726576e55d",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 87,
"avg_line_length": 19.89051094890511,
"alnum_prop": 0.6069724770642202,
"repo_name": "codeneomatrix/ensamblador",
"id": "32dd605066d09ab5e9f92779b2b614875597e02b",
"si... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Account\Types;
/**
*
* @property string $marketplace_id
*/
class GetFulfillmentPolicies... | {
"content_hash": "05b4ef13f6ede47e28a6539b109eef2c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 116,
"avg_line_length": 27.152173913043477,
"alnum_prop": 0.6084867894315452,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "aa20b02f41252826196b91a17167d0d8d106dfcd",
"s... |
var _ = require('../../../lib/alloy/underscore')._;
exports.parse = function(node, state) {
_.extend(state, {
proxyPropertyDefinition: {
parents: [
'Ti.UI.iOS.PreviewContext'
],
property: 'preview',
skipAssignParent: true
}
});
return require('./Alloy.Abstract._ProxyProperty').parse(node, state)... | {
"content_hash": "04e335a6ca36ab53c89349d8bcabe019",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 70,
"avg_line_length": 23.214285714285715,
"alnum_prop": 0.6369230769230769,
"repo_name": "mobilehero/adamantium",
"id": "f547683a8262e45f3d0941a964d34ec40772d667",
"size":... |
.. _all-salt.cache:
=============
cache modules
=============
For understanding and usage of the cache modules see the :ref:`cache` topic.
.. currentmodule:: salt.cache
.. autosummary::
:toctree:
:template: autosummary.rst.tmpl
consul
etcd_cache
localfs
mysql_cache
redis_cache
| {
"content_hash": "391fc32b5d0c6acbea157628f313b0ea",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 76,
"avg_line_length": 16.36842105263158,
"alnum_prop": 0.617363344051447,
"repo_name": "saltstack/salt",
"id": "7976f3e853bdf34b214266023c9624aba17a2e04",
"size": "311",
... |
module Striker
module Command
class Server < Build
def initialize(args, options, path)
super(args, options, path)
end
def start
if self.options[:no_build]
elsif self.options[:build]
self.process
end
start_server
end
private
def start_server
port = self.config['port... | {
"content_hash": "5cc93f64346e9c5a8375529f2ff58a95",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 90,
"avg_line_length": 18.59375,
"alnum_prop": 0.6420168067226891,
"repo_name": "swaroopsm/striker",
"id": "776c4780589c54513fa610e067ee1e2626d9da1d",
"size": "595",
"bin... |
@interface ProductCell : UITableViewCell
@end
| {
"content_hash": "b83848d45123b837a3276ac73384702d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 15.666666666666666,
"alnum_prop": 0.8085106382978723,
"repo_name": "forscape/xhcf",
"id": "cf6d69ff1328aa72a1f769121f7aefc4f3844af5",
"size": "246",
... |
package model
import (
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/core/utils"
"errors"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/core/converter"
"strings"
)
type GetServerRemoteConsoleOption struct {
// 远程登录协议,请将protocol配置为... | {
"content_hash": "7cacd01b7025d8353ae19558642ae352",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 102,
"avg_line_length": 25.515463917525775,
"alnum_prop": 0.7660606060606061,
"repo_name": "kubernetes/autoscaler",
"id": "88da0fe5d245df2a042263281fd7825eeab29bfd",
"size"... |
from swgpy.object import *
def create(kernel):
result = Building()
result.template = "object/building/military/shared_outpost_shed_s04.iff"
result.attribute_template_id = -1
result.stfName("building_name","military_guard_tower_1")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ####
return result | {
"content_hash": "f79ac36c3cea7e766d50b9576d158fc5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 73,
"avg_line_length": 24.615384615384617,
"alnum_prop": 0.703125,
"repo_name": "obi-two/Rebelion",
"id": "5d427b190190dcad648a777a532c2ec1a633dd2c",
"size": "465",
"bina... |
package org.huahinframework.core;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.util.ToolRunner;
/**
* Execution of the job can be done easily and use this class.
*
* <p>Example:</p>
* <p><blockquote>... | {
"content_hash": "04e7d0e25d16883d03beeab0acef784b",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 75,
"avg_line_length": 26.046511627906977,
"alnum_prop": 0.5629464285714286,
"repo_name": "huahin/huahin-core",
"id": "839e91e8bf3337165e200cb3aeaaafbee305ae9d",
"size": "3... |
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
#include "PxcPoolMalloc.h"
#include "PsMutex.h"
#include "PsPool.h"
using namespace physx;
/*
Implementation of a global pool allocator for casses where a specialized pool allocat... | {
"content_hash": "cb45c11dedf0ed9fc27536e60132209a",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 112,
"avg_line_length": 23.547619047619047,
"alnum_prop": 0.7307044152342433,
"repo_name": "LiangYue1981816/CrossEngine",
"id": "c6169a37c98d57731aa7c41abba81796a1d0e6d6",
... |
using System.Web;
using System.Web.Mvc;
using System.Web.SessionState;
namespace Crowbar
{
internal static class CrowbarContext
{
public static ActionExecutingContext ActionExecutingContext { get; set; }
public static ActionExecutedContext ActionExecutedContext { get; set; }
public st... | {
"content_hash": "f48bff41bd50ede90a300970c35cc156",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 81,
"avg_line_length": 28.942857142857143,
"alnum_prop": 0.6623889437314906,
"repo_name": "mrydengren/crowbar",
"id": "8aa873e9a3293bb0b7aa9a141b7f035a08e2212d",
"size": "1... |
/********************* 有任何问题欢迎反馈给我 liuweiself@126.com ****************************************/
/*************** https://github.com/waynezxcv/Gallop 持续更新 ***************************/
/******************** 正在不断完善中,谢谢~ Enjoy ******************************************************/
#import "Menu.h"
#import "G... | {
"content_hash": "5b1b4d41fdafa8af2fb2e46866f66c1a",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 107,
"avg_line_length": 31.100671140939596,
"alnum_prop": 0.5509279240397065,
"repo_name": "HaoXuan1988/ZhiYu",
"id": "72d02d42c7fc4562e8efa58d1f53a136d311f76c",
"size": "... |
* A python application where users upload a photo.
* The photo gets analyzed for metadata (EXIF)
* The user then gets presented with stories that happened at that time, date and location.
# What is Exify?
* It's a web application built in Python, Flask, Javscript, HTML, and CSS
* At its base, it takes an uploa... | {
"content_hash": "cff0acb97bf029396ab49c3ccbb78c24",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 159,
"avg_line_length": 47.333333333333336,
"alnum_prop": 0.7563380281690141,
"repo_name": "mcardacci/exif_python",
"id": "d2fd66d14b1bf0533f1b3bcde2640c560d71273f",
"size"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ur_PK" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Republicoin</source>
<translation type="unfinished"/>
</message>
<message>
<location... | {
"content_hash": "5cf58f3060f2711161d60f4c4e7f61b4",
"timestamp": "",
"source": "github",
"line_count": 3330,
"max_line_length": 395,
"avg_line_length": 32.752852852852854,
"alnum_prop": 0.5837879468583531,
"repo_name": "republicoin/REP",
"id": "96ff6ac0633ae64c4049745fa4f5ed31cd8da201",
"size": "1... |
package org.apache.hadoop.hbase.client;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.KeyValue;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.hadoop.io.Writable;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.ArrayList;
im... | {
"content_hash": "c5bb9a945a3e77b418d75b51465b6295",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 85,
"avg_line_length": 32.843537414965986,
"alnum_prop": 0.6747100248550124,
"repo_name": "ay65535/hbase-0.94.0",
"id": "a806f8a29d077a343271d13c7723ffce801266cc",
"size":... |
\documentclass[11pt]{article}
\usepackage{listings}
\usepackage{tikz}
\usepackage{alltt}
\usepackage{hyperref}
\usepackage{url}
%\usepackage{algorithm2e}
\usetikzlibrary{arrows,automata,shapes}
\tikzstyle{block} = [rectangle, draw, fill=blue!20,
text width=5em, text centered, rounded corners, minimum height=2em]
\... | {
"content_hash": "a722398ef8e19de3893d44037f94cc4e",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 123,
"avg_line_length": 30.610687022900763,
"alnum_prop": 0.7134663341645885,
"repo_name": "patricklam/stqam-2017",
"id": "22b8de49f886c59936b532faa70bc89f3522ff64",
"size... |
/**
* Autogenerated by Thrift for thrift/compiler/test/fixtures/lazy_deserialization/src/terse_writes.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated @nocommit
*/
#pragma once
#include "thrift/compiler/test/fixtures/lazy_deserialization/gen-cpp2/terse_writes_metadata.h"
#... | {
"content_hash": "f8863da40f608407b33d87bce91c218d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 105,
"avg_line_length": 27.555555555555557,
"alnum_prop": 0.7600806451612904,
"repo_name": "facebook/fbthrift",
"id": "6da47c99ca070f46fc59407c923deff2b96d1e3f",
"size": "4... |
<!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": "986d641f24dd467875e33e337f94fb67",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 154,
"avg_line_length": 39.3859649122807,
"alnum_prop": 0.6503340757238307,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "2088cbb1c14cfc2ab208e037b92552f720feb6e9",
"size... |
import {
Component,
OnInit,
Output,
NgZone,
EventEmitter
} from '@angular/core';
import { CompileService } from '../shared/compile.service';
@Component({
selector: 'app-ts-editor',
templateUrl: './ts-editor.component.html',
styleUrls: ['./ts-editor.component.css']
})
export class TsEditorComponent implements... | {
"content_hash": "2696623aff0a2b1b66c94aaf3ba8e760",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 59,
"avg_line_length": 18.477777777777778,
"alnum_prop": 0.6313890559230306,
"repo_name": "tsplayground/tsplayground-ui",
"id": "4f33dfab3eb323f8dc853143912d5297fba7d054",
... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
us... | {
"content_hash": "5a47c91c04844adf869d76d882b815aa",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 174,
"avg_line_length": 47.66112956810631,
"alnum_prop": 0.4339885682420187,
"repo_name": "peppy/osu-new",
"id": "c1029923f75aa79bcadae44a445b814df4386e91",
"size": "14348... |
package main.sqlipa.ast.stmt.event.select;
import main.sqlipa.ast.Block;
import main.sqlipa.ast.expr.Expression;
import main.sqlipa.ast.visitor.VoidVisitor;
public class ExpressionColumn extends ResultColumn {
public Expression expr;
public ExpressionColumn() {
super();
}
public Exp... | {
"content_hash": "fc69c322a0e93978d818c8f82dec4de8",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 59,
"avg_line_length": 20.72,
"alnum_prop": 0.6718146718146718,
"repo_name": "frroliveira/sqlipa",
"id": "28ad5a11de431dbd0cb3cae5b7078e4c5a125918",
"size": "518",
"binar... |
<component name="ArtifactManager">
<artifact type="war" name="com.eventhorizon.jarvis.web:war">
<output-path>$PROJECT_DIR$/com.eventhorizon.jarvis.web/target</output-path>
<root id="archive" name="com.eventhorizon.jarvis.web.war">
<element id="artifact" artifact-name="com.eventhorizon.jarvis.web:war exp... | {
"content_hash": "e9a16e341f50c89a0ab458d8c5fe9eb7",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 88,
"avg_line_length": 46,
"alnum_prop": 0.7146739130434783,
"repo_name": "ReeverPD/jarvis",
"id": "35219dc4effb65f2eca20a083b7310dbbcfa30e2",
"size": "368",
"binary": fal... |
// Copyright © 2015 - Present RealDimensions Software, LLC
//
// 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 ... | {
"content_hash": "e0a9c64a0950d932249b6eeefb1f9a0d",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 104,
"avg_line_length": 37.2463768115942,
"alnum_prop": 0.6466926070038911,
"repo_name": "gep13/package-validator",
"id": "5835387a70a5010def8baccda9e26e64f660c0ec",
"size"... |
#pragma once
#include <aws/elasticache/ElastiCache_EXPORTS.h>
#include <aws/elasticache/ElastiCacheRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace ElastiCache
{
namespace Model
{
/**
* <p>Represents the i... | {
"content_hash": "4d282604a74d2752eae7174bc07b8f85",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 193,
"avg_line_length": 40.378571428571426,
"alnum_prop": 0.686891915796922,
"repo_name": "svagionitis/aws-sdk-cpp",
"id": "83ded0a29a4e683f8db9f5aa555d70a845831b37",
"siz... |
export interface Middleware<T> {
(context: T, next: ContinuationMiddleware<T>): any
}
export interface ContinuationMiddleware<T> {
(context?: T, next?: Middleware<T>): any
}
const flatten = <T>(values: Array<T | Array<T>>) => ([] as any).concat(...values) as T[],
noop = function noop() {
return Promise.resol... | {
"content_hash": "6ae61642b7c58194f1728c38a9412b57",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 113,
"avg_line_length": 34.833333333333336,
"alnum_prop": 0.6634768740031898,
"repo_name": "calebboyd/app-builder",
"id": "3d2827115e8ff8387651397c026eedf9eed49bbd",
"size"... |
#pragma once
#include <vector>
namespace Annulus
{
class Contact;
/**
* The contact resolver routine for the contacts that are present in the simulation.
* It iterates over the contacts and resolved them for velocity and interpenetration by making use of impulsive forces and moment.
*/
class ContactResolver
{
... | {
"content_hash": "b9aae3ac84fe8a44b706e70ac5542b71",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 155,
"avg_line_length": 35.56716417910448,
"alnum_prop": 0.7343684431389006,
"repo_name": "Siddhant628/Annulus-Physics-Engine",
"id": "37689b2044d1a50c30a74b6d6b467d51a833f37... |
import _plotly_utils.basevalidators
class CmidValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(self, plotly_name="cmid", parent_name="parcats.line", **kwargs):
super(CmidValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
ed... | {
"content_hash": "29e046b8b75306de385200254ab31dfc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 81,
"avg_line_length": 38.15384615384615,
"alnum_prop": 0.5967741935483871,
"repo_name": "plotly/python-api",
"id": "a553f23c8dbb036b7f9def1e88e27840b4f8d4ea",
"size": "496... |
/**
* Created by doubleL on 2017/4/21.
*/
var gulp = require("gulp");
var rev = require("gulp-rev");
var revReplace = require("gulp-rev-replace");
var useref = require("gulp-useref");
var filter = require("gulp-filter");
var csso = require("gulp-csso");
// gulp.task('defalut',fuction(){
//
// })
| {
"content_hash": "3cb48ee49817d2d8aacc8dc8fef02110",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 45,
"avg_line_length": 18.9375,
"alnum_prop": 0.636963696369637,
"repo_name": "liulin1234/webstorm",
"id": "55c99d91c69cd7f91ad18f9c4a3fea19636ce9ff",
"size": "303",
"bin... |
({
// Helper required to use test library
}) | {
"content_hash": "1df48aa20ff09ec526521a3bdb068dac",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 42,
"avg_line_length": 16,
"alnum_prop": 0.625,
"repo_name": "badlogicmanpreet/aura",
"id": "3a90fdc9bdaaae4fee04e6c75740e8d5ca02908e",
"size": "48",
"binary": false,
"c... |
package packages
import (
"fmt"
"path/filepath"
"regexp"
)
func pathElemReImpl(e string, sep rune) string {
escapedSep := regexp.QuoteMeta(string(sep)) // needed for windows sep '\\'
return fmt.Sprintf(`(^|%s)%s($|%s)`, escapedSep, e, escapedSep)
}
func pathElemRe(e string) string {
return pathElemReImpl(e, fi... | {
"content_hash": "45209d760409779673a9eee0c00c0c12",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 21.12,
"alnum_prop": 0.7045454545454546,
"repo_name": "Khan/khan-linter",
"id": "cdd327f5d880a75514657954b0a46ab9bdc8a3df",
"size": "528",
"binary"... |
Another game where anagrams are useful is "how many words are in the word?".
So if you use all the characters or any subset thereof of any given word, how many words can you form with these characters?
Normally a word is regarded a word in this context if it consists of at least three characters. Shorter ones like "... | {
"content_hash": "a8b99fb57ef9fa46ad8cffab1af13d43",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 155,
"avg_line_length": 57.142857142857146,
"alnum_prop": 0.7575,
"repo_name": "goeckeler/katas",
"id": "f11ff5fabb4cd39c7b26e93b358bddc06a2bdaad",
"size": "417",
"binary"... |
package org.mybatis.generator.codegen.mybatis3.model;
import static org.mybatis.generator.internal.util.messages.Messages.getString;
import java.util.ArrayList;
import java.util.List;
import org.mybatis.generator.api.CommentGenerator;
import org.mybatis.generator.api.FullyQualifiedTable;
import org.mybatis.generato... | {
"content_hash": "80a860cbfaca74ef9131c41a988bfccd",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 93,
"avg_line_length": 39.524193548387096,
"alnum_prop": 0.6568047337278107,
"repo_name": "NanYoMy/mybatis-generator",
"id": "377a9a5e35079d48f620ef26c70ec06745142e73",
"s... |
using System;
using System.Collections.Generic;
namespace Expressive.Expressions.Binary.Bitwise
{
internal class LeftShiftExpression : BinaryExpressionBase
{
#region Constructors
public LeftShiftExpression(IExpression lhs, IExpression rhs, Context context) : base(lhs, rhs, context)
{
... | {
"content_hash": "aeada44fc697cc8ababe447818e3df3f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 133,
"avg_line_length": 29.541666666666668,
"alnum_prop": 0.68688293370945,
"repo_name": "bijington/expressive",
"id": "9a2f470c80e89947694b6754053c7da2a40e6747",
"size": "... |
layout: post
title: rebuildingrails
tags: [rails]
---
> "Build it and they will come....Field of Dreams.."
## Notes on rebuilding rails study
This post contains self notes groked from the rebuilding rails book. Not sure at the beginning how useful it will be but that you can only tell at the end..I guess as long as ... | {
"content_hash": "0b0dda867afe77dbfb341f79295dd394",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 216,
"avg_line_length": 33.294117647058826,
"alnum_prop": 0.7332155477031802,
"repo_name": "eaglerockdude/eaglerockdude.github.io",
"id": "6542130dbaac5bcbdfe330ac48482c31725... |
@class DBUSERSGetAccountBatchArg;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `GetAccountBatchArg` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///
@interface DBUSERSG... | {
"content_hash": "d50f3de7977c007b56e22dc7ea844e8f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 80,
"avg_line_length": 26.53731343283582,
"alnum_prop": 0.749718785151856,
"repo_name": "danielbierwirth/DropboxBrowser",
"id": "6606a278892807cd61184abe192ce3b0bfaad8ff",
... |
#include "tensorflow_serving/servables/tensorflow/regression_service.h"
#include "tensorflow/contrib/session_bundle/session_bundle.h"
#include "tensorflow/contrib/session_bundle/signature.h"
#include "tensorflow/core/lib/core/errors.h"
#include "tensorflow/core/platform/tracing.h"
#include "tensorflow_serving/apis/r... | {
"content_hash": "4e312c03bb54f1a26769e9381b777f62",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 38.02439024390244,
"alnum_prop": 0.758819756254009,
"repo_name": "avloss/serving",
"id": "f1d356963289f45676ed200532b864db5ef70773",
"size": "2215",
... |
<!-- If you're using Dokku - especially for commercial purposes - consider donating to project development via [OpenCollective](https://opencollective.com/dokku) or [Patreon](https://www.patreon.com/dokku). Funds go to general development, support, and infrastructure costs. -->
## Description of problem
### How repro... | {
"content_hash": "405a1b5b055174f47a5a44ef35970135",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 278,
"avg_line_length": 30.916666666666668,
"alnum_prop": 0.7439353099730458,
"repo_name": "mlebkowski/dokku-acl",
"id": "fe5afee8e8ae5e231ee757f48d806519c31cf198",
"size":... |
package io.druid.indexer.path;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.inject.Binder;
import com.google.inject.Injector;
import com.google... | {
"content_hash": "8d0c4e36d058c8fc7362fe98202708f4",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 124,
"avg_line_length": 31.619217081850532,
"alnum_prop": 0.6256612267867192,
"repo_name": "andy256/druid",
"id": "466b11b8ba9cffe3c1c0a6fc960efd8ab97841d4",
"size": "9690... |
package github
import (
"fmt"
"io"
"io/ioutil"
"github.com/BurntSushi/toml"
"gopkg.in/yaml.v2"
)
type configDecoder interface {
Decode(r io.Reader, c *Config) error
}
type tomlConfigDecoder struct {
}
func (t *tomlConfigDecoder) Decode(r io.Reader, c *Config) error {
_, err := toml.DecodeReader(r, c)
retur... | {
"content_hash": "8fb9fb53e14131add4902d8728e554f9",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 89,
"avg_line_length": 20.789473684210527,
"alnum_prop": 0.6335443037974684,
"repo_name": "github/hub",
"id": "6b4ca65aa894ff73711b054add30e19a5982ecf9",
"size": "1580",
... |
package org.wikipedia.util;
import android.os.Build;
public final class ApiUtil {
/** @return True if SDK API level is greater than or equal to 23. */
public static boolean hasMarshmallow() {
return has(Build.VERSION_CODES.M);
}
/** @return True if SDK API level is greater than or equal to 21... | {
"content_hash": "569085bee5ebc268d7dd9678565844de",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 72,
"avg_line_length": 29.942307692307693,
"alnum_prop": 0.6358381502890174,
"repo_name": "trujunzhang/IEATTA-ANDROID",
"id": "dd4056ef6c3f4d0200c14c7bb26160a66e1eb64f",
"s... |
package aia.integration
import akka.actor.{ Actor, ActorRef }
import akka.camel.{ CamelMessage, Consumer }
import xml.XML
import org.apache.camel.Exchange
import util.{ Failure, Success }
import collection.mutable
import akka.pattern.ask
import akka.util.Timeout
import concurrent.duration._
import concurrent.Execution... | {
"content_hash": "7a9475aaae7da1c0eacd4a2ca90f0d64",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 71,
"avg_line_length": 29.346153846153847,
"alnum_prop": 0.5828496536229171,
"repo_name": "gilbutITbook/006877",
"id": "d1f39c7f17fff8de2dfedb7d8b663a5d2775a0de",
"size": ... |
namespace gfx {
// static
double Tween::CalculateValue(Tween::Type type, double state) {
DCHECK_GE(state, 0);
DCHECK_LE(state, 1);
switch (type) {
case EASE_IN:
return pow(state, 2);
case EASE_IN_2:
return pow(state, 4);
case EASE_IN_3:
return gfx::CubicBezier(0.4, 0, 1, 1).Solve... | {
"content_hash": "c548abbc3398385c2a3420d859d6d498",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 80,
"avg_line_length": 29.804878048780488,
"alnum_prop": 0.5538052373158756,
"repo_name": "ChromiumWebApps/chromium",
"id": "abf8a9d68bf317b12d96d709b724862fde2974d5",
"si... |
<?php
class ClusterTestCase extends BaumTestCase {
public static function setUpBeforeClass() {
with(new ClusterMigrator)->up();
}
public function setUp() {
with(new ClusterSeeder)->run();
}
protected function clusters($name, $className = 'Cluster') {
return forward_static_call_array(array($cla... | {
"content_hash": "cb039014c0f1a44868b359003c7251d6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 101,
"avg_line_length": 22.470588235294116,
"alnum_prop": 0.6649214659685864,
"repo_name": "unikent/baum",
"id": "81038ad09625b15acd2f71af58b6d9c50c0b7987",
"size": "382",
... |
package org.efaps.db;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.efaps.admin.access.AccessCache;
import org.efaps.admin.access.AccessTypeEnums;
import org.efaps.admin.datamodel.SQLTable;
import org.efaps.admin.datamodel.Type;
import org.efaps.admin.event.EventDefinit... | {
"content_hash": "86e1fce82422cb634624816624778f44",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 119,
"avg_line_length": 36.02739726027397,
"alnum_prop": 0.5978453738910012,
"repo_name": "ov3rflow/eFaps-Kernel",
"id": "3c0ce697f557bb9755fd05c5c84cbeae65c8de00",
"size"... |
<HTML><HEAD>
<TITLE>Review for Best of the Best II (1993)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0106393">Best of the Best II (1993)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy... | {
"content_hash": "89f5a1ae6124010bedc2d70d38be89b9",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 217,
"avg_line_length": 59.333333333333336,
"alnum_prop": 0.7292566983578219,
"repo_name": "xianjunzhengbackup/code",
"id": "ae4459f8f27087746e5b035eaeb8b820d110f693",
"siz... |
/// <reference path="../_references.ts"/>
module powerbitests.slicerHelper {
import SlicerOrientation = powerbi.visuals.slicerOrientation.Orientation;
import SQExpr = powerbi.data.SQExpr;
import ValueType = powerbi.ValueType;
export const SelectAllTextKey = 'Select All';
export const SlicerVisu... | {
"content_hash": "3b5ad9fe548a7e6cab12485ac0985a1e",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 206,
"avg_line_length": 40.78787878787879,
"alnum_prop": 0.6326770678553739,
"repo_name": "tsansome/PowerBI-visuals",
"id": "e897b857388a6473824c9ffff0b056705bc91efb",
"si... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ajax实例</title>
</head>
<body>
<div>测试数据</div>
<input type="button" value="点击" id="btn">
<script type="text/javascript">
window.onload = function(){
var btn = document.getElementById('btn');
btn.onclick = function(){
var xhr = null;
if(w... | {
"content_hash": "f8e1a90361407e18b80b429086aad993",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 79,
"avg_line_length": 23.318181818181817,
"alnum_prop": 0.6257309941520468,
"repo_name": "puyanLiu/LPYFramework",
"id": "e133cced5deaa6bb416a3e626268340dfb0b0912",
"size":... |
package org.deeplearning4j.spark.datavec;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.spark.api.java.JavaRDD;
import org.deeplearning4j.spark.BaseSparkTest;
import org.deeplearning4j.spark.data.BatchAndExportDataSetsFunction;
import org.deeplearning4j.spark.d... | {
"content_hash": "331b8fc85bfa1598432f45139c1d5931",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 156,
"avg_line_length": 37.42857142857143,
"alnum_prop": 0.6269083969465649,
"repo_name": "xuzhongxing/deeplearning4j",
"id": "bdfbb676bffa2f215e0f0e6f29f29a35e8ab445b",
"... |
package org.deeplearning4j.datasets.iterator;
import lombok.NonNull;
import org.nd4j.linalg.primitives.Pair;
/**
* A simple utility iterator for creating a DataSetIterator from an {@code Iterable<Pair<double[], double[]>>}.
* First value in pair is the features vector, second value in pair is the labels.
* Suppo... | {
"content_hash": "50a749588d00e16af5987b23bb5bb3c5",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 111,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.7289473684210527,
"repo_name": "RobAltena/deeplearning4j",
"id": "7738d31762a59661c6d210f79250a1125b6ed165",
"si... |
<!---
Copyright 2019 The AMP HTML Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | {
"content_hash": "e99a9e60a4995599a31189157fa05a17",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 121,
"avg_line_length": 28,
"alnum_prop": 0.7567567567567568,
"repo_name": "nexxtv/amphtml",
"id": "99c6357dc6d4be67201a2940f8ff122965d72971",
"size": "1036",
"binary": f... |
#include <qle/models/eqbspiecewiseconstantparametrization.hpp>
namespace QuantExt {
EqBsPiecewiseConstantParametrization::EqBsPiecewiseConstantParametrization(
const Currency& currency, const std::string& eqName, const Handle<Quote>& eqSpotToday,
const Handle<Quote>& fxSpotToday, const Array& times, const A... | {
"content_hash": "341c5ed7416886fcd24d769bb2b09df0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 110,
"avg_line_length": 46.81578947368421,
"alnum_prop": 0.7374929735806633,
"repo_name": "ChinaQuants/Engine",
"id": "3a973dcaea09266513b095d173072d57d6577c13",
"size": "2... |
<?php
namespace Phramework\JSONAPI\Viewers;
/**
* Implementation of IViewer for JSON API
*
* Also sends `Content-Type: application/vnd.api+json;charset=utf-8` header as response
*
* JSONP Support is disabled
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
* @author Xenofon Spafaridis <nohpone... | {
"content_hash": "a36df6395f549196ba297009c76b4478",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 87,
"avg_line_length": 23.814814814814813,
"alnum_prop": 0.604199066874028,
"repo_name": "phramework/jsonapi",
"id": "20f8945f5a2800f335b54c31b0dfdd11e3302a72",
"size": "12... |
home: 'Home'
gettingStarted: 'Erste Schritte'
basics: 'Grundlagen'
advanced: 'Fortgeschritten'
examples: 'Beispiele'
integrations: 'Integrationen'
api: 'API'
search: 'Suchen…'
---
| {
"content_hash": "0274255cb32fa1f71116a50bb52f4125",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 32,
"avg_line_length": 20,
"alnum_prop": 0.7444444444444445,
"repo_name": "kentcdodds/glamorous-website",
"id": "8bd8a9cc9e9e3f8ac918ad364c4c9399b11790a2",
"size": "186",
... |
function [J, grad] = cofiCostFunc(params, Y, R, num_users, num_movies, ...
num_features, lambda)
%COFICOSTFUNC Collaborative filtering cost function
% [J, grad] = COFICOSTFUNC(params, Y, R, num_users, num_movies, ...
% num_features, lambda) returns the cost and gradient for the
% ... | {
"content_hash": "4fa39a296d0c13b077bf02a8c6ff874e",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 75,
"avg_line_length": 34.26865671641791,
"alnum_prop": 0.6019163763066202,
"repo_name": "Alexoner/mooc",
"id": "0fe5bdb029ac43272514092b598dffa096388a14",
"size": "2296",
... |
<!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": "b2bc55ea2cc4e939b4fa0d28bad75b34",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 403,
"avg_line_length": 51.79007633587786,
"alnum_prop": 0.6646031395091754,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "b692ac843361048564bb22fb59f7abe34bdcbfc9",
"siz... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var DependenciesBlock = require("./DependenciesBlock");
function AsyncDependenciesBlock(name, module, loc) {
DependenciesBlock.call(this);
this.chunkName = name;
this.chunks = null;
this.module = module;
this.loc =... | {
"content_hash": "7f2e6de04f69d403510a6f7ff656ccbb",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 79,
"avg_line_length": 28.13888888888889,
"alnum_prop": 0.7403751233958539,
"repo_name": "thealjey/evolution-test",
"id": "cbe4d118f230e9236b884c022473f0078ef5a6c3",
"size"... |
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head ... | {
"content_hash": "2909834a1539e4c0bb6c622ba6daf3a1",
"timestamp": "",
"source": "github",
"line_count": 659,
"max_line_length": 454,
"avg_line_length": 40.32018209408194,
"alnum_prop": 0.5243310375973806,
"repo_name": "aulee/aulee.github.io",
"id": "110324bd3f2bec95b0b98c74a408d2aba9f94610",
"size"... |
package org.omg.PortableServer.POAPackage;
/**
* org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from ../../../../src/share/classes/org/omg/PortableServer/poa.idl
* Friday, March 1, 2013 3:32:42 AM PST
*/
abstract public class Obj... | {
"content_hash": "886fcadab14c210d90e800c6a3334b3f",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 171,
"avg_line_length": 32.40277777777778,
"alnum_prop": 0.6746678096870982,
"repo_name": "haikuowuya/android_system_code",
"id": "7db5482640b979df4bc7465b482258439a28b65c",
... |
class RemoveTriesFromEmailSignupEntry < ActiveRecord::Migration
def change
remove_column :email_signup_entries, :tries
end
end
| {
"content_hash": "05f2b541fc7c1aa786915071a0eaa52e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 63,
"avg_line_length": 27,
"alnum_prop": 0.7925925925925926,
"repo_name": "shageman/cbratools",
"id": "3649bb69f856c562ecc90d0252da91e9d35803b8",
"size": "135",
"binary": ... |
class Milestones < ActiveRecord::Migration
def self.up
create_table :milestones do |t|
t.decimal :value
t.date :date
t.datetime :created_at
t.datetime :updated_at
end
add_column :indicator_histories, :goal, :decimal
end
def self.down
remove_column :indicator_historie... | {
"content_hash": "7e047324202b860b630f1545ce50f634",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 52,
"avg_line_length": 20.38888888888889,
"alnum_prop": 0.6566757493188011,
"repo_name": "gabriprat/hoshinplan",
"id": "a4d2f9a8f59f6edc26372a91ba056cf0e53c2f6e",
"size": "... |
const { EventEmitter } = require('events')
const { expect } = require('code')
const Lab = require('lab')
const Proxyquire = require('proxyquire')
const Sinon = require('sinon')
let ClientStub = {}
let S3Stub = {}
const SendToS3 = Proxyquire('../src/sendToS3', {
's3': S3Stub
})
const { beforeEach, describe, it } = e... | {
"content_hash": "660dc3459e80d03b73b3dcd1f82de7c3",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 76,
"avg_line_length": 23.71153846153846,
"alnum_prop": 0.5916463909164639,
"repo_name": "theworkflow/s3-mongodump",
"id": "d959e741d07fd9e66876c26e6f4465796dd0accf",
"siz... |
require "bump/dependency"
require "bump/file_parsers/base"
require "bump/file_fetchers/java_script/yarn"
require "bump/shared_helpers"
module Bump
module FileParsers
module JavaScript
class Yarn < Bump::FileParsers::Base
def parse
dependency_versions.map do |dep|
Dependency.ne... | {
"content_hash": "6fc0dce1d8038639089fe71ac63c0369",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 76,
"avg_line_length": 26.462962962962962,
"alnum_prop": 0.5507347795661302,
"repo_name": "gocardless/bump-core",
"id": "b8c1a3f0a5f4e62d96702a12ec3e54a18832226a",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EESLP.Backend.Gateway.API.Enums
{
public enum ScriptInstanceStatus
{
Completed,
Running,
Created,
CompletedWithError,
CompletedWithWarning,
Aborted,
... | {
"content_hash": "9c44a84515ece93ca8b9161445b2f750",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 41,
"avg_line_length": 18.77777777777778,
"alnum_prop": 0.6538461538461539,
"repo_name": "andiexer/EagleEye-ScriptLogPlatform",
"id": "5d2500dced83ded9535291962d4effe32513d91... |
<html>
<head>
<title>Converting between JSON and XML</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<link href="custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="control">
<span class="productTitle">Json.NET - Quick Starts & API Documenta... | {
"content_hash": "3f411c2b9bde62649b9aac9ac880e673",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 211,
"avg_line_length": 74.06849315068493,
"alnum_prop": 0.6377843536156834,
"repo_name": "alexgit/GitShout",
"id": "38cedfa77bc5e54aa172ff8f1534cba7c770339d",
"size": "10... |
#include <vector>
#include "common/filesystem.h"
#include "common/config.h"
#include "examples/iris/helper.cpp"
#include "marian.h"
using namespace marian;
using namespace data;
// Constants for Iris example
const size_t MAX_EPOCHS = 200;
// Function creating feedforward dense network graph
Expr buildIrisClassifier... | {
"content_hash": "c395f1ff4b1f941aa7a66731c64d9f0d",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 117,
"avg_line_length": 29.640625,
"alnum_prop": 0.6265155508697944,
"repo_name": "emjotde/amunn",
"id": "328a4dfaec70b1a27bf5c2e463a24a92866cf4d5",
"size": "3794",
"bin... |
<div class="section-catalog">
<div class="widget-table-wrapper">
<div class="widget-table-title">
<h4 class="product-table-icon"><?php echo $lang['TITLE_PRODUCTS'];?></h4>
<p class="produc-count"><?php echo $lang['ALL_COUNT_PRODUCT']; ?> : <strong><?php echo $productsCount ?></strong> <?php ech... | {
"content_hash": "e648d9b4c383b951542d4fd60ddf8a1e",
"timestamp": "",
"source": "github",
"line_count": 394,
"max_line_length": 380,
"avg_line_length": 67.48984771573605,
"alnum_prop": 0.4832462111240645,
"repo_name": "hlogeon/autoryad",
"id": "2db66b5ca894cb05a3845442bbc0c397ab30898d",
"size": "27... |
<!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": "d4152f8484a1c5bba49edea1dfafb5d8",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "141f55dd082a4bb74306b5fabe1da3f96a7ab1d8",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.