text
stringlengths
2
1.04M
meta
dict
static unsigned int windowNumber = 0; TextPreviewWindow::TextPreviewWindow() { setWindowTitle("Code Viewer"); InitUI(); } void TextPreviewWindow::InitUI() { qtTextEdit = new QTextEdit(this); qtTextEdit->setBaseSize(QSize(300, 200)); qtTextEdit->setReadOnly(true); QFont font; QFontMetrics metrics(font); qtTex...
{ "content_hash": "eca25684fe0bb0cf9082f6bb18857026", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 53, "avg_line_length": 19.571428571428573, "alnum_prop": 0.7390510948905109, "repo_name": "ReDEnergy/GameEngine", "id": "5c46cd3e55ae18b6aa1cddc2204bd032e3f7bffe", "size": ...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
{ "content_hash": "ffc0f43ddb8aa2095ebb700b290b2df9", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 133, "avg_line_length": 40.885245901639344, "alnum_prop": 0.590617481956696, "repo_name": "naveedaz/azure-powershell", "id": "db6b848ae21b039e0782f6b7eb04c22ae4dc089c", "si...
import { EventEmitter } from "events"; import { Duplex, WritableOptions, Writable } from "stream"; import OutgoingFrameStream = require("./OutgoingFrameStream"); declare class Socket extends EventEmitter { constructor(transportSocket: Duplex, options: Socket.SocketOptions); destroy(exception: Error): void; ...
{ "content_hash": "0402c5fdd4fab50e6be8a935ea063ac3", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 89, "avg_line_length": 32.14545454545455, "alnum_prop": 0.7002262443438914, "repo_name": "AgentME/DefinitelyTyped", "id": "ca0023bd59296c4546acdcc5d4462bab3d3341e3", "size"...
package org.apache.geode.cache.lucene.internal.filesystem; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.UUID; import org.apache.geode.internal.DataSerializableFixedID; import org.apache.geode.internal.Version; /** * The key for a single chunk on a file stored w...
{ "content_hash": "d6ab410c3df7d1b759a29149261bc09c", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 81, "avg_line_length": 19.91346153846154, "alnum_prop": 0.6383389666827619, "repo_name": "smanvi-pivotal/geode", "id": "b96f3cf77f5cbc7cc66ad51a8a2fc9376d2c11e2", "size": ...
using System; using Clide; using EnvDTE; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using VSLangProj; public static partial class AdapterFacade { /// <summary> /// Adapts a <see cref="Solution"/> to an <see cref="ISolutionNode"/>. /// </summary> /// <returns>The <s...
{ "content_hash": "7bbcc02afe893b768c5172e78b10b8c4", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 144, "avg_line_length": 53.8, "alnum_prop": 0.6738407356681667, "repo_name": "tondat/clide", "id": "43f9e9ed76f9ffb0cac8c48c3d20df1028d57560", "size": "5113", "binary": f...
/* * http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b...
{ "content_hash": "0b15c755fa1b7e9e4e734b14575b6eaf", "timestamp": "", "source": "github", "line_count": 236, "max_line_length": 492, "avg_line_length": 15.966101694915254, "alnum_prop": 0.6539278131634819, "repo_name": "magiraldooc/gestion-riesgo", "id": "cbc52370c6b23d097d506d315828405d6135543d", ...
package com.metech.firefly.ui.activity.BookingFlight.ManageFamilyAndFriend; import android.os.Bundle; import android.support.v4.app.FragmentManager; import com.metech.firefly.AnalyticsApplication; import com.metech.firefly.MainFragmentActivity; import com.metech.firefly.R; import com.metech.firefly.ui.activity.Fragme...
{ "content_hash": "a0c5503ae3432c0a8d451b3d191bf864", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 126, "avg_line_length": 31.541666666666668, "alnum_prop": 0.7430647291941875, "repo_name": "imalpasha/meV2", "id": "4fd7bdb705cbe8fb755213c1a7f1b155a05ac7ec", "size": "1514...
<?php namespace App\Models\Auth\Traits\Method; /** * Trait UserMethod. */ trait UserMethod { /** * @return mixed */ public function canChangeEmail() { return config('access.users.change_email'); } /** * @return bool */ public function canChangePassword() { ...
{ "content_hash": "c54cf545747434a6b70b772bd6e04ce2", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 92, "avg_line_length": 20.465346534653467, "alnum_prop": 0.5050798258345428, "repo_name": "openadult/oats", "id": "3619ec85ed3664c83b5547c9c3910e64b3110d37", "size": "2067...
define( [ //core 'jquery', 'underscore', 'backbone', //dmb 'dbm', //global config 'cfg' ], function($,_, Backbone, dbm, cfg) { //define & return module return { //define props participantMode...
{ "content_hash": "1e6b64046ad9f236498d9dc98984df8c", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 134, "avg_line_length": 38.61490683229814, "alnum_prop": 0.4410487373331189, "repo_name": "alkaest2002/gzts-lab", "id": "ab9a7ee7ef91b5a2f4ca1e151ac6834d0c42c041", "size":...
package com.idehub.GoogleAnalyticsBridge; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContextBaseJavaModule; import com.facebook.react.bridge.ReactMethod; import com.facebook.react.bridge.ReadableMap; import com.facebook.react.bridge.ReadableArray; import com.faceboo...
{ "content_hash": "3754faf0b689505e95af7ac5dd0ba3c1", "timestamp": "", "source": "github", "line_count": 383, "max_line_length": 217, "avg_line_length": 33.14099216710183, "alnum_prop": 0.6243598834002994, "repo_name": "weatherfordmat/YorViewReactNative", "id": "a566e53d3f9fd40d652e03d261931e0ad2ef7a9...
#include <boost/program_options.hpp> #include <boost/progress.hpp> #include <boost/format.hpp> #include <boost/timer.hpp> #include <lshkit.h> /** * \file apost-run.cpp * \brief Example of using A Posteriori MPLSH. * * This program is an example of using A Posteriori MPLSH index. * * You need to run this ...
{ "content_hash": "217dd75679c98e3b30914c42beb3bce3", "timestamp": "", "source": "github", "line_count": 286, "max_line_length": 115, "avg_line_length": 34.54895104895105, "alnum_prop": 0.5204938771379415, "repo_name": "BinSigma/BinClone", "id": "8f87836eb11a5825a631cdc4441f908030ccc98f", "size": "1...
package LinkedLists; // Implementation of a double linked node from a double linked list // Java 8 // Aitor Alonso (https://github.com/tairosonloa) public class DNode { public Object elem; public DNode prev; public DNode next; public DNode(Object elem) { this.elem = elem; } }
{ "content_hash": "ef4971109d6a8ed707a1eada29faf5ca", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 67, "avg_line_length": 17.9375, "alnum_prop": 0.7247386759581882, "repo_name": "CodersForLife/Data-Structures-Algorithms", "id": "0339dda532fc0f71a2542ab0b82d1a6495a70533", ...
@interface UIFont (Molle) + (instancetype)molleRegularFontOfSize:(CGFloat)size; @end
{ "content_hash": "10b39c92f7a1c64f6449deba56ec8552", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 53, "avg_line_length": 14.666666666666666, "alnum_prop": 0.7727272727272727, "repo_name": "parakeety/GoogleFontsiOS", "id": "adcddc3a107e1c5c918bfe8e9b13fc54cefcc6a4", "size...
from __future__ import print_function from __future__ import absolute_import from __future__ import division import compas_rhino from compas.geometry import add_vectors from compas.artists import PrimitiveArtist from compas.colors import Color from .artist import RhinoArtist class CircleArtist(RhinoArtist, Primitive...
{ "content_hash": "e1236ff6499742f88bb5878c64740131", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 107, "avg_line_length": 34.20253164556962, "alnum_prop": 0.5684678016284234, "repo_name": "compas-dev/compas", "id": "48755a94bf7d86282e9069c6e4699b2b81884857", "size": "27...
require "chef/provider/apt_update" require "chef/provider/apt_preference" require "chef/provider/apt_repository" require "chef/provider/batch" require "chef/provider/cookbook_file" require "chef/provider/cron" require "chef/provider/cron/solaris" require "chef/provider/cron/aix" require "chef/provider/deploy" require "...
{ "content_hash": "ca9ddf5432743c76c70aea115908f495", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 48, "avg_line_length": 34.10294117647059, "alnum_prop": 0.8111254851228978, "repo_name": "Kast0rTr0y/chef", "id": "a3332477e78554f97f6c62698c34ae26444e63ff", "size": "5324...
/* Includes ------------------------------------------------------------------*/ #include "stm32f7xx_hal.h" /** @addtogroup STM32F7xx_HAL_Driver * @{ */ /** @defgroup LTDCEx LTDCEx * @brief LTDC HAL module driver * @{ */ #ifdef HAL_LTDC_MODULE_ENABLED /* Private typedef ---------------------------------...
{ "content_hash": "137daa3ee96252975efeded9cee2e8f8", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 148, "avg_line_length": 41.86614173228347, "alnum_prop": 0.6103065638517962, "repo_name": "mlaz/mynewt-core", "id": "f8c421db1476c586a920f4c70a0d0d079a62c159", "size": "73...
@implementation SCAPIClient (Class) - (NSURLSessionDataTask *)getClassesWithCompletion:(SCAPICompletionBlock)completion { return [self getTaskWithPath:@"classes/" params:nil completion:completion]; } @end
{ "content_hash": "4c04d472d405f5f6a18b7874b6847ea1", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 85, "avg_line_length": 41.8, "alnum_prop": 0.8038277511961722, "repo_name": "lifcio/youtube-app-syncano", "id": "2c8c7ab76852f65dab77fce8a6098ec51beedc51", "size": "386", ...
<?php namespace Tomahawk\Forms\Element; class TextArea extends Element { public function __construct($name, $value = null) { $this->name = $name; } /** * @param array $attributes * @return mixed */ public function render(array $attributes = array()) { $current...
{ "content_hash": "99e43f711470d497cce8ad0b81cd047c", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 120, "avg_line_length": 21.178571428571427, "alnum_prop": 0.5750421585160203, "repo_name": "tomahawkphp/framework", "id": "68e97ff6ec0b8bdc46f22a9dc7cf0c88ff811322", "size"...
title: <%= hoc_s(:title_press_kit) %> layout: wide nav: promote_nav --- <%= view :signup_button %> ## How to attract media to your Hour of Code event *For all press and media inquiries, contact [press@code.org](mailto:press@code.org)* ### Key Tips - Reach out to media two weeks before your event via email. Follow ...
{ "content_hash": "9c0002d29a223987062296a89882f7bc", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 840, "avg_line_length": 75.62903225806451, "alnum_prop": 0.7645553422904671, "repo_name": "dillia23/code-dot-org", "id": "d874f025353a7984532b4a3c03a8412551700845", "size":...
"""The tests for Roller shutter platforms."""
{ "content_hash": "7ca625ffb1150ae72deec0a581783df6", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 45, "avg_line_length": 46, "alnum_prop": 0.717391304347826, "repo_name": "Julian/home-assistant", "id": "4fc6ddee8a9e6afdc57fbda698c8df2d68025057", "size": "46", "binary":...
package io.milton.dns.record; import io.milton.dns.Name; import io.milton.dns.record.DNSSEC.Algorithm; import io.milton.dns.utils.base64; import java.io.*; import io.milton.dns.utils.*; /** * Certificate Record - Stores a certificate associated with a name. The * certificate might also be associat...
{ "content_hash": "ae7a0082f4eae598105ff817c3564440", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 74, "avg_line_length": 23.289473684210527, "alnum_prop": 0.6651600753295669, "repo_name": "skoulouzis/lobcder", "id": "cc508237a51e75cfdb6508f69d35598b1fa5c173", "size": "...
<div class="modal-header"> <button type="button" ng-click="close()" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><i class="fa fa-fw fa-close"></i></span></button> <h4 class="modal-title" id="myModalLabel"><i class="fa fa-code"></i> Add view from serialized JSON</h4> </div> ...
{ "content_hash": "1de2491332978034e8aea53466dfc3c0", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 173, "avg_line_length": 49.529411764705884, "alnum_prop": 0.6460807600950119, "repo_name": "gribanov-d/cubesviewer", "id": "9792b27ce240a8f6e704114e62425f4badcad29e", "size...
const gulp = require('gulp'); const browserify = require('browserify'); const sourcemaps = require('gulp-sourcemaps'); const imagemin = require('gulp-imagemin'); const sequence = require('gulp-sequence').use(gulp); const del = require('del'); const browserSync = require('browser-sync'); const uglifyjs = require('uglify...
{ "content_hash": "cacde31acbef08cdfc0677c78e367340", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 123, "avg_line_length": 28.369791666666668, "alnum_prop": 0.594272076372315, "repo_name": "endquote/VideoGallery", "id": "6c111ad2792209c7b06ef756507c3446d276c3a8", "size"...
package starbound import ( "encoding/binary" "errors" "io" ) var ( ErrDidNotReachLeaf = errors.New("starbound: did not reach a leaf node") ErrInvalidData = errors.New("starbound: data appears to be corrupt") ErrInvalidKeyLength = errors.New("starbound: invalid key length") ErrKeyNotFound = errors.Ne...
{ "content_hash": "03498e301f29f4aecea296e9fc723101", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 79, "avg_line_length": 24.302325581395348, "alnum_prop": 0.6660287081339713, "repo_name": "blixt/go-starbound", "id": "3c35c37538ae63322bf155f4efb3ea483bd83796", "size": "2...
from django.core.management.base import BaseCommand from django.utils.translation import ugettext_lazy from onadata.apps.logger.models.instance import Instance from onadata.apps.viewer.models.parsed_instance import xform_instances,\ datetime_from_str from onadata.libs.utils.common_tags import DELETEDAT, ID class...
{ "content_hash": "5353fdaff9f0f11fe51512c505b43a4d", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 78, "avg_line_length": 38.76, "alnum_prop": 0.6150670794633643, "repo_name": "piqoni/onadata", "id": "273b80a56e63b8d1f44b36f29e118ebf6ab91635", "size": "969", "binary": ...
package com.fishercoder.solutions; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; public class _819 { public static class Solution1 { public String mostCommonWord(String paragraph, String[] banned) { Set<String> bannedSe...
{ "content_hash": "71ccc5c091cc3048dee6cfd43dc4d41b", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 96, "avg_line_length": 34.206896551724135, "alnum_prop": 0.5292338709677419, "repo_name": "fishercoder1534/Leetcode", "id": "512759ed03927f914b01c9b8f6b92dd0653993fd", "siz...
static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // COrganisationSet IMPLEMENT_DYNAMIC(COrganisationSet, CRecordsetEx) COrganisationSet::COrganisationSet(CDatabase* pdb) : CRecordsetEx(pdb) { //{{AFX_FIELD_INIT(COrganisationSet) m_OrgID = 0; ...
{ "content_hash": "49957f329270fb1e2c6d3d94731fab15", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 86, "avg_line_length": 27.597560975609756, "alnum_prop": 0.6133451171011931, "repo_name": "darianbridge/WebAthl", "id": "ade26bd0a903a7fadd8832344be577cd11a2a5bf", "size": ...
using System; using System.Collections.Generic; using MagicLockScreen_Service_ImageSearchService.Models; using NoteOne_Core.Common; using NoteOne_Utility.Extensions; namespace MagicLockScreen_Service_ImageSearchService.Results { public class GoogleImageSearchResult : QueryResult { public GoogleImageSe...
{ "content_hash": "9d020582dcc9998dece314cbd1a0d875", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 118, "avg_line_length": 42.101851851851855, "alnum_prop": 0.4756982625907192, "repo_name": "Jarrey/MagicLockScreen", "id": "49321123158225d68e8b07253feb8078d72536d1", "siz...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace GitTutorialVS.Controllers { public class teste2Controller : Controller { // GET: teste2 public ActionResult Index() { //code to teste tes te 2 //olao...
{ "content_hash": "9ff1ce59b69635bf5ea3498eabee9b83", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 46, "avg_line_length": 19.68421052631579, "alnum_prop": 0.6016042780748663, "repo_name": "NanoMania/GitRepoVisualStudio", "id": "5dc4ef53d420f901cccdeb25a7f0a9d02a27d764", ...
package com.facebook.buck.shell; import com.facebook.buck.core.description.BuildRuleParams; import com.facebook.buck.core.description.arg.CommonDescriptionArg; import com.facebook.buck.core.exceptions.HumanReadableException; import com.facebook.buck.core.model.BuildTarget; import com.facebook.buck.core.model.targetg...
{ "content_hash": "55a879ad578c572125321fa9ba41d8bf", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 100, "avg_line_length": 37.46, "alnum_prop": 0.7696209289909236, "repo_name": "LegNeato/buck", "id": "568f02ea32592118c261a3a3ae2fe6e33f2360c0", "size": "4351", "binary"...
import React from 'react'; export default ({ className = '', ...props }) => ( <i className={`${className} fa fa-th`} {...props} /> );
{ "content_hash": "90fa8bc83b009954e4292a9e62a784e3", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 54, "avg_line_length": 27.4, "alnum_prop": 0.5620437956204379, "repo_name": "NCI-GDC/portal-ui", "id": "808806684d3592b2df869892a70814f25ff95d68", "size": "146", "binary":...
[![Gem Version](https://badge.fury.io/rb/has_wysiwyg_content.png)](http://badge.fury.io/rb/has_wysiwyg_content) ## Installation Add this line to your application's Gemfile: gem 'has_wysiwyg_content' And then execute: $ bundle Or install it yourself as: $ gem install has_wysiwyg_content ## Usage TBD...
{ "content_hash": "93a5f37e7ccc4a4a428f7bbdfbc6b86d", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 111, "avg_line_length": 20.85185185185185, "alnum_prop": 0.7069271758436945, "repo_name": "phallstrom/has_wysiwyg_content", "id": "9c70326addb6cff0c4787ba6a41080d496180b05", ...
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization.Json; using System.Text; using System.Xml; using Orchard.Environment.Extensions; namespace Piedone.HelpfulLibraries.Serialization { [OrchardFeature("Piedone.H...
{ "content_hash": "b8fc0a2f9908f4ed0df8ed26d4adc165", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 117, "avg_line_length": 34.97872340425532, "alnum_prop": 0.5742092457420924, "repo_name": "CloudMetal/CloudMetal-Pipeline-Deploy", "id": "8cdd66000be9100141b965fcafaeebd63faa...
// (C) Copyright 2015 Martin Dougiamas // // 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...
{ "content_hash": "c85c93253b22a0e9df3ab192d992b46a", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 130, "avg_line_length": 35.32972972972973, "alnum_prop": 0.5835373317013464, "repo_name": "stywithme/App", "id": "fde9e23319447717c06dfb5d431a0f5a1d8018be", "size": "6536"...
3.0.3 Release Notes =================== Channels 3.0.3 fixes a security issue in Channels 3.0.2 CVE-2020-35681: Potential leakage of session identifiers using legacy ``AsgiHandler`` ------------------------------------------------------------------------------------- The legacy ``channels.http.AsgiHandler`` class, u...
{ "content_hash": "89295c0b670664fabaaac0e4203941f4", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 85, "avg_line_length": 39.925925925925924, "alnum_prop": 0.7161410018552876, "repo_name": "andrewgodwin/django-channels", "id": "1f1e041efda684660486fe3385bc2b5ea3f91633", ...
<!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_92) on Sat Jul 02 22:07:38 EEST 2016 --> <title>TimeoutService</title> <meta name="date" content="2016-07-02"> <link rel="stylesheet" type="tex...
{ "content_hash": "a80a1db33cd5cad4260a84fe31036656", "timestamp": "", "source": "github", "line_count": 327, "max_line_length": 391, "avg_line_length": 34.7737003058104, "alnum_prop": 0.6593087679183889, "repo_name": "PauliNiva/Sotechat", "id": "b98c621459c95a48e22ab09be79aaaea062404b0", "size": "1...
<!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 (version 1.7.0_51) on Thu Apr 28 18:37:28 UTC 2016 --> <title>Maps (apache-cassandra API)</title> <meta name="date" content="2016-04-28"> <link rel="s...
{ "content_hash": "d3e8466f150dbcbebdb826cd310503a7", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 346, "avg_line_length": 41.37676056338028, "alnum_prop": 0.652710407624883, "repo_name": "elisska/cloudera-cassandra", "id": "1612c69133f8cea3d253ec1225a1aad02f088e03", "s...
<!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_25) on Sun Nov 09 22:45:59 SGT 2014 --> <title>EventItem</title> <meta name="date" content="2014-11-09"> <link rel="stylesheet" type="text/css"...
{ "content_hash": "13ce255655b822e1a4efdbf78e886dbe", "timestamp": "", "source": "github", "line_count": 686, "max_line_length": 933, "avg_line_length": 50.424198250728864, "alnum_prop": 0.6790783729871932, "repo_name": "cs2103aug2014-w13-2j/main", "id": "17ec57083c7c39ef12a5e391da57fa6d61a92c74", "...
package spaces import ( "encoding/json" "fmt" "net/url" "strings" "github.com/cloudfoundry/cli/cf/api/resources" "github.com/cloudfoundry/cli/cf/configuration/coreconfig" "github.com/cloudfoundry/cli/cf/errors" "github.com/cloudfoundry/cli/cf/models" "github.com/cloudfoundry/cli/cf/net" ) //go:generate coun...
{ "content_hash": "adb2dfd08c833f12a84a4ccbd93a4b7e", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 132, "avg_line_length": 34.41818181818182, "alnum_prop": 0.7588483888008453, "repo_name": "seijimatsuda/CF-CLI", "id": "8577087f6fc1695d9c0e8b52fbae5dba9ca36030", "size": ...
[![License][license]][license-url] [license-url]: http://choosealicense.com/licenses/mit/ [license]: https://img.shields.io/github/license/mashape/apistatus.svg # Ansible & Cloud Formation automation for creating Highly-Available Docker Swarm clusters on AWS Scalable Docker Swarm cluster deployment using the combina...
{ "content_hash": "b9267acdf84ad6801ca22dfb98d8f7b3", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 270, "avg_line_length": 48.333333333333336, "alnum_prop": 0.7788505747126436, "repo_name": "Mashape/aws-docker-swarm-cluster-deployer", "id": "07de048f116a5a22a1b7e933802d4c3...
Mithril::Engine.routes.draw do root :to => 'forums#index' end
{ "content_hash": "da2a0ca4bf06d7f4860bf43e427af5c5", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 30, "avg_line_length": 21.333333333333332, "alnum_prop": 0.703125, "repo_name": "imanel/mithril", "id": "8c71fb0a817201cee345c42940ba23ce22073671", "size": "64", "binary":...
from shop.models.productmodel import Product from shop.views import ShopDetailView class ProductDetailView(ShopDetailView): """ This view handles displaying the right template for the subclasses of Product. It will look for a template at the normal (conventional) place, but will fallback to using ...
{ "content_hash": "c434d22488b96b0eccd4e2a37166c738", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 76, "avg_line_length": 39.421052631578945, "alnum_prop": 0.7156208277703605, "repo_name": "ojii/django-shop", "id": "39be2b61257c71964db948eb3cae8d355121589a", "size": "773...
/* * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS...
{ "content_hash": "02bb830e9b29964c1802ca28e0629aee", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 100, "avg_line_length": 39.45070422535211, "alnum_prop": 0.7700821135308819, "repo_name": "weiwenqiang/GitHub", "id": "59cf10cf4f8e9b53710e38f4033b038c31952618", "size": "2...
package liquibase.change.core; import liquibase.change.*; import liquibase.changelog.ChangeLogParameters; import liquibase.configuration.GlobalConfiguration; import liquibase.configuration.LiquibaseConfiguration; import liquibase.database.Database; import liquibase.database.DatabaseList; import liquibase.database.core...
{ "content_hash": "85378b5ce4d392bece925e8e64028107", "timestamp": "", "source": "github", "line_count": 318, "max_line_length": 692, "avg_line_length": 36.68867924528302, "alnum_prop": 0.6571526527813492, "repo_name": "Datical/liquibase", "id": "fcce81ea1ddf5a7f2802d707da4fa61dd74490e7", "size": "1...
package org.uberfire.backend.server.impl; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.event.Observes; import javax.inject.Inject; import org.picketlink.authentication.event.PreAuthenticateEvent; import org.picketlink.idm.IdentityManager; import org.picketlink.idm.PartitionManager; impo...
{ "content_hash": "4d650b451ed8450e88326351777b56a7", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 101, "avg_line_length": 31.19402985074627, "alnum_prop": 0.6909090909090909, "repo_name": "psiroky/uberfire", "id": "aaea0519a1659351c882e83b940c825965665740", "size": "271...
package org.apache.camel.issues; import org.apache.camel.CamelContext; import org.apache.camel.ContextTestSupport; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.spi.CamelEvent; import org.apache.camel.spi.CamelEvent.ExchangeS...
{ "content_hash": "43b8c3cee76033581a7f610fa849f4d3", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 87, "avg_line_length": 29.50980392156863, "alnum_prop": 0.6318936877076412, "repo_name": "objectiser/camel", "id": "81ccbe1e69ea5ead23a8406bedae5bc005f1c2a3", "size": "381...
#import <sys/socket.h> #import <netinet/in.h> #import <netinet6/in6.h> #import <arpa/inet.h> #import <ifaddrs.h> #import <netdb.h> #import "mach/mach_time.h" #import <Foundation/Foundation.h> #import <SystemConfiguration/SystemConfiguration.h> #import "STKAutoRecoveringHTTPDataSource.h" #define DEFAULT_WATCHDOG_PERI...
{ "content_hash": "b9cf60934be0a24ae3599badc868880a", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 162, "avg_line_length": 23.44289693593315, "alnum_prop": 0.6707461977186312, "repo_name": "gilcreque/nvisible-iphone", "id": "37fa5e5a936717a40c796f87a62d22161e242923", "s...
/*can@2.2.7#map/lazy/bubble*/ var can = require('../../util/util.js'); require('../bubble.js'); var bubble = can.bubble; module.exports = can.extend({}, bubble, { childrenOf: function (parentMap, eventName) { if (parentMap._nestedReference) { parentMap._nestedReference.each(function (child, re...
{ "content_hash": "0fb3a3fa905fe9dc13b365fb6c89f6d2", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 72, "avg_line_length": 29.473684210526315, "alnum_prop": 0.5303571428571429, "repo_name": "swape/hapi-canjs-gulp", "id": "5c08886b0f2a3c8265345bf0288129a02192c5fd", "size":...
package com.fleury.metrics.agent.transformer.visitors; import static com.fleury.metrics.agent.transformer.util.AnnotationUtil.checkSignature; import static org.objectweb.asm.Opcodes.ASM5; import com.fleury.metrics.agent.config.Configuration; import com.fleury.metrics.agent.model.MetricType; import org.objectweb.asm.A...
{ "content_hash": "15911d4cf5502cdf34d487539f5f1a82", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 120, "avg_line_length": 30.644444444444446, "alnum_prop": 0.7302393038433648, "repo_name": "willfleury/metrics-agent", "id": "24fee6a8ef29d6b796b38ecdf9bff9bf9f16228f", "si...
<?php /** Zend_Search_Lucene_Storage_Directory */ //require_once 'Zend/Search/Lucene/Storage/Directory.php'; /** * FileSystem implementation of Directory abstraction. * * @category Zend * @package Zend_Search_Lucene * @subpackage Storage * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (...
{ "content_hash": "bd1a36ef96f6b923522f7248b006c761", "timestamp": "", "source": "github", "line_count": 345, "max_line_length": 131, "avg_line_length": 27.76231884057971, "alnum_prop": 0.5591981624556275, "repo_name": "acharzuo/ciguang-gongke", "id": "5d85585214ebf43b18ce27767d5cb6657c2ddec4", "siz...
namespace dbus { class MethodCall; } namespace chromeos { // This class exports a D-Bus method that libvda will call to establish a // mojo pipe to the VideoAcceleratorFactory interface. class LibvdaServiceProvider : public CrosDBusService::ServiceProviderInterface { public: LibvdaServiceProvider(); ~LibvdaServi...
{ "content_hash": "3aa3d8eee85b936d41efbe472b153951", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 80, "avg_line_length": 33.04545454545455, "alnum_prop": 0.7414030261348006, "repo_name": "endlessm/chromium-browser", "id": "c414a98f90f8c79c0ed1f60637ff31823bd5c22e", "siz...
<html> <head> <title>RadioTime.js example</title> <script> //<!-- var partnerId = 'Fz$khfEf'; //Register your own at http://RadioTime.com/services.aspx //--> </script> <style> #example { max-width: 900px } #results { float: left; min-width: 400px; } #stations li { border-left: 3px s...
{ "content_hash": "891af3a967f15d54d7f6a64ba72f55cf", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 165, "avg_line_length": 31.333333333333332, "alnum_prop": 0.6347517730496454, "repo_name": "iMarck/radiotime-tools", "id": "2e9012711326434c81b1d55e882c8e7b508af021", "siz...
'use strict'; module.exports = function(grunt) { grunt.registerMultiTask('cssshrink', 'Shrinks css.', function() { // Require stuff var cssshrink = require('cssshrink'); var path = require('path'); var error = true; // Default options var options = this.options({ log: false, ...
{ "content_hash": "725e9c10653e6158037f0a73af8e5ed6", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 67, "avg_line_length": 19.554054054054053, "alnum_prop": 0.5342087076710436, "repo_name": "JohnCashmore/grunt-cssshrink", "id": "2a40049bbf6d40a2c8733604414cb009719f19ac", ...
#include "config.h" #include "platform/fonts/UTF16TextIterator.h" #include <unicode/unorm.h> using namespace WTF; using namespace Unicode; namespace blink { UTF16TextIterator::UTF16TextIterator(const UChar* characters, int length) : m_characters(characters) , m_charactersEnd(characters + length) , m_o...
{ "content_hash": "952f86034d72bf4ce9726ce7ea86b8ee", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 116, "avg_line_length": 30.78846153846154, "alnum_prop": 0.6733291692692067, "repo_name": "smishenk/blink-crosswalk", "id": "c86c3cf5e4a5df2e193bd83eb68d13d9303b5fcf", "si...
const pkg = require('../../../package') const path = require('path') const cwd = path.resolve(__dirname, '../../../') module.exports = { hosts: [], pm2: { /** * Application configuration section * http://pm2.keymetrics.io/docs/usage/application-declaration/ */ apps: [ { name: `${p...
{ "content_hash": "11328420b7cac59e9462a22eb1e7edae", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 66, "avg_line_length": 21.32, "alnum_prop": 0.5046904315196998, "repo_name": "garbin/koapp", "id": "6659c003ca2c8de2c7db9bdaa945e9daf23b7e58", "size": "533", "binary": fa...
package backtype.storm.hooks.info; public class SpoutFailInfo { public Object messageId; public int spoutTaskId; public Long failLatencyMs; // null if it wasn't sampled public SpoutFailInfo(Object messageId, int spoutTaskId, Long failLatencyMs) { this.messageId = messageId; this.spoutTaskId = spoutTa...
{ "content_hash": "9b526ed3bd3acbe801ca8a9eea2f8daf", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 78, "avg_line_length": 28.692307692307693, "alnum_prop": 0.7506702412868632, "repo_name": "songtk/learn_jstorm", "id": "8052b4a3f6da440d48c90fa7b110dbf7c894b2c3", "size": "...
/** * */ package org.zzz.jds.task; import java.util.UUID; /** * @author ming luo * */ public class CompletionMessage { UUID id; public CompletionMessage(UUID uuid) { id = uuid; } public UUID getFromUUID() { return id; } }
{ "content_hash": "76a8863c4a2695bcce593a6ee3c8fd05", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 41, "avg_line_length": 12.714285714285714, "alnum_prop": 0.5655430711610487, "repo_name": "zzzming/java-dag-scheduler", "id": "1fdbfecf372be8760322b7687717675dc2faf787", "s...
import * as asn1js from "asn1js"; import { getParametersValue, clearProps } from "pvutils"; import AlgorithmIdentifier from "./AlgorithmIdentifier.js"; //************************************************************************************** /** * Class from RFC3447 */ export default class RSAESOAEPParams { ...
{ "content_hash": "097b4fa8c6a640dd202834fbcfc0693c", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 235, "avg_line_length": 31.019607843137255, "alnum_prop": 0.5805309734513274, "repo_name": "GlobalSign/PKI.js", "id": "8b76592a2906dba2cee9332d819de13736fa14d2", "size": "...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <corners android:radius="50dp" /> <!--<stroke--> <!--android:width="1dp"--> <!--android:color="@color/notify_red" />--> <solid android:color="@color/...
{ "content_hash": "2b40e176e12f90344df683cdbd6bf3e5", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 65, "avg_line_length": 31.8, "alnum_prop": 0.5576519916142557, "repo_name": "denvey/discuz_Android", "id": "f67ccf1644d9928ba36875662d942675d10ce3e6", "size": "477", "bin...
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var HardwareKeyboardCapslock = React.createClass({ displayName: 'HardwareKeyboardCapslock', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M12...
{ "content_hash": "91d70d9feb614123f519ba4571cbb250", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 112, "avg_line_length": 23.63157894736842, "alnum_prop": 0.6703786191536748, "repo_name": "checkraiser/material-ui2", "id": "3d311c373d15fbe4bd3cfab99c2456c2f901cdd0", "siz...
<!-- Unsafe sample input : use proc_open to read /tmp/tainted.txt Uses a number_int_filter via filter_var function File : unsafe, use of untrusted data in CSS --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this s...
{ "content_hash": "0cc772734c4173ea0101da056dce5cd5", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 83, "avg_line_length": 23.493333333333332, "alnum_prop": 0.7202043132803633, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "591ec545a95cffc4ae5d8de75ee7568791fd...
#include <errno.h> #include <openssl/evp.h> #include <openssl/rand.h> #include <openssl/buffer.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef WIN32 # include <process.h> # ifndef __cplusplus # define bool char # define true 1 # define false 0 # endif # define snprintf ...
{ "content_hash": "7bfc3b9dcc5a7f76d48b0167361ef8e5", "timestamp": "", "source": "github", "line_count": 456, "max_line_length": 103, "avg_line_length": 21.82017543859649, "alnum_prop": 0.6418090452261307, "repo_name": "zhkzyth/better-mosquitto", "id": "47e19a6bd9994ea9afca29bc9f548442d9d629d9", "si...
title: 'Get Local Task Variable (Binary)' weight: 250 menu: main: name: "Get (Binary)" identifier: "rest-api-task-get-local-variable-binary" parent: "rest-api-task-local-variables" pre: "GET `/task/{id}/localVariables/{varName}/data`" --- Retrieves a binary variable from the context of a given tas...
{ "content_hash": "3d74023371cf23a84a493de6174725a7", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 203, "avg_line_length": 25.402439024390244, "alnum_prop": 0.6783485357657225, "repo_name": "holisticon/camunda-bpm-swagger", "id": "cc866277f7c0d0ff8a384ab7c36e85ec0787cf48",...
<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <build> ...
{ "content_hash": "6ed8c75096f2cbbed864e6eb27c960ac", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 108, "avg_line_length": 28.214285714285715, "alnum_prop": 0.5305605786618445, "repo_name": "Xadro3/FireBot9K", "id": "2c99055aa7ad5d577e7f584861112d8658148ab3", "size": "27...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration debug="false" xmlns:log4j='http://jakarta.apache.org/log4j/'> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.PatternLayout"> <param name="Conv...
{ "content_hash": "37dfbe7ddcf90233b707ba642f6b5c18", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 68, "avg_line_length": 29.666666666666668, "alnum_prop": 0.6479400749063671, "repo_name": "synthetichealth/synthea", "id": "83f2f7623dce27d6a19fdec9fadf986b035aef1d", "size...
The system catalog table `pg_foreign_server` stores foreign server definitions. A foreign server describes a source of external data, such as a remote server. You access a foreign server via a foreign-data wrapper. |column|type|references|description| |------|----|----------|-----------| |`srvname`|name| |Name of the ...
{ "content_hash": "00a88126beefbe65747da2380333f69f", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 214, "avg_line_length": 66, "alnum_prop": 0.7132034632034632, "repo_name": "50wu/gpdb", "id": "160a513bb19ab6edf72828801973794a8d8e53fd", "size": "951", "binary": false, ...
Bloop: DynamoDB Modeling ^^^^^^^^^^^^^^^^^^^^^^^^ DynamoDB's concurrency model is great, but using it correctly is tedious and unforgiving. `Bloop manages that complexity for you.`__ Requires Python 3.6+ __ https://gist.github.com/numberoverzero/9584cfc375de0e087c8e1ae35ab8559c ========== Features ========== * Si...
{ "content_hash": "450734b5303ac15b8a45aa5b54fb1404", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 110, "avg_line_length": 20.410714285714285, "alnum_prop": 0.6356080489938758, "repo_name": "numberoverzero/bloop", "id": "40cfb065bc10069f83bb3fdc8f863617007c5ad1", "size"...
package br.ufpe.cin.aac3.gryphon; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URI; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.commons.io.FileUtils; import org.apache.log4j.PropertyConfigurator; import org.openrd...
{ "content_hash": "218396b9b7656c9995d23b2d2d632f6d", "timestamp": "", "source": "github", "line_count": 353, "max_line_length": 294, "avg_line_length": 32.12747875354108, "alnum_prop": 0.693765981835817, "repo_name": "eudesf/GryphonFramework", "id": "90e8895e46672ecace6fff3da480a253a0cb2552", "size...
<!DOCTYPE html> <html lang="ja"> <head> <title>距離測定 - Yahoo! JavaScriptマップAPI</title> <meta charset="utf-8"> </head> <body> <h1>距離測定</h1> <div style="width:640px; height:480px; position:relative; margin:8px;"> <div id="map" style="width:640px; height:480px;"></div> <canvas id="canvas" width="640" height="480" style="po...
{ "content_hash": "f0cc879f68c3f43f977e051d2b54f27e", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 200, "avg_line_length": 34.5625, "alnum_prop": 0.5795660036166366, "repo_name": "yahoojapan/yolp-jsapi-samples", "id": "aea1df6db4d6a26d801b89f421c325e83c4a3873", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in Hooker's J. Bot. Kew Gard. Misc. 1:241. 1849 #### Original name null ### Remarks null
{ "content_hash": "0c659c6aa8642b932a85e0bfc3c4fc49", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 12.76923076923077, "alnum_prop": 0.6927710843373494, "repo_name": "mdoering/backbone", "id": "8b89a78c2c83ff12c9cb2cc0c9377a3d5f3aa198", "size": "224...
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Class ListeningPointsOfInterestProximityProbe | Sensus Documentation </title> <meta name="viewport" content="width=device-width"> <me...
{ "content_hash": "40b174ce676c4f58450a24c093d337a2", "timestamp": "", "source": "github", "line_count": 576, "max_line_length": 302, "avg_line_length": 47.333333333333336, "alnum_prop": 0.6730853873239436, "repo_name": "jtb8vm/sensus", "id": "8a7d9451fec5597df67dd4ffdb612824d8afb91a", "size": "2726...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
{ "content_hash": "825ae5128e1ab623cb0a541e84272fbf", "timestamp": "", "source": "github", "line_count": 515, "max_line_length": 99, "avg_line_length": 35.592233009708735, "alnum_prop": 0.54506273867976, "repo_name": "saurabhthink07/VitoWeb", "id": "cf4d59e3c85c63ffea4b6e54cb6c9be91626b935", "size":...
from conf import settings from core import accounts from core import logger #transaction logger def make_transaction(log_obj,account_data,tran_type,amount,**others): ''' deal all the user transactions :param account_data: user account data :param tran_type: transaction type :param amount: transact...
{ "content_hash": "c0f5e401dfc05a9d189bc767826801fa", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 117, "avg_line_length": 42.611111111111114, "alnum_prop": 0.622555410691004, "repo_name": "dianshen/python_day", "id": "1144e04a82ae3f3a2ca6d00601b65757ec5d1cbb", "size": "...
// minimal template polyfill (function() { 'use strict'; var needsTemplate = (typeof HTMLTemplateElement === 'undefined'); var brokenDocFragment = !(document.createDocumentFragment().cloneNode() instanceof DocumentFragment); var needsDocFrag = false; // NOTE: Replace DocumentFragment to work around IE11 b...
{ "content_hash": "e4947e1fb5effa013fd8db3e82812207", "timestamp": "", "source": "github", "line_count": 396, "max_line_length": 117, "avg_line_length": 35.553030303030305, "alnum_prop": 0.6393209745010299, "repo_name": "linzjs/linz", "id": "0ddf2cd6f8dba76b11ba4d7a05e41159a85c5f5d", "size": "14611"...
<div class="next-ge15-widget"> <link href="http://{{context.host}}{{ asset("css/pages/ftcom.css") }}" rel="stylesheet"> {# override ft.com widget styles #} <style> .ge15-ftcom-figures { width: 100%; } </style> {% if stateOfPlay %} <div class="ge15-ftcom-figures"> <div class="figure-wrapper figure-wr...
{ "content_hash": "b9c380c0996682d3ebc08f7729dda0b3", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 90, "avg_line_length": 30.285714285714285, "alnum_prop": 0.6022012578616353, "repo_name": "ft-interactive/ge15", "id": "c3b8f32843dcd6e9080dfdcd4cd6134e4ec479e0", "size": "...
require 'has_guarded_handlers' module Adhearsion class Router class Route include HasGuardedHandlers attr_reader :name, :target, :guards attr_accessor :controller_metadata def initialize(name, target = nil, *guards, &block) @name = name if block @target, @guard...
{ "content_hash": "5f059eba822771000ecff19041a4998a", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 117, "avg_line_length": 27.285714285714285, "alnum_prop": 0.5768681580199905, "repo_name": "kares/adhearsion", "id": "1e85b327f6228e78184a69246119078938308568", "size": "21...
require 'spec_helper' require 'toy_robot' describe Board do let(:board) { Board.new } subject { board } it_should_behave_like "a board" # #within_boundaries? tested in Robot#place in robot_spec.rb end
{ "content_hash": "29cc77b913f875d3b79f2a4658de77d5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 62, "avg_line_length": 16.384615384615383, "alnum_prop": 0.6995305164319249, "repo_name": "paulfioravanti/toy_robot", "id": "1fe89d0f63d923e37a07a11ef2caaaebbe9e54bd", "siz...
namespace EasyCpp { namespace Net { class DLL_EXPORT JsonRPC { public: typedef std::function<void(const AnyValue&)> response_fn_t; typedef std::function<void(const AnyValue&, response_fn_t)> rpc_fn_t; typedef std::function<void(const AnyValue&, bool)> cb_fn_t; typedef std::function<void(const std::s...
{ "content_hash": "c66e449528a9d71ccd37ac7cce5e7626", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 100, "avg_line_length": 33.66129032258065, "alnum_prop": 0.6971729755630091, "repo_name": "Thalhammer/EasyCpp", "id": "d9182f63d566049328b4feae8f4935f2c1e8bb08", "size": "2...
<?php namespace LengthOfRope\JSONLD\Schema; /** * The act of planning the execution of an event/task/action/reservation/plan to a future date. * * @author LengthOfRope, Bas de Kort <bdekort@gmail.com> **/ class PlanActionSchema extends OrganizeActionSchema { public static function factory() { re...
{ "content_hash": "329e2888c2d3413653311cf51c1e9fdb", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 95, "avg_line_length": 20.973684210526315, "alnum_prop": 0.64366373902133, "repo_name": "lengthofrope/create-jsonld", "id": "e122995c79a794d9953699b7c59164b4a83de491", "siz...
package io.cattle.platform.docker.client; import static org.junit.Assert.*; import org.junit.Test; public class DockerImageTest { private static final String sha = "sha256:88f8d82bc9bc20ff80992cdeeee1dd6d8799cd36797b3653c644943e90b3acdf"; @Test public void testNoNamespace() { DockerImage image ...
{ "content_hash": "50bf927551986ef7ce3145e4e7015867", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 112, "avg_line_length": 35.7289156626506, "alnum_prop": 0.656213117518125, "repo_name": "Cerfoglg/cattle", "id": "0d15caaa91ae75e614c2da7ab55ea1abd21c9236", "size": "5931"...
<div class="column-1-2 column-center">...</div>
{ "content_hash": "a161e1921efbdae3afbcddc4a813f10c", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 47, "avg_line_length": 47, "alnum_prop": 0.6595744680851063, "repo_name": "joker8999/turret", "id": "baacbdc86562249108107efda315ff57d9e393ae", "size": "47", "binary": fal...
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <!-- Standard Head Part --> <head> <title>NUnit - ThrowsConstraint</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-US"> <link rel...
{ "content_hash": "60bd88f554192666fca3c8ee267d1b85", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 105, "avg_line_length": 37.031847133757964, "alnum_prop": 0.7103543171654627, "repo_name": "chinnurtb/OpenAdStack-1", "id": "2752478b887a5f39664dc60699caf21b5b8b4af4", "si...
<?php /** * Simple loader * * @author C.O. * @created 16.11.12 14:33 */ // Check PHP version if (version_compare(phpversion(), '5.6.0', '<')) { printf("PHP 5.6.0 is required, you have %s\n", phpversion()); exit(1); } // Root path, double level up $root = realpath(dirname(dirname(__FILE__))); define('P...
{ "content_hash": "5c549395c996c2871e1d2917858a8fbb", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 65, "avg_line_length": 24, "alnum_prop": 0.6125, "repo_name": "yuklia/skeleton", "id": "ad98abe221257430abc6242e2581dafa886ffb3c", "size": "720", "binary": false, "copi...
package com.datos.vfs.provider.hdfs; import com.datos.vfs.*; import com.datos.vfs.provider.AbstractFileProvider; import com.datos.vfs.provider.AbstractOriginatingFileProvider; import com.datos.vfs.provider.http.HttpFileNameParser; import java.util.Arrays; import java.util.Collection; import java.util.Collections; /...
{ "content_hash": "320b9a4203cd5c8da8e606ced97f3fe8", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 111, "avg_line_length": 30.743243243243242, "alnum_prop": 0.6268131868131868, "repo_name": "distribuitech/datos", "id": "cb1d3fb4a7c144048430e1283d3e44a980ea7139", "size": ...
<!doctype html> <html> <head> <title>CodeMirror: Test Suite</title> <link rel="stylesheet" href="../lib/codemirror.css"> <script src="../lib/codemirror.js"></script> <script src="../mode/javascript/javascript.js"></script> <script src="../mode/xml/xml.js"></script> <style type="text/css"> ...
{ "content_hash": "92d1ebe0e33d6b79b500a103e03390c9", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 132, "avg_line_length": 39.725806451612904, "alnum_prop": 0.5464880227365002, "repo_name": "citation-style-language/csl-editor-demo-site", "id": "dd319e9db794bd51a5509b5095d1...
package fzf import ( "fmt" "runtime" "sort" "sync" "time" "github.com/junegunn/fzf/src/util" ) // MatchRequest represents a search request type MatchRequest struct { chunks []*Chunk pattern *Pattern final bool sort bool } // Matcher is responsible for performing search type Matcher struct { pattern...
{ "content_hash": "4de1cf1cdd95824eb32401e9d9f0081c", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 99, "avg_line_length": 21.257918552036198, "alnum_prop": 0.6568752660706684, "repo_name": "jebaum/fzf", "id": "3ea2fbeb8d4bc8834a084b7c848a87f97c5463a2", "size": "4698", ...
const { basename } = require('path') const s3 = require('s3') const Logger = require('./logger') const getS3Options = (options) => ({ uploaderOptions: { localFile: `${options.directory}/${options.date}.tar.gz`, s3Params: { Bucket: options.bucket, Key: basename(`${options.directory}/${options.dat...
{ "content_hash": "836969c9db3820288f6d6c7450688e4f", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 78, "avg_line_length": 26.902439024390244, "alnum_prop": 0.6536718041704442, "repo_name": "theworkflow/mongodb-backup-cron", "id": "e663c060231cb42e83775d63783fb579309e48ed",...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html #ifndef __UCLEAN_H__ #define __UCLEAN_H__ #include "unicode/utypes.h" /** * \file * \brief C API: Initialize and clean up ICU */ /** * Initialize ICU. * * Use of this function is optional. It is...
{ "content_hash": "ef4b9289f510edd0bb6b779d0a299f44", "timestamp": "", "source": "github", "line_count": 250, "max_line_length": 142, "avg_line_length": 44.144, "alnum_prop": 0.6947263501268576, "repo_name": "wiltonlazary/arangodb", "id": "7cef6dba68b815ccd822d064ad0408b9a5513612", "size": "11474", ...
[![Build Status](https://travis-ci.org/lostdalek/Phraseanet-common.svg?branch=master)](https://travis-ci.org/lostdalek/Phraseanet-common) [![devDependency Status](https://david-dm.org/lostdalek/Phraseanet-common/dev-status.svg)](https://david-dm.org/lostdalek/Phraseanet-common#info=devDependencies) [![Dependency Status...
{ "content_hash": "c5713f7713945109851992e5b4503bea", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 178, "avg_line_length": 48.22727272727273, "alnum_prop": 0.7408105560791706, "repo_name": "alchemy-fr/Phraseanet-common", "id": "744c2bcc795c02e006f9e6e5974903e66e1669d9", ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Firefox OS on a High End Device</title> <meta name="description" content="" /> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width...
{ "content_hash": "e37b6d7032f9869c0141996f122c2014", "timestamp": "", "source": "github", "line_count": 282, "max_line_length": 403, "avg_line_length": 50.212765957446805, "alnum_prop": 0.6656073446327684, "repo_name": "prateekjadhwani/prateekjadhwani.github.io", "id": "fda2d43e02b0ff7246d0a0bcc203da...
package eu.davidea.samples.flexibleadapter.fragments; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.RecyclerView; import android.view.Menu; import andro...
{ "content_hash": "710bb1ab25393b5b2df84b8bad250f95", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 111, "avg_line_length": 37.35036496350365, "alnum_prop": 0.7928473715067422, "repo_name": "weiwenqiang/GitHub", "id": "250bd181939c5e81b8dfb4396d6ef92ed17550bb", "size": "...
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
{ "content_hash": "5ee9d20d85ad63adefa2f2579324aee7", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 564, "avg_line_length": 46.06818181818182, "alnum_prop": 0.7118894918598915, "repo_name": "cdnjs/cdnjs", "id": "853fd21b58492c0edbe8031541890cb718fc9bf3", "size": "4054", ...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('zerver', '0041_create_attachments_for_old_messages'), ] operations = [ migrations.AlterField( model_name='attachment', name='file_name', field=models.Tex...
{ "content_hash": "36cfb6157881b26bbc50ba4acdd61c23", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 63, "avg_line_length": 22.5, "alnum_prop": 0.5888888888888889, "repo_name": "timabbott/zulip", "id": "84f1da7717a342d19a0ed2674d94540d88eb5c77", "size": "360", "binary": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <title>Digital Land Charges</title> <head> <link rel="stylesheet" href="/public/stylesheets/styles.css"> <link href='https://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'> </head> <body> {{>includes/header}} <...
{ "content_hash": "968c711ff90ff055c41c84588ef02d4a", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 109, "avg_line_length": 21.78125, "alnum_prop": 0.6040172166427547, "repo_name": "LandRegistry/lc-prototype", "id": "1beacec15949f70f24cb1db1db5ad062cadc376c", "size": "697...
package org.apache.sysml.test.integration.functions.reorg; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** Group together the tests in this package into a single suite so that the Maven build * won't run two of them at once. */ @RunWith(Suite.class) @Suite.SuiteClasses({ DiagV2MTest.class, ...
{ "content_hash": "6c00242dcfc3b04d5fac02d4e9f6d865", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 88, "avg_line_length": 22.833333333333332, "alnum_prop": 0.7682481751824818, "repo_name": "deroneriksson/incubator-systemml", "id": "6ad350a523ee4fc646fae441bfabd84d66277523"...
 #pragma once #include <aws/alexaforbusiness/AlexaForBusiness_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/alexaforbusiness/model/SkillSummary.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResul...
{ "content_hash": "c41ed4ba0f5a3096e72b190362a1600f", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 136, "avg_line_length": 31.885964912280702, "alnum_prop": 0.6828060522696011, "repo_name": "JoyIfBam5/aws-sdk-cpp", "id": "baea10425c54cdc17556ec4ac64930764e18710b", "size...
package com.btaz.util.xml.xmlpath; import com.btaz.util.xml.model.Element; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * User: msundell */ public class XmlPathNodenameAttributeTest { @Test public void testOfAnyNodenameAnyAttributeShouldPass()...
{ "content_hash": "b577c73da92d39676da55c6d92529a4e", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 103, "avg_line_length": 28.01923076923077, "alnum_prop": 0.6437886067261496, "repo_name": "btaz/data-util", "id": "a65c1c340c9bb987c9b9d2d0effe7914d86b6bc2", "size": "2914...
<?php namespace Bitrix24\Im\Attach\Item; use Bitrix24\Im\Attach\iAttachItem; /** * Class User * @package Bitrix24\Im\Attach\Item */ class User implements iAttachItem { /** * @var string */ const ATTACH_TYPE_CODE = 'USER'; /** * @var */ protected $userName; /** * @var */ prot...
{ "content_hash": "321f04324ab5862db804f8cc1a050030", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 76, "avg_line_length": 16.557377049180328, "alnum_prop": 0.5811881188118811, "repo_name": "drumrock/bitrix24-php-sdk", "id": "0872e2c9ebe56315fd1d30462ca6b13479783528", "si...
using System; using System.Collections.Generic; using System.Linq; using NPoco; using Umbraco.Core.Cache; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.Models.Entities; using Umbraco.Core.Persistence.DatabaseModelDefinitions; using Umbraco.Core.Persistence.Dtos; using Umbraco.Core.Persisten...
{ "content_hash": "932e5fa4d2a0264635c09fde924605f4", "timestamp": "", "source": "github", "line_count": 341, "max_line_length": 168, "avg_line_length": 42.841642228739005, "alnum_prop": 0.5961393661441577, "repo_name": "tcmorris/Umbraco-CMS", "id": "56a6336f75109562953fbe1ae9c4da46f27c891b", "size"...
namespace search::fef::test { void SumExecutor::execute(uint32_t) { feature_t sum = 0.0f; for (uint32_t i = 0; i < inputs().size(); ++i) { sum += inputs().get_number(i); } outputs().set_number(0, sum); } SumBlueprint::SumBlueprint() : Blueprint("mysum") { } void SumBlueprint::visitDumpFe...
{ "content_hash": "bfee97fddefab9126164324bd4c21d1b", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 109, "avg_line_length": 35.27536231884058, "alnum_prop": 0.6926869350862778, "repo_name": "vespa-engine/vespa", "id": "a6a6f86c39cd4031f5dae71d454a34ea84de25d2", "size": "2...