text
stringlengths
2
1.04M
meta
dict
using namespace Crystal::Graphics; using namespace Crystal::Shader; TextureObject::TextureObject(const Image& image, const int id) { create(image, id); } void TextureObject::create(const Image& image, const int id) { this->id = id; this->width = image.getWidth(); this->height = image.getHeight(); ...
{ "content_hash": "bf6c3c9ce19862603b041860bf3b3973", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 134, "avg_line_length": 26.40740740740741, "alnum_prop": 0.6989247311827957, "repo_name": "SatoshiMabuchi/Crystal", "id": "5c9bb2064e1ad496289dcc684eb66bc82d8e76e2", "size"...
package prometheus import ( "fmt" "hash/fnv" "math" "sort" "sync" "time" "github.com/coreos/mantle/Godeps/_workspace/src/github.com/beorn7/perks/quantile" "github.com/coreos/mantle/Godeps/_workspace/src/github.com/golang/protobuf/proto" dto "github.com/coreos/mantle/Godeps/_workspace/src/github.com/promethe...
{ "content_hash": "f09f3b116c19c458f8393964415d64d7", "timestamp": "", "source": "github", "line_count": 527, "max_line_length": 91, "avg_line_length": 30.15180265654649, "alnum_prop": 0.7200755191944619, "repo_name": "mischief/mantle", "id": "7dc2498e4ddc7611e87116f75e2c5ba2bc19164b", "size": "1648...
/* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu> */ /* Hacked to work with BusyBox by Alfred M. Szmidt <ams@trillian.itslinux.org> */ #ifndef _MD5_H #define _MD5_H 1 /* Some useful definitions */ #define FALSE ((int) 1) #define TRUE ((int) 0) #include <stdio.h> #include <errno.h> #include <ctype.h> #incl...
{ "content_hash": "97b003f3e3645ac5565fcb253d3c482d", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 81, "avg_line_length": 30.960264900662253, "alnum_prop": 0.7024598930481284, "repo_name": "EDACC/edacc_jobserver", "id": "8c3ad25f25c5b0b22a003a670ea8cd20ba872ed2", "size"...
//****************************** // Written by Peter Golde // Copyright (c) 2004-2005, Wintellect // // Use and restribution of this code is subject to the license agreement // contained in the file "License.txt" accompanying this file. //****************************** using System; using System.Collections.Generic;...
{ "content_hash": "0221a1acb9899898b3d19e1a4c28a6d2", "timestamp": "", "source": "github", "line_count": 817, "max_line_length": 117, "avg_line_length": 32.98408812729498, "alnum_prop": 0.48530503191331453, "repo_name": "Vyara/Telerik-High-Quality-Code-Homeworks", "id": "7abed246dcaa88cb97e18af89c9028...
class InitializeUserNames < ActiveRecord::Migration def self.up User.find(:all).select{|u| u.name.blank?}.each do |u| u.name = u.login u.save end end def self.down end end
{ "content_hash": "f2a82a854956f39c56a4e76bba18955b", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 57, "avg_line_length": 18.272727272727273, "alnum_prop": 0.6368159203980099, "repo_name": "Robert-123/echowaves", "id": "cc8b347c4476adae5decae92f6186a445b94f709", "size": ...
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/init.h> #include <linux/module.h> #include <linux/if_arp.h> #include <linux/if_vlan.h> #include <linux/in.h> #include <linux/ip.h> #include <linux/jhash.h> #include <linux/delay.h> #include <linux/time.h> #include <linux/etherdevice.h> #include <linux/genet...
{ "content_hash": "715b14d06e2755a10e371bef3e9ceaf9", "timestamp": "", "source": "github", "line_count": 1903, "max_line_length": 80, "avg_line_length": 24.105097214923806, "alnum_prop": 0.6574162888036275, "repo_name": "michelborgess/RealOne-Victara-Kernel", "id": "e66341ec455c3d7c588680bd829e044b7d7...
#ifndef _PASSENGER_LOGGING_SERVER_H_ #define _PASSENGER_LOGGING_SERVER_H_ #include <oxt/system_calls.hpp> #include <oxt/macros.hpp> #include <boost/shared_ptr.hpp> #include <string> #include <ostream> #include <sstream> #include <map> #include <ev++.h> #include <sys/types.h> #include <sys/time.h> #include <sys/stat....
{ "content_hash": "e27d7ae43c9b28a9b271baf61b6ec82a", "timestamp": "", "source": "github", "line_count": 1320, "max_line_length": 104, "avg_line_length": 28.78939393939394, "alnum_prop": 0.6614125572338297, "repo_name": "fabiokung/passenger-debian", "id": "a54567ba01c97058cc3b10773ff3ac2325604c3a", ...
<!DOCTYPE html > <html> <head> <title>AJMaterial101 - net.liftmodules.FoBo.AJMaterial101</title> <meta name="description" content="AJMaterial101 - net.liftmodules.FoBo.AJMaterial101" /> <meta name="keywords" content="AJMaterial101 net.liftmodules.FoBo.AJMaterial101" /> <m...
{ "content_hash": "d2cc1b275e41067d22950ac7cd2101d4", "timestamp": "", "source": "github", "line_count": 462, "max_line_length": 798, "avg_line_length": 59.285714285714285, "alnum_prop": 0.5929536327126689, "repo_name": "karma4u101/FoBo-Demo", "id": "de17fdeea69e09d2e564851c00a55297cc90b5dd", "size"...
"""Data tests for cclib."""
{ "content_hash": "228daa9de2075af935de84d8bb3fadd2", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 27, "avg_line_length": 28, "alnum_prop": 0.6071428571428571, "repo_name": "cclib/cclib", "id": "888af5721a312dca5576ca313aed46d8b1adc27a", "size": "226", "binary": false, ...
<resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> <dimen name="activity_tiny">10dp</dimen> <dimen name="activity_small">12dp</dimen> <dimen name="activity_litt...
{ "content_hash": "cf185c4262fd60fc79e8ad5a065dbad6", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 71, "avg_line_length": 37.34090909090909, "alnum_prop": 0.6585514303104077, "repo_name": "wjWite/Native", "id": "a3ea1cc2376f48b77f7afb7ecc031b6f22a6add9", "size": "1643", ...
using System.Collections.Generic; using System.ComponentModel; using System.Windows.Controls.WpfPropertyGrid.Attributes; using Hawk.Core.Connectors; using Hawk.Core.Utils.Plugins; namespace Hawk.ETL.Plugins.Transformers { [XFrmWork("自增键生成", "自动生成一个从起始索引开始的自增新列")] public class AutoIndexTF : Transform...
{ "content_hash": "a6c8f3fb64ee421387ed4be2912f7421", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 68, "avg_line_length": 25.03125, "alnum_prop": 0.602996254681648, "repo_name": "zsewqsc/Hawk", "id": "730136a5886a32a948afc6b7b217d1bd7d35106f", "size": "857", "binary": ...
require 'spec_helper' describe "chorg_revisions", dbscope: :example do let(:site) { cms_site } let(:index_path) { chorg_revisions_revisions_path site.id } let(:new_path) { new_chorg_revisions_revision_path site.id } it "without login" do visit index_path expect(current_path).to eq sns_login_path end...
{ "content_hash": "31697839282ee63982274d18d38d025a", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 83, "avg_line_length": 26.3625, "alnum_prop": 0.6055002370791844, "repo_name": "t-wata-cldt/shirasagi", "id": "e7c42cc99fe64fd2c6d972c04ef5c7f5ccec5bec", "size": "2117", ...
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Implementation of the Transmission Control Protocol(TCP). * * Version: $Id: tcp.c,v 1.216 2002/02/01 22:01:0...
{ "content_hash": "97add5dfee780204df61991ac8a0840c", "timestamp": "", "source": "github", "line_count": 2152, "max_line_length": 84, "avg_line_length": 27.67193308550186, "alnum_prop": 0.6345088161209068, "repo_name": "ut-osa/syncchar", "id": "6afb53210b310585b0411a815527388edd1dbdd3", "size": "595...
<resources> <string name="app_name">Todos with Dagger</string> <string name="title_activity_main">Todos with Dagger</string> <string name="btn_add_todo">Add</string> <string name="edit_new_todo_hint">new task</string> <string name="dialog_delete_todo_title">Delete todo</string> <string name="d...
{ "content_hash": "f2f0d06d9b079733914d2aa1e5542402", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 92, "avg_line_length": 43.89473684210526, "alnum_prop": 0.6954436450839329, "repo_name": "izumin5210/Droidux", "id": "491c16508b101db88e62e5b55a59306cb8250e72", "size": "83...
<!DOCTYPE html> <html lang="en" data-ng-app="controls.app"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must com...
{ "content_hash": "9df1f10d47dd7262e685fb16ab43082d", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 117, "avg_line_length": 47.42857142857143, "alnum_prop": 0.6767068273092369, "repo_name": "lucasduane/angular-controls", "id": "cec6cc693cf6b2c9e1c63e53656587515fb58a19", "...
using content::BrowserThread; using syncer::FakeSyncManager; using syncer::SyncManager; using ::testing::InvokeWithoutArgs; using ::testing::StrictMock; using ::testing::_; namespace browser_sync { namespace { ACTION_P(Signal, event) { event->Signal(); } void QuitMessageLoop() { base::MessageLoop::current()->Qu...
{ "content_hash": "9f3a9cea20ff06784788f6b4b3c90683", "timestamp": "", "source": "github", "line_count": 666, "max_line_length": 80, "avg_line_length": 43.108108108108105, "alnum_prop": 0.7034482758620689, "repo_name": "ChromiumWebApps/chromium", "id": "21547212eb98098e9d04d1991c6bd1153cb07b88", "si...
require 'hashie' require 'hive/extensions/hashie_validate_enum' module Hive module Activities module Hotels class Payment < Hashie::Trash include Hashie::Extensions::IgnoreUndeclared property :subtotal, required: true property :total, required: true property :currency, requ...
{ "content_hash": "5355065d297898e649020258b91f9a40", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 52, "avg_line_length": 26.177777777777777, "alnum_prop": 0.6171477079796265, "repo_name": "denniss/wix-hive-ruby", "id": "fde954ac2b453ef8a27b81a5f0699bda88634653", "size":...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" tools:context="com.createchance.doorgod.lockfragments...
{ "content_hash": "067b50f059b1a4b7986dec574abea17f", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 79, "avg_line_length": 39.231884057971016, "alnum_prop": 0.643886220908755, "repo_name": "CreateChance/DoorGod", "id": "fb0f64d645bf0008b05fec148cb83a28e84292d3", "size": "...
<?php declare(strict_types=1); namespace Sylius\Bundle\PromotionBundle\Validator; use Sylius\Bundle\PromotionBundle\Validator\Constraints\PromotionDateRange; use Sylius\Component\Promotion\Model\PromotionInterface; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use...
{ "content_hash": "ab0c09ccafa920b0d1647658ba46f74a", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 90, "avg_line_length": 26.914893617021278, "alnum_prop": 0.6308300395256917, "repo_name": "regnisolbap/Sylius", "id": "4574b1622547b66cc739ea58868e2af6b4e3f4bd", "size": "1...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
{ "content_hash": "e7628cdd9915f1b234ec296ea7a8a328", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 159, "avg_line_length": 40.777142857142856, "alnum_prop": 0.5447029147982063, "repo_name": "coq-bench/coq-bench.github.io", "id": "ab3591ef4f19f1c4cfd26664fdedb1e40fb3f239",...
{% extends "admin/base.html" %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block branding %} <h1 id="site-name"><a href="{% url 'admin:index' %}">Midori's blog Administration</a></h1> {% endblock %} {% block nav-global %}{% endblock %}
{ "content_hash": "806d191dfffa4af8bf80c7d92b7c027b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 92, "avg_line_length": 32.44444444444444, "alnum_prop": 0.5993150684931506, "repo_name": "midori1/midorinoblog", "id": "294056a2588c62d3d62d3d28bedd24db2f130a58", "size": "2...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//NetBeans//DTD Module Status 1.0//EN" "http://www.netbeans.org/dtds/module-status-1_0.dtd"> <module name="org.apache.commons.logging"> <param name="autoload">true</param> <param name="eager">false</param> <param name="...
{ "content_hash": "3d47a6520a1f45eb64b30a220bd63615", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 77, "avg_line_length": 47.22222222222222, "alnum_prop": 0.6517647058823529, "repo_name": "shamanDevel/RPG-Editor", "id": "51ec7e483db1d252646967d7368df0bff1dd3d67", "size": ...
package com.example.peterhu.myapplication; import android.content.Context; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.view.View; import android.view.ViewGroup; import android.view.animation.AlphaAnimation; import and...
{ "content_hash": "3255584955a820a021266442534fa530", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 281, "avg_line_length": 39.876068376068375, "alnum_prop": 0.6211552888222055, "repo_name": "HeterPu/PHEmptyDataSetForAndroid", "id": "104a140ce1198ee272bd58ef5eb221458d65b94...
from amonagent.modules.processes import processes_data_collector from amonagent.modules.core import ( get_uptime, get_memory_info, get_cpu_utilization, get_load_average, disk_check, get_network_traffic, get_ip_address, get_cpu_info ) from amonagent.modules.distro import get_distro from amonagent.modules.plugins...
{ "content_hash": "444c76103935ebeb7f2afcc785a3ccc2", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 75, "avg_line_length": 19.91304347826087, "alnum_prop": 0.6899563318777293, "repo_name": "amonapp/amonagent-legacy", "id": "fa5554322f4c9dd81f36eb7ddb8bec3624d5d196", "size...
<html> <head> <title>Sweat the Small Stuff (BBC Three)</title> <script type="text/javascript" src="../common.js"></script> <link rel="stylesheet" media="all" href="../style.css" type="text/css"/> <script type="text/javascript" src="../panelshows.js"></script> <meta name="twitter:card" content="summary"> <meta nam...
{ "content_hash": "86610a0bebbadc101999d5c45c93f7f7", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 735, "avg_line_length": 97.16666666666667, "alnum_prop": 0.6889651229273871, "repo_name": "slowe/panelshows", "id": "5e6f20a78cfabcdc1639a2ba7a15a5ebf37d17ba", "size": "349...
<!DOCTYPE html> <meta charset="utf-8"> <title>CSS Text Test: white-space: pre-wrap</title> <link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com"> <link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-pre-wrap"> <link rel="help" href="https://drafts.csswg....
{ "content_hash": "f3009be3455f6d6b37568ee6e694ca45", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 141, "avg_line_length": 30.44736842105263, "alnum_prop": 0.6862575626620571, "repo_name": "scheib/chromium", "id": "0590f669e918a8782142784080179b1f37cbaf45", "size": "1157...
from bda.plone.shop.tests import set_browserlayer from bda.plone.shop.tests import Shop_INTEGRATION_TESTING from bda.plone.shop.utils import get_shop_settings import plone.api import unittest2 as unittest class TestUser(unittest.TestCase): layer = Shop_INTEGRATION_TESTING def setUp(self): self.porta...
{ "content_hash": "2c4ee309b1c148216c7b8c2e2568fce3", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 75, "avg_line_length": 31.071428571428573, "alnum_prop": 0.6505747126436782, "repo_name": "TheVirtualLtd/bda.plone.shop", "id": "b9998ec13b9c229fa90fc1bdf5422efbf9dead39", ...
var crypto = require('crypto'), Utils = require('./utils.js'), utils = new Utils(); var Client = function(socket) { // Constructor this.connections = []; this.ID = crypto.randomBytes(64).toString('hex'); this.addConnection(socket); // Send MOTD socket.emit('message', {'message': 'Hello wor...
{ "content_hash": "05e7b51746d132c055d0ad80a9b5411f", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 146, "avg_line_length": 28.029411764705884, "alnum_prop": 0.6201469045120671, "repo_name": "HackThis/NexClient", "id": "ea03c251a737e06d5bca8e6cad10e9cf44da6719", "size": "...
Playing with seaborn to create some graphs. Check out: http://mateusz.at/blog/2015/09/07/playing-with-seaborn---visualizing-natality-data
{ "content_hash": "3ccec4d3305d28288bce484d9a1cbc1f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 82, "avg_line_length": 34.75, "alnum_prop": 0.7913669064748201, "repo_name": "masteusz/seaborn_natality", "id": "8c78cfaefd683d92dab0d0078e8dc5772af40708", "size": "158", ...
package org.apache.harmony.jretools.policytool.model; /** * Abstract ancestor to represent a policy entry. */ public abstract class PolicyEntry { /** Terminator character of the policy entry texts. */ public static final char TERMINATOR_CHAR = ';'; /** * Returns the policy entry text.<br> *...
{ "content_hash": "9438793a38a8c8cfcad0480ccbd70923", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 104, "avg_line_length": 25.25, "alnum_prop": 0.6831683168316832, "repo_name": "freeVM/freeVM", "id": "861fea942e71db4c7c4712616895b790e7c3efa8", "size": "1306", "binary":...
'use strict'; angular.module('core').controller('HomeController', ['$scope', 'Authentication', '$timeout', function($scope, Authentication, $timeout) { // This provides Authentication context. $scope.authentication = Authentication; $scope.quoteInterval = 7000; $scope.myInterval = 5000; $scope.quotes = ...
{ "content_hash": "5cef611d4086c86926f8c322ed84e703", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 446, "avg_line_length": 35.12328767123287, "alnum_prop": 0.6544461778471139, "repo_name": "andela-koni/recAread", "id": "216b392453b0426a3aa4e61abb618becc63ee9f4", "size": ...
cat /etc/alertmanager/alertmanager.yml |\ sed "s@#api_url: <url>#@api_url: '$SLACK_URL'@g" |\ sed "s@#channel: <channel>#@channel: '#$SLACK_CHANNEL'@g" |\ sed "s@#username: <user>#@username: '$SLACK_USER'@g" > /tmp/alertmanager.yml mv /tmp/alertmanager.yml /etc/alertmanager/alertmanager.yml set -- /bin/al...
{ "content_hash": "68340f33d48be21ffea8f4ef7de8149c", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 80, "avg_line_length": 34.7, "alnum_prop": 0.6426512968299711, "repo_name": "joericearchitect/shared-infra", "id": "41e9d96cd473d3cfff9479c4203caebb0a164506", "size": "361"...
aclocal autoheader autoconf automake --add-missing # vim: tabstop=2 shiftwidth=2 expandtab softtabstop=2
{ "content_hash": "3727c6cd848b7903dc14baa2c19f78d0", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 53, "avg_line_length": 17.666666666666668, "alnum_prop": 0.8113207547169812, "repo_name": "SumiTomohiko/luxcmd", "id": "20686bd92e14b4d853b61e3adf40267469b3cdc7", "size": "1...
int main(int argc, char **argv) { // AR.Drone class ARDrone ardrone; // Initialize if (!ardrone.open()) { printf("Failed to initialize.\n"); return -1; } // Image of AR.Drone's camera IplImage *image = ardrone.getImage(); // Variables for optical flow int corner_co...
{ "content_hash": "1e08b5252d95a3eddae605e0f192d922", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 155, "avg_line_length": 32.89411764705882, "alnum_prop": 0.6033619456366237, "repo_name": "tekkies/cvdrone", "id": "99aa1a4db9180a6e8d2d861bcd9a1b45b7002a09", "size": "3124...
package org.drools.ide.common.client.factconstraints.config; import java.util.HashMap; import java.util.Map; import java.util.Set; import org.drools.ide.common.client.factconstraints.ConstraintConfiguration; public class SimpleConstraintConfigurationImpl implements ConstraintConfiguration { private static fin...
{ "content_hash": "1466568060b4870f626aaa5852387d8f", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 119, "avg_line_length": 28.30952380952381, "alnum_prop": 0.6715727502102607, "repo_name": "psiroky/guvnor", "id": "1c16b1976d682e9aec0d08572606c9be21025340", "size": "2971"...
import 'ng-redux'; import { attachAll, getNgModuleNames } from '../../other/boilerplate-utils.js'; const angular = require('angular'); require('angular-ui-bootstrap'); require('./desktop.css'); require('ngtouch'); require('angular-dropzone'); require('ng-tags-input'); require('angular-vs-repeat'); const ngDependencies...
{ "content_hash": "f190acdc75ed7359fcdbdeb32c0bb308", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 110, "avg_line_length": 31.756756756756758, "alnum_prop": 0.7004255319148937, "repo_name": "Jonathan-Law/fhd", "id": "3e4c0370d7acec486185a70acfde9ada8abb4928", "size": "11...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "bc6f4b1d06a447ecf11d52cc19fbbf99", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "e777e51ef5e876deea6a00388b4afe1afca19b19", "size": "19...
var express = require('express'); var fs = require('fs'); var url = require('url'); if (process.env.REDISTOGO_URL) { var rtg = require("url").parse(process.env.REDISTOGO_URL); var redis = require("redis").createClient(rtg.port, rtg.hostname); redis.auth(rtg.auth.split(":")[1]); } else { var redis = require("redi...
{ "content_hash": "8e876c0dd6a3959b58a1ce68713d39b4", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 89, "avg_line_length": 23.533980582524272, "alnum_prop": 0.5734323432343235, "repo_name": "tmeinders/meinders-shortener", "id": "2e64acc4aff0d5723347a3a37587b19a4b7c65bb", ...
/** * @author effine * @Date 2016年1月5日 下午6:26:55 * @email iballader#gmail.com * @site http://www.effine.cn */ package cn.effine.lab.rabbitmq; import com.rabbitmq.client.AMQP.BasicProperties; import com.rabbitmq.client.Consumer; import com.rabbitmq.client.Envelope; import com.rabbitmq.client.Shutdown...
{ "content_hash": "e4a812ecb7ace3ee5f075841c34cc486", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 121, "avg_line_length": 27.192307692307693, "alnum_prop": 0.6572371522866572, "repo_name": "effine/shopping", "id": "be901eec041128729644cc9e26a39126ab13c202", "size": "214...
<?php namespace Mief\Provider; /** * A way to provide a consistent result set to work with * Providers should return this. */ class ResultSet { /** * @var */ private $search_terms; /** * @var */ private $cover_url; /** * The URL to retrieve the cover art * * ...
{ "content_hash": "c66be86b80d71adb6be20b3f555257a5", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 56, "avg_line_length": 16.333333333333332, "alnum_prop": 0.5215419501133787, "repo_name": "rikvanderkemp/coversearch", "id": "217e58de7f2d2b714028f45ae04b29520f4e92aa", "si...
// Code generated by protoc-gen-gogo. // source: cockroach/roachpb/api.proto // DO NOT EDIT! /* Package roachpb is a generated protocol buffer package. It is generated from these files: cockroach/roachpb/api.proto cockroach/roachpb/data.proto cockroach/roachpb/errors.proto cockroach/roachpb/internal.proto ...
{ "content_hash": "8a94b9ef19fa22897850e53fefe853f1", "timestamp": "", "source": "github", "line_count": 11236, "max_line_length": 151, "avg_line_length": 23.414026343894623, "alnum_prop": 0.6141325832446404, "repo_name": "il9ue/cockroach", "id": "11b8cfc758630e7b050873096454d50a197cab83", "size": "...
This is the source code for my personal website, [pstblog.com](http://pstblog.com). It is based on the [Minimal Mistakes](https://github.com/mmistakes/minimal-mistakes) theme. Changes I have made this theme include: * Disqus comments load on a button click rather than automatically * Typography changes, mainly to ...
{ "content_hash": "8cd1002e321c4cba0073e0b92a251985", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 219, "avg_line_length": 42.130434782608695, "alnum_prop": 0.7549019607843137, "repo_name": "psthomas/psthomas.github.io", "id": "878e7ed386154b515989f8dd516208c5474d1f7f", ...
// default #elif defined(EIGEN_TEST_PART_2) #define EIGEN_MAX_STATIC_ALIGN_BYTES 16 #define EIGEN_MAX_ALIGN_BYTES 16 #elif defined(EIGEN_TEST_PART_3) #define EIGEN_MAX_STATIC_ALIGN_BYTES 32 #define EIGEN_MAX_ALIGN_BYTES 32 #elif defined(EIGEN_TEST_PART_4) #define EIGEN_MAX_STATIC_ALIGN_BYTES 64 #define EI...
{ "content_hash": "577150239424ff3dd5ba1c4461b8aa6b", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 120, "avg_line_length": 31.269461077844312, "alnum_prop": 0.7192646495595557, "repo_name": "Jetpie/open-linear", "id": "014cc834b74aa06b593440e4e1149324409bae72", "size": ...
import click @click.command() def main(args=None): """Console script for mcmc""" click.echo("Replace this message by putting your code into " "mcmc.cli.main") click.echo("See click documentation at http://click.pocoo.org/") if __name__ == "__main__": main()
{ "content_hash": "2224ad9c9977916db08dad04cd5d056d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 68, "avg_line_length": 22.53846153846154, "alnum_prop": 0.6143344709897611, "repo_name": "mchakra2/parallelmcmc", "id": "4b5d817d54d3c434e5a2fcf9ead9658c39c2b498", "size": ...
<?php /** * Abstract container block with header * * @category Mage * @package Mage_Core * @author Magento Core Team <core@magentocommerce.com> */ class Mage_Page_Block_Template_Container extends Mage_Core_Block_Template { /** * Set default template * */ protected function _co...
{ "content_hash": "1bca53b823ab2037b6c0658886dcf6a8", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 73, "avg_line_length": 16.916666666666668, "alnum_prop": 0.6231527093596059, "repo_name": "rajanlamic/urbanart", "id": "94d9d3a5208b1f6073bb81876673c6ea35c5c439", "size": "...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Host.Filters; using IdentityServer4.Quickstart.UI.Models; using IdentityServer4.Services; using Microsoft.AspNetCore.Mvc; using System....
{ "content_hash": "ce4ded8031e26f4db2f14d842279b448", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 107, "avg_line_length": 27.644444444444446, "alnum_prop": 0.6262057877813505, "repo_name": "MichaelPetrinolis/IdentityServer4.Samples", "id": "d1d28ad7d084ead0e6181d9b6675ff9...
namespace media_router { namespace { // The number of minutes a NOTIFICATION Issue stays in the IssueManager // before it is auto-dismissed. constexpr int kNotificationAutoDismissMins = 1; // The number of minutes a WARNING Issue stays in the IssueManager before it // is auto-dismissed. constexpr int kWarningAutoDis...
{ "content_hash": "64d915fa74312cc75074eeb1ff60b320", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 79, "avg_line_length": 32.06299212598425, "alnum_prop": 0.6957269155206287, "repo_name": "ric2b/Vivaldi-browser", "id": "fb760be3b8b1512651c78c64ff4db7954890d3f1", "size":...
<?php namespace Reporting; use Reporting\Model\Reporting; use Reporting\Model\ReportingTable; use Zend\Db\ResultSet\ResultSet; use Zend\Db\TableGateway\TableGateway; class Module { public function getAutoloaderConfig() { return array( 'Zend\Loader\ClassMapAutoloader' => array( __DIR__ . '/autoload_clas...
{ "content_hash": "d63672b5a902969926b5889eec4eaa11", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 108, "avg_line_length": 31.123076923076923, "alnum_prop": 0.6455758774097874, "repo_name": "Geode/waterway-obs-server", "id": "9be42ddb767a6a755e735591ca85c1f7a32f3e1f", "s...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b1eafe572ee8ce9cf36e680ea3af4d16", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "36d2ed877f2af46e44b8cb31da6ca7e726f7ff02", "size": "199...
/* iCheck plugin Futurico skin ----------------------------------- */ .icheckbox_futurico, .iradio_futurico { display: inline-block; *display: inline; vertical-align: middle; margin: 0; padding: 0; width: 16px; height: 17px; background: url(futurico.png) no-repeat; border: none; ...
{ "content_hash": "b95a9ba07cb07fd9b10bfbefe76833a1", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 61, "avg_line_length": 23.571428571428573, "alnum_prop": 0.6553030303030303, "repo_name": "ththao/yii2template", "id": "b32b29ceced1e3a66799a54fd7fc6c9031ba82a4", "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_102) on Wed Nov 02 19:53:41 IST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Uses of Class org.apache.so...
{ "content_hash": "dc60c44c379a021df46664bc9649ee0c", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 187, "avg_line_length": 38.621428571428574, "alnum_prop": 0.607545773996671, "repo_name": "johannesbraun/clm_autocomplete", "id": "dcccdc261ef32580b6f118a1a3266759f3d64e3e",...
<?php namespace PhpSpec\Exception\Fracture; /** * Class MethodNotFoundException holds information about method not found * exception */ class MethodNotFoundException extends MethodInvocationException { }
{ "content_hash": "1b6b4f1984b60409e0a7ae716ab7efe3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 73, "avg_line_length": 16.615384615384617, "alnum_prop": 0.7777777777777778, "repo_name": "Amaire/filmy", "id": "dd5079ef4510bb7c18631d3a0a41e209e4a57b24", "size": "549", ...
.. index:: single: Introduction Introduction ============ Good developers always version their code using a SCM system, so why don't they do the same for their database schema? Phinx allows developers to alter and manipulate databases in a clear and concise way. It avoids the use of writing SQL by hand and instea...
{ "content_hash": "7ced01be71b976ab09da1adf4cd1dc75", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 79, "avg_line_length": 43.125, "alnum_prop": 0.7971014492753623, "repo_name": "robmorgan/phinx", "id": "50c44443f86472cd6797532b7491e8eacf307167", "size": "690", "binary"...
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>test</title> <script type="application/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> <script type="application/javascript" src="../bower_components/sammy/lib/sammy.js"></script> </head...
{ "content_hash": "c4d99a9be99001726d93c78c7d9704c3", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 121, "avg_line_length": 28.045454545454547, "alnum_prop": 0.6012965964343598, "repo_name": "purescript-contrib/purescript-sammy", "id": "9526b595feafaecf299ab0af87c0bd92d896e...
*This file documents the changes in **Radix** versions that are listed below.* *Items should be added to this file as:* ### YYYY-MM-DD Release + Additional changes. + More changes. * * * ### 2015-5-14 Release v0.5.6 + Add Float64 method to redis.Reply, courtesy of @viblo ### 2015-5-09 Release v0.5.5 ...
{ "content_hash": "24cad529b84f47c83df449cbf396c809", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 129, "avg_line_length": 31.043715846994534, "alnum_prop": 0.7408906882591093, "repo_name": "theskyinflames/go-misc", "id": "03ad303654f9e4e55acaa145552445589a4f2618", "siz...
 #pragma once #include <aws/lakeformation/LakeFormation_EXPORTS.h> #include <aws/lakeformation/model/FieldNameString.h> #include <aws/lakeformation/model/ComparisonOperator.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespac...
{ "content_hash": "38221c486e363b71a4d4cdf95cdb0be8", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 168, "avg_line_length": 35.02469135802469, "alnum_prop": 0.6889319703912584, "repo_name": "jt70471/aws-sdk-cpp", "id": "d4d195aa957f264c2a6956a12f1c554656f2076a", "size": ...
import sharedLogger import books import parseUsfm class AbstractRenderer(object): def __init__(self, inputDir, outputDir, outputName, config): self.identity = 'abstract renderer' if not self.identity else self.identity self.outputDescription = outputName if not self.outputDescription else se...
{ "content_hash": "e372f788c4883ee00d6d0e34203036b2", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 114, "avg_line_length": 49.687150837988824, "alnum_prop": 0.662019338880144, "repo_name": "openenglishbible/USFM-Tools", "id": "7f20d963db9e3267327ee13d1f2d156ab27e2a4e", ...
'use strict'; $('#stats').hide(); // How many combinations of 3 objects you can make from n objects var nChoose3 = function(n) { return n*(n-1)*(n-2)/6; }; // How many pairs of objects you can choose from n objects var nChoose2 = function(n) { return n*(n-1)/2; }; // Calculate and update the threesome statistics...
{ "content_hash": "c9a2d0597a88811aabc1d47cdd8bc96a", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 82, "avg_line_length": 27.2027027027027, "alnum_prop": 0.5842026825633383, "repo_name": "adamchalmers/threesomes_web", "id": "742ea2aeea00f30aabfbdea75b0ea8a983c55b00", "si...
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE pise SYSTEM "http://www.phylo.org/dev/rami/PARSER/pise.dtd"> <!-- This file was originally created to permit a complete configuration of RAXML using all command line parameters. Where doing an ML analysis after the bootstrap was optional and default settings ...
{ "content_hash": "0516173de6fa74b1bec185e0f33e5db6", "timestamp": "", "source": "github", "line_count": 3042, "max_line_length": 670, "avg_line_length": 49.013477975016436, "alnum_prop": 0.6150074782527046, "repo_name": "SciGaP/DEPRECATED-Cipres-Airavata-POC", "id": "3efc32591d02c55f4d7320206ca22aa32...
 using System.Collections.Generic; namespace EED.Domain { public class Office { public int Id { get; set; } public string Name { get; set; } public int NumberOfPositions { get; set; } public OfficeType OfficeType { get; set; } public DistrictType DistrictType { get; set;...
{ "content_hash": "271160d7cade04382084d2063cf3703b", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 54, "avg_line_length": 23.863636363636363, "alnum_prop": 0.5923809523809523, "repo_name": "anakrivokuca/EED", "id": "f895158799b28186df4f691140c27f47940f3332", "size": "527...
namespace FishEditor { bool Selection::m_isActiveGameObjectLocked = false; std::weak_ptr<Object> Selection::s_activeObject; std::list<std::weak_ptr<Transform>> Selection::s_transforms; std::weak_ptr<GameObject> Selection::s_activeGameObject; std::weak_ptr<Transform> Selection::s_activeTransform; Action ...
{ "content_hash": "a081e2e2e28c9dbb463f7bb3279fd24b", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 98, "avg_line_length": 21.527027027027028, "alnum_prop": 0.6848713119899561, "repo_name": "yushroom/FishEngine", "id": "64689156de3b4309910bae2514aef32e655aca9b", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "d830da19f99fd87ec9f923295a2495b6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "d9b5ffac9985ec28098c5cc48207b827081a6879", "size": "186...
namespace agency { namespace cuda { using concurrent_executor = block_executor; } // end cuda } // end agency
{ "content_hash": "3a5c45d42e9bc6298a8e05166a9543f0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 43, "avg_line_length": 8.923076923076923, "alnum_prop": 0.6896551724137931, "repo_name": "egaburov/agency", "id": "f189dc2d1f02971d6b557968cd24ffccfedf0516", "size": "192",...
POST https://api.recurly.com/v2/accounts/invoicemock/invoices HTTP/1.1 X-Api-Version: 2.1 Accept: application/xml Authorization: Basic YXBpa2V5Og== User-Agent: recurly-python/{version} Content-Length: 0  HTTP/1.1 422 Unprocessable Entity Content-Type: application/xml; charset=utf-8 <?xml version="1.0" encoding="UTF-...
{ "content_hash": "c5153ee662a14aad7fb96135b252adb1", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 70, "avg_line_length": 26.8125, "alnum_prop": 0.7575757575757576, "repo_name": "tbartelmess/recurly-client-python", "id": "de7a7dfba5d920bb7cf07f1da9ffe2878ab9492d", "size"...
TensorFlow's eager execution is an imperative programming environment that evaluates operations immediately, without building graphs: operations return concrete values instead of constructing a computational graph to run later. This makes it easy to get started with TensorFlow and debug models, and it reduces boilerpla...
{ "content_hash": "a460b64883ed89b1c5bbefc623e63a76", "timestamp": "", "source": "github", "line_count": 846, "max_line_length": 138, "avg_line_length": 32.61347517730496, "alnum_prop": 0.7234967924323149, "repo_name": "eaplatanios/tensorflow", "id": "595e6be4af78d7d684ddeca0adea59e5a754134d", "size...
ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
{ "content_hash": "6f6b7d5dea620e8c752107b41452c1a3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 23, "avg_line_length": 9.076923076923077, "alnum_prop": 0.6779661016949152, "repo_name": "mdoering/backbone", "id": "aae6f0583d7d9608f22b21833c842940cddb5e36", "size": "169...
<!-- Auto Generated Below --> ## Properties | Property | Attribute | Description | Type | Default | | ---------- | ---------- | ----------- | -------- | ----------- | | `position` | `position` | | `string` | `undefined` | ---------------------------------------------- *Built with [StencilJS...
{ "content_hash": "147d003884a8c0a9bc2419753dd756f9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 66, "avg_line_length": 26.692307692307693, "alnum_prop": 0.38328530259365995, "repo_name": "BlazeCSS/blaze", "id": "5739739a998275f2228fa2274610fd5e34ad3df2", "size": "363"...
package edu.toronto.cs.xcurator.discoverer; import edu.toronto.cs.xcurator.common.DataDocument; import edu.toronto.cs.xcurator.mapping.Attribute; import edu.toronto.cs.xcurator.mapping.Entity; import edu.toronto.cs.xcurator.mapping.Mapping; import java.util.Iterator; import java.util.List; /** * * @author ekzhu *...
{ "content_hash": "b7901a6f027e73d24ae8ccda6d45babe", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 80, "avg_line_length": 35.80487804878049, "alnum_prop": 0.6198910081743869, "repo_name": "Aleyasen/xcurator", "id": "1e0d5d7419147ebade3030f7c588569d3a9f14c2", "size": "211...
<!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_75) on Sun Mar 01 12:04:16 AEDT 2015 --> <title>X509CertificateHolderSelector (Bouncy Castle Library 1.52 API Specification)</title> <m...
{ "content_hash": "c0939a8c350188b038dfeda1c2c6e07a", "timestamp": "", "source": "github", "line_count": 408, "max_line_length": 347, "avg_line_length": 38.134803921568626, "alnum_prop": 0.6715084516999807, "repo_name": "GaloisInc/hacrypto", "id": "4281f4e585dbb78b6e8e18e24b2d878c0a76d0d1", "size": ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "6935ed3fa5747db00946b6771ca1ec18", "timestamp": "", "source": "github", "line_count": 289, "max_line_length": 203, "avg_line_length": 39.6159169550173, "alnum_prop": 0.6645121844702594, "repo_name": "youngwookim/presto", "id": "23c0e71d8b6e19ccea92c399880ad31e829695b5", "size": "1...
module ActiveScaffold module Helpers # Helpers that assist with the rendering of a Form Column module SearchColumnHelpers # This method decides which input to use for the given column. # It does not do any rendering. It only decides which method is responsible for rendering. def active_scaff...
{ "content_hash": "3e633b5c2234a5a6dc1685028dd673e7", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 179, "avg_line_length": 45.78409090909091, "alnum_prop": 0.6352279308347811, "repo_name": "BookingBug/active_scaffold", "id": "4ca5fd0e8d1374d3cddba20ce8693fab689de34c", "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "79b7247583e3f3f6dafbc3bbe3ac6744", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "dd1989c0d7b6579379edcdf1f660b98db4f9f574", "size": "186...
package com.integratingfactor.idp.lib.client.rbac; import java.util.logging.Logger; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; import org.springframework.web.servlet.config.annot...
{ "content_hash": "ffea793b2a61e14266204dd783720af8", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 95, "avg_line_length": 34.095238095238095, "alnum_prop": 0.8114525139664804, "repo_name": "Integratingfactor/lib-idp-client", "id": "dcf9e774859f24128f929cecc664e00f943f5585"...
<?php namespace SebastianBergmann\Comparator; /** * Compares DateTimeInterface instances for equality. */ class DateTimeComparator extends ObjectComparator { /** * Returns whether the comparator can compare two values. * * @param mixed $expected The first value to compare * @...
{ "content_hash": "73993cf6ebf535d50f25c8c2504d6ac8", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 139, "avg_line_length": 35.34285714285714, "alnum_prop": 0.6063055780113177, "repo_name": "gustavokev/preescolar1", "id": "4781c5299687b5ba9aa6a7be96d24a91efb573b9", "size"...
namespace MultiMiner.Blockchain.Data { class TickerEntry { public double Last { get; set; } public double Buy { get; set; } public double Sell { get; set; } public string Symbol { get; set; } } }
{ "content_hash": "6755b3ca3efdd7908e78541bdaa96115", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 42, "avg_line_length": 24.1, "alnum_prop": 0.5726141078838174, "repo_name": "nwoolls/MultiMiner", "id": "d4502d3ce4b09f246ca55a2b2810ca979fb720ac", "size": "243", "binary...
package cofh.api.energy; import net.minecraft.nbt.NBTTagCompound; /** * Reference implementation of {@link IEnergyStorage}. Use/extend this or implement your own. * * @author King Lemming * */ public class EnergyStorage implements IEnergyStorage { protected int energy; protected int capacity; protected int...
{ "content_hash": "ce65ab4629c541c6e9114df91dd6118b", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 156, "avg_line_length": 19.31645569620253, "alnum_prop": 0.703473132372215, "repo_name": "Mazdallier/Mariculture", "id": "b3383aebe5a5da7d1dffd7a6b54ed4a08c3e1235", "size"...
<?php namespace Eesn2\BackendBundle\Entity; use Doctrine\ORM\EntityRepository; /** * Bajas_DocentesRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class Bajas_DocentesRepository extends EntityRepository { }
{ "content_hash": "e264951fa08d080ed51bf67bde66e9d8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 68, "avg_line_length": 18.6, "alnum_prop": 0.7706093189964157, "repo_name": "pablobilvao/eesn2", "id": "77fdeded92b1ad89f8919b592ea74502678ba96c", "size": "279", "binary"...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2011-2012 Phenixcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "irc.h" #include "net.h"...
{ "content_hash": "0ec7e90436c412890377f7c61d731ab6", "timestamp": "", "source": "github", "line_count": 395, "max_line_length": 143, "avg_line_length": 26.645569620253166, "alnum_prop": 0.5305463182897863, "repo_name": "phenixcoin/Phenixcoin", "id": "76af6912d536cd421fba231627bd934815197424", "size...
**Learning Objectives:** 1. Write a Dockerfile to define a custom image 2. Build and push the image to your Container Registry 2. Create an AI Platform Notebook using a custom container image In this lab, you will provision an AI Platfom Notebooks instance using a custom container image. The accompanying lab - `p...
{ "content_hash": "14abc9df036cec0f5b223859618e1973", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 239, "avg_line_length": 41.09345794392523, "alnum_prop": 0.7334546281555606, "repo_name": "GoogleCloudPlatform/mlops-on-gcp", "id": "de0e41afd322f966104b1203ec16b79161b50d36...
import type { RootTag, TurboModule, } from 'react-native/Libraries/TurboModule/RCTExport'; import * as TurboModuleRegistry from 'react-native/Libraries/TurboModule/TurboModuleRegistry'; type Animal = ?{| name: ?string, |}; export interface Spec extends TurboModule { // Exported methods. +getConstants: () ...
{ "content_hash": "764c880f38745df1c2b13ba779b4087e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 94, "avg_line_length": 30.02777777777778, "alnum_prop": 0.6466234967622572, "repo_name": "arthuralee/react-native", "id": "1c174e7f9a8e9f4df781cff9f23d28798b791889", "size"...
package kr.nor.spring.rest.services.impl.telegram; import kr.nor.spring.rest.services.impl.telegram.struct.Update; import java.util.List; public class GetUpdatesResult { private boolean ok; private List<Update> result; public boolean isOk() { return ok; } public void setOk(boolean ok) {...
{ "content_hash": "f628d9b560582ae001e9a6a5e31a3846", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 63, "avg_line_length": 19.423076923076923, "alnum_prop": 0.6415841584158416, "repo_name": "leios76/telegram-notifier", "id": "48b016320e3197150aae2b948277c0f8866df69c", "si...
"""Generic device for the HomematicIP Cloud component.""" import logging from typing import Optional from homematicip.aio.device import AsyncDevice from homematicip.aio.home import AsyncHome from homeassistant.components import homematicip_cloud from homeassistant.helpers.entity import Entity _LOGGER = logging.getLo...
{ "content_hash": "a85fa6706dd0496437ea27b84ca0a271", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 77, "avg_line_length": 35.72477064220183, "alnum_prop": 0.6019517205957884, "repo_name": "jnewland/home-assistant", "id": "6bbbb8b4fab4a887ce98c9aa1111975715893d97", "size...
<?php namespace ServiceBus; interface ICommand { }
{ "content_hash": "4072bfef42c5b2aeed8a29488f958162", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 21, "avg_line_length": 7.428571428571429, "alnum_prop": 0.75, "repo_name": "psamatt/ServiceBusLite", "id": "550775db87342ecfbc9cfe784cdb0e75e5527373", "size": "52", "binar...
from unreal_engine.classes import PyFactory, StaticMesh, Object, Class import unreal_engine as ue from collada import Collada from unreal_engine.structs import StaticMeshSourceModel, MeshBuildSettings from unreal_engine import FRawMesh import numpy from unreal_engine import FVector, FRotator from unreal_engine impo...
{ "content_hash": "7bbccb7a214be8516fdc3951c92f9d46", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 201, "avg_line_length": 40.04964539007092, "alnum_prop": 0.6047458827696122, "repo_name": "getnamo/UnrealEnginePython", "id": "33b8b0edcfd7cdf9c1d126ba8013ee308e209b0a", "...
@interface GYZChooseCityDemoTests : XCTestCase @end @implementation GYZChooseCityDemoTests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the ...
{ "content_hash": "a13760e1e65ac13bf2c73ab626260c4f", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 107, "avg_line_length": 25.93103448275862, "alnum_prop": 0.7021276595744681, "repo_name": "huang303513/The-Demo-Of-UITableView", "id": "7aae863bec81f54fe862a77e1ad5b54dbaf698...
package org.apache.geronimo.management.geronimo; /** * Represents a JMS broker * * @version $Rev$ $Date$ */ public interface JMSBroker extends NetworkContainer { }
{ "content_hash": "fc41cbc3511da09065c1cfd8bd7962e2", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 53, "avg_line_length": 17, "alnum_prop": 0.7235294117647059, "repo_name": "apache/geronimo", "id": "8870293e427e1c8a1faf35e8b399aa2a7fdd9ddf", "size": "983", "binary": fa...
using System.Management.Automation; using Microsoft.Azure.Commands.Sql.Common; using Microsoft.Azure.Commands.Common.Authentication.Abstractions; using Microsoft.Azure.Commands.Sql.AdvancedThreatProtection.Services; using Microsoft.Azure.Commands.Sql.AdvancedThreatProtection.Model; using Microsoft.Azure.Commands.Sql.Se...
{ "content_hash": "9ee0bb14af8616d5ffe85682d83dc960", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 169, "avg_line_length": 42.36231884057971, "alnum_prop": 0.6804652754019843, "repo_name": "AzureAutomationTeam/azure-powershell", "id": "0847a7b273958800e9ccdd6726210944a2e3b...
using LiNGS.Client.GameLogic; using LiNGS.Client.Simulation.Simulators; using LiNGS.Common.GameCycle; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LiNGS.Client.Simulation { internal class Simulator : IUpdatable { private LiNGSClient client; pr...
{ "content_hash": "489daea44888c46a8f300d8a3176c017", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 167, "avg_line_length": 31.96969696969697, "alnum_prop": 0.6189573459715639, "repo_name": "valterc/lings", "id": "0974af4d5922c0c5c5eea145c3bbf7603cd65908", "size": "2112",...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.4.4.1_A2; * @section: 15.4.4.1, 15.2.4.7, 12.6.4; * @assertion: The constructor property of Array has the attribute DontEnum; * @description: Checking use prop...
{ "content_hash": "921c2fa2ea947b59de904ea44c0f7afe", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 126, "avg_line_length": 29.214285714285715, "alnum_prop": 0.6259168704156479, "repo_name": "remobjects/script", "id": "bdc2fed0c0dfa59db603413e9ea4775907982419", "size": "8...
package com.cloudcontrolled.api.client.security; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.TrustManager; import com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager; /** * <p> * DumbX509TrustManager class. * </p> * * @author Denis Neuling ...
{ "content_hash": "272630d88893cf7e15bd418f26697065", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 124, "avg_line_length": 24.55952380952381, "alnum_prop": 0.7135239941832283, "repo_name": "denisneuling/cctrl.jar", "id": "6df8f695ad1f4396ba84a95fb752d3aa4300ce7e", "size"...
<?php namespace Magento\Setup; use Magento\Setup\Mvc\View\Http\InjectTemplateListener; use Zend\EventManager\EventInterface; use Zend\ModuleManager\Feature\BootstrapListenerInterface; use Zend\ModuleManager\Feature\ConfigProviderInterface; use Zend\Mvc\ModuleRouteListener; use Zend\Mvc\MvcEvent; class Module implem...
{ "content_hash": "af53553583b3672cefa9f58e2feb8488", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 96, "avg_line_length": 38.93421052631579, "alnum_prop": 0.5772220344711051, "repo_name": "tarikgwa/test", "id": "be45abbb9dcd18c858712f2d781b02d98b7cf262", "size": "3057", ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "50b9db9e834513a26b1b24e562df898a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "7745a542c746aa8447a238bfa9aa41306bd773b5", "size": "19...
#pragma once #ifndef GEODE_INTEGRATION_TEST_THINCLIENTDURABLEINIT_H_ #define GEODE_INTEGRATION_TEST_THINCLIENTDURABLEINIT_H_ /* * ThinClientDurableInit.hpp * * Created on: Nov 3, 2008 * Author: abhaware */ bool isLocalServer = false; const char* durableIds[] = {"DurableId1", "DurableId2"}; static bool ...
{ "content_hash": "984de6ae5498dd0762ea8af2ecfa60eb", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 80, "avg_line_length": 37.56565656565657, "alnum_prop": 0.6703414896477548, "repo_name": "mhansonp/geode-native", "id": "f57c856cb0e97c73eeb482c1dc24238801f30229", "size": ...
<?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2015 Red Hat Inc. and/or its affiliates and other contributors. - - 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/...
{ "content_hash": "59a1c4caee972139e34eac5a1d32e05f", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 201, "avg_line_length": 39.89705882352941, "alnum_prop": 0.6483597493549577, "repo_name": "cunningt/switchyard", "id": "630d9ebbc3d8051a9df7f485c154cf198e287c91", "size": "...
<img src="https://fomkin.org/korolev/korolev-face-margin.svg" align="right" width="260" /> [![Build Status](https://travis-ci.org/fomkin/korolev.svg?branch=master)](https://travis-ci.org/fomkin/korolev) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Ffomkin%2Fkorolev.svg?type=shield)](https://app...
{ "content_hash": "1534deb2a7d831203e19a4461e77a029", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 421, "avg_line_length": 60.95652173913044, "alnum_prop": 0.7606990014265336, "repo_name": "fomkin/korolev", "id": "341a843379ea1ee99367284f3b25780a482ba4de", "size": "2831"...
package org.kiji.mapreduce.lib.graph; import java.util.TreeMap; import org.kiji.mapreduce.lib.avro.Edge; import org.kiji.mapreduce.lib.avro.Node; /** * Configures and builds an Edge. */ public class EdgeBuilder { public static final double DEFAULT_EDGE_WEIGHT = 1.0; private Edge mEdge; /** * Creates a...
{ "content_hash": "d3e1eb7c366d30da62ed516b88d5741c", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 79, "avg_line_length": 23.821576763485478, "alnum_prop": 0.646577251349939, "repo_name": "iafek/kiji-mapreduce", "id": "484aca39de49ea6a6de14f5aee808aa20c617fc3", "size": ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Commelina dielsii Herter ### Remarks null
{ "content_hash": "7739a18b61a42400c616dd497118defa", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 11.846153846153847, "alnum_prop": 0.7207792207792207, "repo_name": "mdoering/backbone", "id": "583926e761e7a85e660fcc2beb85b29a6b09e3a2", "size": "20...
package store import ( "database/sql" "fmt" _ "github.com/lib/pq" "github.com/heetch/sqalx" "github.com/jmoiron/sqlx" "github.com/pkg/errors" "github.com/thoas/observr/configuration" "github.com/thoas/observr/store/models" ) type DataStore struct { connection sqalx.Node } func NewDataStore(cfg configurat...
{ "content_hash": "ad32c3b62b50398a061a9dbfbf7921ce", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 81, "avg_line_length": 20.142857142857142, "alnum_prop": 0.6828774062816616, "repo_name": "thoas/observr", "id": "71d5fbf2a9d736ae9c4ed2ec11ec4db5f10d300b", "size": "1974",...
package org.apache.camel.component.as2.api.entity; import org.apache.camel.component.as2.api.util.AS2HeaderUtils.Parameter; import org.junit.Test; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; public class DispositionNoti...
{ "content_hash": "1124063eff47734740236a232fe33550", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 171, "avg_line_length": 67.15789473684211, "alnum_prop": 0.7884012539184952, "repo_name": "anoordover/camel", "id": "d9198ec0c716a4db61a5cdf51c72d9baa6a9d37e", "size": "335...
<?php namespace Usyninis\Wucms; use Illuminate\Database\Eloquent\Model as Eloquent; class UnitProp extends Eloquent { public $timestamps = false; protected $table = 'prop_unit'; public function Units() { return $this->belongsTo('Unit'); } public function prop() { return $this->belongsTo('Prop'); }...
{ "content_hash": "dffa244933fa856fe35d7cab0661f2e1", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 51, "avg_line_length": 13, "alnum_prop": 0.6861538461538461, "repo_name": "usyninis/wucms-laravel", "id": "e69cd4d3adfe1f5d5e0e73869d203fed4c6f0b69", "size": "325", "bina...