text
stringlengths
2
1.04M
meta
dict
require "thread" ## # Standard Ruby's +Thread+ class. # class Thread ## # Represents Python-style class interfacing thread. # module Object ## # Holds Ruby native thread instance. # @return [Thread] Ruby native thread object # attr_accessor :native_threa...
{ "content_hash": "afa72c55e8c93756b068be8a9a31de25", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 129, "avg_line_length": 24.88888888888889, "alnum_prop": 0.46875, "repo_name": "martinkozak/object-threads", "id": "e0d2569f620f4e6a19005578dc59f1f0877fc5f9", "size": "2319...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="@color/purple_dark" > </LinearLayout>
{ "content_hash": "fcd87aeabe8631cb4811f08c74df484b", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 72, "avg_line_length": 35.75, "alnum_prop": 0.7377622377622378, "repo_name": "adkarta/android-sliding-menu", "id": "2c9791a04d8411337e1ad14a001f1301e4ed95f8", "size": "286",...
CMS.Use(['Asset/CMS.AssetList'], function (CMS) { CMS.AssetLibrary = Class.extend({ domElement: null, form: null, assetList: null, assetListElement: null, onInsert: $.noop, init: function (data) { $.extend(this, data); if (null != this.ass...
{ "content_hash": "c8ac66adca8c65d51929cc4ca6d7da0d", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 75, "avg_line_length": 27.884615384615383, "alnum_prop": 0.47172413793103446, "repo_name": "modo/cms", "id": "140cf6d0668ffa2d24e0201e85a0758f1eded3ce", "size": "1450", "...
package proj.me.imagewindow.images.dimentions; /** * Created by root on 27/3/16. */ public class BeanShade3 extends BeanShade2{ private int width3; private int height3; public int getWidth3() { return width3; } public void setWidth3(int width3) { this.width3 = width3; } ...
{ "content_hash": "082a6995f0ab5b45c334a1d45bbf7ab5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 46, "avg_line_length": 18.4, "alnum_prop": 0.6195652173913043, "repo_name": "deepaktwr/ImageWindow", "id": "fcface00004d8937b5f93cfd67260028824a8aeb", "size": "460", "bin...
package org.kuali.kfs.module.bc.batch.dataaccess.impl; import java.sql.Date; import java.sql.Types; import java.util.Calendar; import java.util.GregorianCalendar; import org.kuali.kfs.module.bc.BCConstants; import org.kuali.kfs.module.bc.batch.dataaccess.BudgetConstructionHumanResourcesPayrollInterfaceDao; import or...
{ "content_hash": "46a296c430d658fcffb83fc4900eb130", "timestamp": "", "source": "github", "line_count": 351, "max_line_length": 308, "avg_line_length": 65.67806267806267, "alnum_prop": 0.6536242571465752, "repo_name": "Ariah-Group/Finance", "id": "8be9d7935d6aa4431643675cfb7ee9796370dad2", "size": ...
package opensource.component.photoview; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Matrix; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.net.Uri; import android.util.AttributeSet; import android.widget.ImageView; import opensourc...
{ "content_hash": "cef13ab32b162716bd88852a1fea042b", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 84, "avg_line_length": 23.983539094650205, "alnum_prop": 0.6666094715168154, "repo_name": "benniaobuguai/android-project-wo2b", "id": "58fda3d20b541d60ccbff4ca1db247a2471dc7...
import requests import sys import config import os.path print 'ADYEN skin upload v. 0.1' merch_env_codes = config.merch_env_codes moto_env_codes = config.moto_env_codes ssl_verify=True def upload_skin(skin_file, account_data, env_code) : url_0 = "https://ca-test.adyen.com/ca/ca/login.shtml" url = "htt...
{ "content_hash": "030edeee19a5fedab13aa31ccb49c85c", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 215, "avg_line_length": 30.432, "alnum_prop": 0.6303890641430073, "repo_name": "shaiban/adyen_skin_upload", "id": "dd92b5948772b38a715fa2f0d70df9a299456133", "size": "3804...
gulp-here ========= [![npm version](https://badge.fury.io/js/gulp-here.svg)](https://badge.fury.io/js/gulp-here) Transform and inject resources into HTML template. ## Install ```bash npm install gulp-here --save-dev ``` ## Usage * **In gulp stream:** ```js var here = require('gulp-here') gulp.src('asserts/*.html...
{ "content_hash": "4b63060025102578296780e83527b42d", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 123, "avg_line_length": 31.45378151260504, "alnum_prop": 0.5543681538872562, "repo_name": "switer/gulp-here", "id": "989d3d7b2840cc8a55bad73dedfd07376dd9147b", "size": "37...
import { APP_ROUTES, appRouting } from './app.routing'; import { DashboardComponent } from './dashboard/dashboard.component'; import { BuildsComponent } from './builds/builds.component'; describe('AppRoutes', () => { it('should redirect to dashboard', () => { expect(APP_ROUTES[0].path).toBe('**'...
{ "content_hash": "6aba2f85d73a27ed3cfa265a51ea433c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 69, "avg_line_length": 28.444444444444443, "alnum_prop": 0.623046875, "repo_name": "klinker-consulting/jenkins-dashboard", "id": "372fc91317d5da44bc66a92e389002f6f078cea7", ...
#include "mitkFileReaderWriterBase.h" #include "mitkCoreServices.h" #include "mitkIMimeTypeProvider.h" #include "mitkIOMimeTypes.h" #include "mitkLogMacros.h" #include <usGetModuleContext.h> #include <usLDAPProp.h> namespace mitk { FileReaderWriterBase::FileReaderWriterBase() : m_Ranking(0), m_MimeTypePrefix(IOM...
{ "content_hash": "34a4bc8b27ef63bcd8460fadda2ce3b8", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 119, "avg_line_length": 32.32828282828283, "alnum_prop": 0.6817684736759881, "repo_name": "MITK/MITK", "id": "dc26e2f832c64b2766164473a1630533ba324789", "size": "6782", ...
class cmbNucAssembly; class cmbAssyParametersWidget : public QWidget { Q_OBJECT public: cmbAssyParametersWidget(QWidget* p); virtual ~cmbAssyParametersWidget(); // Description: // set/get the assembly that this widget with be interact with void setAssembly(cmbNucAssembly*); cmbNucAssembly* getAssembly(...
{ "content_hash": "a16c34849c225851771f699f41a5c40f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 64, "avg_line_length": 22.083333333333332, "alnum_prop": 0.7635220125786164, "repo_name": "Sprunth/RGG", "id": "c2ae25e2d9c03be1f517752198bd64621c4ebc51", "size": "945", ...
import gulp from 'gulp'; import { logger } from 'utility-node-log'; import minStyle from 'gulp-clean-css'; import minScript from 'gulp-uglify'; import minHtml from 'gulp-htmlmin'; import concat from 'gulp-concat'; import rename from 'gulp-rename'; import inline from 'gulp-inline'; logger.logLevel = 'DEBUG'; let appI...
{ "content_hash": "b4f0afb8f0525d95adc07a8953f1e1ec", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 71, "avg_line_length": 25.558823529411764, "alnum_prop": 0.616800920598389, "repo_name": "unknownmoon/tool-detect-features", "id": "f980870d5a679e98800354ceba91531c7f90c20a",...
<!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_144) on Sat Sep 30 14:23:25 JST 2017 --> <title>Constant Field Values (core API)</title> <meta name="date" content="2017-09-30"> <link rel="sty...
{ "content_hash": "fd469adcdbae68727832c8d487465393", "timestamp": "", "source": "github", "line_count": 592, "max_line_length": 299, "avg_line_length": 46.30067567567568, "alnum_prop": 0.706566946369938, "repo_name": "RCRS-ADF/core", "id": "65b9df88e7bc41de564bb2fe7247e5b2a1a84902", "size": "27410"...
package org.commcare.resources.model; /** * Represents an install issue caused by resource having invalid content (like mismatched xml tag) * * @author Phillip Mates (pmates@dimagi.com) */ public class InvalidResourceException extends RuntimeException { public final String resourceName; public InvalidReso...
{ "content_hash": "81509dfdf95f0be099d5e60bb125a666", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 98, "avg_line_length": 27.5, "alnum_prop": 0.7386363636363636, "repo_name": "dimagi/commcare-core", "id": "80adf5f946771cd3e1677bd1451313fe74e89cd0", "size": "440", "bina...
<?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> <name>bytecompressor-parent</na...
{ "content_hash": "6c83c3558c0817dda374689d7d1def03", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 204, "avg_line_length": 31.130434782608695, "alnum_prop": 0.6294227188081937, "repo_name": "avast/bytecompressor", "id": "a31ecc28e5fa46386927a677b31732071becdf97", "size":...
import deprecate from 'util-deprecate'; import '@storybook/addon-actions/register'; import '@storybook/addon-links/register'; deprecate( () => {}, '@storybook/react-native/addons is deprecated. See https://storybooks.js.org/docs/react-storybook/addons/using-addons/', )();
{ "content_hash": "ae9181965c01199ef31ba6101f367b88", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 122, "avg_line_length": 34.75, "alnum_prop": 0.737410071942446, "repo_name": "bigassdragon/storybook", "id": "443c8cfc4e78657919579d813f7700a861628849", "size": "278", "bi...
<html> <head> <title>Docs For Class PHPPowerPoint_IOFactory</title> <link rel="stylesheet" type="text/css" href="../media/style.css"> </head> <body> <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%"> <tr> <td class="header_top">PHPPowerPoint</td> </tr> <tr><td class="header_line"><im...
{ "content_hash": "b71bba30e32df26643c08a84993f28ba", "timestamp": "", "source": "github", "line_count": 485, "max_line_length": 326, "avg_line_length": 35.575257731958764, "alnum_prop": 0.5970209806421699, "repo_name": "jLKisni/PitchItUp", "id": "7339c76942e30fb1c84bce4de8aed3b9523b4747", "size": "...
package org.danekja.edu.pia.manager; import javax.transaction.Transactional; import org.danekja.edu.pia.dao.UserDao; import org.danekja.edu.pia.domain.User; import org.danekja.edu.pia.domain.UserValidationException; import org.danekja.edu.pia.utils.Encoder; import org.springframework.beans.factory.annotation.Autowire...
{ "content_hash": "395703fbf623ec8ee3a7796641b6551f", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 92, "avg_line_length": 28.0188679245283, "alnum_prop": 0.7057239057239058, "repo_name": "danekja/spring-lab", "id": "2f33e5afc7b71b158e4b4e97d19a77438f1c693a", "size": "148...
#include <stdio.h> #include <stdlib.h> typedef struct BinSearchTree { int key; struct BinSearchTree *left; struct BinSearchTree *right; } NodeT; NodeT *root ; NodeT * Insert(NodeT* root ,int key) { if(root==NULL) { NodeT *temp; temp = (NodeT *)malloc(sizeof(NodeT)); temp -...
{ "content_hash": "45afb062c750acf2c06904be4c8d4642", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 85, "avg_line_length": 18.979057591623036, "alnum_prop": 0.5078620689655172, "repo_name": "aut-eng-2014/aut-eng-2014", "id": "828b7f5a582ebb724afdf902e50cfee459000e49", "s...
#include "gigaset.h" #include <linux/isdnif.h> #include <linux/export.h> #define SBUFSIZE 4096 /* sk_buff payload size */ #define TRANSBUFSIZE 768 /* bytes per skb for transparent receive */ #define HW_HDR_LEN 2 /* Header size used to store ack info */ #define MAX_BUF_SIZE (SBUFSIZE - HW_HDR_LEN) /* max data packet ...
{ "content_hash": "c6241a63025ebb5d168cc0c20089316f", "timestamp": "", "source": "github", "line_count": 682, "max_line_length": 80, "avg_line_length": 26.287390029325515, "alnum_prop": 0.641343150379295, "repo_name": "MihawkHu/Android_scheduler", "id": "0f13eb1de6570709d12b3b2354118ed778fb1947", "s...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>standard.db.sql.ODBCCommit</title> <link href="css/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > </head> <body bgcolor="#ffffff"> <table border="0" width="...
{ "content_hash": "baaab2b975627a5bd2e41da12362fc80", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 269, "avg_line_length": 37.717948717948715, "alnum_prop": 0.6312032630863358, "repo_name": "Devronium/ConceptApplicationServer", "id": "52de242b4557e2c9b0fd954404fe52a159d86f...
package io.github.repir.apps.Feature; import io.github.htools.hadoop.io.archivereader.ReaderInputFormat; import io.github.htools.hadoop.io.archivereader.RecordKey; import io.github.htools.hadoop.io.archivereader.RecordValue; import io.github.repir.Repository.Repository; import io.github.repir.Repository.StoredFeature;...
{ "content_hash": "c778a2c6df8829b65e788ce6e3e3bddc", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 153, "avg_line_length": 50.71641791044776, "alnum_prop": 0.7628016480282519, "repo_name": "RepIR/RepIRApps", "id": "eabc60903e3bed79baad6a887579f4c6742e3d53", "size": "3398...
export function last (arr) { return arr[arr.length - 1]; }
{ "content_hash": "1fe015acbd629f5402eb7efac2fc6382", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 29, "avg_line_length": 20.333333333333332, "alnum_prop": 0.6557377049180327, "repo_name": "mike-engel/hyperterm", "id": "2387fbbeaae4082da670a9f7c52da86075ddcb8f", "size": "...
<?xml version='1.0' encoding='UTF-8' standalone='no'?> <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6"> <compounddef id="difference_8hpp" kind="file"> <compoundname>difference.hpp</compoundname> <includes local="no">algorithm</include...
{ "content_hash": "e75483ce8b8b6f417de6fc8a42167793", "timestamp": "", "source": "github", "line_count": 4920, "max_line_length": 134, "avg_line_length": 37.05325203252033, "alnum_prop": 0.5853419051902886, "repo_name": "baslr/ArangoDB", "id": "03c641aec2bb1da965f4a3c6ea9a40e071a0a20e", "size": "182...
import sys, json, logging from common_function import get_metrics_json logging.basicConfig(level=logging.WARNING,format='%(asctime)s: %(levelname)s - %(module)s - %(message)s') url = sys.argv[1] if len(sys.argv) > 1 else 'localhost' topic = sys.argv[2] if len(sys.argv[2]) > 2 else '' #metric should be like BytesInPer...
{ "content_hash": "45ad60a41d3f3a91c06278e07b708df3", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 105, "avg_line_length": 39.06896551724138, "alnum_prop": 0.6575463371579876, "repo_name": "arshvin/scripts", "id": "8ffea65edff5d9ce8f4abcb5fc7f64a1dc3f9b93", "size": "2921...
// Copyright © 2014 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright notice, this l...
{ "content_hash": "eca2127d7ca3d2a2b1f33af2c6120e12", "timestamp": "", "source": "github", "line_count": 892, "max_line_length": 749, "avg_line_length": 52, "alnum_prop": 0.6625991721283201, "repo_name": "VincentFortuneDeng/VirtualRadarSource2.0.2", "id": "db01c61566f735bee529cec493d4b44b8e3880c5", ...
Rails.application.routes.draw do devise_for :admin_users, ActiveAdmin::Devise.config ActiveAdmin.routes(self) root "pages#home" get '/about', to: 'pages#about', as: :about resources :looking, only: [:index, :show] resources :missing, only: [:index, :show] end
{ "content_hash": "5319335a7fa410102d5221f43fb1155b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 53, "avg_line_length": 23, "alnum_prop": 0.6956521739130435, "repo_name": "erdostom/migrationaid", "id": "de85ecd6709707e78fdc500296276938b4aff079", "size": "276", "binar...
GUI Editor client dx_editbox.lua creates a dx editbox widget for use in the right click menus --]]-------------------------------------------------- local gKeysPressed = {} local gCapslock = false DX_Editbox = {} DX_Editbox.__index = DX_Editbox DX_Editbox.instances = {} DX_Editbox.inUse = function() for _,e...
{ "content_hash": "9d393123b59217731864a251b69c1a5e", "timestamp": "", "source": "github", "line_count": 864, "max_line_length": 234, "avg_line_length": 25.26851851851852, "alnum_prop": 0.6474899230487358, "repo_name": "XJMLN/MTA-PSZ", "id": "56fa824f0c7e131fe03f640055545ccf8fc872a1", "size": "21887...
#include "Engine/Extension/Spine/SkeletonBone.h" static void SetToSetupPose(SkeletonBone* bone) { Drawable* drawable = bone->drawable; SkeletonBoneData* boneData = bone->boneData; ADrawable_SetPosition2(drawable, boneData->x, boneData->y); ADrawable_SetScale2 (drawable, boneData->sc...
{ "content_hash": "5f9557e2952b5ea10613bdf8ed725298", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 73, "avg_line_length": 20.875, "alnum_prop": 0.7077844311377246, "repo_name": "scottcgi/Mojoc", "id": "6fadd20f2ad4799a96d3f853f6e135245d010e43", "size": "1371", "binary"...
package com.google.api.ads.adwords.jaxws.v201402.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * * Query mutation results, of a {@code COMPLETED} job....
{ "content_hash": "bf66b4ce9237133cc75574a7cf792984", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 126, "avg_line_length": 26.12676056338028, "alnum_prop": 0.613477088948787, "repo_name": "nafae/developer", "id": "82f34116f0de6ad4ce610b3d66e87c7fbb41558c", "size": "1855"...
package org.encuestame.mvc.controller.json.v1; /** * Created by jpicado on 07/06/15. */ public class LoginStatus { private final boolean loggedIn; private final String username; public LoginStatus(boolean loggedIn, String username) { this.loggedIn = loggedIn; this.username = username;...
{ "content_hash": "e3cbb98f9adddcd79893143b8538d72f", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 59, "avg_line_length": 18.44, "alnum_prop": 0.6464208242950108, "repo_name": "cristiani/encuestame", "id": "0b0bd8887aa7b4e9dfe86111a65f2448ba97d0ab", "size": "1109", "bi...
# # OpenSSL/crypto/Makefile # DIR= crypto TOP= .. CC= cc INCLUDE= -I. -I$(TOP) -I../include $(ZLIB_INCLUDE) # INCLUDES targets sudbirs! INCLUDES= -I.. -I../.. -I../asn1 -I../evp -I../../include $(ZLIB_INCLUDE) CFLAG= -g MAKEDEPPROG= makedepend MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) MAK...
{ "content_hash": "40161f9238e6d810e4686160d7b6a1c7", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 118, "avg_line_length": 39.930348258706466, "alnum_prop": 0.646897582855719, "repo_name": "jiangzhu1212/oooii", "id": "f5b42cd433618d92a1a476a31ceb4919d57dfa8a", "size": "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_45) on Mon Aug 31 00:21:51 CST 2015 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>net.cassite.style Class Hier...
{ "content_hash": "326e6e03a257d5c48a406574be879f92", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 206, "avg_line_length": 42.69398907103825, "alnum_prop": 0.6505823627287853, "repo_name": "NatureCode/Style", "id": "cbcde97f42a05f87c407be578d72ef9b1be9e676", "size": "78...
import os import platform from setuptools import setup install_requires = ['mongomock', 'pymongo', 'pprintpp'] if platform.python_version() < '2.7': install_requires.append('unittest2') setup( name='whiskeynode', version='0.1', url='https://github.com/texuf/whiskeynode', classifiers = [ ...
{ "content_hash": "1cc32e3f1d18e5a9be8730934bc9647a", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 73, "avg_line_length": 26.46153846153846, "alnum_prop": 0.625, "repo_name": "texuf/whiskeynode", "id": "14a66caf8cb5cb2ae205ab3fd8c0c97d52c48915", "size": "688", "binary"...
<ul class="UIAPIPlugin-toc"> <li><a href="#overview">Overview</a></li> <li><a href="#options">Options</a></li> <li><a href="#events">Events</a></li> <li><a href="#methods">Methods</a></li> <li><a href="#theming">Theming</a></li> </ul> <div class="UIAPIPlugin"> <h1>jQuery UI Draggable</h1> <div id="overview"> <h...
{ "content_hash": "803f3b3f8ae69b580da20095f58ecf59", "timestamp": "", "source": "github", "line_count": 1576, "max_line_length": 381, "avg_line_length": 27.111040609137056, "alnum_prop": 0.6191869309804106, "repo_name": "comdig/viladigital", "id": "5b9d7a5e5e8ed7bb07d1f11a2a65312555ee30c7", "size":...
#include "TextPlacement/TextPlacementPolicy.h" #include "TextPlacement/TextPlacementData.h" #include "TextPlacement/TextResult.h" #include "Util/StringCache.h" #include "ViewPortInterface.h" #include "NativeTextInterface.h" #include "OverlapDetector.h" #include "MapProjection.h" #include "TileFeature.h" #include "Ti...
{ "content_hash": "8e60c5082ec060825f69590d9db09bd9", "timestamp": "", "source": "github", "line_count": 262, "max_line_length": 89, "avg_line_length": 30.858778625954198, "alnum_prop": 0.6136054421768707, "repo_name": "wayfinder/Wayfinder-CppCore-v2", "id": "0cea89f1fbff28dc8bbcb93b3d8420f8a2bfd5fb",...
BOS is a ruby client that scrape your banking details from your bank of scotland web page. You are higly under risk (e.g. online bank account get blocked; Either password or security code leaks) when using it. So please do use it responsibly (The author of the gem under any circumstances will not responsible for any lo...
{ "content_hash": "b6a330d2bce7cbb0ce1e9bda8ec5a331", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 341, "avg_line_length": 32.92, "alnum_prop": 0.7496962332928311, "repo_name": "jaxi/bos", "id": "60225a1ca8a299216f37015e16d7bd847ee131b1", "size": "1653", "binary": fals...
namespace blink { struct Manifest; class WebLocalFrame; class WebURL; class WebManifestManager { public: using Callback = base::OnceCallback<void(const WebURL&, const Manifest&)>; BLINK_EXPORT static void RequestManifestForTesting(WebLocalFrame*, Callback cal...
{ "content_hash": "fe9f0e14c98ded00eef6eb436a012f80", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 76, "avg_line_length": 24.647058823529413, "alnum_prop": 0.6682577565632458, "repo_name": "endlessm/chromium-browser", "id": "503e2c676d96053b2a1f86c9da17ac5388dadeb3", "si...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("12...
{ "content_hash": "f3f3451104b5009a7f5f841dc39cc018", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.083333333333336, "alnum_prop": 0.7455579246624022, "repo_name": "madbadPi/TelerikAcademy", "id": "2811e725146d40142bf64eecde0180a43808a135", "size...
pub struct VolatileCell<T> { value: T, } impl<T> VolatileCell<T> { /// Create a cell with initial value. pub fn new(value: T) -> VolatileCell<T> { VolatileCell { value: value, } } /// Get register value. #[cfg(not(feature="replayer"))] #[inline] pub fn get(&self) -> T { unsafe { ...
{ "content_hash": "abc4198d76dec593e5c758012d21a689", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 113, "avg_line_length": 26.227436823104693, "alnum_prop": 0.6100481761871989, "repo_name": "posborne/zinc", "id": "67929be175b7fd195dd5bc34dff0b8bd044c851b", "size": "8907...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project 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/license...
{ "content_hash": "0c352de025fc91ae6400f102cf8d6b4e", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 77, "avg_line_length": 40.55555555555556, "alnum_prop": 0.7191780821917808, "repo_name": "unl-nimbus-lab/ros_glass_tools", "id": "7e5160de05fbcc56f1bd30ddf8228fc404ee7a24", ...
<?php class ClientesController extends AppController { var $name = 'Clientes'; var $uses = array('Cliente','Movimiento','Provincia','Localidade','Departamento'); var $components = array('Paginator','Session','Cimage'); var $helpers = array('Html','Form','Time'); public function index() { $this->layout = 'boots...
{ "content_hash": "95ef0624eb1e09a53fbed0ad6ee3db3e", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 218, "avg_line_length": 38.893382352941174, "alnum_prop": 0.6024198884582663, "repo_name": "luisse/tbike", "id": "875882c699847d003df34eb4405188e01aa71412", "size": "10581...
Bitcoin version 0.4.4 is now available for download at: http://luke.sarmacoinsjr.org/programs/bitcoin/files/bitcoind-0.4.4/ This is a bugfix-only release based on 0.4.0. Please note that the wxBitcoin GUI client is no longer maintained nor supported. If someone would like to step up to maintain this, they should cont...
{ "content_hash": "29dbf714aefa2d4025d0049e5ee8f8a8", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 184, "avg_line_length": 56.233333333333334, "alnum_prop": 0.8032009484291642, "repo_name": "inkvisit/sarmacoins", "id": "72faaccb4704b7bd6e90991b78f17419076fbd22", "size": ...
<h1>Access to Google Sheets from Yii2</h1> Example are using Google REST API. OAuth2 authorization and getting spreadsheet. <h2>Register Google-project first</h2> Follow the instructions - <a href='https://support.google.com/cloud/answer/6158849?hl=en&ref_topic=6262490'> Setting up OAuth 2.0 </a>. <h2>Installa...
{ "content_hash": "122b9a9816f0c45c2bd9ff902d05e75c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 82, "avg_line_length": 24.708333333333332, "alnum_prop": 0.7571669477234402, "repo_name": "sergmoro1/google-sheets", "id": "a18190fb6893f8b891f15843731111b40d2fa02f", "size...
package controller_test import ( "testing" "time" "github.com/fabric8-services/fabric8-wit/app/test" . "github.com/fabric8-services/fabric8-wit/controller" "github.com/fabric8-services/fabric8-wit/gormtestsupport" "github.com/fabric8-services/fabric8-wit/resource" testsupport "github.com/fabric8-services/fabr...
{ "content_hash": "aed192fe43917541ff5ef934f126fa17", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 85, "avg_line_length": 28.215686274509803, "alnum_prop": 0.7366226546212647, "repo_name": "ALMighty/almighty-core", "id": "ea73c651ecd167e4ee187a80b3816376ad67fd15", "size"...
package org.nmrg.entity.sys; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.nmrg.entity.BaseEntity; /** ** 角色-权限 ** * @ClassName: SysRolePermsEntity ** @Description: ...
{ "content_hash": "c68df126ca9de34543fe8c5cf1802598", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 67, "avg_line_length": 18.267605633802816, "alnum_prop": 0.6638396299151889, "repo_name": "bella0101/websitePortal", "id": "f797cf7b66b2a01bbc3a62cca73ff805856af315", "size...
package node import "github.com/node4j/node-repo-proxy/util" func GetMetaData() ([]byte, error) { data, found := util.GetFromCache("node") if found { return data.([]byte), nil } data, err := loadMetaData() if err != nil { return nil, err } util.PutInCache("node", data) return data.([]byte), nil } func ...
{ "content_hash": "607451354f2628fb6e43f33527aa28c8", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 47, "avg_line_length": 16.15625, "alnum_prop": 0.6344294003868471, "repo_name": "srs/node-repo-proxy", "id": "9ea4ad476f29a49e58e5ed31ceeb3b974cc1e237", "size": "517", "b...
<?php namespace zpt\rest\test\message; require_once __DIR__ . '/../test-setup.php'; use PHPUnit_Framework_TestCase as TestCase; use zpt\rest\message\Response; /** * This class test the {@link Response} class. * * @author Philip Graham <philip@zeptech.ca> */ class ResponseTest extends TestCase { public functio...
{ "content_hash": "76c0e746725fede1275e8b4251402e6d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 58, "avg_line_length": 22.161290322580644, "alnum_prop": 0.6826783114992722, "repo_name": "pgraham/php-rest-server", "id": "120e2a3ad551d0dd234d7c13d02e4f13fa65baad", "size...
""" Validates the media_metric. """ from cli_tools.tbmv3.validators import simple_validator def CompareHistograms(test_ctx): v2_metric = 'mediaMetric' v3_metric = 'media_metric' v2_histograms = test_ctx.RunTBMv2(v2_metric) v3_histograms = test_ctx.RunTBMv3(v3_metric) simple_config = { 'v2_metric': v...
{ "content_hash": "319dd4ab572972909efd411b50a816a5", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 80, "avg_line_length": 35.8875, "alnum_prop": 0.5649599442702891, "repo_name": "scheib/chromium", "id": "39c8d62b5bb9083c402ec6b63d0a1f73c5be4969", "size": "3033", "binar...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Führ. Pilzk. (Zwickau) 75 (1871) #### Original name Agaricus tener Schaeff., 1774 ### Remarks null
{ "content_hash": "f0fbb5b46e599e5359f4071d45361ea3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 14.307692307692308, "alnum_prop": 0.6989247311827957, "repo_name": "mdoering/backbone", "id": "c51441244045ce46906d585f6dfffd11d33b6f46", "size": "26...
<div class="col-md-12 mb30"> <div class="panel panel-info panel-hovered panel-stacked mb30 text-left"> <div class="clearfix tabs-linearrow"> <ul class="nav nav-tabs"> <li class="active" id="li-account"><a href="#tab-linearrow-one" data-toggle="tab" aria-expanded="false">My Account</a></li> <...
{ "content_hash": "9083febe4c8e01ba9fb0fa25fbb98614", "timestamp": "", "source": "github", "line_count": 558, "max_line_length": 269, "avg_line_length": 47.25627240143369, "alnum_prop": 0.4834464712351625, "repo_name": "nageswararao-nali/nagbus", "id": "b3b8b4294c9fb1f28725f2fefd1e3b2e545bc005", "si...
import * as fp from "@iml/fp"; export function parselyBox() { "ngInject"; return { restrict: "E", scope: {}, bindToController: { onSubmit: "&", completer: "&", parserFormatter: "=", query: "=?" }, controllerAs: "ctrl", controller: fp.noop, template: `<form name="...
{ "content_hash": "1b1aff559fdf30deac30f702c9eb9213", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 94, "avg_line_length": 27.301369863013697, "alnum_prop": 0.5890617160060211, "repo_name": "intel-hpdd/GUI", "id": "06fea5463547c5f37da0cdb202401aadbc597480", "size": "2149"...
<HTML> <HEAD> <TITLE>VerbouwingVerplaatsingGebruiksfunctiewijziging</TITLE> </HEAD> <BODY> <FONT face="Verdana, Helvetica, sans-serif"> <H2> <FONT SIZE="-1">http://data.labs.pdok.nl/data/bbl/bbl#VerbouwingVerplaatsingGebruiksfunctiewijziging</FONT><BR> Individual VerbouwingVerplaatsingGebruiksfunctiewijziging</H2> <HR>...
{ "content_hash": "6e0e3747e324e7eac38227f6cda05471", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 163, "avg_line_length": 30.56, "alnum_prop": 0.6708115183246073, "repo_name": "PDOK/data.labs.pdok.nl", "id": "081d1cd252327089b6831328f010c08c70f99db8", "size": "1528", ...
"use strict"; /** * Each module has a <moduleName>.module.js file. This file contains the angular module declaration - * angular.module("moduleName", []); * The build system ensures that all the *.module.js files get included prior to any other .js files, which * ensures that all module declarations occur before a...
{ "content_hash": "c2a3f0a56908e2d450e18e83f3e81771", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 228, "avg_line_length": 34.65298507462686, "alnum_prop": 0.5948099493916227, "repo_name": "FDIM/ng-carousel", "id": "2a00dcf97c9aa1b7a4e00da64447ea5fb4d390da", "size": "92...
We discussed how to deal with missing deadlines and the import of communicating with the client (in this case, teacher). We also worked through a group exercise on set theory. See: http://en.wikipedia.org/wiki/Venn_diagram
{ "content_hash": "792492e51c1f8c94107047fb354a7442", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 120, "avg_line_length": 75, "alnum_prop": 0.7866666666666666, "repo_name": "elizabrock/NSS-Syllabus-Cohort-3", "id": "687471f6b48625f7032cfab44193d8a4ab8a6a69", "size": "225...
<!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 Thu Jan 19 00:04:42 PST 2012 --> <TITLE> ProjectedProtobufTupleFactory </TITLE> <META NAME="date" CONTENT="2012-01-19"> <LINK REL ="styleshe...
{ "content_hash": "e395147b2d53375555be353d03b54494", "timestamp": "", "source": "github", "line_count": 260, "max_line_length": 564, "avg_line_length": 45.026923076923076, "alnum_prop": 0.6436320150337405, "repo_name": "ketralnis/elephant-bird", "id": "4cfff27dc1974860460c83050dd8f3f2ba9729f2", "si...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using BotEngine.EveOnline.Sensor; using BotEngine.EveOnline.Sensor.Option; using Sanderling.Interface.MemoryStruct; using Sanderling.MemoryReading.Production; namespace Optimat.EveOnline.Auswert...
{ "content_hash": "10d4d5c9518dc7471b723c4ca24bb171", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 157, "avg_line_length": 25.025316455696203, "alnum_prop": 0.7597369752149722, "repo_name": "exodus444/Sanderling", "id": "691685922d85faa5029f1e8ae4c233fedc902a7d", "size"...
from builtins import str from builtins import range from unittest import TestCase import sys import hashlib import copy class GeneralTests(TestCase): def test_load(self): gxap = sys.modules['argparse2tool'] ap = sys.modules['argparse'] # Ensure we've loaded the correct argparse ;) ...
{ "content_hash": "7cbcd88c9a9af5cca00f708b22c34711", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 92, "avg_line_length": 30.61, "alnum_prop": 0.501796798431885, "repo_name": "erasche/argparse2tool", "id": "ab574e591a0da6fe0642a227b15d64e32e402457", "size": "3061", "b...
package com.simplicityitself.rxgeode; import com.gemstone.gemfire.cache.query.CqEvent; import com.gemstone.gemfire.cache.query.CqListener; import org.reactivestreams.Subscriber; class GeodeStreamingCqListener implements CqListener { private Subscriber<? super CqEvent> subscriber; GeodeStreamingCqListener(Su...
{ "content_hash": "153d8c9b8a83e2dd4c2d97e87e09939e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 63, "avg_line_length": 24.466666666666665, "alnum_prop": 0.7029972752043597, "repo_name": "simplicityitself/groovy-gemfire", "id": "14a290cb1425f6f01793970a532ccf6de6f60d83",...
<!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_72) on Wed Dec 31 16:42:13 UTC 2014 --> <title>GenericMetadataSupport.WildCardBoundedType (Mockito 1.10.19 API)</title> <meta name="dat...
{ "content_hash": "7c968b8da5ec89045c5e92626daaa1a2", "timestamp": "", "source": "github", "line_count": 461, "max_line_length": 396, "avg_line_length": 41.947939262472886, "alnum_prop": 0.6162478022546282, "repo_name": "JPAT-ROSEMARY/SCUBA", "id": "aa61dbb774754b88f3008d95cf45f429286ba64e", "size":...
package nl.riebie.mcclans.comparators; import nl.riebie.mcclans.clan.ClanImpl; import java.util.Comparator; /** * Created by Kippers on 19-1-2016. */ public class ClanKdrComparator implements Comparator<ClanImpl> { @Override public int compare(ClanImpl clan1, ClanImpl clan2) { double clan1KDR = ...
{ "content_hash": "f06c23d9bad5b0a8798e9ad606e2d37d", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 67, "avg_line_length": 24.764705882352942, "alnum_prop": 0.6152019002375297, "repo_name": "iLefty/mcClans", "id": "e12491e36c884320163e131926d6fa143f7dcf1e", "size": "2013"...
package net.explorviz.history.server.resources; import com.github.jasminb.jsonapi.exceptions.DocumentSerializationException; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.enums.SecuritySchemeType; import io.swagger.v3.oas.anno...
{ "content_hash": "fd6f35fbf07e90fa93aabbdbe0e5e440", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 101, "avg_line_length": 43.053061224489795, "alnum_prop": 0.7047781569965871, "repo_name": "ExplorViz/explorviz-ui-backend", "id": "d7c673858723f9ed2e2ba1e5e89b22e17b6c6bd9"...
import _ from 'underscore'; // Returns the channel IF found otherwise it will return the failure of why it didn't. Check the `statusCode` property function findChannelByIdOrName({ params, checkedArchived = true }) { if ((!params.roomId || !params.roomId.trim()) && (!params.roomName || !params.roomName.trim())) { th...
{ "content_hash": "93b7f54e0bec454be7f07d3d85ab2808", "timestamp": "", "source": "github", "line_count": 956, "max_line_length": 186, "avg_line_length": 29.53765690376569, "alnum_prop": 0.678907854663928, "repo_name": "flaviogrossi/Rocket.Chat", "id": "a2177bfc317f65e7694f71c640bc0956f3666c30", "siz...
var lunrIndex, pagesIndex; function endsWith(str, suffix) { return str.indexOf(suffix, str.length - suffix.length) !== -1; } // Initialize lunrjs using our generated index file function initLunr() { if (!endsWith(baseurl,"/")){ baseurl = baseurl+'/' }; // First retrieve the index file $.g...
{ "content_hash": "87b79f7b8c5d924d6194cd2338f143e9", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 81, "avg_line_length": 33.96739130434783, "alnum_prop": 0.50496, "repo_name": "kawamon/hue", "id": "ac148307a024d5d8046618d2e883032b8000a15d", "size": "3126", "binary": f...
@interface EmptyNSURLCache : NSURLCache + (instancetype)emptyNSURLCache; @end #endif // IOS_NET_EMPTY_NSURLCACHE_H_
{ "content_hash": "c539e68f214fc1eacd375c261a5a00b1", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 39, "avg_line_length": 23.6, "alnum_prop": 0.7711864406779662, "repo_name": "chromium/chromium", "id": "1c243f6eb42b6662cf1cfa0d3326b159ac90679d", "size": "435", "binary":...
package com.algorithm.distance; import static org.junit.Assert.*; import org.junit.Test; public class FareCalculatorTest { /* ******************************************************************************************** * TRIP COST TESTS *********************************************...
{ "content_hash": "d4949424aaa9f676bc4d42e5a97a3753", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 114, "avg_line_length": 40.81818181818182, "alnum_prop": 0.5278396436525612, "repo_name": "colinflam/car-dispatch", "id": "8d13e6c618f666a8816bdc0a8c2f9c257d5202f7", "size"...
layout: post status: publish published: true title: Rural theatre's radical force author: display_name: Jon Clausen login: JClausen email: jon_clausen@silowebworks.com url: http://jonclausen.com author_login: JClausen author_email: jon_clausen@silowebworks.com author_url: http://jonclausen.com wordpress_id: 63 ...
{ "content_hash": "5ca2b217362f133fbcf6e17bc8c677da", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 701, "avg_line_length": 80.85185185185185, "alnum_prop": 0.7883646358222629, "repo_name": "jclausen/jclausen.github.io", "id": "44d31b453f5799ef8df573a7aa9191f3b592b2a0", "...
class DspaceTools class BulkUploader attr :dspace_error def initialize(path, collection_id, user) @dspace_error = nil @path = path @collection_id = collection_id @user = user get_instance_vars end def submit import_submission copy_map_file_to_local @ma...
{ "content_hash": "016aeee4872f07cac11a5b7527fd18a0", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 73, "avg_line_length": 28.578125, "alnum_prop": 0.49589939857845816, "repo_name": "mbl-cli/DspaceTools", "id": "7089b94ac8ae78aac5c0f7d95922936d50e56ba3", "size": "1829", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Questionnaire | Forms - Web Components</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css" rel="stylesheet" type='text/css...
{ "content_hash": "1d726d7c621c11d134c1e69c07238b2b", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 313, "avg_line_length": 44.56716417910448, "alnum_prop": 0.6346282652377763, "repo_name": "zsadler/web-components", "id": "e715ec19b2772efac0fa4f6331a410804f467b97", "size"...
package net.tridentsdk.server.packets.play.out; import io.netty.buffer.ByteBuf; import net.tridentsdk.server.netty.packet.OutPacket; public class PacketPlayOutAttachEntity extends OutPacket { protected int entityId; protected int vehicleId; protected boolean leash; @Override public int id() { ...
{ "content_hash": "85a43d69e3e6f40c680d07d55d25d4b0", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 60, "avg_line_length": 20.153846153846153, "alnum_prop": 0.6424936386768448, "repo_name": "PizzaCrust/Trident", "id": "fc2630e09be77c09ac72713e7f33dde03ef8b5f5", "size": "1...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package net.cybersoft.visitorinfo; public class RunMode { private static int mode ; public static int TEST = 1; public static int DEVELOPMENT = 2; public static int STAGING = 3; public static int PRO...
{ "content_hash": "62dab44907f9513851f21f9e9195e53c", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 52, "avg_line_length": 24.914285714285715, "alnum_prop": 0.6284403669724771, "repo_name": "frndforall/VisitorManagement", "id": "a1968b1ebfa14bfdc0429acc7127132a6dbe30f5", ...
import {ListOfArticlesComponent} from "./list-of-articles.component"; export const routes = [ {path: '', component: ListOfArticlesComponent, pathMatch: 'full'}, ];
{ "content_hash": "8bce1b7e3dac63fd7bef6b35376aa786", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 70, "avg_line_length": 33.6, "alnum_prop": 0.7261904761904762, "repo_name": "Lycsona/blog", "id": "6c28429978b84b2f471a052afbdb2374307e6861", "size": "169", "binary": fals...
package com.bvakili.portlet.integration.box.service.messaging; import com.bvakili.portlet.integration.box.service.BoxRepositoryLocalServiceUtil; import com.bvakili.portlet.integration.box.service.BoxTokenLocalServiceUtil; import com.bvakili.portlet.integration.box.service.ClpSerializer; import com.liferay.portal.ke...
{ "content_hash": "467db5bb0535fda7a456b99497e063ac", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 81, "avg_line_length": 31.03125, "alnum_prop": 0.8066465256797583, "repo_name": "bmvakili/liferay-plugins-sdk-6.2.0-rc6", "id": "26dd12254e475337c87720b2d658559640d9e83d", ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
{ "content_hash": "9d210464f66033ffc73a16269001f5e1", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 547, "avg_line_length": 37.6425855513308, "alnum_prop": 0.5258585858585859, "repo_name": "friendsofagape/mt2414ui", "id": "f979224eaeb2c6fdf6bdaaf40d5dadeedd6ddfd8", "size...
[Single-page web applications][1] have been pretty much standard for quite a while, and I'm a strong advocate for numerous reasons (reduced latency, separation of concerns and ease of testing to name a few). However, one point I haven't felt too good about is client side rendering. It's ridiculous how cumbersome it i...
{ "content_hash": "098c559a076124d9fb8885dda55f32ce", "timestamp": "", "source": "github", "line_count": 338, "max_line_length": 132, "avg_line_length": 29.275147928994084, "alnum_prop": 0.7034866093986862, "repo_name": "leonidas/codeblog", "id": "a7c82b2dc5965611eaa462b3903583e95993b8c0", "size": "...
/** */ package com.github.lbroudoux.dsl.eip.tests; import com.github.lbroudoux.dsl.eip.EipFactory; import com.github.lbroudoux.dsl.eip.Splitter; import junit.textui.TestRunner; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Splitter</b></em>'. * <!-- end-user-doc --> * @generated */ pu...
{ "content_hash": "6c5339395512088f128899f9c24555a4", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 63, "avg_line_length": 21.202898550724637, "alnum_prop": 0.5933014354066986, "repo_name": "lbroudoux/eip-designer", "id": "ed30201bc1768d1c61c9514f08662969b6466035", "size"...
package org.mybatis.generator.config.xml; import java.io.IOException; import java.io.InputStream; import org.mybatis.generator.codegen.XmlConstants; import org.xml.sax.EntityResolver; import org.xml.sax.InputSource; import org.xml.sax.SAXException; /** * @author Jeff Butler */ public class ParserEntityResolver im...
{ "content_hash": "4bead08bd3b71ba6eaa4d9507a5c19e2", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 111, "avg_line_length": 29.254901960784313, "alnum_prop": 0.6146112600536193, "repo_name": "peterzhu1688/mybatis-generator-core-1.3.5-fix", "id": "c62f708bcb007e3b2080e4ea8d9...
using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { [JsonConverter(typeof(DataFlowDebugPackageConverter))] public partial class DataFlowDebugPackage : IUtf8JsonSerializable { ...
{ "content_hash": "5a81f42ec173bc40f9424744a42d8b86", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 223, "avg_line_length": 43.05945945945946, "alnum_prop": 0.5306301782575947, "repo_name": "Azure/azure-sdk-for-net", "id": "cc0c66c7a14f01e1732a9790f070e5eaef0bd004", "siz...
import { shallowMount } from '@vue/test-utils'; import EmptyState from 'new-dashboard/components/States/EmptyState'; describe('EmptyState.vue', () => { it('should render correctly the empty state box', () => { const text = 'There are no maps here.'; const subtitle = 'Here is the subtitle as well'; const...
{ "content_hash": "d17beab2ecac8b6b78e648063a0e68bd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 68, "avg_line_length": 29.055555555555557, "alnum_prop": 0.6290630975143403, "repo_name": "CartoDB/cartodb", "id": "c3006e7c7352a42d38086df6d8437901e6277c2a", "size": "523"...
<program xmlns="http://ci.uchicago.edu/swift/2009/02/swiftscript" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <types> <type> <typename>markertype</typename> <typealias>string</typealias> <typestructure></typestructu...
{ "content_hash": "756a1f239113c381b032e8a0207f2bce", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 65, "avg_line_length": 30.416666666666668, "alnum_prop": 0.6164383561643836, "repo_name": "swift-lang/swift-k", "id": "d10b2c595f7ac7dc465a0e2703af3066d34f806d", "size": "3...
import { Fun } from '@ephox/katamari'; import { Css, Height, SugarElement } from '@ephox/sugar'; // applies the max-height as determined by Bounder const setMaxHeight = (element: SugarElement<HTMLElement>, maxHeight: number): void => { Height.setMax(element, Math.floor(maxHeight)); }; // adds both max-height and ov...
{ "content_hash": "49f269ec7a0f87b618959ba00c5c96fc", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 111, "avg_line_length": 32.806451612903224, "alnum_prop": 0.7109144542772862, "repo_name": "tinymce/tinymce", "id": "e30c22e5d3aa7386f9df954876125fa07b74d5d1", "size": "101...
package com.bkromhout.minerva.data; import javax.annotation.Nonnull; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; /** * Hashes an input stream as it is read using the SHA-256 hashing algorithm. * <p> * All of the code in this class has been extracted and derived from ...
{ "content_hash": "2edd5c87c5a34716716a036c6f87c04d", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 119, "avg_line_length": 33.93333333333333, "alnum_prop": 0.6728880157170923, "repo_name": "bkromhout/Minerva", "id": "231485d613264a89fc36c8683b87660cbc49a15c", "size": "36...
using System.ComponentModel.DataAnnotations; using Orchard.ContentManagement; using Orchard.ContentManagement.Records; using Orchard.Core.Common.Utilities; using Orchard.Data.Conventions; namespace Onestop.Seo.Models { public class SeoPart : ContentPart<SeoPartRecord> { private readonly LazyField<string> ...
{ "content_hash": "09c4ef8429cbd58314300d672c53d964", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 100, "avg_line_length": 36.924528301886795, "alnum_prop": 0.6622381195707716, "repo_name": "CloudMetal/CloudMetal-Pipeline-Deploy", "id": "39d5df9f1c2e72a3d9674dc0af538ad3169...
namespace Microsoft.Graph { using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; /// <summary> /// The type WorkbookFunctionsGeStepRequestBody. /// </summary> [DataContract] public partial class WorkbookFunctionsGeStepRequestBody {...
{ "content_hash": "49648f026cdab2dfdc2c804477cf9411", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 83, "avg_line_length": 28.214285714285715, "alnum_prop": 0.6025316455696202, "repo_name": "garethj-msft/msgraph-sdk-dotnet", "id": "bb4d7495cb42f6340af631e30b2f824a3b0d5b7a",...
the spider agent watchdog and job dispatcher
{ "content_hash": "93b0668b5c6d73c4f89f584fc7be922a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 44, "avg_line_length": 45, "alnum_prop": 0.8444444444444444, "repo_name": "spiderjs/watchdog", "id": "f44da7143ca9b71589e59f97b5516c9d31481133", "size": "56", "binary": fa...
'use strict'; module.exports = function($allonsy) { $allonsy.outputInfo('► sockets:\n'); var path = require('path'); require(path.resolve(__dirname, 'models/socketio-service-back.js'))(); var $SocketIOService = DependencyInjection.injector.controller.get('$SocketIOService'), child = $allonsy.childByNa...
{ "content_hash": "ebee9b43c48698d39beca11c68b204ac", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 108, "avg_line_length": 32.375, "alnum_prop": 0.637065637065637, "repo_name": "CodeCorico/allons-y-socketio", "id": "a59098e7e9f90222030b6153ef90dbea06c38170", "size": "104...
if(!dojo._hasResource["dojo._base.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojo._base.html"] = true; dojo.require("dojo._base.lang"); dojo.provide("dojo._base.html"); // FIXME: need to add unit tests for all the semi-public methods try{ docum...
{ "content_hash": "7bb1897c71c28d01095872197d5b6a7e", "timestamp": "", "source": "github", "line_count": 1830, "max_line_length": 183, "avg_line_length": 32.15901639344262, "alnum_prop": 0.6232179572139811, "repo_name": "najamelan/vhffs-4.5", "id": "be5fd2aaa06af5e1942b764428756dd5d5499585", "size":...
<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>LiteNetLib </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="LiteNetLib "> <meta name="generator" conte...
{ "content_hash": "25d9fdddd6d51a3c3abea911607f9789", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 147, "avg_line_length": 35.90262172284644, "alnum_prop": 0.6421865220112665, "repo_name": "RevenantX/LiteNetLib", "id": "62e727745907874d6629fc873059b3fd314e0864", "size":...
require 'net/http' require File.expand_path('../fixtures/http_server', __FILE__) require File.expand_path('../shared/request_head', __FILE__) describe "Net::HTTP#request_head" do it_behaves_like :net_ftp_request_head, :request_head end
{ "content_hash": "e53191cce095c38608a8eab34cfdf4aa", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 61, "avg_line_length": 34.142857142857146, "alnum_prop": 0.7154811715481172, "repo_name": "rubysl/rubysl-net-http", "id": "3cde4c269ea7c6ef163193e3352a176c1dc9550a", "size":...
package cqrs // InMemoryEventBus provides an inmemory implementation of the VersionedEventPublisher VersionedEventReceiver interfaces type InMemoryEventBus struct { publishedEventsChannel chan VersionedEvent startReceiving bool } // NewInMemoryEventBus constructor func NewInMemoryEventBus() *InMemoryEventBu...
{ "content_hash": "550149e558de47ef751932fc258d3e4f", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 133, "avg_line_length": 27.21951219512195, "alnum_prop": 0.7598566308243727, "repo_name": "andrewwebber/cqrs", "id": "4d1bc7809c7c4c64a86623ee80c28c9af0214a61", "size": "11...
from __future__ import absolute_import from django.contrib import admin from django.core.urlresolvers import reverse from ..utils.compatibility import LTE_DJANGO_1_7 class PrimitivePermissionAwareModelAdmin(admin.ModelAdmin): def has_add_permission(self, request): # we don't have a "add" permission... b...
{ "content_hash": "e81e19cc0c77b50815262e5b96bf0692", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 76, "avg_line_length": 34.95238095238095, "alnum_prop": 0.6239782016348774, "repo_name": "jakob-o/django-filer", "id": "c7dc121ca9f3f0871bc3e6d67f41aeb45fe37ed4", "size": "...
<?php class CausaController extends Controller { /** * @var string the default layout for the views. Defaults to '//layouts/column2', meaning * using two-column layout. See 'protected/views/layouts/column2.php'. */ public $layout = '//layouts/column2'; /** * @return array action filte...
{ "content_hash": "160492b7fb1a619419e3be2a0a581ff5", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 106, "avg_line_length": 31.654929577464788, "alnum_prop": 0.5497219132369299, "repo_name": "VrainSystem/Proyecto_PROFIT", "id": "456a19f9f937f1c1a69c97495257376e5baacce4", ...
This plugin allows to create service users in Gerrit. A service user is a user that is used by another service to communicate with Gerrit. E.g. a service user is needed to run the [Gerrit Trigger Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger) in Jenkins. A service user is not able to login into th...
{ "content_hash": "115f118e4c5379f0f3d173ad252d95c2", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 83, "avg_line_length": 34.17391304347826, "alnum_prop": 0.7360050890585241, "repo_name": "GerritCodeReview/plugins_serviceuser", "id": "e19d85662c67bea912306a774bbbf3d762bb32...
<?php namespace Alphatrader\ApiBundle\Model; use Doctrine\Common\Collections\ArrayCollection; use JMS\Serializer\Annotation; /** * Class ListingProfile * * @package Alphatrader\ApiBundle\Model * @Annotation\ExclusionPolicy("none") * @SuppressWarnings(PHPMD) */ class ListingProfile { ...
{ "content_hash": "31939ad373a8656f7e98b9aaeb8f1e10", "timestamp": "", "source": "github", "line_count": 504, "max_line_length": 100, "avg_line_length": 20.9265873015873, "alnum_prop": 0.5366454916089883, "repo_name": "Tr0nYx/AlphaTraderApiBundle", "id": "edba3a9e26ff0c3bb5eee933ec5d672b24a66859", "...
#ifndef __GST_GL_GBM_PRIVATE_H__ #define __GST_GL_GBM_PRIVATE_H__ #include <gbm.h> #include <xf86drm.h> #include <xf86drmMode.h> #include <gst/gst.h> typedef struct _GstGLDRMFramebuffer GstGLDRMFramebuffer; struct _GstGLDRMFramebuffer { struct gbm_bo *bo; guint32 fb_id; }; const gchar* gst_gl_gbm_get_name_fo...
{ "content_hash": "31d5d196c7be08554eeb92473576b4cb", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 82, "avg_line_length": 24.838709677419356, "alnum_prop": 0.7285714285714285, "repo_name": "google/aistreams", "id": "c50029724b12a83e4e730228674e6314d352f038", "size": "159...
// -*- C++ -*- //============================================================================= /** * @file Codecs.h * * @author Krishnakumar B <kitty@cs.wustl.edu> * * Codecs is a generic wrapper for various encoding and decoding * mechanisms. Currently it includes Base64 content transfer-encoding as * s...
{ "content_hash": "ca7283e9585a252b0c6295bcdfc16f4d", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 79, "avg_line_length": 26.129310344827587, "alnum_prop": 0.6172880237545365, "repo_name": "wfnex/openbras", "id": "f8d68639753354a39c9eb5203261c38598380c88", "size": "3031...
package org.joyrest.context.helper.aspects; import org.joyrest.interceptor.Interceptor; import org.joyrest.interceptor.InterceptorChain; import org.joyrest.model.request.InternalRequest; import org.joyrest.model.response.InternalResponse; public class DuplicatedInterceptor implements Interceptor { @Override ...
{ "content_hash": "feaaa5ba1c9c266388ea4bacd91c7d4c", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 112, "avg_line_length": 27.09090909090909, "alnum_prop": 0.709731543624161, "repo_name": "petrbouda/joyrest", "id": "c63853e0bca59672564d12e8180fcfc2eb7e26b7", "size": "118...
<!-- ~ 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 ~...
{ "content_hash": "647dc481f89d5b01012cfd3cdaca0665", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 76, "avg_line_length": 39.04761904761905, "alnum_prop": 0.7134146341463414, "repo_name": "redwarp/Download-Count-For-GitHub", "id": "fe009be5bd0dd731f67e8b7b89392db6fc799b65"...
.. highlight:: cython .. _sharing-declarations: ******************************************** Sharing Declarations Between Cython Modules ******************************************** This section describes how to make C declarations, functions and extension types in one Cython module available for use in another Cyth...
{ "content_hash": "36df8837ff8615189ecb798fffa1a1da", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 87, "avg_line_length": 34.72830188679245, "alnum_prop": 0.698359230685646, "repo_name": "c-blake/cython", "id": "63807bb5b89bc30e89dc76fe7435d098192dc0c9", "size": "9203",...
using StageMaker.models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using static StageMaker.StageMaker; using static StageMaker.utils.DataGridViewHelper; namespace StageMaker.utils { public class JsonGridHelper ...
{ "content_hash": "28379881ca170460b88ca6dc9fad1c99", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 160, "avg_line_length": 31.68548387096774, "alnum_prop": 0.5153983201832527, "repo_name": "PeaceMaker503/danmaku-game", "id": "603f366c80f23e174b59752ba13c8350e73363f8", "...