text
stringlengths
2
1.04M
meta
dict
/* * This source code is provided to illustrate the usage of a given feature * or technique and has been deliberately simplified. Additional steps * required for a production-quality application, such as security checks, * input validation and proper error handling, might not be present in * this sample code. *...
{ "content_hash": "70b4b52c82f53c3cbdb58cd327df849c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 74, "avg_line_length": 27.333333333333332, "alnum_prop": 0.7764227642276422, "repo_name": "rokn/Count_Words_2015", "id": "12512094f4d93334bcbdbf8b53c79eb023a809b8", "size":...
package com.intellij.refactoring.copy; import com.intellij.CommonBundle; import com.intellij.ide.CopyPasteDelegator; import com.intellij.ide.util.EditorHelper; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.project.Project;...
{ "content_hash": "f21bafb144c80050c0a9b64284af595d", "timestamp": "", "source": "github", "line_count": 335, "max_line_length": 135, "avg_line_length": 38.38507462686567, "alnum_prop": 0.6533167431371024, "repo_name": "romankagan/DDBWorkbench", "id": "eb2aa59b0a70cbe0081e2d9c5c35ad79a52c79f8", "siz...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="keywords" content="JavaScript, Framework, Animation, Natural, System" /> <meta name="description" content="FloraJS simulates natural systems using JavaScript." /> <meta name="viewport" content = "user...
{ "content_hash": "3847b1cc495657a9f462e313a7b14a16", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 113, "avg_line_length": 36.638297872340424, "alnum_prop": 0.6225319396051103, "repo_name": "riselabs-ufba/RiPLE-HC-ExperimentalData", "id": "97159ca5a5978fc529e7f956130a9628d...
package com.xhy.weibo.utils; /** * Created by xuhaoyang on 16/9/8. */ public class Constants { public static boolean isNotify = true; //SearchActivity 搜索内容 public static final String SEARCH_CONTENT = "search_content"; //StatusDetailActivity status public static final String STATUS_INTENT = "s...
{ "content_hash": "26cff3fcff8612cf14aec67946615df6", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 88, "avg_line_length": 30.76388888888889, "alnum_prop": 0.6961625282167043, "repo_name": "xuhaoyang/Weibo", "id": "57e343d3de198ab4dab3840952a45deb15957e80", "size": "2243"...
/* * ModeShape (http://www.modeshape.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
{ "content_hash": "39a8ccb864399dc1005ae643e7c0c36e", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 114, "avg_line_length": 34.274193548387096, "alnum_prop": 0.6129411764705882, "repo_name": "flownclouds/modeshape", "id": "e9a86c9c3112ca338854e6dcd1eadff575a0cc05", "size...
""" Based on script by CCL Forensics """ import sys import os import os.path as path sys.path.append('/usr/local/munki/munkireportlib') import re import ccl_asldb import json import platform # Event Type strings to array position logformat 1 EVENTS = { 'filesharing.sessions.afp': 0, 'filesharing.sessions...
{ "content_hash": "a1d9e1078844d99b84063e3a50f7b3eb", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 98, "avg_line_length": 33.48, "alnum_prop": 0.48845081640780563, "repo_name": "poundbangbash/munkireport-php", "id": "a7e6ca4cd5305025d8a8f76581ef9503e3781e1c", "size": "5...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Leptosphaeria staticicola Unamuno ### Remarks null
{ "content_hash": "d142c75b2487f9a025cd8b4621944c04", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 33, "avg_line_length": 10.615384615384615, "alnum_prop": 0.7318840579710145, "repo_name": "mdoering/backbone", "id": "063f9905bb562caf1da70d17955b2153310b2da7", "size": "19...
<?php namespace johnitvn\rbacplus\models; use Yii; use yii\data\ActiveDataProvider; use johnitvn\rbacplus\Module; /** * @author John Martin <john.itvn@gmail.com> * @since 1.0.0 * */ class AssignmentSearch extends \yii\base\Model { /** * @var Module $rbacModule */ protected $rbacModule; /...
{ "content_hash": "85e47ca458c771e444efc0405b7066d2", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 95, "avg_line_length": 20.3125, "alnum_prop": 0.5175384615384615, "repo_name": "riteshsingh1/advanced", "id": "5773f7547b7a4e8c3f84168a0ac196be90ed1b70", "size": "1625", ...
$(function() { var leftSpace; function windowSizeChange() { var wSize=window.innerWidth; var jamAreaWidth=600; // .jamArea.width leftSpace=(wSize-jamAreaWidth)/2; $('<img />').knob({ id: 'knob01', image: 'jqskin/images/strat.png', left: leftSpace+500, top...
{ "content_hash": "a45d718c8b45ea4447eb21b4bc1494b0", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 76, "avg_line_length": 33.166666666666664, "alnum_prop": 0.4852835606604451, "repo_name": "ryoyakawai/speechJammerPlus", "id": "0a0c2661806d730892f2736b4133c64346a59cf7", "...
/* * http://www.mycodes.net */ // variables var $win = $(window); var clientWidth = $win.width(); var clientHeight = $win.height(); $(window).resize(function() { var newWidth = $win.width(); var newHeight = $win.height(); if (newWidth != clientWidth && newHeight != clientHeight) { l...
{ "content_hash": "49b4b5bef121397cc1800496bd4f1b20", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 204, "avg_line_length": 27.35, "alnum_prop": 0.5484460694698354, "repo_name": "liwenbin1991/liwenbin1991.github.io", "id": "c40c7541ef4f384ab90b2886dcf97de5538724df", "size...
<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" > <objectAnimator android:duration="80" android:interpolator="@android:anim/accelerate_decelerate_interpolator" android:propertyName="scaleX" android:valueFrom="1.1" ...
{ "content_hash": "e98f9d87575a4ff6f63f215e381d1bc3", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 79, "avg_line_length": 35.421052631578945, "alnum_prop": 0.6389301634472511, "repo_name": "cheyiliu/test4android", "id": "ee301f92dd6cd2d9a93e7966746282d37640c27b", "size":...
package blobserver import ( "fmt" "sync" "github.com/simonz05/blobserver/config" ) // A StorageConstructor returns a Storage implementation from a configuration. type StorageConstructor func(*config.Config) (Storage, error) var mapLock sync.Mutex var storageConstructors = make(map[string]StorageConstructor) f...
{ "content_hash": "5b92f918047eb1af5de178133ca94b3e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 85, "avg_line_length": 24.65714285714286, "alnum_prop": 0.7543453070683661, "repo_name": "simonz05/blobserver", "id": "63c4c121744bb105a0e40f9d917712de6e866f1e", "size": "1...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.KeyVault; using Microsoft.Azure.Management.HDInsight.Models; using Microsoft.Azure.Test.HttpRecorder; using Microsoft.IdentityModel.Clients...
{ "content_hash": "1f4afd8f922828d07fde45bf435f59a3", "timestamp": "", "source": "github", "line_count": 492, "max_line_length": 202, "avg_line_length": 46.9349593495935, "alnum_prop": 0.5706738264333968, "repo_name": "Azure/azure-sdk-for-net", "id": "f438a351fad453d44180f055b45db18bb2ca9fc2", "size...
package org.shaf.shell.view; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * The class {@code TestPackage4ShellView} builds a suite that can be used to * run all of the tests within its package as well as within any subpackages of * its package. * * @author Mykola Galushka */ @RunWith(S...
{ "content_hash": "a463c8cb7b63b501ffe96ab82fa71504", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 79, "avg_line_length": 29, "alnum_prop": 0.7767695099818511, "repo_name": "SHAF-WORK/shaf", "id": "1f598b35829b896934f1c8f099687c4f9697b64d", "size": "1152", "binary": fa...
module Spree class Feature < ActiveRecord::Base belongs_to :featureable, polymorphic: true has_one :image, -> { order(:position) }, as: :viewable, dependent: :destroy, class_name: "Spree::Image" accepts_nested_attributes_for :image, reject_if: lambda {|attributes| attributes['attachment'].blank? and attr...
{ "content_hash": "ef50e1c5f175e3389a90e37ec959dae8", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 155, "avg_line_length": 30.105263157894736, "alnum_prop": 0.6800699300699301, "repo_name": "kohactive/spree_featureable", "id": "dd4981170b60083a4b707fbc643bb617e8a2ab69", ...
import os import dj_database_url from decouple import config BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) ALLOWED_HOSTS = ['*'] SECRET_KEY = config('SECRET_KEY') EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # Application definition DATABASES = { '...
{ "content_hash": "0aebfb2cf3ff0a2b419e07adb58ec63f", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 87, "avg_line_length": 24.402298850574713, "alnum_prop": 0.6655675930287329, "repo_name": "citiufpe/citi-webplate", "id": "dbb34b5ec58e2c241a5953e57c1b6f7ec7002936", "size"...
//BloxManager.cs //Created on 01/05/2014 //Last Updated on 20/05/2014 //Version 0.84 //Weyns Peter //Email any bugs to projecteasyblox@gemail.com or request features //Comments: //This class is used to create the editor window and for manipulating the blox texture, spawning. using UnityEngine; using UnityEditor; us...
{ "content_hash": "22e79208fcb70286d27dd93f6d6251e7", "timestamp": "", "source": "github", "line_count": 448, "max_line_length": 190, "avg_line_length": 26.475446428571427, "alnum_prop": 0.6475845206980861, "repo_name": "thecodejunkie/Game.Prototype", "id": "fbc40c56f3b798dc3e1e666030caedbe8d8c53e7", ...
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.app.download.home; import org.chromium.base.supplier.Supplier; import org.chromium.chrome.browser.download.OfflineContentAvailabilityStatus...
{ "content_hash": "04c9a8a09a9e1a609ef09992133fa6fc", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 100, "avg_line_length": 37.666666666666664, "alnum_prop": 0.7787610619469026, "repo_name": "chromium/chromium", "id": "69248e65799a126fe60e152e19689700d8ce1532", "size": "7...
namespace autofill { const SkColor PasswordGenerationPopupView::kExplanatoryTextBackgroundColor = SkColorSetRGB(0xF5, 0xF5, 0xF5); const SkColor PasswordGenerationPopupView::kExplanatoryTextColor = SkColorSetRGB(0x66, 0x66, 0x66); const SkColor PasswordGenerationPopupView::kDividerColor = SkColorSetRGB(0xE...
{ "content_hash": "c098d05a0a85ad9a79a124bb6a4bdf71", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 76, "avg_line_length": 36.2, "alnum_prop": 0.8038674033149171, "repo_name": "ondra-novak/chromium.src", "id": "7b35a4ba087271592ac21c737b29c914a227217f", "size": "600", "...
''' This module checks if all Glassfish servers are running and if the SPECjEnterprise2010 application is running ''' from twisted.internet import reactor from twisted.web.client import Agent from twisted.web.http_headers import Headers from twisted.internet.protocol import Protocol from twisted.internet.defer import D...
{ "content_hash": "05ff6e3558fe4ba62c4a3d8987d9fe09", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 82, "avg_line_length": 26.571428571428573, "alnum_prop": 0.5962365591397849, "repo_name": "jacksonicson/paper.IS2015", "id": "d04e44de3c5dbe687f88e3af264f3f51d84780fd", "si...
package com.zheng.cms.dao.model; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class CmsArticleTagExample implements Serializable { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; private static final long s...
{ "content_hash": "17a978247b401f412657874a0311722c", "timestamp": "", "source": "github", "line_count": 403, "max_line_length": 102, "avg_line_length": 29.615384615384617, "alnum_prop": 0.5839128613322162, "repo_name": "lhrl/zheng", "id": "cb6d4ea395ff26723f738d7561d04d70d1748b76", "size": "11935",...
{% extends 'base.html' %} {% block content %} {% if category %} <div class="page-header"> <h1 class="pull-left">category:{{ category }} </h1> <h2 class="pull-right"> <a href="/t/{{ category.slug }}/new"> <i style="color:green" class="fa fa-plus-circle"></i></a></h2> </div> {% if projects ...
{ "content_hash": "d8af3ac9bccfe156b3eefaae9f8e51d2", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 150, "avg_line_length": 38.3, "alnum_prop": 0.46475195822454307, "repo_name": "rixx/tempus", "id": "14f9b271c89152c4f1e8321814872f789da1c8cc", "size": "1149", "binary": f...
package org.usfirst.frc.team2465.robot; import edu.wpi.first.wpilibj.AnalogInput; import edu.wpi.first.wpilibj.AnalogOutput; import edu.wpi.first.wpilibj.AnalogTrigger; import edu.wpi.first.wpilibj.Counter; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.DigitalOutput; import edu.wpi.fi...
{ "content_hash": "3abafa2839dfcecfbf1f23e41ccd10f6", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 99, "avg_line_length": 46.08, "alnum_prop": 0.5708550347222222, "repo_name": "FRC1458/turtleshell", "id": "11482fea3f12cd8dabd96ff7275e6e6ae1eb25a6", "size": "9216", "bi...
using System.Collections.Generic; using NUnit.Framework; namespace CompositeC1Contrib.Tests { public class MailAddressTests { [TestCaseSource(nameof(ValidMailAddress))] public void Valid(string address) { var isValid = MailAddressValidator.IsValid(address); ...
{ "content_hash": "a8c72ebd1c0b99293f1dfbb85bd44c76", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 65, "avg_line_length": 31.797101449275363, "alnum_prop": 0.4699179580674567, "repo_name": "burningice2866/CompositeC1Contrib", "id": "93ea141671f7f43e8fbb0daeb4fd6d3e2e602c6c...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Interface org.apache.cxf.security.LoginSecurityContext (Apache CXF API 2.7.5 API) </TITLE> <LINK REL =...
{ "content_hash": "9af2f3c94074ea05af62287b73dcd9a2", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 228, "avg_line_length": 42.13286713286713, "alnum_prop": 0.6220746887966805, "repo_name": "mulesoft-consulting/sumtotal-connector", "id": "d337bcae1f24ae87a739eb51ab6d3a37af...
<section ng-controller="ProductsController" ng-init="find()"> <div class="page-header"> <h1> Products </h1> </div> <form> <div class="form-group"> <div class="input-group"> <div class="input-group-addon"> <i class="glyphicon...
{ "content_hash": "76541fe3ac2c30259e9bab968a01997c", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 130, "avg_line_length": 39.416666666666664, "alnum_prop": 0.5024665257223396, "repo_name": "Promnovatsia/temp-github-cookbook", "id": "80b2c957be44afc6fd2f96f5952f24a1d66fe97...
title: "Embedded Sass is Live" author: Natalie Weizenbaum date: 2022-02-01 2:00 PST --- After several years of planning and development, I'm excited to finally announce the stable release of Embedded Dart Sass along with its first official wrapper, the [`sass-embedded`] package available now on npm! [`sass-embedded`]...
{ "content_hash": "df0f6ec4c22c2bd95fc9b8cf915e711e", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 82, "avg_line_length": 50.49333333333333, "alnum_prop": 0.7826775811988381, "repo_name": "sass/sass-site", "id": "8cfcec8a76fa094b4adfdb8a799afba684af8d7c", "size": "3791",...
set -ex #Variables PACKAGE_NAME=commons-compress PACKAGE_VERSION=rel/1.19 PACKAGE_URL=https://github.com/apache/commons-compress.git #Extract version from command line echo "Usage: $0 [-v <PACKAGE_VERSION>]" echo "PACKAGE_VERSION is an optional paramater whose default value is 1.19, not all versions are supp...
{ "content_hash": "7abc982e33b1141b879ceb8f8230a3d8", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 138, "avg_line_length": 31.159420289855074, "alnum_prop": 0.6646511627906977, "repo_name": "ppc64le/build-scripts", "id": "e186a356548cb9f107f5301b84c15baf85824d27", "size"...
<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"> <!-- Detailed information how to contribute: https://flywaydb.org/documentation/contribute/code/ ...
{ "content_hash": "4347566048674c4393fa2b1ff331d33f", "timestamp": "", "source": "github", "line_count": 467, "max_line_length": 333, "avg_line_length": 41.1627408993576, "alnum_prop": 0.4951360349581231, "repo_name": "murdos/flyway", "id": "d15d35670be6a00de3bc939322a05781e7d35da1", "size": "19223"...
<?php namespace Ekyna\Component\Commerce\Common\Listener; use Ekyna\Component\Commerce\Common\Model\SaleInterface; use Ekyna\Component\Commerce\Common\Notify\NotifyBuilder; use Ekyna\Component\Commerce\Common\Notify\NotifyQueue; use Ekyna\Component\Resource\Model\ResourceInterface; use Ekyna\Component\Resource\Persis...
{ "content_hash": "621e46122c6e88cff7a3b107a975c099", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 108, "avg_line_length": 25.45945945945946, "alnum_prop": 0.5799716914366596, "repo_name": "ekyna/Commerce", "id": "3c02ac9a5f2bd3cc96878be0d2b999323e3327db", "size": "2826...
package dagger.android; import dagger.internal.Beta; /** Provides an {@link AndroidInjector}. */ @Beta public interface HasAndroidInjector { /** Returns an {@link AndroidInjector}. */ AndroidInjector<Object> androidInjector(); }
{ "content_hash": "acda7959a036d4232ab32b7c938a256d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 44, "avg_line_length": 19.75, "alnum_prop": 0.7341772151898734, "repo_name": "dushmis/dagger", "id": "3b497182b3bb5db24c2c4f6d6ade13e3e0a782a0", "size": "839", "binary": ...
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'assetz'
{ "content_hash": "a00c2d3085495e6cacf4802abaa6514f", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 58, "avg_line_length": 38, "alnum_prop": 0.6447368421052632, "repo_name": "moss-rb/assetz", "id": "063b1e2966594ea20db144bfaf5d5bd3781bb3cc", "size": "76", "binary": false...
from CIM15.IEC61970.Core.IdentifiedObject import IdentifiedObject class Hazard(IdentifiedObject): """A hazard is any object or condition that is a danger for causing loss or perils to an asset and/or people. Examples of hazards are trees growing under overhead power lines, a park being located by a substation (i.e...
{ "content_hash": "2b9ac37e49624bfb74645f2feb387ead", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 703, "avg_line_length": 41.71666666666667, "alnum_prop": 0.6448262085497403, "repo_name": "rwl/PyCIM", "id": "9903c50a77abee654f273c792bec0822d694fae6", "size": "3603", "...
- Update bundler version - Update ruby version - Update dependency version # v2.0.0 ## Changes - Remove rest-client dependency - Optimize symbols as keys # v1.2.0 ## Changes - Add timeout to TWW gem request
{ "content_hash": "3b963207aba910a447ecdffb88b1166e", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 32, "avg_line_length": 15.071428571428571, "alnum_prop": 0.7298578199052133, "repo_name": "dlibanori/tww", "id": "0146c86df8f66040cd86b61d0a098b815e7c9dfc", "size": "232", ...
<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>Spectral factorization using Kolmogorov 1939 approach</title> <link rel="canonical" href="http://cvxr.com/cvx/examples/antenna_array_design/html/spectral_fact.html"> <link rel="stylesheet" href="../../examples.css" type="text/css"> </head> <body> <div id="head...
{ "content_hash": "7bd943af3e57e38c88ad056ecfa22f5b", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 103, "avg_line_length": 37.388888888888886, "alnum_prop": 0.6794205052005944, "repo_name": "wittawatj/kernel-ep", "id": "075db77358e6010f8274d1d3e5711a657bc88e77", "size": ...
from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies from .._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential class AzureDigit...
{ "content_hash": "ed7169e21f4a1a43a3206a93b14c3060", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 134, "avg_line_length": 47.64912280701754, "alnum_prop": 0.7106038291605302, "repo_name": "Azure/azure-sdk-for-python", "id": "1be0c6b5217f4db50223dba5d6133ab76df92204", "s...
package org.jivesoftware.smackx.workgroup.agent; import java.util.*; import org.jivesoftware.smackx.workgroup.QueueUser; /** * A queue in a workgroup, which is a pool of agents that are routed a specific type of * chat request. */ public class WorkgroupQueue { private String name; priva...
{ "content_hash": "c3dbe3b369a3fedb317e00ae9019d6ea", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 98, "avg_line_length": 27.714975845410628, "alnum_prop": 0.5570855848004184, "repo_name": "mcaprari/smack", "id": "b43c826081ba27e0616a02515e1cd74b0bde4015", "size": "6405...
package org.xs.dntown.wx.common.persistence; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.xs.dntown.wx.common.utils.Reflections; /** * 底层数据支持类 */ public class BaseDao <T>{ @Autowired protected SessionFactory sessionF...
{ "content_hash": "8649895a5f90cbf9c028b9e958fc8b85", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 62, "avg_line_length": 15.6875, "alnum_prop": 0.6759628154050464, "repo_name": "ctxsdhy/dntown", "id": "5be37a993b01e672387bf8017bf2846bcdf07022", "size": "835", "binary"...
<div class="doc-content"> <header class="api-profile-header" > <h2 class="md-display-1" >API Reference</h2> </header> <div layout="row" class="api-options-bar with-icon"></div> <div class="api-profile-description"> <p><code>$mdMedia</code> is used to evaluate whether a given media query is true or fa...
{ "content_hash": "2b97e7f762f8155e9e07bea51096eb08", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 117, "avg_line_length": 19.850574712643677, "alnum_prop": 0.6259409380428489, "repo_name": "angular/code.material.angularjs.org", "id": "c66bc3b709db5bc413636463f5c926f055e39...
require "rjava" # [The "BSD licence"] # Copyright (c) 2005-2006 Terence Parr # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright...
{ "content_hash": "754df38b10547f4d291147164389303d", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 104, "avg_line_length": 36.25984251968504, "alnum_prop": 0.6605863192182411, "repo_name": "neelance/antlr4ruby", "id": "b518d70e2a3ca4bc23758fbfd5d2f779f3f3dabb", "size": ...
<?php namespace Symfony\Component\Security\Acl\Voter; use Symfony\Component\HttpKernel\Log\LoggerInterface; use Symfony\Component\Security\Acl\Domain\ObjectIdentity; use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity; use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity; use Symfony\Component\...
{ "content_hash": "cb6b6bd10ad8343eca91642a24a185a6", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 309, "avg_line_length": 41.11678832116788, "alnum_prop": 0.6106870229007634, "repo_name": "ajessu/jobeet", "id": "e7811edb3a849175760a976fb92d78df2cdc79db", "size": "5862"...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
{ "content_hash": "566d83498c3675dc116bcad7d866e3bb", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 79, "avg_line_length": 29.00657894736842, "alnum_prop": 0.7269222045815378, "repo_name": "daejunpark/jsaf", "id": "e8d748af307eef68e31c1bc9cc20295e2196091a", "size": "4409...
class Admin::StudentsController < ApplicationController def index end end
{ "content_hash": "e752e208a5dad07bb92c836d1191267e", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 55, "avg_line_length": 19.5, "alnum_prop": 0.8076923076923077, "repo_name": "natsteinmetz/partner_dashboard", "id": "c6042f89b4c520dff2127228037f92079c6f5253", "size": "78",...
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class FaBattery0 extends React.Component<IconBaseProps, any> { }
{ "content_hash": "27abf008adb4642fad0c30eaea026000", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 79, "avg_line_length": 53.666666666666664, "alnum_prop": 0.7639751552795031, "repo_name": "smrq/DefinitelyTyped", "id": "0a3abd265281fb54283ea13e05b88d5229c465da", "size": "...
 #pragma once #include <aws/lightsail/Lightsail_EXPORTS.h> #include <aws/lightsail/LightsailRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Lightsail { namespace Model { /** */ class AWS_LIGHTSAIL_API DeleteKeyPairRequest : public LightsailRequest { ...
{ "content_hash": "de1452aa8532c23b292e055a2c75e344", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 145, "avg_line_length": 38.73943661971831, "alnum_prop": 0.6900563533902927, "repo_name": "aws/aws-sdk-cpp", "id": "893176bfe7675adbdb2ced66c84ca42e4f9f0c7e", "size": "562...
using System; using System.Collections.Generic; using System.Text; namespace Jaeger4Net { public class Reference { public SpanContext Context { get; } public string Type { get; } public Reference(SpanContext context, string type) { this.Context = context; ...
{ "content_hash": "07fef6e80d900482a61dbf273f552b13", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 58, "avg_line_length": 19.944444444444443, "alnum_prop": 0.5933147632311978, "repo_name": "gideonkorir/jaeger4net", "id": "e2b366512bda6ee9cdba2a575d2d51930a784e3f", "size"...
package org.terasology.entitySystem.event; /** * A consumable event is an event that can be prevented from continuing through remaining event receivers. This is * primarily useful for input event. * * @author Immortius */ public interface ConsumableEvent extends Event { /** * Tells whether or not the E...
{ "content_hash": "5cdac1d88363e0998705784dcc6da773", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 114, "avg_line_length": 25.695652173913043, "alnum_prop": 0.6802030456852792, "repo_name": "samuto/Terasology", "id": "b9812d7cbe9ae7290977af60048b1671c073ed33", "size": "1...
include(Platform/Windows-Intel) set(CMAKE_BUILD_TYPE_INIT Debug) set(_COMPILE_Fortran " /fpp") set(CMAKE_Fortran_MODDIR_FLAG "-module:") set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib") __windows_compiler_intel(Fortran) string(APPEND CMAKE_Fortran_FLAGS_INIT " /W1 /nologo /fpp /libs:dll /threads") string(APPEND ...
{ "content_hash": "3001d9706d62676cf0b070f3701d37f7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 82, "avg_line_length": 54, "alnum_prop": 0.7676767676767676, "repo_name": "pipou/rae", "id": "3981a092b3b5d883377f0bd6d2e57a535c486fc4", "size": "594", "binary": false, ...
START_ATF_NAMESPACE namespace Info { using _PARTICLE_ELEMENTUpDate1_ptr = void (WINAPIV*)(struct _PARTICLE_ELEMENT*, float); using _PARTICLE_ELEMENTUpDate1_clbk = void (WINAPIV*)(struct _PARTICLE_ELEMENT*, float, _PARTICLE_ELEMENTUpDate1_ptr); }; // end namespace Info END_ATF_NAMESPACE
{ "content_hash": "9b95f4cce2ae5e1679a2104a9285435c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 126, "avg_line_length": 45, "alnum_prop": 0.7015873015873015, "repo_name": "goodwinxp/Yorozuya", "id": "80c7f1699591d21ae9286121218c0b3798627ee8", "size": "500", "binary":...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta chars...
{ "content_hash": "0c572d025d4d5f6c581011ed224dcbfe", "timestamp": "", "source": "github", "line_count": 1368, "max_line_length": 184, "avg_line_length": 24.836988304093566, "alnum_prop": 0.5631456573564471, "repo_name": "howtomakeaturn/howtomakeaturn.github.io", "id": "b946997a6dfbfe606ed8283c3f6885f...
<?php include_partial('aMedia/uploadMultiple', array('form' => $form)) ?>
{ "content_hash": "8e2e1f0e81a5de43bb9bb151c0d196b9", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 77, "avg_line_length": 78, "alnum_prop": 0.6410256410256411, "repo_name": "samura/asandbox", "id": "ce8369717a992c1d69dadf0fe0c91efad9166ae2", "size": "78", "binary": fals...
'use strict'; angular.module('appLogin', [ 'ngRoute' ]);
{ "content_hash": "b1ce9e7079baffc640da5c5f61315952", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 28, "avg_line_length": 11.8, "alnum_prop": 0.6271186440677966, "repo_name": "ibm-apiconnect/pot", "id": "ea06dd067b1c8660279d2d132e38e3018ad361bc", "size": "59", "binary":...
@implementation SBInstagramModel + (void) setIsSearchByTag:(BOOL) isSearchByTag{ NSUserDefaults *def = [NSUserDefaults standardUserDefaults]; [def setBool:isSearchByTag forKey:@"instagram_isSearchByTag"]; [def synchronize]; } + (BOOL) isSearchByTag{ NSUserDefaults *def = [NSUserDefaults standardUserD...
{ "content_hash": "fd9f1c8e5c68bc0f33bcba2b3adae265", "timestamp": "", "source": "github", "line_count": 398, "max_line_length": 196, "avg_line_length": 38.027638190954775, "alnum_prop": 0.6545754872811365, "repo_name": "Busta117/SBInstagram", "id": "af886aa622cacd517aa600ae64eae03e7c0b3335", "size"...
package org.team225.robot2014.commands.catapult.presets; import edu.wpi.first.wpilibj.command.CommandGroup; import org.team225.robot2014.commands.catapult.Launch; /** * * @author Andrew */ public class HPKick extends CommandGroup { public HPKick() { addSequential(new Launch(false, false, 0, true))...
{ "content_hash": "fc977cfe131e249f35a11131496e8b85", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 57, "avg_line_length": 20.625, "alnum_prop": 0.7151515151515152, "repo_name": "FRCTeam225/Robot2014", "id": "5a47e0a8cfe5fca43d86c3e4dd89b38436835ff8", "size": "330", "bi...
<?xml version="1.0" encoding="UTF-8"?> <ldswebml type="image" uri="/media-library/images/easter#jesus-easter-821713" xml:lang="eng" locale="eng" status="publish"> <search-meta> <uri-title its:translate="no" xmlns:its="http://www.w3.org/2005/11/its">jesus-easter-821713</uri-title> <source>jesus-easter-8217...
{ "content_hash": "27d17a7fac1a43b76f590e3b3ad02122", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 431, "avg_line_length": 57.01724137931034, "alnum_prop": 0.6120350771091624, "repo_name": "freshie/ml-taxonomies", "id": "3882ebaa0687ba760d20917a46ecac8a02095785", "size":...
package org.maproulette.models.dal import java.sql.Connection import anorm.SqlParser._ import anorm._ import javax.inject.Inject import org.joda.time.DateTime import org.maproulette.Config import org.maproulette.cache.CacheManager import org.maproulette.data.{Actions, TaskType, VirtualChallengeType} import org.mapro...
{ "content_hash": "9abd45596d8f33bea8841bcfb9af494f", "timestamp": "", "source": "github", "line_count": 618, "max_line_length": 127, "avg_line_length": 40.70550161812298, "alnum_prop": 0.6097948799491175, "repo_name": "mgcuthbert/maproulette2", "id": "9fef7c87e35563c07364a52acb9089d9e27064c2", "siz...
layout: page title: Martha Conway's 89th Birthday date: 2016-05-24 author: Jose Harrington tags: weekly links, java status: published summary: Suspendisse et leo tempor, pellentesque magna quis. banner: images/banner/meeting-01.jpg booking: startDate: 07/22/2019 endDate: 07/23/2019 ctyhocn: ARBWEHX groupCode: M...
{ "content_hash": "0c21ee2521158ee8d7a0582763c29486", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 707, "avg_line_length": 98, "alnum_prop": 0.8155416012558869, "repo_name": "KlishGroup/prose-pogs", "id": "0c6b25649d08b1700d2a6301c9b34735618d0602", "size": "2552", "bin...
"""The tests for the counter component.""" # pylint: disable=protected-access import asyncio import logging from homeassistant.core import CoreState, State, Context from homeassistant.setup import async_setup_component from homeassistant.components.counter import ( DOMAIN, CONF_INITIAL, CONF_RESTORE, CONF_STEP, CO...
{ "content_hash": "862bf606d3ef0b473f04497427130a01", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 75, "avg_line_length": 26.151020408163266, "alnum_prop": 0.606524114250039, "repo_name": "jamespcole/home-assistant", "id": "97a39cdeb73b46b61e5761cbce842a9372052d1b", "si...
namespace consensus { namespace wal { static bool isWal(const std::string& fname) { // TODO(optimize) size_t len = fname.length(); return len > 4 && fname.substr(len - 4, 4) == ".wal"; } static void parseWalName(const std::string& fname, uint64_t* segId, uint64_t* segStart) { sscanf(fname.c_str(), "%zu-%zu.wa...
{ "content_hash": "a2d80e4d23271e042aafde94d6d103ea", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 98, "avg_line_length": 26.88095238095238, "alnum_prop": 0.58303808680248, "repo_name": "neverchanje/consensus-yaraft", "id": "bd05a878b113d89844e12bb092958fcf042c7f6e", "s...
<?php namespace Per\JobeetBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class PerJobeetBundle extends Bundle { }
{ "content_hash": "4193a4b7b4c131152d6c25e021e2d4ab", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 47, "avg_line_length": 14, "alnum_prop": 0.8015873015873016, "repo_name": "alexpopa13/symfony.local", "id": "81da2fa619d6e388db519164f85eb70513941655", "size": "126", "bin...
package command import ( "fmt" . "github.com/ForceCLI/force/error" . "github.com/ForceCLI/force/lib" "github.com/spf13/cobra" ) func init() { RootCmd.AddCommand(eventLogFileCmd) } var eventLogFileCmd = &cobra.Command{ Use: "eventlogfile [eventlogfileId]", Short: "List and fetch event log file", Example: `...
{ "content_hash": "aa0f2eeae72898907cbd003c9febe10c", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 47, "avg_line_length": 18.695652173913043, "alnum_prop": 0.7011627906976744, "repo_name": "cwarden/force", "id": "203a09f12bbc6eeafcfc4fd16c8432ac497c7663", "size": "860", ...
<!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_101) on Wed Aug 17 15:44:59 UTC 2016 --> <title>PresenceEventListener (Openfire 4.0.3 Javadoc)</title> <meta name="date" content="2016-08-17"> ...
{ "content_hash": "4b506cd6dbf9f0613b2723c66871255c", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 419, "avg_line_length": 44.04, "alnum_prop": 0.6831451926819774, "repo_name": "paridhika/XMPP_Parking", "id": "ac4728e4550fa703abdd55699b2cb8eb23eb133a", "size": "15414", ...
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Seconds - ScalaTest 1.9.1 - org.scalatest.time.Seconds</title> <meta name="description" content="Seconds - ScalaTest 1.9.1 - org.scala...
{ "content_hash": "10721d9b6d7b1574fccaa1627e432f8d", "timestamp": "", "source": "github", "line_count": 436, "max_line_length": 538, "avg_line_length": 51.793577981651374, "alnum_prop": 0.5875476042865999, "repo_name": "scalatest/scalatest-website", "id": "92b528e69920343cfb2c8989090abc74196049e1", ...
package org.apache.ecs.wml; import org.apache.ecs.Element; import org.apache.ecs.SinglePartElement; /** This class implements the &lt;b&gt; element. @version $Id: B.java,v 1.2 2003/04/27 09:27:12 rdonkin Exp $ @author Written by <a href="mailto:Krzysztof.Zelazowski@cern.ch">Krzysztof Zelazowski</a> */ ...
{ "content_hash": "189816c34790db186964b420673dd86d", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 92, "avg_line_length": 19.65909090909091, "alnum_prop": 0.6462427745664739, "repo_name": "jjYBdx4IL/misc", "id": "30a74fcc7f6e2c21b01e3d29eba4dd390891cf13", "size": "3632",...
import React from 'react'; import styled from 'styled-components'; import { FormattedMessage } from 'react-intl'; import messages from './messages'; import H1 from '../../components/H1/index'; import Text from '../../components/Text/index'; import Home1 from './images/home_01-min.jpg'; import Produzione from './images...
{ "content_hash": "8b6c59833474ff4c9d57c2148a6a8ed2", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 110, "avg_line_length": 33.416666666666664, "alnum_prop": 0.5105094406840043, "repo_name": "frascata/vivaifrappi", "id": "cbb7ce10bf29299df58d91ece179ad2fc764547f", "size":...
#ifndef _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_ACTIVEMQTOPICMARSHALLER_H_ #define _ACTIVEMQ_WIREFORMAT_OPENWIRE_MARSAHAL_GENERATED_ACTIVEMQTOPICMARSHALLER_H_ // Turn off warning message for ignored exception specification #ifdef _MSC_VER #pragma warning( disable : 4290 ) #endif #include <activemq/wireform...
{ "content_hash": "7fcc3220ab22e42e31f20be9fa6b5aad", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 89, "avg_line_length": 37.605633802816904, "alnum_prop": 0.6400749063670412, "repo_name": "apache/activemq-cpp", "id": "a757777cfe1f0d88af66a5f41f515fabbe39c77a", "size": "...
[#]: subject: "10 Best Open Source Bots for Your Discord Server" [#]: via: "https://itsfoss.com/open-source-discord-bots/" [#]: author: "Ankush Das https://itsfoss.com/author/ankush/" [#]: collector: "lkxed" [#]: translator: " " [#]: reviewer: " " [#]: publisher: " " [#]: url: " " 10 Best Open Source Bots for Your Dis...
{ "content_hash": "1bae3c8023867c87a9ed108232284035", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 225, "avg_line_length": 38.21224489795918, "alnum_prop": 0.7383037812433241, "repo_name": "bestony/TranslateProject", "id": "1b94a3469215cec3798fe230f05739c22e1b97d7", "si...
// // PPEmotionListPageView.h // PPZone // // Created by jiaguanglei on 16/1/19. // Copyright © 2016年 roseonly. All rights reserved. // /** * 显示表情页面 -- 20 */ #import <UIKit/UIKit.h> // 一页中最多3行 #define PPEmotionListPageViewMaxRows 3 // 一行中最多7列 #define PPEmotionListPageViewMaxCols 7 // 每一页的表情个数 #define PPEmotionL...
{ "content_hash": "75bd0025b205762466a4fde0322eef16", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 103, "avg_line_length": 16.9, "alnum_prop": 0.7297830374753451, "repo_name": "Jiaguanglei0418/PPZone", "id": "1b2ba47330e5c4d078a68978e368fa8419abbaff", "size": "570", "b...
<?xml version="1.0" encoding="iso-8859-1"?> <!-- Description: atom entry content xhtml works Expect: var content = feed.items.queryElementAt(1, Components.interfaces.nsIFeedEntry).content.text; content == "<b>test</b> content"; --> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:foo="http://www.example.org" ...
{ "content_hash": "caa8d9e7bc88d512532b433e2dd653be", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 134, "avg_line_length": 23.41025641025641, "alnum_prop": 0.619934282584885, "repo_name": "wilebeast/FireFox-OS", "id": "8cadef75e11e96c996ca92b579739c57cbe274b2", "size": "...
package au.com.emberspring.ember; import java.util.concurrent.ConcurrentMap; public interface EmberLinks { ConcurrentMap<String, String> getLinks(); }
{ "content_hash": "7052cdb3e75797aa5b9899dd8b77e85b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 42, "avg_line_length": 18.555555555555557, "alnum_prop": 0.7365269461077845, "repo_name": "jackmatt2/ember-spring", "id": "964fe9cbcaea051eab3d4d3720d63f3689fecfc9", "size":...
package de.matthiasmann.twl; import java.util.logging.Level; import java.util.logging.Logger; import de.matthiasmann.twl.model.AbstractListModel; import de.matthiasmann.twl.model.AbstractTreeTableModel; import de.matthiasmann.twl.model.AbstractTreeTableNode; import de.matthiasmann.twl.model.ListModel; import de.matt...
{ "content_hash": "2acb407e9ace31809e57c9d29bc54ae7", "timestamp": "", "source": "github", "line_count": 577, "max_line_length": 79, "avg_line_length": 24.429809358752166, "alnum_prop": 0.7035329171396141, "repo_name": "ShadowLordAlpha/TWL", "id": "a08c78ad1323d6b89aaef9d4b370f5072b81e005", "size": ...
package com.google.samples.apps.iosched.ui.widget; import android.content.Context; import android.content.res.Resources; import android.text.Spannable; import android.text.Spanned; import android.text.style.ForegroundColorSpan; import android.text.style.StyleSpan; import android.util.AttributeSet; import android.widge...
{ "content_hash": "4b71fbff111818e2a24d833930b3ecb3", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 118, "avg_line_length": 36.29032258064516, "alnum_prop": 0.6359111111111111, "repo_name": "SferaDev/XDADevCon", "id": "1367cb8ccef7139ac8ca6d65f9d20b9cd364524d", "size": "...
var GetOpt = require("node-getopt"); var path = require("path"); var fs = require("fs"); var binDir = path.dirname(fs.realpathSync(__filename)); var libDir = path.join(binDir, "../lib"); var pjson = require(path.join(binDir, "../package.json")); var getopt = GetOpt .create([ ["h", "help", "Disp...
{ "content_hash": "defdff11129d9d5988e44055e39a98fc", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 92, "avg_line_length": 26.214285714285715, "alnum_prop": 0.5549500454132607, "repo_name": "kyroskoh/lets_code_javascript", "id": "94bf1b4ee7602bcd1d45e64c689228b42203ad63", ...
@ECHO OFF for %%B in (%~dp0\.) do set c=%%~dpB ECHO This script will launch OS.js in node using: `node src\server\node\server.js dist-dev` ECHO To stop node server, press CTRL+C pause node "%c%\src\server\node\server.js" dist-dev
{ "content_hash": "342131b49c651d1602d4ecf6e909f49c", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 91, "avg_line_length": 38.333333333333336, "alnum_prop": 0.7130434782608696, "repo_name": "marcinlimanski/OS.js-v2", "id": "6703e725676a86635ea67d437390bd7fa74514ba", "size"...
autoSim.TransitionMenus = function ($scope) { var self = this; self.edit = {}; self.edit.isOpen = false; self.edit.transitionGroup = null; self.edit.watcher = []; self.edit.open = function (transitionGroup) { $scope.core.closeMenus(); if (d3.event != null && d3.event.stopPropa...
{ "content_hash": "f69e962bf04b5d9c7e7980aff7930291", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 134, "avg_line_length": 40.58064516129032, "alnum_prop": 0.5553789083200847, "repo_name": "resterle/master-ti-praxis", "id": "229cee18429d46ca54f9e3dd30bfbfa7ef92858b", "si...
package br.ufba.dcc.mata62.ufbaboards.old.jogoxadrez; /** * * @author Jeferson Lima */ public class Jogador { private String nome; private String peca; public Jogador() { } public Jogador(String nome) { this.nome = nome; } public String getNome() { return nome; } ...
{ "content_hash": "916fe355bac245efb5dd2542e0fb19e1", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 53, "avg_line_length": 15, "alnum_prop": 0.5695238095238095, "repo_name": "jefersonla/Trabalho-MATA62", "id": "37b85d14979e993c786cb59e09eb76bdbf740b41", "size": "525", "...
package org.openkilda.messaging.info.switches; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import java.io.Serializable; import java.util.List; @Data @Builder @AllArgsConstructor public class GroupSyncEntry implements Serializable { private List<GroupInfoEntry> missing; priv...
{ "content_hash": "c96ad113e7c417b42168749ff92cd9d8", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 53, "avg_line_length": 24.91304347826087, "alnum_prop": 0.7923211169284468, "repo_name": "telstra/open-kilda", "id": "cc7828683a2bf40f55636e6b91977323e6cc723e", "size": "11...
package com.frc2879.newcomen; import java.util.HashMap; public class SettingsRegister { private HashMap<String, Object> settings; public SettingsRegister(HashMap<String, Object> defaults) { // TODO Auto-generated constructor stub this.settings = defaults; } public SettingsRegister() { settings = new Ha...
{ "content_hash": "ca55baadf2ce157c8f7178f84a796483", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 60, "avg_line_length": 22.653061224489797, "alnum_prop": 0.7, "repo_name": "frc2879/2017-newcomen", "id": "44903b4945e362b5ffcb8a6553780f6b45f6e003", "size": "1110", "bin...
<?php namespace Czim\VanDomburgApiClient\Data\Parameters\QuotationCreate; use Czim\VanDomburgApiClient\Data\AbstractDataObject; /** * @property string $unit4_id if you know it (leave all other fields blank in that case) * @property string $ean if you know it (leave all other fields blank in that ca...
{ "content_hash": "561f608e51e4a72da5d3f418984c2eeb", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 94, "avg_line_length": 30.77777777777778, "alnum_prop": 0.7111913357400722, "repo_name": "czim/van-domburg-api-client", "id": "04ac5d981cb702ea2fa650bae7e147fd99357a1e", "s...
{% load static %} {% load compress %} <!DOCTYPE html> <html lang="en"> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <head> <link rel="icon" type="image/png" href="/static/img/glyphicons-question-sign.png">...
{ "content_hash": "cf93a2d85467c87dbca1d4515377510d", "timestamp": "", "source": "github", "line_count": 3520, "max_line_length": 590, "avg_line_length": 72.18125, "alnum_prop": 0.3790922472626516, "repo_name": "UPDDI/mps-database-server", "id": "139a9e372a2b6ab8ac46b7f88e700a08e02ee58a", "size": "2...
package com.ShoppingCart.Project.springbootshoppingcart.shoppingcartappcontroller; import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller;...
{ "content_hash": "78b9a6bfaad69acd732b9e7a3d7598d6", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 158, "avg_line_length": 29.801980198019802, "alnum_prop": 0.7491694352159468, "repo_name": "GabrielAcostaEngler/Shoppingcartproject-V2.0", "id": "7f0622129b7ab9cbc1756ccd61c...
<?php declare(strict_types=1); namespace Picodexter\ParameterEncryptionBundle\Tests\Console\Dispatcher; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use Picodexter\ParameterEncryptionBundle\Console\Dispatcher\EncryptDispatcher; use Picodexter\ParameterEncryptionBundle\Console\Helper...
{ "content_hash": "5cc842fa8631deef0a9919c3ca34396b", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 102, "avg_line_length": 29.56441717791411, "alnum_prop": 0.6791865532268105, "repo_name": "picodexter/PcdxParameterEncryptionBundle", "id": "29aa3c8ab6268189a513a4d63b6517d7...
<?php /** * XmlConnect tabs form element * * @category Mage * @package Mage_XmlConnect * @author Magento Core Team <core@magentocommerce.com> */ class Mage_XmlConnect_Block_Adminhtml_Mobile_Form_Element_Tabs extends Varien_Data_Form_Element_Text { /** * Generate application tabs html *...
{ "content_hash": "b8a9210e9dc047cbd7d6a0678f0ef3c3", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 102, "avg_line_length": 31.923076923076923, "alnum_prop": 0.6032128514056225, "repo_name": "portchris/NaturalRemedyCompany", "id": "283b4a6807227b2fbf658aa309451982f026b8a4",...
import sqlite3 from datetime import datetime from pprint import pprint import sys import os from datetime import datetime import pickle import hk_new start_analysis_at = datetime.strptime('20120406','%Y%m%d') end_analysis_at = datetime.strptime('20120531','%Y%m%d') conn = sqlite3.connect('C:/projects/dbs/SP2_data.db...
{ "content_hash": "4ac22a71486e761daad94d016a13bda9", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 76, "avg_line_length": 22.895238095238096, "alnum_prop": 0.6830282861896838, "repo_name": "annahs/atmos_research", "id": "98bb4c169488140869105af9d5557716122d54ed", "size"...
template <typename matType, typename vecType> static void test_mat_mul_vec(matType const& M, std::vector<vecType> const& I, std::vector<vecType>& O) { for (std::size_t i = 0, n = I.size(); i < n; ++i) O[i] = M * I[i]; } template <typename matType, typename vecType> static int launch_mat_mul_vec(std::vector<vecType>...
{ "content_hash": "c4084f6bef5bc8c43ecee4484c147cd1", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 123, "avg_line_length": 31.63768115942029, "alnum_prop": 0.6864406779661016, "repo_name": "jlukacs/aqua", "id": "3dc9d74c2c35f214fb16396a01994e512e8c06ad", "size": "4871",...
namespace OrdersSystem.Services { using System; using System.Linq; using Data.Repository; using OrdersSystem.Models; using OrdersSystem.Services.Contracts; public class CustomersServices : ICustomersServices { private IRepository<Customer> customers; public CustomersServic...
{ "content_hash": "91a41477e085943d45ee17d97849769b", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 65, "avg_line_length": 25.5531914893617, "alnum_prop": 0.5903413821815154, "repo_name": "petyodelta/ASP-NET-MVC", "id": "9548bf5832101b303dd9e288fafec6527cf76eaf", "size": ...
package org.apache.hadoop.mapred; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.LinkedHashMap; import java.util.TreeMap; import java.util.jar.JarOutputStream; import java.util.zip.ZipEntry; import junit.framework.TestCase; imp...
{ "content_hash": "a31f26d00357449490e0577eda251b87", "timestamp": "", "source": "github", "line_count": 991, "max_line_length": 82, "avg_line_length": 35.25428859737639, "alnum_prop": 0.6774766007384722, "repo_name": "InMobi/hadoop", "id": "5b0e24b8f3f6eaff2b2d028eb0e36569a5520fee", "size": "35743"...
<?php namespace Phalcon\Cli\Dispatcher { class Exception extends \Phalcon\Exception { } }
{ "content_hash": "fb526a978c2dc64405406c43f6668a60", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 46, "avg_line_length": 13.75, "alnum_prop": 0.6272727272727273, "repo_name": "hu2008yinxiang/phalcon-pure-php", "id": "c4182511c1cc7f920305f5140ccd0b9855a78551", "size": "11...
package com.blazebit.blazefaces.apt.model; public class Function { private String name; private String clazz; private String signature; private Description description; public Function() { } public Function(String name, String clazz, String signature, Description description) { this.name = name; this...
{ "content_hash": "647300f0817a19832cb168749a26dbf7", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 69, "avg_line_length": 20, "alnum_prop": 0.6407407407407407, "repo_name": "Blazebit/blaze-faces", "id": "0a864d75b4d79a03eb940e94a76fa7ccb7f57919", "size": "2160", "bina...
include_recipe "jetty::default" ::Chef::Recipe.send(:include, Opscode::OpenSSL::Password) if Chef::Config[:solo] if node['jetty']['cargo']['password'].nil? Chef::Application.fatal!([ 'For chef-solo execution, you must set ', ' { ', ' ...
{ "content_hash": "02c87342032cddfdddaef0f493fd3eb1", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 104, "avg_line_length": 29.493150684931507, "alnum_prop": 0.5369252206223873, "repo_name": "hardtke/jetty", "id": "5032f678814adea19318947bef3c49aa721b6606", "size": "2777"...
This is an example of integrating DGL(https://github.com/dmlc/dgl) and RaySGD for distributed graph neural network training. Original scripts are taken from: https://github.com/dmlc/dgl/blob/master/examples/pytorch/ogb/ogbn-products/gat/main.py. In order to overwrite the train_epoch and validate methods in the custom...
{ "content_hash": "9d84e3315e1cc16bf614016f4133deaf", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 346, "avg_line_length": 50.25, "alnum_prop": 0.7512437810945274, "repo_name": "pcmoritz/ray-1", "id": "7485f09b6d93644a7161031a8e73eae3c16a5f02", "size": "1273", "binary"...
def tweet_length(tweet) if tweet.length > 140 "Too many characters!" end end
{ "content_hash": "f6c82ab5caa2804840a7b7ecba020524", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 26, "avg_line_length": 17, "alnum_prop": 0.6823529411764706, "repo_name": "Bloc/workshop-curriculum", "id": "7e03ae3171caf5e50736a6beb931bad423724ac2", "size": "85", "bina...
jquery-snappish ===============
{ "content_hash": "c03913f1ccbea860c7ed689626f6d987", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 15, "avg_line_length": 16, "alnum_prop": 0.4375, "repo_name": "EdwardRees/EdwardRees.github.io", "id": "5159027fb2014dc9b7fda2ac0788f4d6aa897b68", "size": "32", "binary": ...
#include <benchmark/benchmark.h> #include <osquery/core.h> #include <osquery/registry.h> #include <osquery/sql.h> #include <osquery/tables.h> #include "osquery/sql/virtual_table.h" namespace osquery { class BenchmarkTablePlugin : public TablePlugin { private: TableColumns columns() const { return {{"test_i...
{ "content_hash": "32759a3e80703c383c530a62f59db3dd", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 75, "avg_line_length": 26.384615384615383, "alnum_prop": 0.6793002915451894, "repo_name": "mofarrell/osquery", "id": "c88d6f652335feb2a15ddd4495a5c314ec138047", "size": "23...
title: Components overview eleventyNavigation: key: Overview parent: Components order: 0 versionLinks: v1: components/templates/ --- A Lit component is a reusable piece of UI. You can think of a Lit component as a container that has some state and that displays a UI based on its state. It can also react to use...
{ "content_hash": "cec759eec30b893a28af74bc119f0fd1", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 326, "avg_line_length": 59.65384615384615, "alnum_prop": 0.7685364281108962, "repo_name": "lit/lit.dev", "id": "87ddcdc2245d84f422cc6015caf0f5fcf4d326ab", "size": "1559", ...
FM_ID: '' name: Santa Clarita Farmers Market address_1: College of the Canyons Valencia Campus address_2: 26455 Rockwell Canyon Rd. city: Valencia state: California zip: '91355' phone: (805)529-6266 latitude: '34.4042' longitude: '-118.5683' website: >- http://visitsantaclarita.com/dining/farmers-markets/santa-clarit...
{ "content_hash": "d33801f55d6eb618e55319382cdd2a1a", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 83, "avg_line_length": 24.692307692307693, "alnum_prop": 0.7538940809968847, "repo_name": "kathwang21/site", "id": "f6e81d0cf0c138d05b2e24aa99c6970b60798804", "size": "646"...
tinyMCELang['lang_iespell_desc'] = 'Kör rättstavningskontroll'; tinyMCELang['lang_iespell_download'] = "ieSpell verkar inte vara installerad. Klicka OK f&ouml;r att ladda hem."
{ "content_hash": "bf623982b40a816ef7e856b8fe760474", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 112, "avg_line_length": 88.5, "alnum_prop": 0.7740112994350282, "repo_name": "qlwu/svnmanager", "id": "f77b39ffdd646ae849ea3974b06ba5610200afb0", "size": "199", "binary": ...
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
{ "content_hash": "790220c93ef6e8572b99fd78da696ef8", "timestamp": "", "source": "github", "line_count": 319, "max_line_length": 80, "avg_line_length": 37.83699059561128, "alnum_prop": 0.5826014913007457, "repo_name": "glonlas/onmetal-dashboard", "id": "19f4d4af91aab0d0ee55deabf56308a4bbd92ead", "si...
module Types where import qualified Data.Text.Lazy as L data Element = HR | H Int XText | P XText | PRE XText | UOL Xlist | DL [Def] | IMG [Image] | TABLE [[XText]] | DIV DivAttr [Element] deriving (Eq...
{ "content_hash": "1341fe9db51d710495480738b245acdd", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 81, "avg_line_length": 25.871794871794872, "alnum_prop": 0.5619425173439049, "repo_name": "kazu-yamamoto/piki", "id": "3db44d4c24bc553d584f4969ad411038abcaeb8e", "size": "1...
package org.jfree.chart3d.fx.demo; import static javafx.application.Application.launch; import java.awt.BasicStroke; import java.awt.Color; import javafx.application.Application; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import javafx.stage.Stage; import org.jfree.cha...
{ "content_hash": "0ba8f9466ec98507ca3bfcf20ed22389", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 102, "avg_line_length": 34.12972972972973, "alnum_prop": 0.5926512511878366, "repo_name": "jfree/jfree-fxdemos", "id": "9794a9bb0c3435f0d3862c699a7618177bf27e97", "size": ...