text
stringlengths
2
1.04M
meta
dict
package net.ripe.db.whois.update.handler; import javax.annotation.concurrent.Immutable; @Immutable public class UpdateAbortedException extends RuntimeException { }
{ "content_hash": "7749e81fea9507620649cc208205456d", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 62, "avg_line_length": 23.714285714285715, "alnum_prop": 0.8373493975903614, "repo_name": "8v060htwyc/whois", "id": "449f10bf4c42af8b0898c0ba9439551619e8fb65", "size": "166"...
<?xml version="1.0"?> <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> <parent> <groupId>org.diirt</groupId> ...
{ "content_hash": "a50331296aae840023a443f5b22aaff3", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 204, "avg_line_length": 36.467532467532465, "alnum_prop": 0.5263532763532763, "repo_name": "richardfearn/diirt", "id": "017303a6bee6ce1059e0bd2cf8a0e62bd846997f", "size": "...
Harmony.keypad = {} Harmony.keypad.currentTactic = nil Harmony.keypad.combatMode = false Harmony.keypad.keysToDirections = { ["/"] = "in", ["*"] = "out", ["-"] = "up", ["+"] = "down", ["."] = "ih", ["0"] = "map", ["1"] = "sw", ["2"] = "s", ["3"] = "se", ["4"] = "w", ["5"] = "look", ["6"] = "e...
{ "content_hash": "1180af718c91f7a0ac344d25bddb88a0", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 89, "avg_line_length": 25.26923076923077, "alnum_prop": 0.6693302891933028, "repo_name": "codeacula/achaea-harmony", "id": "0619954b2dc093365ea014ba497254401c3ea991", "siz...
I implemented my solution to the challenge by using a set. To find the union for two linked lists, I iterated over both linked lists and added their items to a set. Then I create a new linked list from the items in the set. For the intersection, I iterate over one linked list and add its item to a set only if it exists...
{ "content_hash": "de0f082eb4a9638f012565881886cf5d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 400, "avg_line_length": 60.57142857142857, "alnum_prop": 0.7570754716981132, "repo_name": "manishbisht/Udacity", "id": "b1f231d80ad7a4830a642983ca96825dcdf61372", "size": "...
layout: post title: "Email notifications in GNUS" date: 2016-10-06 20:00:00 +0530 categories: life comments: true --- I use [GNUS](http://gnus.org/) for my emails. I read/write emails from GNUS. It works and all, but now I need to know when an email arrives. That means my setup has to change to do the following th...
{ "content_hash": "7f07d8233e57ddc910766b94f62ff7f4", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 305, "avg_line_length": 52.86153846153846, "alnum_prop": 0.7616414435389989, "repo_name": "codingquark/codingquark.github.io", "id": "b9c1127f6ba1ff9e28a3992724a6444326caa7e5...
<!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_29) on Mon Nov 26 17:22:24 MSK 2012 --> <TITLE> Uses of Interface org.apache.poi.sl.usermodel.TextBox (POI API Documentation) </TITLE> <MET...
{ "content_hash": "1a0b797f8e3fbcbbf2b67bd5a859b5d6", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 226, "avg_line_length": 42.585034013605444, "alnum_prop": 0.5931309904153355, "repo_name": "brenthand/Panda", "id": "bde34f6e5613ec394a632e91cf33da2feb305c0c", "size": "62...
//====================================================================================================================// // File: qcan_server_memeory.hpp // // Description: QCAN classes - CAN server ...
{ "content_hash": "788a0242d048df14435187c11527b5aa", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 120, "avg_line_length": 82.03125, "alnum_prop": 0.27390476190476193, "repo_name": "JoTid/CANpie", "id": "4f6e40cb83b578d82ad00dca3ad4767a7bcfa101", "size": "5250", "binar...
"""This module is deprecated. Please use `airflow.providers.databricks.hooks.databricks`.""" import warnings # pylint: disable=unused-import from airflow.providers.databricks.hooks.databricks import ( # noqa CANCEL_RUN_ENDPOINT, GET_RUN_ENDPOINT, RESTART_CLUSTER_ENDPOINT, RUN_LIFE_CYCLE_STATES, RUN_NOW_ENDPOINT,...
{ "content_hash": "684cf857b774e98b61bc1889501dedb0", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 109, "avg_line_length": 39.86666666666667, "alnum_prop": 0.7725752508361204, "repo_name": "wileeam/airflow", "id": "3c610e316c21aef4add7d0c700646411e19ba55a", "size": "1385...
@import url(../../Source/Widgets/widgets.css); @import url(../../Source/Widgets/lighter.css); html { height: 100%; } body { height: 100%; width: 100%; margin: 0; overflow: hidden; padding: 0; background: #000; } .fullWindow { position: absolute; top: 0; left: 0; height: 10...
{ "content_hash": "745c26a42573a9c8a728acda644f4ebd", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 50, "avg_line_length": 17.585365853658537, "alnum_prop": 0.5908460471567267, "repo_name": "NaderCHASER/cesium", "id": "9345e863194ea95cec38c229c5b3071f49aa2a2c", "size": "7...
$.fn[plugin] = function(option, args) { var result = []; this.each(function() { var $this, data, options; $this = $(this); data = $this.data(plugin); options = typeof option === 'object' && option; if (!data) { result = $this.data(plugin, (data = new Superslides(this, options))); } ...
{ "content_hash": "ac321369d445a101eab38d92000777f4", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 75, "avg_line_length": 20.703703703703702, "alnum_prop": 0.5313059033989267, "repo_name": "flashadicts/superslides", "id": "97af12cc3757f706841e0b15431a48fd5321911f", "size...
namespace quiche { template <typename T> using QuicheOptionalImpl = absl::optional<T>; } // namespace quiche
{ "content_hash": "b8f9ba536fbe8591cbf19b742faa1bac", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 67, "avg_line_length": 22.2, "alnum_prop": 0.7477477477477478, "repo_name": "eklitzke/envoy", "id": "7cc2237ca3e3a601b4058f0ce292e8f7046652e1", "size": "372", "binary": fa...
require File.expand_path('../helper', __FILE__) class EnvTest < Faraday::TestCase def setup @conn = Faraday.new :url => 'http://sushi.com/api', :headers => {'Mime-Version' => '1.0'}, :request => {:oauth => {:consumer_key => 'anonymous'}} @conn.options.timeout = 3 @conn.options.open_time...
{ "content_hash": "3b15f13b05a425855283afc9302f9125", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 103, "avg_line_length": 29.893280632411066, "alnum_prop": 0.6678566706333465, "repo_name": "davoclavo/faraday", "id": "c8efb8c1de960d6d03e073322e45818c14d803df", "size": "...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "7e4e8b76999ddc019f580c75f7c302d0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "35df6f482cdc38af1f235a3e97cb6f15f9833d73", "size": "185...
#ifndef TIME_UTIL_H #define TIME_UTIL_H #include <sys/time.h> /* for struct timeval */ /* Returns -1 if tv1<tv2, 1 if tv1>tv2, 0 if they're equal. */ int timeval_cmp(const struct timeval *tv1, const struct timeval *tv2); /* Returns tv1-tv2 in milliseconds. */ int timeval_diff_msecs(const struct timeval *tv1, const st...
{ "content_hash": "a8ccb559724a52691326830639ec7477", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 77, "avg_line_length": 34.1764705882353, "alnum_prop": 0.7091222030981067, "repo_name": "jkerihuel/dovecot", "id": "2738a74f1a4a1dbeb924cc9c866cbd46b7f1689f", "size": "581"...
'use strict'; var toArray = require('es5-ext/array/to-array') , Database = require('../../../') , Event = require('../../../_setup/event'); module.exports = function (a) { var db = new Database(), obj = new db.Object(), iterator, data; db.Object.prototype.$getOwn('test').multiple = true; obj.test = ['raz...
{ "content_hash": "0588d5d5997d39a735a1fcd69272a45d", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 93, "avg_line_length": 35.1375, "alnum_prop": 0.6488794023479189, "repo_name": "medikoo/dbjs", "id": "29a6166c2b96e9567d6ef02156ffbf9b9bb83bc9", "size": "2815", "binary":...
[![Build Status](https://travis-ci.org/onechiporenko/ember-models-table.svg?branch=master)](https://travis-ci.org/onechiporenko/ember-models-table) [![Codacy Badge](https://www.codacy.com/project/badge/062ef689838e43dfa46eecd1f74f22af)](https://www.codacy.com/app/cv_github/ember-models-table) [![Ember Observer Scor...
{ "content_hash": "a6ee192467a5d6697f138d98dff2206e", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 147, "avg_line_length": 45.476190476190474, "alnum_prop": 0.7382198952879581, "repo_name": "kosijer84/ember-models-table", "id": "949f2c7ff46e23b8e7bc4c959537dffcca341488", ...
/** * @file * Navigation Styling */ /* * Markup generated by theme_menu_tree(). */ ul li.expanded { *list-style-image: url(../images/menu-expanded.png); list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DB...
{ "content_hash": "9b1e5b07851ee9b974af4dc2cddd48e6", "timestamp": "", "source": "github", "line_count": 402, "max_line_length": 218, "avg_line_length": 23.86318407960199, "alnum_prop": 0.7022829146252476, "repo_name": "justadropofwater/spaceblues.com", "id": "bc9220ff4745003a4a8148e69ad89a8c83a9def1"...
package com.wisape.android.cordova; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.RandomAcce...
{ "content_hash": "4b39e2a82de1062bc391f303235adbcd", "timestamp": "", "source": "github", "line_count": 488, "max_line_length": 206, "avg_line_length": 38.028688524590166, "alnum_prop": 0.5890182131695226, "repo_name": "WisapeAgency/WisapeAndroid", "id": "64f08e4d04c303366723fa92f66da13af421b450", ...
using System.Web.UI.WebControls; namespace Uncas.EBS.UI.Controls { /// <summary> /// A radio button list with the status options. /// </summary> public class StatusOptions : RadioButtonList { /// <summary> /// Called by the ASP.NET page framework to notify server controls...
{ "content_hash": "d85fe0cc2252131bf1986b253a3fb795", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 204, "avg_line_length": 35.121212121212125, "alnum_prop": 0.547886108714409, "repo_name": "uncas/hibes", "id": "8a94788b7f11418fb09e5cb5a920077865b13894", "size": "1161", ...
using DataCenter.Localization; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Localization; namespace DataCenter.Permissions { public class DataCenterPermissionDefinitionProvider : PermissionDefinitionProvider { public override void Define(IPermissionDefinitionContext context) { ...
{ "content_hash": "d32f6dd93a44d1b9839831add55afb64", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 104, "avg_line_length": 32.81818181818182, "alnum_prop": 0.7105263157894737, "repo_name": "xin2015/DataCenter", "id": "0d5a6d2f0b22c886d2096fcec27217793ae8350b", "size": "7...
import offices from '../data/offices.json'; export default function() { return offices; }
{ "content_hash": "a446b9956141bf0e3b1650ee98a2429f", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 43, "avg_line_length": 18.4, "alnum_prop": 0.717391304347826, "repo_name": "leapon/office-finder", "id": "516c7941a376f7ddcf5fc93602c95c4e4b0c6de6", "size": "92", "binary"...
package org.waveprotocol.wave.model.conversation; import org.waveprotocol.wave.model.wave.SourcesEvents; /** * Extends {@link Manifest} to provide events that can be listened to. * * @author anorth@google.com (Alex North) */ interface ObservableManifest extends Manifest, SourcesEvents<ObservableManifest.Listene...
{ "content_hash": "5c3b0bf574aec9829bbb918add4fc885", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 91, "avg_line_length": 25.1, "alnum_prop": 0.7184594953519257, "repo_name": "Grasia/swellrt", "id": "3cfaa937e6e10b1682e489a09aa7f280240247e5", "size": "1561", "binary": ...
namespace llvm { class RISCVSubtarget; namespace RISCVISD { enum NodeType : unsigned { FIRST_NUMBER = ISD::BUILTIN_OP_END, RET_FLAG, URET_FLAG, SRET_FLAG, MRET_FLAG, CALL, SELECT_CC, BuildPairF64, SplitF64, TAIL, // RV64I shifts, directly matching the semantics of the named RISC-V // instruction...
{ "content_hash": "603ac9cd6cd43f31a9a931542aa8b93a", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 80, "avg_line_length": 43.60287081339713, "alnum_prop": 0.676725556896741, "repo_name": "google/swiftshader", "id": "b2ad75d670249f07a2f3ad643281851f5a2c935f", "size": "98...
<!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_11) on Mon Mar 17 10:51:56 PDT 2014 --> <title>BoxPreview</title> <meta name="date" content="2014-03-17"> <link rel="stylesheet" type="...
{ "content_hash": "e606e61b66b139a4edfaf2a69d141405", "timestamp": "", "source": "github", "line_count": 452, "max_line_length": 862, "avg_line_length": 39.25, "alnum_prop": 0.6497378952708416, "repo_name": "shelsonjava/box-java-sdk-v2", "id": "1fab05aafc086a255ded1170c1c8390af956f6b9", "size": "177...
""" Esercizio 1: ricerca dei percorsi dei file a partire da una cartella python3 23_03_es1.py <cartella_di_partenza> """ import os import sys import pathlib import stat def insert_dict(dictlink, key, value): """ Inserisce un nuovo elemento nel dizionario rispettando il default """ if key not in dictlin...
{ "content_hash": "bd912e94cf8a374f1e9904da880609cd", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 77, "avg_line_length": 28.959183673469386, "alnum_prop": 0.6102889358703312, "repo_name": "sb00nk/PythonExercises", "id": "212dd8a58dfb985a587916989bfe2380afe6a785", "size"...
export * from './account.component';
{ "content_hash": "8011a6e816e4f23dcc7858e270dab60a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 36, "avg_line_length": 36, "alnum_prop": 0.7222222222222222, "repo_name": "aroget/ng2-stripe-frontend", "id": "16ea742cdf20769ddb6bfa1a2fd677c374e84977", "size": "36", "bi...
<phpunit backupGlobals="true" backupStaticAttributes="false" cacheTokens="false" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" forceCoversAnnotation="false" mapTestClassNameToCo...
{ "content_hash": "af84622d4996e7b01e1af5a5293793ff", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 133, "avg_line_length": 34.37837837837838, "alnum_prop": 0.6297169811320755, "repo_name": "punkstar/gradwell_smsapi", "id": "0bcb9e490756d4c75d5b68ce88edf0751faf0e56", "siz...
package regexodus.regex; /** * @test * @summary tests RegExp framework * @author Mike McCloskey * @bug 4481568 4482696 4495089 4504687 4527731 4599621 4631553 4619345 * 4630911 4672616 4711773 4727935 4750573 4792284 4803197 4757029 4808962 * 4872664 4803179 4892980 4900747 4945394 4938995 4979006 4994840 49974...
{ "content_hash": "fec5381a0c8646f2ea3c67e7df26a076", "timestamp": "", "source": "github", "line_count": 3809, "max_line_length": 108, "avg_line_length": 36.33342084536624, "alnum_prop": 0.5331300489905632, "repo_name": "tommyettinger/RegExodus", "id": "bcbb084ef2fb022944ddffbfe971130326e03d15", "si...
import re from enum import Enum from knack.log import get_logger from knack.util import CLIError from msrestazure.azure_exceptions import CloudError from azure.cli.core.azclierror import ( ArgumentUsageError, BadRequestError, InvalidArgumentValueError, RequiredArgumentMissingError, ResourceNotFoundE...
{ "content_hash": "05499451ea105c2ed3fde1d3f30b88ed", "timestamp": "", "source": "github", "line_count": 1660, "max_line_length": 210, "avg_line_length": 55.76144578313253, "alnum_prop": 0.6766669547556285, "repo_name": "yugangw-msft/azure-cli", "id": "678605da12485347c5b123681ed2df29534c1807", "siz...
package io.enmasse.systemtest.soak; import io.enmasse.address.model.Address; import io.enmasse.address.model.AddressSpace; import io.enmasse.address.model.AddressSpaceBuilder; import io.enmasse.systemtest.TestTag; import io.enmasse.systemtest.UserCredentials; import io.enmasse.systemtest.bases.isolated.ITestBaseIsola...
{ "content_hash": "69b50daac2b70fa2ecfd0a1fa976689b", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 127, "avg_line_length": 46.333333333333336, "alnum_prop": 0.6380066678364625, "repo_name": "jenmalloy/enmasse", "id": "08437885d8a4aac19aad00ac2c575d44e0ddbc6e", "size": "...
//--------------------------------------------------------------------- // <copyright file="GraphBasedDataGenerator.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------------...
{ "content_hash": "6b5524a51f4d1af314968b7f9c15b821", "timestamp": "", "source": "github", "line_count": 298, "max_line_length": 166, "avg_line_length": 39.171140939597315, "alnum_prop": 0.5252291613124304, "repo_name": "cxlove/odata.net", "id": "897b24eb36be4f6d42601ee4d11548c399f8162c", "size": "1...
use strs_tools as TheModule; mod inc;
{ "content_hash": "cb81891e88c03c74d34cbfb17555dae2", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 28, "avg_line_length": 19, "alnum_prop": 0.7631578947368421, "repo_name": "Wandalen/wTools", "id": "d00a576dec6f00ba726db7dfb2f70640cb458d83", "size": "69", "binary": fals...
package com.swallow.core.utils; import com.google.common.collect.Lists; import com.swallow.core.constant.MathConstant; import org.junit.Assert; import org.junit.Test; /** * @author disobedient 2018-01-07 22:43 */ public class ListUtilsTest { @Test public void isEmpty() { Assert.assertTrue(ListUtils...
{ "content_hash": "84ed3d32842215c3e4adae7c02b38610", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 84, "avg_line_length": 24.72222222222222, "alnum_prop": 0.7303370786516854, "repo_name": "zhuzaixiaoshulin/swallow", "id": "5a3da3bd764696aa75abe1031e47c12e88418a47", "size...
import { QuestionBase } from '../question-base'; export class OverUnderQuestion extends QuestionBase<string> { type = 'over-under'; median: number; constructor(options: {} = {}) { super(options); this.median = options['median'] || []; } }
{ "content_hash": "ab56fe5190603444196db89ae2150ac2", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 61, "avg_line_length": 23.363636363636363, "alnum_prop": 0.642023346303502, "repo_name": "briguyd/prop-bets", "id": "9a84c2d2b343b2436dfd37e063ab36c78b1e13d5", "size": "257...
<h2>Calendar </h2> <p>Future functionality</p>
{ "content_hash": "930c01a1c27c4208cffaa6ea3c42f788", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 27, "avg_line_length": 23, "alnum_prop": 0.717391304347826, "repo_name": "montgomeryce/HAViC", "id": "0589958bad3a59f252336077eb4a193f12e33038", "size": "46", "binary": fa...
#ifndef CQTabSplitSplitterHandle_H #define CQTabSplitSplitterHandle_H #include <QSplitter> class CQTabSplitSplitter; /*! * \brief custom splitter handler for CQTabSplitSplitter */ class CQTabSplitSplitterHandle : public QSplitterHandle { Q_OBJECT Q_PROPERTY(int barSize READ barSize WRITE setBarSize) public:...
{ "content_hash": "d5cce9b08721d2d16f6cc9f3a65c5b1c", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 81, "avg_line_length": 24.49019607843137, "alnum_prop": 0.6949559647718174, "repo_name": "colinw7/CQUtil", "id": "fddaeb68fd42f7590277fba9718d9a41d958099d", "size": "1249",...
""" AUTO-GENERATED BY `scripts/generate_protocol.py` using `data/browser_protocol.json` and `data/js_protocol.json` as inputs! Please do not modify this file. """ import logging from typing import Any, Optional, Union from chromewhip.helpers import PayloadMixin, BaseEvent, ChromeTypeBase log = logging.getLogger(__na...
{ "content_hash": "6f1ad6947b0b4384eef63da5f3b27d6d", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 121, "avg_line_length": 32.27777777777778, "alnum_prop": 0.6075731497418244, "repo_name": "chuckus/chromewhip", "id": "010839aeddb6fc580438c259bcecbea9c1b0722e", "size": "1...
namespace formulate.app.Forms.Fields.Header { /// <summary> /// Configuation required by <see cref="HeaderField"/>. /// </summary> public class HeaderConfiguration { /// <summary> /// Gets or sets the text. /// </summary> public string Text { get; set; } } }
{ "content_hash": "0a97935d12fa539849067fbb83be45f0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 59, "avg_line_length": 24.307692307692307, "alnum_prop": 0.5537974683544303, "repo_name": "rhythmagency/formulate", "id": "e63478f7c12ecf213aa885b588f1934c1be7f72f", "size"...
// Copyright (c) 2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef VOYACOIN_CRYPTO_HMAC_SHA256_H #define VOYACOIN_CRYPTO_HMAC_SHA256_H #include "crypto/sha256.h" #include <stdint.h> #include <...
{ "content_hash": "7af243f4c0e085699810e8d7c3f73e9b", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 70, "avg_line_length": 24.21875, "alnum_prop": 0.6980645161290323, "repo_name": "Voyacoin/Voyacoin", "id": "2c6d6af1516f4d6090c535ab89b8c8495e3795c7", "size": "775", "bin...
import styled from 'styled-components'; const H1 = styled.h1` font-size: ${props => props.theme.h1.fontSize}; margin: ${props => props.theme.h1.margin}; padding: ${props => props.theme.h1.padding}; text-align: ${props => props.theme.h1.textAlign}; `; export default H1;
{ "content_hash": "1de586613952c92147da8800507440b1", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 51, "avg_line_length": 28, "alnum_prop": 0.6785714285714286, "repo_name": "angeloocana/angeloocana", "id": "818b433417784c6f315eb3c3c98503f8107f7191", "size": "280", "bin...
package org.apache.tools.ant.taskdefs.optional; import org.apache.tools.ant.BuildFileTest; import org.apache.tools.ant.util.regexp.RegexpMatcherFactory; import java.io.IOException; import java.io.File; import java.io.InputStream; import java.io.BufferedInputStream; import java.io.FileInputStream; import java.io.Fil...
{ "content_hash": "f3257de6145ddfbd626fd5fe96a668d9", "timestamp": "", "source": "github", "line_count": 236, "max_line_length": 104, "avg_line_length": 30.733050847457626, "alnum_prop": 0.6212601682062595, "repo_name": "Mayo-WE01051879/mayosapp", "id": "d62c8cc1645f893126537f2b68727d08246eb426", "s...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <script src="//cdn.authentiq.io/authentiqjs/latest/authentiq.js" class="authentiq-snippet" data-provider-uri="{{ provider_uri }}" data-client-id="{{ client_id }}" data-redirect-uri="{{ redirect_...
{ "content_hash": "8bb92dd2528fac628e1a6123420d6ff6", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 66, "avg_line_length": 25.5, "alnum_prop": 0.5625942684766214, "repo_name": "AuthentiqID/examples-flask", "id": "68fc6660ec386d2f8bb7215c1dc67152bf2c7607", "size": "663", ...
<!DOCTYPE HTML> <html> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=562433 --> <head> <title>Test for Bug 562433</title> <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> </head> <body> <a target="_...
{ "content_hash": "39d8ae8355da5524430575a049ad6dfd", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 100, "avg_line_length": 25.142857142857142, "alnum_prop": 0.6772727272727272, "repo_name": "wilebeast/FireFox-OS", "id": "1500ee1136fda356a36f31245bdfa508c554854c", "size":...
package main.nl.uva.validation.type; import main.nl.uva.parser.expression.BinaryExpression; import main.nl.uva.parser.expression.Expression; import main.nl.uva.ui.element.DeclarationUI; import main.nl.uva.ui.types.MoneyUI; import main.nl.uva.ui.types.ValueUI; public class Money extends Value { private double _va...
{ "content_hash": "93c19ee9d068218e537e7a2dccede0e7", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 96, "avg_line_length": 24.9, "alnum_prop": 0.6706827309236948, "repo_name": "software-engineering-amsterdam/poly-ql", "id": "2fb3f0890531a5f7ca6c04e13215b07bcdf42e08", "siz...
package net.runelite.api.mixins; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented public ...
{ "content_hash": "a4f119ede3e97ee0e43303ff74d61b4a", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 21.88888888888889, "alnum_prop": 0.8121827411167513, "repo_name": "abelbriggs1/runelite", "id": "5caeca83369b6c5c53a9dbf3fc42fca496936edc", "size": "...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.21006.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> ...
{ "content_hash": "b31bca98a25e6d7ba1022ca3db0657b3", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 36.2, "alnum_prop": 0.5616942909760589, "repo_name": "SLP-KBIT/LEMP3", "id": "afdbd5bc86586040d8c38f684a736466e005bc7f", "size": "1088", "binary":...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Generated by HsColour, http://code.haskell.org/~malcolm/hscolour/ --> <title>Control/Monad/ST/Strict.hs</title> <link type='text/css' rel='stylesheet' h...
{ "content_hash": "3d3fa69fda4f9112b002b498d6a02995", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 327, "avg_line_length": 80.81818181818181, "alnum_prop": 0.6111736032995876, "repo_name": "nmattia/halytics", "id": "645ab07bb777582411aeb142e2970e9924912075", "size": "266...
namespace Tempest{ class LightCollection : public AbstractLightCollection { public: template< class L > class Pack: public AbstractLightCollection::Pack<L> { public: virtual int size() const { return data.size(); } virtual void resize( int s, const L& l = L() ) { ...
{ "content_hash": "9a6d7b80bc19f1a9a21a8d204f05662c", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 57, "avg_line_length": 21.58139534883721, "alnum_prop": 0.5377155172413793, "repo_name": "enotio/Tempest", "id": "ca31e5727a3067fa9b0ac8476c4836a63b49bf73", "size": "1043",...
<html> <head> <title>Taxon API Test Page</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- <script src="/bower_components/requirejs/require.js"></script> --> <script src="require.js"></script> <!-- <script src="req...
{ "content_hash": "3cf9342893c2d8e274d12462cfa60b01", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 101, "avg_line_length": 39.05263157894737, "alnum_prop": 0.5673854447439353, "repo_name": "mlhenderson/data_api", "id": "ba9b19abbce2aa895f709f6b58cda00ade247e17", "size": ...
<?php namespace Symfony\Component\Form\Extension\DependencyInjection; use Symfony\Component\Form\FormExtensionInterface; use Symfony\Component\Form\FormTypeGuesserChain; use Symfony\Component\DependencyInjection\ContainerInterface; class DependencyInjectionExtension implements FormExtensionInterface { ...
{ "content_hash": "2e7ec7854b102a1e093bd61c13463911", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 133, "avg_line_length": 28.731182795698924, "alnum_prop": 0.5793413173652695, "repo_name": "WCORP/just2", "id": "fdcc83726fe09900f7fabd00d032a331ca6d239a", "size": "2908", ...
package org.synyx.urlaubsverwaltung.core.mail; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.mail.MailException; import org.springframework.mail.SimpleMail...
{ "content_hash": "17a0446b63d1694691d101e08d148d69", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 101, "avg_line_length": 33.58510638297872, "alnum_prop": 0.6262274311054798, "repo_name": "Intera/urlaubsverwaltung", "id": "49603685a3e6f036e5fe5e1c6391899ca4da8276", "siz...
%{ version: "1.0.0", title: "Pattern Matching", excerpt: """ _Pattern matching_ è un aspetto fondamentale di Elixir, permette di abbinare semplici valori, strutture dati e funzioni. In questa lezione inizieremo a vedere come viene usato il pattern matching. """ } --- ## Operatore match Se pronto ad essere s...
{ "content_hash": "9cd498f606ee86aeb56f36d6f8b21f8c", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 438, "avg_line_length": 29.03960396039604, "alnum_prop": 0.6870098874872145, "repo_name": "doomspork/elixir_school", "id": "1078ea92eca06c2b48f05de9fc377efbd9db0ff6", "siz...
package v1alpha1 import ( "fmt" "strings" datav1alpha1 "github.com/Alluxio/alluxio/api/v1alpha1" "github.com/Alluxio/alluxio/pkg/common" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) /** * construct ddc runtime for the dataset */ func constructRuntimeForDataset(dataset datav1alpha1.Dataset) (runtime datav1...
{ "content_hash": "414fc72149f6060fcb46ec503160a0c8", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 105, "avg_line_length": 26.07894736842105, "alnum_prop": 0.7295660948536832, "repo_name": "EvilMcJerkface/alluxio", "id": "2fdec989c137f86a5f6908d1b63a262e63e5e17b", "size"...
#pragma once #include <chrono> #include "oqpi/empty_layer.hpp" #include "oqpi/synchronization/sync_common.hpp" namespace oqpi { namespace itfc { //---------------------------------------------------------------------------------------------- template < // Platform specific implementation for se...
{ "content_hash": "c4fa086c021946d0fad095022ef10ed1", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 141, "avg_line_length": 46.714285714285715, "alnum_prop": 0.41022280471821754, "repo_name": "H-EAL/oqpi", "id": "bf93a9ca116b93f1ca1f4a5347da0f3e53b935d2", "size": "4578", ...
package com.plugin.commons.adapter; import java.util.List; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.plugin.R; import com.plugin.commons.model.NewsInfoModel; public class NewsImgListAdapter extends ZhKdBaseAdapter<NewsInf...
{ "content_hash": "19d28cc8acef3c556b7319a9658d561b", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 100, "avg_line_length": 33.132075471698116, "alnum_prop": 0.657744874715262, "repo_name": "zhanggh/andr_puligins", "id": "dd3c60818a358d75c16c017a8fa44c28c5c4c469", "size":...
/* * @author max */ package com.intellij.psi.stubs; import org.jetbrains.annotations.NotNull; public class StubTree extends ObjectStubTree<StubElement<?>> { public StubTree(@NotNull final PsiFileStub root) { this(root, true); } public StubTree(@NotNull final PsiFileStub root, final boolean withBackRef...
{ "content_hash": "e691dffba9007e5938700582259dd9a0", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 85, "avg_line_length": 19.24, "alnum_prop": 0.7214137214137214, "repo_name": "romankagan/DDBWorkbench", "id": "36a855d6458c5ce933175303ad8f325a18594e21", "size": "1081", ...
<!--Auto Complete Button component code --> <div ng-controller="autocompleteCtrl"> <div class="row"> <div class="col-md-12 ol-md-12"> <h4>Auto Complete Search</h4> <div class="vmf-autocomplete-input vmf-autocomplete-search" vmf-autocomplete-input type="psearch" name="userForm" mode...
{ "content_hash": "9e2451d5b530a91d4ab40888b62fc96b", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 268, "avg_line_length": 49.1, "alnum_prop": 0.6680244399185336, "repo_name": "anandharshan/Web-components-DD", "id": "199f8a17eb513474a6fdc17c17683ab7993bb107", "size": "98...
require "ostruct" require "bls_api/month" module BLS_API class Series include BLS_API::Destringify attr_reader :id def initialize(raw_series) @id = raw_series["seriesID"] begin @raw_series = self.destringify_series(raw_series) rescue ArgumentError # Series was already...
{ "content_hash": "7f705da65b2c5f9ff7eee60b64ef7889", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 78, "avg_line_length": 27.982142857142858, "alnum_prop": 0.6381620931716656, "repo_name": "associatedpress/bls_api", "id": "75139a90d1f66483553d7b9664b061a982fd2d58", "size...
test_description="Test API security" . lib/test-lib.sh test_init_ipfs # by default, we don't let you load arbitrary ipfs objects through the api, # because this would open up the api to scripting vulnerabilities. # only the webui objects are allowed. # if you know what you're doing, go ahead and pass --unrestricted-...
{ "content_hash": "9f304fe150d4dbbe210a8fff1d076fa8", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 91, "avg_line_length": 31.807692307692307, "alnum_prop": 0.7291414752116082, "repo_name": "OpenBazaar/go-ipfs", "id": "137f99a950ec412b7464850403ee06171a8d669c", "size": "9...
package org.kaazing.gateway.resource.address.rtmp; import java.net.URI; import org.kaazing.gateway.resource.address.ResourceAddress; public class RtmpResourceAddress extends ResourceAddress { static final String TRANSPORT_NAME = "rtmp"; private static final long serialVersionUID = 1L; RtmpResour...
{ "content_hash": "4f8d3333835d52c46d47a68a09e2ea71", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 60, "avg_line_length": 21.263157894736842, "alnum_prop": 0.7425742574257426, "repo_name": "michaelcretzman/gateway", "id": "f653f0d339b202b9478f418099f1682db4b3e009", "size...
package mts //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 or agreed to in writing, software //distribut...
{ "content_hash": "0b685b41d8b2325c5cf50a9e65838e8f", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 84, "avg_line_length": 42.523809523809526, "alnum_prop": 0.780515117581187, "repo_name": "xiaozhu36/terraform-provider", "id": "7e4046654d104db15df96eb5495d33dea56dd331", "...
package it.cosenonjaviste.demomv2m.core.currencyconverter4; import android.databinding.ObservableBoolean; import android.support.annotation.NonNull; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.Locale; import it.cosenonjaviste.demomv2m.R; import it.cosenonjaviste.demomv2m....
{ "content_hash": "f67662cc3c43f5718fea03240766ff42", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 129, "avg_line_length": 37.916666666666664, "alnum_prop": 0.6281318681318682, "repo_name": "fabioCollini/mv2m", "id": "e07516a814941347f0ebfdee99ea2bd65976ab9b", "size": "2...
import {AmpStoryHint} from '../amp-story-hint'; import {Services} from '../../../../src/services'; const NOOP = () => {}; describes.fakeWin('amp-story hint layer', {}, env => { let win; let ampStoryHint; beforeEach(() => { win = env.win; sandbox.stub(Services, 'vsyncFor').callsFake( () => ({...
{ "content_hash": "3e3b039f8013adf5a75ad628768e95c3", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 78, "avg_line_length": 31.234375, "alnum_prop": 0.6858429214607303, "repo_name": "shawnbuso/amphtml", "id": "68783d21119aa8cdfdf36ed4af757685fd0eb698", "size": "2626", "b...
from mistral.db.v2.sqlalchemy import models from mistral.engine import tasks from mistral.tests.unit import base from mistral.workflow import states # TODO(rakhmerov): This test is a legacy of the previous 'with-items' # implementation when most of its logic was in with_items.py module. # It makes sense to add more t...
{ "content_hash": "c12de4cde106045dcf044d0fdeb7ae6e", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 71, "avg_line_length": 32.5625, "alnum_prop": 0.581573896353167, "repo_name": "StackStorm/mistral", "id": "9ba5dda565b9de6571b3252cfc148db853e335dc", "size": "2172", "bin...
VMWareTasks =========== ![vmwaretasks](https://github.com/dblock/vmwaretasks/raw/master/Documentation/Images/VMWareLogo.jpg "VMWareTasks") The VMWare SDK, specifically VixCOM, offers a rich set of programmable interfaces that enable developers to drive virtual machines programmatically with an asynchronous, job-based...
{ "content_hash": "88f1287a32c9ebc534fd52dbb6c8b32e", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 529, "avg_line_length": 47.49707602339181, "alnum_prop": 0.7138635803989165, "repo_name": "dblock/vmwaretasks", "id": "d321d93e3350844f714d55ee34b5438cafc7d323", "size": "...
require 'spec_helper' describe Open::Dojo::Apprentice do let(:apprentice) { create :apprentice } describe 'young apprentice' do let(:apprentice) { build :apprentice } it 'has 1 dan' do expect(apprentice.rank).to eq(1) end end describe 'ranking' do it "manimum kyu is 30" do expect...
{ "content_hash": "c0e798732e82052317f30373e8db8c2c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 57, "avg_line_length": 21.193548387096776, "alnum_prop": 0.649923896499239, "repo_name": "Tensho/open-dojo", "id": "54bda7ed6f786a4b2f0521ab0cf74b3b345726b6", "size": "657"...
/** * @title WET-BOEW Tables * @overview Integrates the DataTables plugin into WET providing searching, sorting, filtering, pagination and other advanced features for tables. * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * @author @jeresiv */ (function( $, win...
{ "content_hash": "539e2b32dea618d02359400d465a18e7", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 146, "avg_line_length": 29.08092485549133, "alnum_prop": 0.5992844364937389, "repo_name": "TouficS/a11yppt", "id": "914aa23a9850d35dceb44290afce1338b55a6282", "size": "503...
package com.twitter.hdfsdu; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.json.simple.JSONObject; import com.google.common.io.LineReader; im...
{ "content_hash": "6f46317fc5cf906f04a3b350b8b10cd9", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 136, "avg_line_length": 26.714285714285715, "alnum_prop": 0.64349376114082, "repo_name": "suryasingh/hdfs-du", "id": "d0b99be15fbd93fb5e6615769269bdaff2d9646e", "size": "22...
"""The gateway tests for the august platform.""" from unittest.mock import MagicMock, patch from august.authenticator_common import AuthenticationState from homeassistant.components.august.const import DOMAIN from homeassistant.components.august.gateway import AugustGateway from tests.components.august.mocks import ...
{ "content_hash": "a14edeb48cae907e2ac82a1888376ebb", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 91, "avg_line_length": 38.81132075471698, "alnum_prop": 0.7578998541565386, "repo_name": "partofthething/home-assistant", "id": "ced073600082da14ffcb9818acd17b942156dc03", ...
<?php /** * RfSlideshow form base class. * * @method RfSlideshow getObject() Returns the current form's model object * * @package runforever * @subpackage form * @author Your name here * @version SVN: $Id: sfDoctrineFormGeneratedTemplate.php 29553 2010-05-20 14:33:00Z Kris.Wallsmith $ */ abstract cl...
{ "content_hash": "2e6e3850e80c2c93226b0a0508626f8c", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 176, "avg_line_length": 30.155555555555555, "alnum_prop": 0.6352247605011054, "repo_name": "jtarleton/runforever-www", "id": "42a32543b3f77bbeababbd4d90146c851c2b6086", "si...
import array import binascii import zmq import struct port = 25332 zmqContext = zmq.Context() zmqSubSocket = zmqContext.socket(zmq.SUB) zmqSubSocket.setsockopt(zmq.SUBSCRIBE, "hashbrick") zmqSubSocket.setsockopt(zmq.SUBSCRIBE, "hashtx") zmqSubSocket.setsockopt(zmq.SUBSCRIBE, "rawbrick") zmqSubSocket.setsockopt(zmq.SU...
{ "content_hash": "833c94ce3aa0333d25820c388b39e7f2", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 56, "avg_line_length": 31.025641025641026, "alnum_prop": 0.6016528925619835, "repo_name": "magacoin/magacoin", "id": "93bf0354d2774b04fcb57be91f2dc5f19211bffd", "size": "14...
// Copyright 2011 Google Inc. // // 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 or agreed to in...
{ "content_hash": "4eb8e44be309ccee80d69597fc4cb6d0", "timestamp": "", "source": "github", "line_count": 761, "max_line_length": 80, "avg_line_length": 39.40604467805519, "alnum_prop": 0.6786047752434307, "repo_name": "webhost/mod_pagespeed", "id": "221258ebf178f48affa45c375be938ec177f845e", "size":...
<!DOCTYPE html> <html> <head th:replace="uifragments/global-fragments :: global-header (pageTitle='Login View')"> <title>View title</title> </head> <body> <div class="container"> <div class="row wrapper"> <h2 class="banner">Vendelligence</h2> <div class="alert alert-danger" th:if="${param.error != null}" ...
{ "content_hash": "22d56856de4aae764105656ba4addc7f", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 128, "avg_line_length": 40.747252747252745, "alnum_prop": 0.627831715210356, "repo_name": "niallguerin/vendelligence", "id": "834589b47c9d11a5ba817e4f63b6937f17483fbe", "si...
#include "mlir/Dialect/Shape/IR/Shape.h" // from @llvm-project #include "mlir/InitAllDialects.h" // from @llvm-project #include "mlir/InitAllPasses.h" // from @llvm-project #include "mlir/Support/MlirOptMain.h" // from @llvm-project #include "tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/register....
{ "content_hash": "4c33915743bb92222cd1dac7b3be2fbc", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 98, "avg_line_length": 43.878787878787875, "alnum_prop": 0.7658839779005525, "repo_name": "cxxgtxy/tensorflow", "id": "70c00efe4058bf9c99418d74ca08b8fe4c4cde4a", "size": "2...
from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('callback_request', '0006_auto_20161123_2118'), ] operations = [ migrations.AddField( model_name='callbackrequest', name='err...
{ "content_hash": "e612304d324771055458c288fafcb523", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 151, "avg_line_length": 29.25, "alnum_prop": 0.5925925925925926, "repo_name": "steppenwolf-sro/callback-schedule", "id": "20583d8980cfc02f29b9c692159ab23868d00fdf", "size":...
'use strict'; exports.__esModule = true; exports['default'] = undefined; var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck')...
{ "content_hash": "fc902af65a01f81a07a2f3f5d8b38d43", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 204, "avg_line_length": 32.84862385321101, "alnum_prop": 0.6712749615975423, "repo_name": "geng890518/editor-ui", "id": "df0cac5497e9beafcf8f08b013753e9480d43ba7", "size":...
ACCEPTED #### According to Interim Register of Marine and Nonmarine Genera #### Published in null #### Original name null ### Remarks null
{ "content_hash": "983212c918df00869d74c2aaa6e68d93", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 47, "avg_line_length": 10.923076923076923, "alnum_prop": 0.7183098591549296, "repo_name": "mdoering/backbone", "id": "21338aae4ec5aebbbbe89f1001d5f6ad479efe56", "size": "21...
{ beforeEach(() => { PooledClass = require("PooledClass"); PoolableClass = function() {}; PoolableClass.prototype.destructor = function() {}; PooledClass.addPoolingTo(PoolableClass); }); it("should initialize a pool correctly", () => { expect(PoolableClass.instancePool).toBeDefined(); });...
{ "content_hash": "2553858fa6e98a488a08b865f37f07b1", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 84, "avg_line_length": 32.369369369369366, "alnum_prop": 0.6796548844976343, "repo_name": "stas-vilchik/bdd-ml", "id": "d64284d3e01c4ce4a50a622b75b7fe0a704a0d7a", "size": ...
/** * I wrap code that executes on creation in a self-executing function just to * keep it organised, not to protect global scope like it would in alloy.js */ (function constructor(args) { $.navWin.open(); })(arguments[0] || {}); function onListViewItemclick(e) { // We've set the items special itemId-property ...
{ "content_hash": "2e0440fa601201130aa562ae6b3126f8", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 94, "avg_line_length": 32.36842105263158, "alnum_prop": 0.734959349593496, "repo_name": "appcelerator-developer-relations/appc-sample-ti500", "id": "f097dec8baa056cb867547474...
#include <MWidgetCreator> #include <MWidget> #include <MGridLayoutPolicy> #include <MCancelEvent> #include <libmeegochat/meegochataccount.h> #include "contactlistitem.h" M_REGISTER_WIDGET(ContactListItem); ContactListItem::ContactListItem(MWidget *parent) : MListItem(parent), mActDelContact(0), mAct...
{ "content_hash": "0090b02f1da850e4fc9cb24f3deef987", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 104, "avg_line_length": 28.456043956043956, "alnum_prop": 0.6528287314153312, "repo_name": "dudochkin-victor/handset-chat", "id": "a5fa15089abcdb672db536aa9ca1831177fd7cdb",...
import { ARTICLES } from '$redux/action-types' const filters = (state = {}, action) => { switch (action.type) { case ARTICLES.FILTER_OPTION_CHANGE: var s = Object.assign({}, state) s[action.label] = action.value return s default: return state } } export default filters
{ "content_hash": "5d250671ff8ae94884e4e9fe3cc08ebf", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 46, "avg_line_length": 22, "alnum_prop": 0.6233766233766234, "repo_name": "ucev/blog", "id": "44526afb962ed2b5f3d1e9566a6e9cb0060b21ca", "size": "308", "binary": false, ...
layout: tag_archive tag: popp ---
{ "content_hash": "cf0d8e1c862e914a3a34d868e3c5e7d1", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 19, "avg_line_length": 11.333333333333334, "alnum_prop": 0.6764705882352942, "repo_name": "ihomeautomate/ihomeautomate.github.io", "id": "4fc34c53bca5f6f948090560c758dba567f3e...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:background="#21282C" android:layout_height="match_parent"> <ImageView android:id="@+id/btn_back" a...
{ "content_hash": "0c1f54032337134d8438f0aeb9f5522c", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 74, "avg_line_length": 35.883720930232556, "alnum_prop": 0.6519766688269605, "repo_name": "asvanpelt/MultiImageSelector", "id": "e7551a7a4b5f8e388c0ae6cb4931b8bbf3d22f32", ...
package cz.muni.fi.civ.newohybat.persistence.services.impl; import java.util.List; import java.util.Map; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.inject.Inject; import cz.muni.fi.civ.newohybat.persistence.dao.iface.TileDAO; ...
{ "content_hash": "eb0fe3bec7e9f27c8e53d175ac9037c8", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 81, "avg_line_length": 24.916666666666668, "alnum_prop": 0.7531772575250836, "repo_name": "newohybat/civ", "id": "59f740a4302a3ad5aadfe6ec2a3ae9d8b08eee4e", "size": "1495",...
/* * MinIO Cloud Storage, (C) 2017 MinIO, Inc. * * 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 la...
{ "content_hash": "2db78ef4a36f87edd00237a5296f2888", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 113, "avg_line_length": 29.607734806629836, "alnum_prop": 0.6807240156745662, "repo_name": "fwessels/minio", "id": "4577bef96a6aef07adf6cb3de253e6f1dd050dd5", "size": "535...
import unittest from libsaas import http from libsaas.filters import auth class BasicAuthTestCase(unittest.TestCase): def test_simple(self): auth_filter = auth.BasicAuth('user', 'pass') req = http.Request('GET', 'http://example.net/') auth_filter(req) self.assertEqual(req.header...
{ "content_hash": "9911d5cb65e26de35d3a75bfc5751f41", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 76, "avg_line_length": 32.833333333333336, "alnum_prop": 0.5930626057529611, "repo_name": "ducksboard/libsaas", "id": "c59071625e151f70b55c3654646a1fd975fc3cd0", "size": "1...
package com.vaadin.tests.components.ui; import static org.junit.Assert.assertTrue; import java.util.Locale; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import com.vaadin.tests.tb3.MultiBrowserTest; /** * Test to check auto-generated style name for UI div and overl...
{ "content_hash": "f1f6a578e6dc9b561c875d9d5942447f", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 80, "avg_line_length": 31.357142857142858, "alnum_prop": 0.6294608959757023, "repo_name": "Darsstar/framework", "id": "3f7ab9c0981b88eb232c3ec2079a29de6b8d7e78", "size": "1...
@implementation UIButton (EdgeInsets) - (void)layoutButtonWithEdgeInsetsStyle:(ButtonEdgeInsetsStyle)style imageTitlespace:(CGFloat)space { CGFloat imageViewWidth = CGRectGetWidth(self.imageView.frame); CGFloat labelWidth = CGRectGetWidth(self.titleLabel.frame); if (labelWidth == 0) { CGSize t...
{ "content_hash": "579676720531dd67a7c3dfbdb433f940", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 114, "avg_line_length": 41.57142857142857, "alnum_prop": 0.6240549828178694, "repo_name": "CenterY/UIButtonEdgeInsets", "id": "a8f0bc1bb8987dd85475f5e59c5765db16de5d37", "...
Mongo Connector for API Hero
{ "content_hash": "8834345c29296f24da2d3ada3a4167e3", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 28, "avg_line_length": 29, "alnum_prop": 0.8275862068965517, "repo_name": "vancarney/apihero-module-socketio", "id": "209b559e57c3b8a0c76aea9407ae8bc5ff73eccc", "size": "66"...
import {configure} from "./../../src/index"; import MaterializeCssOptions from "./../../src/index"; class ConfigStub { private resources: Array<string> = []; public globalResources(resources) { this.resources = resources; } } describe("the Aurelia Materialize CSS configuration with the option en...
{ "content_hash": "b80e5961aec1b04279632e8076b972a5", "timestamp": "", "source": "github", "line_count": 576, "max_line_length": 100, "avg_line_length": 32.802083333333336, "alnum_prop": 0.6008256589393458, "repo_name": "eriklieben/aurelia-materialize-css", "id": "64e3e7048af8dbda21e1905eebc4cf117a653...
package com.amazonaws.services.transfer.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.transfer.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static ...
{ "content_hash": "e0ef915638a4b65e9f8c45733b40d6a4", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 136, "avg_line_length": 39.32394366197183, "alnum_prop": 0.6518624641833811, "repo_name": "aws/aws-sdk-java", "id": "f2e2e20805aab17b5250519a617b9ff2afadc6a9", "size": "337...
/* global describe test expect */ const batch = require('./batch'); const report = require('../mock/report'); const updatedReport = require('../mock/emptyReport'); describe('report batch', () => { test('should update a batch of fields', () => { const fields = [ { key: 'one', value: 1, ...
{ "content_hash": "183628a603f0215eea439a299bc7c161", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 53, "avg_line_length": 21.428571428571427, "alnum_prop": 0.52, "repo_name": "montacasa/crawler-xml-filters", "id": "a1f531abb105cd3214f2d82fd1c0fb240c478179", "size": "600"...
const net = require('net'); const fs = require('fs'); const bundlePath = '../../app/assets/webpack/'; let bundleFileName = 'server-bundle.js'; let currentArg; class Handler { constructor() { this.queue = []; this.initialized = false; } initialize() { console.log(`Processing ${this.queue.length} pe...
{ "content_hash": "1e503ff5e9016f2ebd3983184d9757d0", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 95, "avg_line_length": 20.83809523809524, "alnum_prop": 0.5882084095063985, "repo_name": "lrosskamp/makealist-public", "id": "bb57bc194f4530d94178e34853965c27dea00712", "s...
require 'active_support' require 'active_support/core_ext' class SprintStatistics def initialize(access_token, milestone_string = nil) @access_token = access_token @milestone_string = milestone_string end def find_milestone_in_repo(repo, milestone = @milestone_string) client.milestones(repo, :state ...
{ "content_hash": "baae8f2987b3945ca0ad5955ef8d89c9", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 131, "avg_line_length": 30.98780487804878, "alnum_prop": 0.6462022825659189, "repo_name": "gmcculloug/sprint_statistics", "id": "41c28a40bd0b4178311ce2691da564471b6ae6ae", ...
#include "tscore/AcidPtr.h" const int READLOCKCOUNT = 61; // a prime larger than number of readers AcidPtrMutex & AcidPtrMutexGet(void const *ptr) { static LockPool<AcidPtrMutex> read_locks(READLOCKCOUNT); static_assert(sizeof(void *) == sizeof(size_t)); return read_locks.getMutex(reinterpret_cast<size_t>(ptr...
{ "content_hash": "2bd68248523daaa9a6bdaeeb43bacce2", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 71, "avg_line_length": 27.608695652173914, "alnum_prop": 0.7464566929133858, "repo_name": "bryancall/trafficserver", "id": "5c793609e7ee21c8ad1be0a2249ef1bae6a3bdf5", "size...
package org.apache.pluto.driver; import org.apache.pluto.driver.util.RenderData; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponseWrapper; /** * @author Neil Griffin */ public class P...
{ "content_hash": "33c76cbb512f86b2cce3809438e01df8", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 71, "avg_line_length": 21.893617021276597, "alnum_prop": 0.7842565597667639, "repo_name": "apache/portals-pluto", "id": "7212a4ae7a24ec4deb3ba84aa98bcdf701ba5bd6", "size": ...
welecom to My Blog!
{ "content_hash": "ec81b1d58d3baa5bc6fd4aa52f114c40", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 19, "avg_line_length": 19, "alnum_prop": 0.7894736842105263, "repo_name": "shuaica/shuaica.github.io", "id": "787e63f54bd6f7f3a2075528fbe9caadb76294d1", "size": "36", "bin...
({ testUndefined: { test: function(component){ this.whatItIs(component, "Undefined", false); } }, testTrue: { attributes : {thang : true}, test: function(component){ this.whatItIs(component, "true", true); } }, testFalse: { ...
{ "content_hash": "2a24792f6882d70e7f7939fdea0f98e9", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 122, "avg_line_length": 34.18, "alnum_prop": 0.5833820947922762, "repo_name": "madmax983/aura", "id": "a18227e3a5903e101cf3b13e07d88f835ee5b612", "size": "2320", "binary"...
module Mosaic # Used to build a response for sinatra to serve class Response attr_accessor :content, :layout, :response_code, :view_format, :output_format attr_reader :request def initialize(request) @view_format = :erb @output_format = :html @layout = :'layouts/application' ...
{ "content_hash": "a4057212ec228ccd21a5ff1015b054f2", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 81, "avg_line_length": 25.6, "alnum_prop": 0.6484375, "repo_name": "Arcath/mosaic", "id": "4b0f5dbb5916e6bc0c5916489d4fcef5623af8bb", "size": "384", "binary": false, "c...
package org.apache.hadoop.hbase; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.concurrent.TimeUnit; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hb...
{ "content_hash": "a73bdf4bebdf44e5714a6670e9f55282", "timestamp": "", "source": "github", "line_count": 839, "max_line_length": 100, "avg_line_length": 34.656734207389746, "alnum_prop": 0.689961137668948, "repo_name": "ibmsoe/hbase", "id": "1496dc7111ce921ac8620514e4f45b1ad69d4647", "size": "29883"...