text
stringlengths
2
1.04M
meta
dict
<?php namespace Thessia\Tasks; use League\Container\Container; use MongoDB\BSON\UTCDateTime; use MongoDB\Collection; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class populateBattles extends Comm...
{ "content_hash": "c71799ef9ab645e1a6022c67fa82a27d", "timestamp": "", "source": "github", "line_count": 402, "max_line_length": 247, "avg_line_length": 45.40298507462686, "alnum_prop": 0.48767258382643, "repo_name": "new-eden/Thessia", "id": "c5dd342742a51828bb5d21762a5d4a4f3879e40f", "size": "1942...
package info.ryanford.movieinspector.ui; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.NavigationView; import android.support.design.widget.Snackbar; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; ...
{ "content_hash": "b5298e9841e43420fee2393660199449", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 112, "avg_line_length": 34.36190476190476, "alnum_prop": 0.6707317073170732, "repo_name": "ryancford/movie-inspector", "id": "d96bd92a51e4bcec544b68714250095469d617cf", "s...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>easyframe</artifactId> <groupId>org.easy</groupId> <versi...
{ "content_hash": "994620d5c4b9bf3c50aa550f74731d9a", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 108, "avg_line_length": 30.91304347826087, "alnum_prop": 0.659634317862166, "repo_name": "xiaojianyu315/jsponge", "id": "d0bc409e684fa07465bd5450be27fc4af560c471", "size": ...
def auth(pass_file,auth_type): def deco(func): def wrapper(*args,**kwargs): if auth_type=='file': name=input('Please input your username: ') passwd=input('Please input your password: ') with open(pass_file) as f: for line in f: ...
{ "content_hash": "326838d39bf64d561fa2b064ac978399", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 60, "avg_line_length": 29.6, "alnum_prop": 0.46621621621621623, "repo_name": "Ocean-Openstack/01-openstack-homework", "id": "e44d25be6e73e03264992cfb51c93fbd9d476898", "siz...
/* Public domain */ #ifndef _AGAR_WIDGET_FSPINBUTTON_H_ #define _AGAR_WIDGET_FSPINBUTTON_H_ #include <agar/gui/widget.h> #include <agar/gui/textbox.h> #include <agar/gui/button.h> #include <agar/gui/ucombo.h> #include <agar/gui/units.h> #include <agar/gui/begin.h> #define AG_FSPINBUTTON_NOHFILL 0x01 #define AG_FSPI...
{ "content_hash": "ee13ef64a2ed78d86b5423ebd40340e5", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 76, "avg_line_length": 31.98076923076923, "alnum_prop": 0.7378232110643416, "repo_name": "varialus/agar", "id": "a56ddbe71ff5307e6853a74838342d784c806abf", "size": "1663", ...
@interface BPQuery() @property (strong) NSMutableDictionary *request; @property (strong) NSString *path; @property int retryCount; @property bpquery_completion_block completionBlock; @end @implementation BPQuery @synthesize endpoint = _endpoint; - (instancetype)initWithEndpoint:(NSString *)name { self = [super...
{ "content_hash": "cf4638fc0cb001bbc211e10987b1e2b3", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 108, "avg_line_length": 26.359550561797754, "alnum_prop": 0.5763000852514919, "repo_name": "BlueprintProject/Blueprint-Cocoa", "id": "a9694f1e0f2e58fb123decdd96508337ebb91655...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html lang="en-GB" class="no-js not-ie8"> <!--<![endif]--> <head> ...
{ "content_hash": "5effe75794862e0c9f5432511f17c119", "timestamp": "", "source": "github", "line_count": 709, "max_line_length": 341, "avg_line_length": 37.25952045133992, "alnum_prop": 0.5533557936177461, "repo_name": "charge-valtech/faststream-prototype", "id": "653a4af8e5ef3c2d074768deaf25d035a4a62...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads/v12/services/ad_group_customizer_service.proto namespace Google\Ads\GoogleAds\V12\Services; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Th...
{ "content_hash": "4c05eb64e20f1ddcef31385f998a4053", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 128, "avg_line_length": 32.890756302521005, "alnum_prop": 0.6617271333673991, "repo_name": "googleads/google-ads-php", "id": "6866faf2cdf7ab27b0b51a1517bd2cd2fe96da92", "s...
require "rubygems" # Test coverage require "simplecov" require "coveralls" SimpleCov.start do add_filter "/test/" end Coveralls.wear! # Comment out this line to have the local coverage generated. require "codeclimate-test-reporter" CodeClimate::TestReporter.start require "minitest/autorun" require "minitest/reporte...
{ "content_hash": "26ee1e37219b313468ccff3afff91a72", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 169, "avg_line_length": 28.597014925373134, "alnum_prop": 0.7651356993736952, "repo_name": "pupeno/validation_auditor", "id": "e4cfc3c012db8bc90f1280da46ec3047885c9d12", "s...
UnscentedKalmanFilter ===================== Introduction and Overview ------------------------- This implements the unscented Kalman filter. .. automodule:: filterpy.kalman -------- .. autoclass:: UnscentedKalmanFilter :members: .. automethod:: __init__ -------- .. autoclass:: MerweScaledSigmaPoint...
{ "content_hash": "6791252ff774f6ee322cc01bf9ac6ebc", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 45, "avg_line_length": 12.155555555555555, "alnum_prop": 0.5557586837294333, "repo_name": "rlabbe/filterpy", "id": "d4c0abc408a0fe4ef658051a66af5b84bedc95b6", "size": "547"...
#include "core/html/HTMLShadowElement.h" #include "core/HTMLNames.h" #include "core/dom/Document.h" #include "core/dom/shadow/ShadowRoot.h" #include "core/inspector/ConsoleMessage.h" namespace blink { class Document; inline HTMLShadowElement::HTMLShadowElement(Document& document) : InsertionPoint(HTMLNames::s...
{ "content_hash": "cf4f9ad20564547c19387853dc992358", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 128, "avg_line_length": 29.01851851851852, "alnum_prop": 0.7134652201659222, "repo_name": "danakj/chromium", "id": "47bcba6c334c3a638da9e6c0271a8a5b8bf46791", "size": "3129...
import { YearMonth, ZoneId } from "js-joda"; import * as React from "react"; import { connect } from "react-redux"; import { routeNodeSelector, RouterState } from "redux-router5"; import Footer from "./components/Footer"; import Header from "./components/Header"; import Artist from "./pages/Artist"; import ArtistMembe...
{ "content_hash": "70b148a509afbc4d81abbba04b32be17", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 81, "avg_line_length": 30.1375, "alnum_prop": 0.5068436333471589, "repo_name": "zaeleus/lp-web", "id": "d46a22fcd6878ed92deabd0e3ac5f959a26b91e8", "size": "2411", "binary...
namespace GAME { class Chunk { public: glm::vec2 position; // x:[ y:[ z:[GAME::Entity, ...], [GAME::Entity, ...]], [...]] std::vector<std::vector<std::vector<GAME::Entity>>> groundEntities; Chunk(int pos_x = 0, int pos_t = 0); void generate(Constants & constants, TextureStorage & textureS...
{ "content_hash": "da91b7fa53548a14a437639727de6468", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 120, "avg_line_length": 25.64, "alnum_prop": 0.6505460218408736, "repo_name": "Aelto/opengl-cge", "id": "fe74d682260b1148846fb8dab6cbda6914087db4", "size": "905", "binary...
import unittest import copy import re from music21 import exceptions21 from music21 import pitch shorthandNotation = {(None,) : (5,3), (5,) : (5,3), (6,) : (6,3), (7,) : (7,5,3), (9,) : (9,7,5,3), (11,) : (11,9,7,...
{ "content_hash": "f23ce55779f05969a4a84852b84dfc0f", "timestamp": "", "source": "github", "line_count": 567, "max_line_length": 197, "avg_line_length": 35.398589065255734, "alnum_prop": 0.5590653181206716, "repo_name": "arnavd96/Cinemiezer", "id": "1fd7d4bdc72df5b460c5fb9a1945bc6a5589cb2a", "size":...
package com.hazelcast.jet.datamodel; import com.hazelcast.test.HazelcastParallelClassRunner; import org.junit.Test; import org.junit.runner.RunWith; import static com.hazelcast.jet.datamodel.Tag.tag; import static com.hazelcast.jet.datamodel.Tag.tag0; import static com.hazelcast.jet.datamodel.Tag.tag1; import stati...
{ "content_hash": "c67a013917a600e27b2e5b7508fe5f81", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 67, "avg_line_length": 26.567164179104477, "alnum_prop": 0.652247191011236, "repo_name": "gurbuzali/hazelcast-jet", "id": "d515ede248d75ef77564a50d3309dba60e7166ca", "size"...
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <tit...
{ "content_hash": "1ca50111390bc3a1f10b8c8cc9a7855c", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 381, "avg_line_length": 47.45348837209303, "alnum_prop": 0.6521685861308503, "repo_name": "czhengsci/pymatgen", "id": "341635d310ac634a1eeafb59364a28db092b0c63", "size": "...
namespace content { namespace { // Subclass of BrowserAccessibility that counts the number of instances. class CountedBrowserAccessibility : public BrowserAccessibility { public: CountedBrowserAccessibility() { global_obj_count_++; native_ref_count_ = 1; } ~CountedBrowserAccessibility() override { globa...
{ "content_hash": "b3c007b76d36a0ec0a95b9d456bb1302", "timestamp": "", "source": "github", "line_count": 1658, "max_line_length": 80, "avg_line_length": 37.17008443908323, "alnum_prop": 0.700785357305121, "repo_name": "danakj/chromium", "id": "dfb0cf5d68c5164e54adf0400e4711abe2af2bd4", "size": "6230...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="Javadoc API documentation for Fresco." /> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> <title> com.f...
{ "content_hash": "0d11d54f27b6b965e61f53636188befe", "timestamp": "", "source": "github", "line_count": 452, "max_line_length": 296, "avg_line_length": 44.769911504424776, "alnum_prop": 0.628879225143309, "repo_name": "facebook/fresco", "id": "80707c3ee37aa4b9924f5754723bebed59b752ef", "size": "202...
name 'open-hackathon-adminUI' maintainer "Microsoft Open Technologies (Shanghai) Co. Ltd" maintainer_email "msopentechdevsh@microsoft.com" license "MIT" description 'Installs/Configures open-hackathon-adminUI' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) versi...
{ "content_hash": "095235d2ec8806b8c43444c408175f77", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 72, "avg_line_length": 37.1, "alnum_prop": 0.6954177897574124, "repo_name": "Fendoe/open-hackathon-o", "id": "cbf870eee37deb1c06e858f09628cf54e0d774ae", "size": "1721", "...
from django.urls import reverse from rest_framework import status from bluebottle.test.utils import BluebottleTestCase from bluebottle.test.factory_models.accounts import BlueBottleUserFactory from bluebottle.test.factory_models.terms import TermsFactory class TermsAPITest(BluebottleTestCase): """ Integration t...
{ "content_hash": "537e0e736c0b2e254ca9d9087dfce447", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 73, "avg_line_length": 36.42857142857143, "alnum_prop": 0.6870588235294117, "repo_name": "onepercentclub/bluebottle", "id": "79df692d291f803133c478a81a596646486c7f54", "siz...
package com.blogspot.sontx.chatsocket.client.model.handler; import com.blogspot.sontx.chatsocket.lib.bean.Response; import com.blogspot.sontx.chatsocket.lib.bo.ObjectTransmission; public interface ResponseHandler { void handle(ObjectTransmission transmission, Response response) throws Exception; }
{ "content_hash": "87525cbd254a71e739dfb6a65a1df0e9", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 85, "avg_line_length": 38.125, "alnum_prop": 0.8327868852459016, "repo_name": "sontx/chat-socket", "id": "006cdf79d9ac240674f8dac103df34dd37e28bd6", "size": "305", "binary...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "fab6a7f742c2467310b91042872b1b6d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "8e46981db7c46dbbab01a50eb9d423140f4615b3", "size": "199...
@interface NextBikeCity : _BicycletteCity <BicycletteCity> @end
{ "content_hash": "d883dc7aaf60c9fbb9481ff027552736", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 58, "avg_line_length": 32, "alnum_prop": 0.8125, "repo_name": "n-b/Bicyclette", "id": "e1730f65489a363ebed077006413ad3aaf46df83", "size": "236", "binary": false, "copies...
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Category.cat_image' db.add_column('blogs_category', 'cat_image', self.gf('sorl.thumbnail.field...
{ "content_hash": "99d9b8fe2b1a4ca23e960cf2213e0c8f", "timestamp": "", "source": "github", "line_count": 270, "max_line_length": 184, "avg_line_length": 88.1, "alnum_prop": 0.5366796989952495, "repo_name": "carquois/blobon", "id": "ad5d041d00d3a4a18e880900cc0e7e1b61abe5cf", "size": "23811", "binar...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "e9c9d61205fddcafb76d565cc7ee6f7f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "91e9e6b86d2204497942e0e77f256a336c939f74", "size": "175...
package kr.ac.kaist.jsaf.nodes_util // The Completion Specification Type object EJSCompletionType { def isNormal(t: Int): Boolean = t / 10 == 0 // 0x def isAbrupt(t: Int): Boolean = t / 10 == 1 // 1x val NORMAL = 01 val ABRUPT = 10 val BREAK = 11 val RETURN = 12 val THROW = 13 }
{ "content_hash": "17b097e3bcf6e09a6c04e499490aa8ab", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 51, "avg_line_length": 20.266666666666666, "alnum_prop": 0.6282894736842105, "repo_name": "daejunpark/jsaf", "id": "73fddbdf55ae515d89a534f8684bc9dcad1f672e", "size": "645"...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Neptuo.Formatters.Metadata { partial class ReflectionCompositeTypeProvider { private class PropertyDescriptor { public CompositePro...
{ "content_hash": "e76b1e0fc63f179f30739c560a8b16c4", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 69, "avg_line_length": 24.22222222222222, "alnum_prop": 0.6995412844036697, "repo_name": "maraf/Money", "id": "63428f8d65903b30b1499c656d4cb48b5baa1627", "size": "438", "...
EXECUTABLES=git go find docker tar _=$(foreach exec,$(EXECUTABLES), \ $(if $(shell which $(exec)), ok, $(error "No $(exec) in PATH"))) IMAGE=ivan1993spb/snake-server IMAGE_GOLANG=golang:1.14-alpine3.11 IMAGE_ALPINE=alpine:3.11 REPO=github.com/ivan1993spb/snake-server DEFAULT_GOOS=linux DEFAULT_GOARCH=amd64 BINAR...
{ "content_hash": "165e6f94771f8b2f2d608ecd03a111a9", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 89, "avg_line_length": 27.564356435643564, "alnum_prop": 0.6285919540229885, "repo_name": "ivan1993spb/clever-snake", "id": "b18d0e3f7b77480d8f4cebc0f631fe7e29310bf6", "si...
extern const AP_HAL::HAL& hal; // set_angle_targets - sets angle targets in degrees void AP_Mount_Backend::set_angle_targets(float roll, float tilt, float pan) { // set angle targets _angle_ef_target_rad.x = radians(roll); _angle_ef_target_rad.y = radians(tilt); _angle_ef_target_rad.z = radians(pan); ...
{ "content_hash": "07391d4ee7a2b92520c3781b71adadef", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 188, "avg_line_length": 43.83443708609271, "alnum_prop": 0.6455657954373772, "repo_name": "Yndal/ArduPilot-SensorPlatform", "id": "addff24c4ac5b0b569ffbd177f20f9aa9d533cfc",...
"use strict"; exports.__esModule = true; exports.serializeWindow = serializeWindow; exports.deserializeWindow = deserializeWindow; exports.ProxyWindow = void 0; var _src = require("cross-domain-utils/src"); var _src2 = require("zalgo-promise/src"); var _src3 = require("belter/src"); var _src4 = require("universal-...
{ "content_hash": "f5f91a4e54ccc6310750d58adf38ef8b", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 110, "avg_line_length": 22.077881619937695, "alnum_prop": 0.5933399181600113, "repo_name": "cdnjs/cdnjs", "id": "d025dc55889c1ac07565edfd10b19eb642cde0a5", "size": "7087",...
<?php namespace Crummy\Phlack\Common\Matcher; use Crummy\Phlack\WebHook\CommandInterface; class NonMatcher implements MatcherInterface { /** * @param CommandInterface $command * * @return bool */ public function matches(CommandInterface $command) { return false; } }
{ "content_hash": "6ae281771a7e6befd6c791df46973eeb", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 54, "avg_line_length": 17.444444444444443, "alnum_prop": 0.6656050955414012, "repo_name": "mcrumm/phlack", "id": "aa1e68643e7a6f051521c641d3d46fd961df06ae", "size": "314", ...
package org.tuxdevelop.spring.batch.lightmin.server.scheduler.repository.configuration; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data @ConfigurationProperties(prefix = "spring.batch.lightmin.server.scheduler.repository.jdbc") public class ServerSchedulerJdbcConf...
{ "content_hash": "898c009c50cc424404127cff6033bd0b", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 91, "avg_line_length": 39.6875, "alnum_prop": 0.8188976377952756, "repo_name": "tuxdevelop/spring-batch-lightmin", "id": "e43703eca4ea5811c9d766d3d91961e94aa9cbfe", "size":...
body { margin: 0; padding: 0; } #header { text-align: center; background-image: url("../resources/bgTile.jpg"); background-repeat: repeat; } #header>h1 { color: whitesmoke; font-size: 40px; font-family: Georgia, 'Times New Roman', Times, serif; } h1>span { font-size: 48px; fon...
{ "content_hash": "15ef13f8b692a3ec3202a0ce0a211f53", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 58, "avg_line_length": 15.873239436619718, "alnum_prop": 0.6086956521739131, "repo_name": "inmank/prince_housing_ang", "id": "35731736446ea9fcd8e6650f2c1774f867d36003", "si...
require 'mspec/runner/formatters/base' class HtmlFormatter < BaseFormatter def register super MSpec.register :start, self MSpec.register :enter, self MSpec.register :leave, self end def start print <<-EOH <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/stric...
{ "content_hash": "d724299ef9bbc8f4e0ff3b00eaa48b4f", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 99, "avg_line_length": 22.320987654320987, "alnum_prop": 0.5730088495575221, "repo_name": "ruby/mspec", "id": "e37e89a088cf5c98cfe061a0e8a01e69b425b9e8", "size": "1808", ...
package edu.umich.lib.infinispan; import java.io.IOException; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import org.infinispan.manager.EmbeddedCacheManager; import org.infinispan.server.hotrod.HotRodServer; import org.infinispan.server...
{ "content_hash": "e5d5eb2b10eada1f0e1b743e6fd8f6eb", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 103, "avg_line_length": 32.93478260869565, "alnum_prop": 0.692079207920792, "repo_name": "bertrama/infinispan-war", "id": "10d75a3d732208d38abceb0579fc16a59fb95710", "size"...
layout: post title: "Who does chores" description: "" date: 2021-05-30 author: "Yawei" categories: "English" keywords: - English - Communicating --- # Some sentences In my home both my husband and myself do the chores. I hire people to the painting. She had the windows washed yesterday. // This means sh...
{ "content_hash": "3f3630429ce9818e850808053820467f", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 88, "avg_line_length": 20.523809523809526, "alnum_prop": 0.7238979118329466, "repo_name": "pfcstyle/pfcstyle.github.io", "id": "8038cdfd88bab2fa2623a2297639252db9515c03", "...
<?php /** * Created by PhpStorm. * User: zsgy * Date: 2017/8/14 * Time: 15:04 */ namespace App\Repositories; use App\Models\Answer; /** * Class AnswerRepository * @package App\Repositories */ class AnswerRepository { public function create(array $attribute) { return Answer::create($attribute...
{ "content_hash": "804d56e5dff2ff25870db48fab2d013f", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 87, "avg_line_length": 16.82857142857143, "alnum_prop": 0.6095076400679117, "repo_name": "hmx224/blog_ifanatic.cn", "id": "026095b4e331a5ad807f59af55decb44799ea6f6", "size"...
from flask import Flask, jsonify, render_template, request import json import unicodedata from brain import best_move import os app = Flask(__name__) def helper(arr): return map(lambda x : unicodedata.normalize('NFKD', x).encode('ascii','ignore'), arr) def transform(arr): return map(lambda x : 1 if x == 'X'...
{ "content_hash": "c90c7dbcfd0d1193518b2620c0feaabf", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 89, "avg_line_length": 23.9, "alnum_prop": 0.6429567642956764, "repo_name": "adijo/min-max-tic-tac-toe", "id": "9f3017c877a1c15d09448391ec23f9c117af6bb3", "size": "717", ...
import React from 'react'; import Viewport from './components/Viewport'; export default function withViewport(nameOrOptions) { const options = typeof nameOrOptions === 'string' ? { name: nameOrOptions } : nameOrOptions; const decorator = getStory => context => ( <Viewport context={context} {...options}> ...
{ "content_hash": "fb06cac9a888bf85c0da04d6e62d0b90", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 94, "avg_line_length": 26.05, "alnum_prop": 0.654510556621881, "repo_name": "rhalff/storybook", "id": "cfe11ab7622e75a4a012f20e563fa68bb55c5a7b", "size": "521", "binary":...
<!DOCTYPE html> <html> <head> <title>CSS Test (Transforms): Transform of Background Image (propagated body with root element transform)</title> <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering"> <lin...
{ "content_hash": "356c968e82a09cfd1adda9cd2d6327ae", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 117, "avg_line_length": 36.36, "alnum_prop": 0.6490649064906491, "repo_name": "chromium/chromium", "id": "787c593fb093a74f5c0bbc07a511acae37ec929b", "size": "909", "binar...
#region Copyright & license notice #endregion using System; using Amazon.WebServices.MechanicalTurk.Domain; namespace Amazon.WebServices.MechanicalTurk.Exceptions { /// <summary> /// Description of AccessKeyException. /// </summary> public class AccessKeyException : ServiceException { /// <su...
{ "content_hash": "7262e6c79b2f1a4ac932c5d62750ab8e", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 85, "avg_line_length": 27.53846153846154, "alnum_prop": 0.6829608938547486, "repo_name": "DeSciL/DotnetMturk", "id": "56ea77091298c0440d4635d57cb13169dc7118b6", "size": "82...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
{ "content_hash": "1c606dd8bdf2ecac035c76dc79dd01b8", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 110, "avg_line_length": 34.32142857142857, "alnum_prop": 0.6253902185223725, "repo_name": "popravich/typescript", "id": "aae9f820ffd1b7145c8d88650f5932d6a32dd164", "size": ...
require 'ffi' require 'health-data-standards' require 'os' module GoCDATools module Import class GoImporter include Singleton extend FFI::Library if OS.linux? ffi_lib File.expand_path("../../../ext/libgocda-linux.so", File.dirname(__FILE__)) end if OS.mac? ffi...
{ "content_hash": "c6428d69a060b2a42fc48c900beb467b", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 134, "avg_line_length": 40.79220779220779, "alnum_prop": 0.6033110474371219, "repo_name": "projectcypress/go-cda-tools", "id": "e3bb0c99646567628ae87e6aa3ec4f90dbe51869", "...
FROM balenalib/generic-ubuntu:bionic-build # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # key 63C7CC90: public key "Simon McVittie <...
{ "content_hash": "80137fed8cbcd73cedaf53318d2b92d7", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 725, "avg_line_length": 50.67368421052632, "alnum_prop": 0.7033651848774408, "repo_name": "nghiant2710/base-images", "id": "8ec9e4c32706dc070a73267b4eb6f17f33ced3ec", "size...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/profile/public/nsIProfileChangeStatus.idl */ #ifndef __gen_nsIProfileChangeStatus_h__ #define __gen_nsIProfileChangeStatus_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to i...
{ "content_hash": "766bf9cdaea4388e1d10aea3c81933db", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 127, "avg_line_length": 34.197916666666664, "alnum_prop": 0.6995126408772464, "repo_name": "akiellor/selenium", "id": "467d3b49af795c7315d59205a25047a93b8a228e", "size": "...
package org.apache.camel.component.azure.blob; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.EnumSet; import java.util.HashMap; import java.util.LinkedList; import java.ut...
{ "content_hash": "5326b644a5b540ddc2ca59a69e08ee06", "timestamp": "", "source": "github", "line_count": 512, "max_line_length": 130, "avg_line_length": 42.552734375, "alnum_prop": 0.6544269518520218, "repo_name": "DariusX/camel", "id": "cb05f4ac954df253a13dbd4c36fd4a4c607338e5", "size": "22589", ...
<!DOCTYPE html> <html> <head> <title>Test HTML</title> <script src="Listy.js"></script> </head> <body> <script> console.log(Solve(["def definition[-100, -100, -100]", "def definitionResult sum[definition]", "def defTest sum[definitionResult, 6457457, 2345234, -234546]", "avg[defTest, 1, 2, 3]"])); ...
{ "content_hash": "d15d79ed3b9acddeb4f2b19ed0371b82", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 194, "avg_line_length": 29, "alnum_prop": 0.6264367816091954, "repo_name": "vladislav-karamfilov/TelerikAcademy", "id": "f7172c8af148e11bd6e764763a7b761cb2c2ea59", "size": ...
/** * @author Mugen87 / https://github.com/Mugen87 */ import { GameEntity } from '../../../../build/yuka.module.js'; class CustomObstacle extends GameEntity { constructor( geometry ) { super(); this.geometry = geometry; } handleMessage() { // do nothing return true; } } export { CustomObstacle...
{ "content_hash": "99a2ec121ba45487e4de31fd6e63e85f", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 62, "avg_line_length": 12, "alnum_prop": 0.6265432098765432, "repo_name": "Mugen87/yuka", "id": "681cf32ffd556ed23fee5586a083b97f6d37b61c", "size": "324", "binary": false...
<!DOCTYPE html> <meta charset=utf-8> <title>invalid poster: userinfo-username-contains-pile-of-poo</title> <video poster="http://💩:foo@example.com"></video>
{ "content_hash": "17d8e13a35c20b4a477ab82ef878519b", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 69, "avg_line_length": 39.25, "alnum_prop": 0.732484076433121, "repo_name": "youtube/cobalt_sandbox", "id": "0275ab7e670fb6611554a6454c40def7564da0ff", "size": "160", "bin...
#ifndef TARANTOOL_SAY_H_INCLUDED #define TARANTOOL_SAY_H_INCLUDED #include <stdlib.h> #include <stdarg.h> #include <errno.h> #include "trivia/util.h" /* for FORMAT_PRINTF */ #if defined(__cplusplus) extern "C" { #endif /* defined(__cplusplus) */ enum say_level { S_FATAL, /* do not this value use directly */ S_SY...
{ "content_hash": "ee1d70783b51d0f9b0d9a8e255cba99b", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 98, "avg_line_length": 28.333333333333332, "alnum_prop": 0.6251336898395722, "repo_name": "nvoron23/tarantool", "id": "b8132ef0f58f11bc14e9b5fb299643098764284e", "size": "3...
layout: post microblog: true audio: photo: date: 2011-03-14 08:41:11 -0600 guid: http://craigmcclellan.micro.blog/2011/03/14/t47306281396080640.html --- Also, when asked to tell me their name and an interesting fact. Abe Lincoln boy said "My name is Niles and I have a nut allergy."
{ "content_hash": "9af5f0b38423e1e4d6b31c6f79d9931e", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 129, "avg_line_length": 35.625, "alnum_prop": 0.7543859649122807, "repo_name": "craigwmcclellan/craigwmcclellan.github.io", "id": "b03310da34f7ab5c39a86b74d852a5411b022cf5", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Draggable - Delay start</title> <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> <script src="../../jquery-1.7.1.js"></script> <script src="../../ui/jquery.ui.core.js"></script> <script src="../../ui/jquery.u...
{ "content_hash": "25524f6c783125d5d4d73cabbc7e02c1", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 226, "avg_line_length": 33.22222222222222, "alnum_prop": 0.6367892976588628, "repo_name": "TheOpenCloudEngine/metaworks", "id": "d17247894ad0a5917e0b7d2797fd3613e65c8342", ...
/** * Handles the import requests */ /* * 2011 Peter 'Pita' Martischka (Primary Technology Ltd) * 2012 Iván Eixarch * 2014 John McLear (Etherpad Foundation / McLear Ltd) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
{ "content_hash": "d8cfee4c88e29c5e5bccd45d11c42ca1", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 117, "avg_line_length": 31.488673139158575, "alnum_prop": 0.5598150051387462, "repo_name": "meticulo3366/etherpad-lite", "id": "a511637cc1d550a13936c526a1b77eeb8ad4750f", ...
<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height=...
{ "content_hash": "cf872df9f9ff6501892ec646a0ea9fbb", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 107, "avg_line_length": 42.357142857142854, "alnum_prop": 0.6888701517706577, "repo_name": "Hebury/BioscoopCasus", "id": "5e924f5f77b7fa35f04feb8f469d35ca78fd6adc", "size":...
using System; using System.Windows; namespace PathOfFilters { /// <summary> /// Interaction logic for Settings.xaml /// </summary> public partial class Settings : Window { private MainWindow _main; public Settings() { InitializeComponent(); _main = M...
{ "content_hash": "30412899bf96adae823c912ddd959428", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 124, "avg_line_length": 35.38333333333333, "alnum_prop": 0.6095148374941121, "repo_name": "M1nistry/PathOfFilters", "id": "3f9b8803ba880bab51ceb7bbcd99fa1b6c282627", "size"...
struct TagItem *NextTagItem(pUtility UtilBase, const struct TagItem **tagListPtr); struct TagItem *FindTagItem(pUtility UtilBase, UINT32 tagValue, const struct TagItem *tagList); BOOL TagInArray(pUtility UtilBase, UINT32 tagValue, UINT32 *tagArray); UINT32 GetTagData(pUtility UtilBase, Tag tagValue, UINT32 defaultVal, ...
{ "content_hash": "6302f70366adae5c3a701e4411a8c39a", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 197, "avg_line_length": 90.96, "alnum_prop": 0.7296613896218118, "repo_name": "cycl0ne/poweros_x86", "id": "5bae06448cce5b601d1a33e7653b5b97a671b859", "size": "9123", "b...
DROP KEYSPACE IF EXISTS employerratings; CREATE KEYSPACE employerratings WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1}; CREATE TABLE employerratings.ratings (id TIMEUUID PRIMARY KEY, user INT, product INT, rating DOUBLE); CREATE TABLE employerratings.validation (id TIMEUUID PRIMARY KEY, user ...
{ "content_hash": "21905f6d0d6aa5ca155e896b63aa6ead", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 105, "avg_line_length": 88.5, "alnum_prop": 0.7994350282485876, "repo_name": "peteralcock/busher_pusher", "id": "b10a3d842442f5995a7386dee1a3720fa5308727", "size": "372", ...
function cMultiImageTestPanel() { // This is a test mode panel only! var self = this; // local var for closure var jPanel; // for quick access var jSelected; var jPinned; var jSampleTypes; var nImages; var imageIdList = []; var selImageIdx; var posImageIdx; var negIm...
{ "content_hash": "3e19d1c45bacd8b6449cfbe4848ecde4", "timestamp": "", "source": "github", "line_count": 3273, "max_line_length": 211, "avg_line_length": 48.72593950504125, "alnum_prop": 0.5860609480812641, "repo_name": "richstoner/richstoner.github.com", "id": "a4ad3e08311e27010e0903a0c39eabc0ad2bdb9...
"use strict"; var conn = require('./ForceConnection.js').connection; var listCustomObjectsModel = require('./forceModel/listCustomObjects.js'); var listObjectsModel = require('./forceModel/listObjects.js'); var describeSObject = require('./forceModel/describeSObject.js'); var logger = require('../services/logger.js'); ...
{ "content_hash": "84df3fd9a6374e6da89cb8aadb20e8db", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 85, "avg_line_length": 28.93617021276596, "alnum_prop": 0.6102941176470589, "repo_name": "james-gibson/forceTooling", "id": "b635e40d7c0fb39abede28799c14319dfceb268e", "siz...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v12/common/user_lists.proto package com.google.ads.googleads.v12.common; /** * <pre> * UserList of CRM users provided by the advertiser. * </pre> * * Protobuf type {@code google.ads.googleads.v12.common.CrmBasedUserListIn...
{ "content_hash": "b1ee61a43b978261336f3192f24f95af", "timestamp": "", "source": "github", "line_count": 959, "max_line_length": 225, "avg_line_length": 39.06986444212722, "alnum_prop": 0.6890680046973418, "repo_name": "googleads/google-ads-java", "id": "01b8327a2b5c7a81af2720cfd3165e9f2980f7cd", "s...
set -e # give up after two minutes TIMEOUT=120 # # functions # . /usr/share/one/supervisor/scripts/lib/functions.sh # # run service # #TODO: should I wait for sunstone or something? for envfile in \ /etc/one/guacd \ ; do if [ -f "$envfile" ] ; then . "$envfile" fi done LD_LIBRARY_PATH=/us...
{ "content_hash": "dd6b3b2087c6ab8283e84794a996759f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 52, "avg_line_length": 14.03225806451613, "alnum_prop": 0.6597701149425287, "repo_name": "OpenNebula/one", "id": "d87b58eac4b69ccdea4b4a59f4e0563d355fa8fc", "size": "446", ...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:id="@+id/textView3" android:layout_width="match_pa...
{ "content_hash": "a1f18636ec88fb74bfcc0e6b8a620083", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 74, "avg_line_length": 37.111111111111114, "alnum_prop": 0.6601796407185628, "repo_name": "RadiationX/4pdaClient-plus", "id": "5e235fea8aa021e41143e01e70020260ca4ffe8d", "s...
from django.conf import settings from django.core.files import File from django.core.files.storage import Storage from django.core.exceptions import ImproperlyConfigured from django.utils.deconstruct import deconstructible from django.utils.six import BytesIO from django.utils.six.moves.urllib import parse as urlparse ...
{ "content_hash": "f9711e0e5415df14ae9712b82b3eaffc", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 154, "avg_line_length": 39.68939393939394, "alnum_prop": 0.626646306547051, "repo_name": "ZuluPro/django-storages", "id": "0f4669a81163d0f60d5cdb83f58d358f6a9cf629", "size...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>generic::basic_endpoint::resize</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../boost_...
{ "content_hash": "651b2e43509d8455eb2f7743be6c8470", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 438, "avg_line_length": 66.21153846153847, "alnum_prop": 0.6314260819053151, "repo_name": "calvinfarias/IC2015-2", "id": "46d5549c58c8a12e0ad610876c33d1826fb9970c", "size":...
<!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_32) on Tue Jun 18 11:08:52 PDT 2013 --> <TITLE> IdentityVerificationAttributes (AWS SDK for Java - 1.4.7) </TITLE> <META NAME="date" CONTENT="2013-0...
{ "content_hash": "ca67245c47485e3064d7b9a2aaec8c26", "timestamp": "", "source": "github", "line_count": 605, "max_line_length": 931, "avg_line_length": 52.02479338842975, "alnum_prop": 0.6687847498014297, "repo_name": "hobinyoon/aws-java-sdk-1.4.7", "id": "411cda61a46751d4fd945fb227efd4358a1fb16c", ...
require 'test_helper' class ShortUrlsShowTest < ActionDispatch::IntegrationTest def setup @admin = users(:cthulhu) @short_url = short_urls(:hits_test) log_in_as(@admin) end test 'shows slug as heading' do get short_url_path(@short_url) assert_select 'h2', @short_url.slug end test 'shows...
{ "content_hash": "91a4bfff3989811d1c26477fc66fddc2", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 64, "avg_line_length": 26.821428571428573, "alnum_prop": 0.6711051930758988, "repo_name": "flyinggrizzly/url-grey", "id": "732f8dd8f22c6cbbfe3d4c8e838eed9a6ebf3fe3", "size"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>KnockbackNavigators.js Interactive Tests</title> <link rel="stylesheet" href="vendor/normalize.css"> <li...
{ "content_hash": "86958385b1b431224316ca99bccc9f62", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 182, "avg_line_length": 38.14102564102564, "alnum_prop": 0.5845378151260504, "repo_name": "kmalakoff/knockback-navigators", "id": "87e00a0c77654425b1d312145e3e91a54e35c052", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>msets-extra: 43 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel=...
{ "content_hash": "bdd3daae2260f6d2d3d228b84a1e877e", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 159, "avg_line_length": 46.98947368421052, "alnum_prop": 0.5740367383512545, "repo_name": "coq-bench/coq-bench.github.io", "id": "c57bc7fa2fe60a426c568a4fb4193ad28b4b7c39", ...
using System.Collections.Generic; using System.ComponentModel.Composition; using AgentMulder.ReSharper.Domain.Patterns; using AgentMulder.ReSharper.Domain.Registrations; using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch; using JetBrains.ReSharper.Feature.Services.CSharp.StructuralSearch.Placeholders; ...
{ "content_hash": "42514dfa0e7bbf5876f50969c8dac9c8", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 120, "avg_line_length": 37.056338028169016, "alnum_prop": 0.6263778031166857, "repo_name": "hmemcpy/AgentMulder", "id": "a5fbb9b8618b0f174a5a4be610e863bcd8ffdeff", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>T813029780060864512</title> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600"> <link rel="stylesheet" href="/style.css"> <link...
{ "content_hash": "a5d1082d643e7ca71e30da28fb63450e", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 123, "avg_line_length": 34.56, "alnum_prop": 0.6655092592592593, "repo_name": "curtclifton/curtclifton.github.io", "id": "8cedd124b38c87ae6ba9cf3fa24ce3f0a8236f4f", "size":...
package org.jboss.weld.tests.contexts.weld1159; import java.net.SocketTimeoutException; import java.net.URL; import java.util.LinkedList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Ex...
{ "content_hash": "e24359f0e1be90558e88abee3ddf10f2", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 151, "avg_line_length": 32.148148148148145, "alnum_prop": 0.709389400921659, "repo_name": "antoinesd/weld-core", "id": "e0e635fb387eea684b20731d9abf4ff9426870c2", "size": ...
package csc612mcaseproject.models.objects; /** * Created by user on 11/29/2015. */ public class PipelineMapInstruction { String instructionAddress; String instruction; String opcodeHex; Integer ifCycleNumber; Integer idCycleNumber; Integer exCycleNumber; Integer memCycleNumber; Integ...
{ "content_hash": "54f6a1b7df590421bc01a7e3a5c05a70", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 100, "avg_line_length": 22, "alnum_prop": 0.6136363636363636, "repo_name": "SharmaineLim/MIPSCaseProject", "id": "16c97ec13b7a0af67dee2716cc2e80c454f45c5d", "size": "3652"...
<?php class watchProjectTestCaseHelper extends WatchmanTestCase { function runProjectTests($tests, $touch_watchmanconfig = false) { foreach ($tests as $info) { list($touch, $expected_watch, $expect_rel, $expected_pass) = $info; $dir = PhutilDirectoryFixture::newEmptyFixture(); $root = realpath...
{ "content_hash": "86115a1a2e918144275af0b1eeb76bcc", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 77, "avg_line_length": 31.37391304347826, "alnum_prop": 0.5507206208425721, "repo_name": "exponentjs/watchman", "id": "bb5fc4f8383d88fa6b1a9d7cecf8652f95544bd8", "size": "...
package domain.company.vaisabrina; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; /** * Created by emiliano on 7/21/17. */ public class GaleriaActivity extends AppCompatActivity { @Override pro...
{ "content_hash": "4ccdde6519fb25b70d00b5b31c7d95ab", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 99, "avg_line_length": 32.333333333333336, "alnum_prop": 0.7452135493372607, "repo_name": "emilianoeloi/androido", "id": "0ab9e9ba387357b7a00cc138fe4b8bce82c95ec5", "size":...
<!-- Unsafe sample input : get the UserData field of $_SESSION SANITIZE : use of preg_replace File : use of untrusted data in a double quoted property value (CSS) --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute th...
{ "content_hash": "8c388c7ae8161c876c4010173478a6b6", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 75, "avg_line_length": 22.45762711864407, "alnum_prop": 0.7411320754716981, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "4cf97dbf402168739e6adbf9945e7f000555e...
package edu.uci.ics.fuzzyjoin.hadoop; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.Partitioner; public class IntPairPartitionerFirst<V> implements Partitioner<IntPairWritable, V> { public void configure(JobConf job) { } public int getPartition(IntPairWritable key, V...
{ "content_hash": "c049a9387d38b9a7838978c8a931193a", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 78, "avg_line_length": 22.5, "alnum_prop": 0.7283950617283951, "repo_name": "TonyApuzzo/fuzzyjoin", "id": "6fb8305c6f693587ec1bfcb33bf105da8e0cd63d", "size": "1096", "bin...
using System; using System.Collections.Generic; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using DTcms.API.OAuth; using DTcms.Common; namespace DTcms.Web.api.oauth.renren { public partial class return_url : System.Web.UI.Page { protected void Pag...
{ "content_hash": "9c9adf36dac1a0e8c8afb85c988552df", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 136, "avg_line_length": 33, "alnum_prop": 0.5486443381180224, "repo_name": "LutherW/MWMS", "id": "75a05fb6e37b2d5b35db0883f1be75bd08b43792", "size": "2013", "binary": fal...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_45) on Tue Apr 17 08:42:03 IDT 2018 --> <title>com.exlibris.digitool.common.streams</title> <meta name="date" content="2018-04-17"> <link rel="...
{ "content_hash": "9a6f569c2685ba07f38a0af6d05e14b5", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 172, "avg_line_length": 35.605633802816904, "alnum_prop": 0.6220332278481012, "repo_name": "ExLibrisGroup/Rosetta.dps-sdk-projects", "id": "4ec4495013895eefc01c8cf16afae942d...
.element-rotate-90deg { -moz-transform: rotate(90deg); -webkit-transform: rotate(90deg); -o-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); transition: 0.2s; } .element-rotate-180deg { -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); ...
{ "content_hash": "8ef898a8870b37b3d5e9a47e5f3922f3", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 38, "avg_line_length": 25.076923076923077, "alnum_prop": 0.6533742331288344, "repo_name": "crazymousethief/jquery-markview", "id": "05393b90722dd92bb67da18f3a0a6ac0f1cd89ee",...
<?php namespace Installer; use Composer\Script\Event; use Installer\Handlers\CleanerHandler; use Installer\Handlers\ParametersHandler; class Scripts { /** * @param Event $event */ public static function postCreateProjectCmd(Event $event) { self::runHandler($event, new ParametersHandler(...
{ "content_hash": "cfbb091440dd4677ee63acb41a7fb63f", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 88, "avg_line_length": 22.428571428571427, "alnum_prop": 0.6624203821656051, "repo_name": "Edwin-Luijten/mini-symfony", "id": "a15e4838461c691c48a2bc185bddcfce80b18991", "s...
import flatten from './flatten'; /** * A composition of map and flatten. * * Works like map, in that it maps a function over a sequence, * but flattens one level of nested arrays, so that each mapping * can lend multiple results, but still result in a flat list. * * @this Array * @param {Function} fn * @r...
{ "content_hash": "14ff74aff96a87b950f4c8eb757d96e2", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 64, "avg_line_length": 24.352941176470587, "alnum_prop": 0.678743961352657, "repo_name": "zenoamaro/webpage-transcriber", "id": "076cdc66b5ac9160fab52803efad92634816b3a6", ...
const common = require('../common') module.exports = function slowRead(opts) { opts = opts || {} var threshold = +opts.threshold || 1000 var chunkSize = (+opts.chunk || +opts.bps) || 1024 return function slowRead(req, res, next) { var buf = [] var ended = false var closed = false var _push = ...
{ "content_hash": "449f71617b50be989d8fb55aef5948a8", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 65, "avg_line_length": 23.272727272727273, "alnum_prop": 0.603515625, "repo_name": "nwwells/toxy", "id": "39c2e1847442daa9241ca58d5717cbb6212644e1", "size": "1539", "bina...
import sys def trace_exceptions(frame, event, arg): if event != 'exception': return co = frame.f_code func_name = co.co_name line_no = frame.f_lineno exc_type, exc_value, exc_traceback = arg print(('* Tracing exception:\n' '* {} "{}"\n' '* on line {} of {}\n').for...
{ "content_hash": "f7735acbe44e48c023473e41f40632b7", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 53, "avg_line_length": 18.3125, "alnum_prop": 0.5437997724687145, "repo_name": "jasonwee/asus-rt-n14uhp-mrtg", "id": "28d206c0ada968f2d8279c0184f44f1a418757bf", "size": "88...
import { Component, ElementRef, forwardRef, Inject, Injector, OnInit, ViewEncapsulation } from '@angular/core'; import { Router } from '@angular/router'; import { Util } from '../../../util/util'; import { OBarMenuComponent } from '../o-bar-menu.component'; import { DEFAULT_INPUTS_O_BASE_MENU_ITEM, OBaseMenuItemClass ...
{ "content_hash": "9093572dcf67949069ec080a53dcf38c", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 111, "avg_line_length": 26.852941176470587, "alnum_prop": 0.6429353778751369, "repo_name": "OntimizeWeb/ontimize-web-ng2", "id": "a5bd1fd01a2cb0589df058587fe265a2d4468cd0", ...
PY?=python3 PELICAN?=pelican PELICANOPTS= BASEDIR=$(CURDIR) INPUTDIR=$(BASEDIR)/content OUTPUTDIR=$(BASEDIR)/site CONFFILE=$(BASEDIR)/pelicanconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py FTP_HOST=localhost FTP_USER=anonymous FTP_TARGET_DIR=/ SSH_HOST=localhost SSH_PORT=22 SSH_USER=root SSH_TARGET_DIR=/var/www S3_BU...
{ "content_hash": "66fa5b680aca566bbab8d46ebf68a73c", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 159, "avg_line_length": 35.21774193548387, "alnum_prop": 0.5928555072131898, "repo_name": "leetcraft/leetcraft.github.io", "id": "6fc0685769506bc58c40a9b6f9834ccd86a88fd6", ...
package com.hongtu.utils.stream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; /** * 流操作工具类 * Created by hongtu_zang on 2016/8/29. */ public class StreamUtil { /** * 从输入流中获取字符串 */ public static String getString(InputStrea...
{ "content_hash": "803984dc3652a12704b4d06dd5c877d0", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 78, "avg_line_length": 23.966666666666665, "alnum_prop": 0.6022253129346314, "repo_name": "zanghongtu2006/ht_java_utils", "id": "cabd1c7ce55b701e30ab96e43378a1a8dcadb57d", ...
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9) % % Copyright (C) 1993-2011, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % ...
{ "content_hash": "35e67193c8700ca8f77d8f9b788b5005", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 86, "avg_line_length": 32.75675675675676, "alnum_prop": 0.6237623762376238, "repo_name": "queq/robot", "id": "e2b5b82c7dbe5e5ff96292b46a2f2a4e7465cd78", "size": "2424", "...
(function() { $(document).ready(function() { $("#register-form #username").focus(function() { var firstname, lastname; firstname = $("#firstname").val(); lastname = $("#lastname").val(); if (firstname && lastname && !this.value) { return this.value = firstname + "." + lastname; ...
{ "content_hash": "41871a8753d02f5345f516df3b6ffb27", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 99, "avg_line_length": 27.63809523809524, "alnum_prop": 0.48518263266712613, "repo_name": "billyct/sushe", "id": "1be0bc7e1256caed795d3255ea5e2d9693d45047", "size": "2902"...
var Joi = require('joi'); var log = require('server/helpers/logger'); var render = require('server/views/ticket'); var renderUsers = require('server/views/user'); var handlers = module.exports; exports.registerTicket = { tags: ['api','ticket'], auth: { strategies: ['default', 'backup'], scope: ['user', '...
{ "content_hash": "66af9eb302d9a7503b91cf7b04e70f8b", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 126, "avg_line_length": 29.624031007751938, "alnum_prop": 0.6314274499542064, "repo_name": "xicombd/cannon-api", "id": "b9a2a5e9c13226f7bc6539c885c7edef38c690e5", "size": ...
namespace muduo { namespace net { class Channel; /// /// Base class for IO Multiplexing /// /// This class doesn't own the Channel objects. class Poller : noncopyable { public: typedef std::vector<Channel*> ChannelList; Poller(EventLoop* loop); virtual ~Poller(); /// Polls the I/O events. /// Must be cal...
{ "content_hash": "7eb15b1fe32b63fb0d0de63ff5a5fe9a", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 73, "avg_line_length": 20.653846153846153, "alnum_prop": 0.6992551210428305, "repo_name": "westfly/muduo", "id": "089e60bef4f02cfe421a116a5475e2b2b42ecb85", "size": "1547",...
from airflow.contrib.hooks.cassandra_hook import CassandraHook from airflow.sensors.base_sensor_operator import BaseSensorOperator from airflow.utils.decorators import apply_defaults class CassandraRecordSensor(BaseSensorOperator): """ Checks for the existence of a record in a Cassandra cluster. For exam...
{ "content_hash": "090eb9338fa4f996863d531eedb42a7f", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 88, "avg_line_length": 40.69047619047619, "alnum_prop": 0.6512580456407255, "repo_name": "CloverHealth/airflow", "id": "aef66122e90c256683811e9be6b2f9d5f7f156f6", "size": "...
<?php namespace common\models; use yii\behaviors\TimestampBehavior; use yii\db\Expression; use Yii; /** * This is the model class for table "orders". * * @property string $id * @property string $activity_id * @property string $registered_to * @property integer $process_id * @property string $lang_code * @pro...
{ "content_hash": "0f4c0f1eafa25fe2e6d18bb3c33d43a7", "timestamp": "", "source": "github", "line_count": 360, "max_line_length": 313, "avg_line_length": 33.37777777777778, "alnum_prop": 0.5440246338215713, "repo_name": "bokko79/servicemapp", "id": "e5ac8dd832b9de4b5458942f54749f60ccef21cb", "size": ...
'use strict'; // You should actually bother to unit test your command // because that's what responsible developers do. //this is a dummy spec describe('hello_spec', function () { it('should add 1+1 correctly', function (done) { var onePlusOne = 1 + 2; onePlusOne.should.equal(3); // must call done() so that...
{ "content_hash": "75b9ebfdadd7b5d37ff9c6cf76aa41eb", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 62, "avg_line_length": 26.866666666666667, "alnum_prop": 0.6625310173697271, "repo_name": "Sophrinix/ti-sdk-build-hook", "id": "3fc13a66d5772c5d8ea45cecca11af7be5db7d2b", "...
package org.apache.geode.cache.lucene.internal; import static org.apache.geode.cache.lucene.test.LuceneTestUtilities.DEFAULT_FIELD; import static org.junit.Assert.*; import static org.mockito.Mockito.*; import org.junit.Rule; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit....
{ "content_hash": "5ea61d7dd95dfec1741a45d79a3bb5e2", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 84, "avg_line_length": 32.68, "alnum_prop": 0.7545899632802937, "repo_name": "smanvi-pivotal/geode", "id": "ae69ae9e0b71b1fd4317c16d64d6e30bb90aa9d3", "size": "2423", "bi...
package it.polimi.ingsw.game.card.object; import it.polimi.ingsw.game.GameState; import it.polimi.ingsw.game.card.Card; import it.polimi.ingsw.game.player.GamePlayer; import it.polimi.ingsw.game.state.PlayerState; /** Abstract class for a generic Object Card. * Always drawn by a human after using some sorts...
{ "content_hash": "688229892b52204663e15677755e522d", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 69, "avg_line_length": 23.594202898550726, "alnum_prop": 0.5945945945945946, "repo_name": "carpikes/ingsw1-eftaios", "id": "86fd8313a19d54ed63e7d6c3d6ec494810445502", "size...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Function awe_webview_load_html</title> <link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/> <link r...
{ "content_hash": "5d936c420772a19141cdf5eb30e71689", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 238, "avg_line_length": 36.10084033613445, "alnum_prop": 0.5484171322160148, "repo_name": "Circular-Studios/Dash-Docs", "id": "61629614a8e00c4d3f0f752329db59cd16ef7c6d", "...
using System; using System.Collections.Generic; using System.Linq; using CoreAnimation; using Foundation; using UIKit; using SettingsStudio; using XWeather.Clients; using XWeather.Unified; namespace XWeather.iOS { public partial class WeatherPvc : UIPageViewController { List<UITableViewController> Controller...
{ "content_hash": "89858578a781369c6d5bfde1f320bea9", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 166, "avg_line_length": 25.04149377593361, "alnum_prop": 0.7010770505385253, "repo_name": "colbylwilliams/XWeather", "id": "31ad9d61e5fb01d169d19cc0704db598a6a2b4b8", "siz...
var playState = { create: function(){ var background = game.add.sprite(0, 0, 'cidade'); background.width = 1300; background.height = 650; graphics = game.add.graphics(0, 0); groupCidade = game.add.group(); groupCidade.inputEnableChildren = true; var x = 1...
{ "content_hash": "520483ed79352840759b0bd43a7903e4", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 80, "avg_line_length": 24.25, "alnum_prop": 0.5263157894736842, "repo_name": "RenatoMAlves/AnimaSom-Game", "id": "06a713b02c60e5ceacf0cb7904957e7388eb5a4e", "size": "1844",...
package consulo.lombok.processors.impl; import java.util.List; import javax.annotation.Nonnull; import com.intellij.openapi.util.Condition; import com.intellij.psi.*; import com.intellij.psi.impl.light.LightMethod; import com.intellij.psi.impl.light.LightMethodBuilder; import com.intellij.psi.impl.light.LightTypePa...
{ "content_hash": "562105f042404334aa937fab09fb64c8", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 165, "avg_line_length": 31.901515151515152, "alnum_prop": 0.7715507005461886, "repo_name": "consulo/consulo-lombok", "id": "6e485a50c191ad23f724a146bd7219d8eff6fd19", "siz...
import todos, { TodosState } from './todos' import visibilityFilter, { VisibilityFilterState } from './visibilityFilter' import { combineReducers, Reducer } from 'redux' import { Action } from '../actions' export interface State { todos: TodosState visibilityFilter: VisibilityFilterState } const reducer: Reducer<...
{ "content_hash": "87fe3e2f5a9730e52b24ff4da607af58", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 76, "avg_line_length": 25.625, "alnum_prop": 0.7585365853658537, "repo_name": "rpowelll/react-todo", "id": "878f5aa3469dfed701ea6ae0a930bc0ad766e2ce", "size": "410", "bin...