text
stringlengths
2
1.04M
meta
dict
package rpc import ( "github.com/golang/glog" "github.com/nebulaim/telegramd/baselib/grpc_util" "github.com/nebulaim/telegramd/baselib/logger" "github.com/nebulaim/telegramd/proto/mtproto" "golang.org/x/net/context" ) // help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string la...
{ "content_hash": "0b9c63c5574b2653c7c4e9f08b4a8b53", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 149, "avg_line_length": 40.26086956521739, "alnum_prop": 0.775377969762419, "repo_name": "nebulaim/telegramd", "id": "0c414e75faf4ecaa8be777b805a0c273fb8b91a1", "size": "15...
class SitesController < ApplicationController before_filter :remove_methods, :only => [:new, :create, :destroy] before_filter :find_site, :except => [:index, :create, :new, :clear_cache] before_filter :visitor_node before_filter :check_is_admin layout :admin_layout def index secure!(Site) do @sit...
{ "content_hash": "e258ae7a632a639538e744657ed3003c", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 93, "avg_line_length": 23.525, "alnum_prop": 0.5834218916046758, "repo_name": "zena/zena", "id": "63adccf29ce78852230b500c747743e0fec503a7", "size": "1970", "binary": fal...
{-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE KindSignatures #-} module Control.Disruptor.RingBuffer.Generic where import Control.Disruptor.Cursor import Control.Disruptor.DataProvider import Control.Disruptor.Sequence import Con...
{ "content_hash": "8f7a44fae4df8e926662a8f9b95e0d28", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 99, "avg_line_length": 37.25, "alnum_prop": 0.727069351230425, "repo_name": "iand675/disruptor", "id": "1a676b8f0f398e2c96f34f6512e64a8e93652e34", "size": "447", "binary"...
package acmi.l2.clientmod.utxconv; import acmi.l2.clientmod.io.RandomAccessFile; import acmi.l2.clientmod.io.UnrealPackageFile; import acmi.l2.clientmod.unreal.classloader.FolderPackageLoader; import acmi.l2.clientmod.unreal.classloader.PropertiesUtil; import acmi.l2.clientmod.unreal.classloader.UnrealClassLoader; im...
{ "content_hash": "113abea883bb76716d41ca5e6c7b699a", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 141, "avg_line_length": 46.97241379310345, "alnum_prop": 0.6128321832330055, "repo_name": "acmi/l2io_legacy", "id": "3d6ee9eec2f9cc0b3fdd5bc7793d9a3c8ffefa67", "size": "79...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("SimpleAuth.Facebook.iOS")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration(...
{ "content_hash": "6dc293c0270ed44b5f76fb205b219b7b", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 82, "avg_line_length": 37.03703703703704, "alnum_prop": 0.745, "repo_name": "superlloyd/SimpleAuth", "id": "9edead04da27de5b773a770075eaa9c9264b2bd6", "size": "1002", "bi...
http://shinkendo.org.uk/ The website of Shinkendo UK, England Branch of the International Shinkendo Federation, the Aikibujutsu Tanren Kenkyukai and the Kokusai Toyama Ryu Renmei organisations. The website is implemented from the grayscale theme: # [Start Bootstrap](http://startbootstrap.com/) - [Grayscale](http://s...
{ "content_hash": "904636009eb6c2da0030ccca4c3a8a4e", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 307, "avg_line_length": 55.4375, "alnum_prop": 0.7857948139797069, "repo_name": "enridaga/shinkendo-uk", "id": "4dc462b47a7c548ce88677d92731e31f24c838a5", "size": "1827", ...
package com.amazonaws.services.resiliencehub.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion" * target="_top">AWS API Documentation</a> */ @Generated("com.amazonaws:...
{ "content_hash": "279986bf67952775553c5f5a52eece36", "timestamp": "", "source": "github", "line_count": 428, "max_line_length": 153, "avg_line_length": 34.75233644859813, "alnum_prop": 0.6120075299179777, "repo_name": "aws/aws-sdk-java", "id": "83870deb506234c66bb82652e00bf906d771e8f6", "size": "15...
package local.dam_2015.sismo.managers; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import local.dam_2015.sismo.SettingsActivity; import local.dam_2015.sismo.services.DownloadEQService; /** * Created by cursomovil on 1/04/15. */ p...
{ "content_hash": "3c257d1c7016ac298e2cf28253613c5b", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 92, "avg_line_length": 30.386363636363637, "alnum_prop": 0.7337322363500374, "repo_name": "aritzbrosa/Android", "id": "d88498794d7fb14ebfe16f3c573483aeaaee4697", "size": "1...
namespace NServiceBus.AcceptanceTests.Sagas { using System; using System.Linq; using System.Threading.Tasks; using AcceptanceTesting; using AcceptanceTesting.Support; using EndpointTemplates; using NServiceBus.MongoDB; using NUnit.Framework; [TestFixture] public...
{ "content_hash": "a0467e95754b505b7e3af9040c18afff", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 112, "avg_line_length": 34.79746835443038, "alnum_prop": 0.5354674427064388, "repo_name": "sbmako/NServiceBus.MongoDB", "id": "df70a38315057d79c1f67aed3069117461ce439e", "s...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Picksel - Pixabay asset manager</title> <meta name="description" content="Asset manager for Pixabay images."> <meta name="author" content="Saul Johnson"> <meta name="viewport" content="width=device-width"> <!-- Full jQuery is...
{ "content_hash": "8941eecc8966ff59d793c3d58f86c9c3", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 221, "avg_line_length": 43.94285714285714, "alnum_prop": 0.5715214564369311, "repo_name": "lambdacasserole/picksel", "id": "45c11dd5657011577d9c6193e162c4b412dbb2da", "siz...
<div class="subheader editor-toolbar" id="editor-header"> <div class="fixed-container"> <div class="btn-group"> <div class="btn-toolbar pull-left" ng-controller="DecisionTableToolbarController" ng-cloak> <button id="{{item.id}}" dec title="{{item.title | t...
{ "content_hash": "d6af179ff2c1b80f493c85ee7fb21734", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 187, "avg_line_length": 51.08411214953271, "alnum_prop": 0.5367727771679474, "repo_name": "ppcxy/cyfm", "id": "4906cb49ca8fd596f439ae1d44de9dd7df55194a", "size": "5466", ...
<?php namespace Comment\CoreBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link http://symfon...
{ "content_hash": "d70562314a791e57bb7e69d1eb7741ce", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 131, "avg_line_length": 29.605263157894736, "alnum_prop": 0.616, "repo_name": "legiov/test", "id": "064c7b4d98cb051adc29b249ac3232da91251a01", "size": "1125", "binary": f...
An example of node express 4 using mongoose and mongodb To use this example install node, npm, and mongodb. Then you can create the package.json file and run npm install to take care of the rest of what is required. Use google postman to test. With postman, among other things, you can post, put, delete, and get.
{ "content_hash": "f0c197eeb661b8a2807517fc32064041", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 107, "avg_line_length": 78.5, "alnum_prop": 0.7802547770700637, "repo_name": "dcorns/Express4-CRUD-Example", "id": "22c5f97539cb76290696fe329a5b0bb7c3df34e7", "size": "349",...
/************************************************************************/ /* Header */ /************************************************************************/ /* * @author Julian Dolby (dolby@us.ibm.com) * @date February 7, 2003 implemented for GLIB v.1 * * * @author Steven Augart * <steve+c...
{ "content_hash": "f6abaf72bbab5e0ed3baa76b78971caa", "timestamp": "", "source": "github", "line_count": 2558, "max_line_length": 98, "avg_line_length": 29.81078967943706, "alnum_prop": 0.6329993705413345, "repo_name": "shaotuanchen/sunflower_exp", "id": "384ad0db60abfb5e2f505ad55b944bd3df6dacd5", "...
Extracts card history from Mingle using its Events API.
{ "content_hash": "61a9d8d705fd3a38056cad0f15ac6526", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 55, "avg_line_length": 56, "alnum_prop": 0.8214285714285714, "repo_name": "simondean/mingle-extractor", "id": "60616378ce871d13cd4491eae4e3a5181b1f3b23", "size": "76", "bi...
import json import random import time import mock from sqlalchemy.exc import SQLAlchemyError import config import constants.api import database.attachment import database.paste import database.user import util.cryptography import util.testing from uri.authentication import * from uri.main import * from uri.paste impo...
{ "content_hash": "3bd652d711952201c00aca91756bc31d", "timestamp": "", "source": "github", "line_count": 957, "max_line_length": 135, "avg_line_length": 43.11494252873563, "alnum_prop": 0.5718959792540171, "repo_name": "LINKIWI/modern-paste", "id": "adda09b2999a9f99515d8b32286adda17e0d5a48", "size":...
var glowtime = 30000; //time score glows in ms var fadetext = 20000; //interval between hints taken / time since last capture fade effects var scoretext = true; var ranking = ""; var game_data = []; var tableOptions = { onComplete: function(){ /*do nothing*/ }, duration: [1000, 0, 700, 0, 500], //The millisec...
{ "content_hash": "1957164f5c8cbcaafcf6440ebf64943f", "timestamp": "", "source": "github", "line_count": 270, "max_line_length": 144, "avg_line_length": 37.407407407407405, "alnum_prop": 0.4622772277227723, "repo_name": "moloch--/RootTheBox", "id": "310e5279beb832a696c6b82f220dfb9cbb7443ec", "size":...
from twisted.trial.unittest import TestCase from txssmi.builder import SSMIRequest, SSMICommandException class SSMICommandTestCase(TestCase): def test_valid_fields(self): LoginRequest = SSMIRequest.create('LOGIN', {}) login = LoginRequest(username='foo', password='bar') self.assertEqual(...
{ "content_hash": "a050ba774a55193e459a7ce4ef5e6ee4", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 75, "avg_line_length": 37.65853658536585, "alnum_prop": 0.6560880829015544, "repo_name": "praekelt/txssmi", "id": "d9a1ea602385af3dcd146c5181a61db74c1d93e9", "size": "1544"...
//----------------------------------------------------------------------- // <copyright file="BaseInputModel.cs" company="Sitecore Corporation"> // Copyright (c) Sitecore Corporation 1999-2015 // </copyright> // <summary>Base class of all action requests.</summary> //-----------------------------------------------...
{ "content_hash": "2ba270e7d78395ef30110a8d999ea3bb", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 94, "avg_line_length": 42.67741935483871, "alnum_prop": 0.5918367346938775, "repo_name": "Sitecore/sccs-demo", "id": "e0792790e9507a60d8185818cd8c5377feabfb66", "size": "13...
<!DOCTYPE html> <!-- saved from url=(0022)http://localhost:9393/ --> <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http:/...
{ "content_hash": "0e6525050042d5f687bbd1a9d1a46b1b", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 154, "avg_line_length": 30.545454545454547, "alnum_prop": 0.6547619047619048, "repo_name": "anyatan/bitly-clone", "id": "564a67decd3fb433bc63ff465a1f026ffd2d74f5", "size": ...
<link rel="import" href="chrome://resources/html/polymer.html"> <link rel="import" href="chrome://resources/html/i18n_behavior.html"> <link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/base_page.html"> <link rel="import" href="chrome://resources/cr_components/chromeos/cellular_setup/webv...
{ "content_hash": "98e0298a5ec1fa8841a837ae1fd6c29a", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 106, "avg_line_length": 38.4, "alnum_prop": 0.6145833333333334, "repo_name": "endlessm/chromium-browser", "id": "43e2dcb035f30b26cd6b1766951c53041decb681", "size": "1920", ...
using System.Web; using System.Web.Mvc; namespace ifcurso { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
{ "content_hash": "b2dee42c95b3fee6a672b2c0313bf954", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 82, "avg_line_length": 24.8, "alnum_prop": 0.6814516129032258, "repo_name": "ifsp-a6lp2/ifcursos", "id": "57d7f3fee77a4959cdc92f7ec31dc80e5cb27fac", "size": "250", "binar...
export const SAVE_INSTAGRAM_TOKEN = 'SAVE_INSTAGRAM_TOKEN'; export const LOGIN = 'LOGIN'; export const ADD_HASHTAG = 'ADD_HASHTAG'; export const ADD_PEOPLE = 'ADD_PEOPLE'; export const ADD_USER = 'ADD_USER'; export const FETCH_USER_DATA = 'FETCH_USER_DATA'; export const SET_INFLUENCE_DATA = 'SET_INFLUENCE_DATA'; ...
{ "content_hash": "8342df8949bd6719f15c610008f3fae2", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 59, "avg_line_length": 25.4, "alnum_prop": 0.7349081364829396, "repo_name": "jmporchet/bravakin-client", "id": "756a008cde3d37c674de569d776a9057df2346f0", "size": "381", ...
<component name="ProjectDictionaryState"> <dictionary name="vlad" /> </component>
{ "content_hash": "e90f6bd768c988f19f63d1be43ec6eec", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 41, "avg_line_length": 27.666666666666668, "alnum_prop": 0.7469879518072289, "repo_name": "tudordimitriu/elibrary", "id": "477357ed44171648b8f3e4ae6019296299a8fd41", "size":...
#ifndef itkPreconditionedGradientDescentOptimizer_h #define itkPreconditionedGradientDescentOptimizer_h #include "itkScaledSingleValuedNonLinearOptimizer.h" #include "itkArray2D.h" #include <vnl/vnl_sparse_matrix.h> #include "cholmod.h" namespace itk { /** \class PreconditionedGradientDescentOptimizer * \brief Impl...
{ "content_hash": "7ff3f346fd260b1be4045313ca940a9f", "timestamp": "", "source": "github", "line_count": 222, "max_line_length": 109, "avg_line_length": 31.51801801801802, "alnum_prop": 0.7353151350578819, "repo_name": "SuperElastix/elastix", "id": "e2338a80437fee6d6266c091d188bda6b0ddd7a8", "size":...
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; use PhpOffice\PhpSpreadsheet\Cell\Coordinate; use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException; class RowCellIterator extends CellIterator { /** * Current iterator position. * * @var int */ private $currentColumnIndex; ...
{ "content_hash": "c2309d32971f1a044b1e0132f59aac39", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 227, "avg_line_length": 31.41919191919192, "alnum_prop": 0.6158173927021379, "repo_name": "manhnam91/hmcms", "id": "0e7b01a33409b51dc4ac333e820c46b306b2a982", "size": "622...
import React, { PropTypes, Component } from 'react'; import AssetIndexRow from './AssetIndexRow'; export default class AssetIndexTable extends Component { static propTypes = { headers: PropTypes.array.isRequired, durations: PropTypes.array.isRequired, }; render() { const { headers...
{ "content_hash": "7220d70bc8953affa161d3e3137f5d27", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 56, "avg_line_length": 28.583333333333332, "alnum_prop": 0.38095238095238093, "repo_name": "qingweibinary/binary-next-gen", "id": "a9c918fa9a28a3fd0f65f0d6b6cead18dc9940b9", ...
/** * @file my_client.c * @author karl leplat * @date 2009/07/01 */ #include <assert.h> #include <sys/types.h> #include <sys/socket.h> #include <stdio.h> #include <netinet/in.h> #include <netdb.h> #include <errno.h> #include <arpa/inet.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string....
{ "content_hash": "5478b3e361a61d6b95dc708ffbc8d2ba", "timestamp": "", "source": "github", "line_count": 224, "max_line_length": 98, "avg_line_length": 24.325892857142858, "alnum_prop": 0.6151587447238025, "repo_name": "feross/oculus-drone", "id": "6dbdfde04a8df14af3fa1cee99ff16c902b7e03b", "size": ...
package model import ( "reflect" ) type Validator interface { // Validate returns an error if metaData is not valid. // In case of multiple errors errs.ErrSlice is returned. Validate(metaData *MetaData) error } var ValidatorType = reflect.TypeOf((*Validator)(nil)).Elem() func IsValidator(v reflect.Value) bool {...
{ "content_hash": "38f334ca1151cb443a17fa0b66797f6b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 104, "avg_line_length": 25.176470588235293, "alnum_prop": 0.7313084112149533, "repo_name": "ungerik/go-start", "id": "120455d3f90621971c43ed8df08ebf45caffaddc", "size": "42...
import netCDF4 import memoize as memo import numpy as np import trigrid import pytz class FvcomNC(object): tz='US/Eastern' tzvalue='-0500' def __init__(self,nc_file,**kwargs): self.nc_file = nc_file self.nc=netCDF4.Dataset(self.nc_file) self.__dict__.update(kwargs) # pickl...
{ "content_hash": "4408afbc00d268b5bb0242abafd6dc7a", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 83, "avg_line_length": 30.770833333333332, "alnum_prop": 0.5622884224779959, "repo_name": "rustychris/stompy", "id": "5fce3bb3432112915dfadeae3450b4d99c4a4ff8", "size": "29...
/* 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 * distributed...
{ "content_hash": "2cfb4d0946b03d1db465055c6c095343", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 132, "avg_line_length": 41.851063829787236, "alnum_prop": 0.7600406710726996, "repo_name": "dbmalkovsky/flowable-engine", "id": "64a02516214f729e21ee75a384c3d624401f6e55", ...
go-stdiolog =========== Passively log the stdio for a process. [![GitHub Release](http://img.shields.io/github/release/dstokes/go-stdiolog.svg)](https://github.com/dstokes/go-stdiolog/releases) [![Build Status](https://travis-ci.org/dstokes/go-stdiolog.png)](https://travis-ci.org/dstokes/go-stdiolog) usage ===== Wr...
{ "content_hash": "d29199fd18ef73855d71c3c56d69eb72", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 130, "avg_line_length": 21.5, "alnum_prop": 0.6963064295485636, "repo_name": "dstokes/go-stdiolog", "id": "9bd698d25999c407164683a73f22de2cb7e74da6", "size": "731", "bina...
Who are we ################### Students of the Belfort's IUT in computer science : Mathieu POURCHOT, Jehan MILLERET ******************* What's the project ******************* This repo contains in-development code for future releases. Final release will be a complete market for GPU ************************** Chang...
{ "content_hash": "fa5fd97de4f164f3c312b13f63e7975a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 71, "avg_line_length": 23.033333333333335, "alnum_prop": 0.613603473227207, "repo_name": "kariamoss/ProjetPhpS3", "id": "dabe0efa575d03ffee5f40ec19615d6711181d16", "size": ...
module NotPOM class HomePage include Calabash::Cucumber::Operations def my_buggy_method screenshot_and_raise 'Hey!' end end end
{ "content_hash": "382b2b7750e782523d35537da0dcbcd5", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 42, "avg_line_length": 15.2, "alnum_prop": 0.6842105263157895, "repo_name": "calabash/ios-smoke-test-app", "id": "2b8d469672e125590ae6999effa37b6f109f2d5d", "size": "152", ...
{-# LANGUAGE OverloadedStrings #-} module Network.WebSockets.Connection ( PendingConnection (..) , acceptRequest , AcceptRequest(..) , defaultAcceptRequest , acceptRequestWith , rejectRequest , RejectRequest(..) , defaultRejectRequest , rejectRequestWith , Connection (..) ,...
{ "content_hash": "065c2454445d2288f838e939c647aaca", "timestamp": "", "source": "github", "line_count": 440, "max_line_length": 100, "avg_line_length": 41.93863636363636, "alnum_prop": 0.5493415704763454, "repo_name": "jaspervdj/websockets", "id": "9e8795162e21b4147e7cb8f19c3406366d2626ae", "size":...
package org.openengsb.context; import org.openengsb.core.OpenEngSBComponent; /** * @org.apache.xbean.XBean element="contextComponent" * description="Context Component" The Context-component */ public class ContextComponent extends OpenEngSBComponent { @Override protected Class<?>[]...
{ "content_hash": "5d2af991ed2228c387c02145b89466de", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 80, "avg_line_length": 25.6875, "alnum_prop": 0.681265206812652, "repo_name": "tobster/openengsb", "id": "c5c128284738f70947a25db4d513a1bff934d42a", "size": "1045", "bina...
<?php /** * Message translations. * * This file is automatically generated by 'yii message/extract' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message ...
{ "content_hash": "4862269ca5c2575f97fb0d148447051c", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 76, "avg_line_length": 33.86363636363637, "alnum_prop": 0.7140939597315437, "repo_name": "LeonidLyalin/vova", "id": "8d8ca447920587806d2af44f092adaf98cd8e4f3", "size": "745...
package org.mifos.accounts.financial.business.service.activity.accountingentry; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import java.util.Collections; import java.util.Comparator; import ...
{ "content_hash": "7c8c3e202c50d3ebef15a1b59eb40dd1", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 120, "avg_line_length": 47.396039603960396, "alnum_prop": 0.7654063087528724, "repo_name": "mifos/1.5.x", "id": "9705fb8fa1ab231c8dcb4a8a870bf565019a051a", "size": "5548",...
class GURL; namespace phantomium { // An application which implements a simple headless browser. class PhantomiumPage : public headless::HeadlessWebContents::Observer, public headless::inspector::ExperimentalObserver, public headless::page::ExperimentalObserver { public:...
{ "content_hash": "f7673b8a91182fac05659d2dcc150a85", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 78, "avg_line_length": 31.31168831168831, "alnum_prop": 0.7055163832434674, "repo_name": "Vitallium/phantomium", "id": "206a0ee02524dfea8dbbd7d66539ecda10a66f31", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bignums: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
{ "content_hash": "6319154417e01235fce0941daeddb689", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 159, "avg_line_length": 39.62841530054645, "alnum_prop": 0.5500551571980143, "repo_name": "coq-bench/coq-bench.github.io", "id": "7da23dd9576beaf9d1aaa243ab743cf81b76713b", ...
package eu.modernmt.rest.actions.memory; import eu.modernmt.data.DataManagerException; import eu.modernmt.facade.ModernMT; import eu.modernmt.io.FileProxy; import eu.modernmt.lang.LanguagePair; import eu.modernmt.model.ImportJob; import eu.modernmt.model.corpus.MultilingualCorpus; import eu.modernmt.model.corpus.impl....
{ "content_hash": "e9eeae3f01f8e8668f1af3808023bd35", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 132, "avg_line_length": 37.752, "alnum_prop": 0.6219538037719856, "repo_name": "letconex/MMT", "id": "4731fd90211b345dc691dd25974b71e06b836084", "size": "4719", "binary"...
import asyncio import logging import queue import traceback from typing import Optional, Tuple from .bases import BaseClock from .ephemera import ClockContext, EventType, Moment logger = logging.getLogger("supriya.clocks") class AsyncClock(BaseClock): def __init__(self): BaseClock.__init__(self) ...
{ "content_hash": "d69f5a49d1a6ea8a9b88cdbf75b6f30e", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 91, "avg_line_length": 34.9811320754717, "alnum_prop": 0.5539374325782093, "repo_name": "josiah-wolf-oberholtzer/supriya", "id": "b2887320a85fdfe2b3c9480ab4e02304ae3cd2fc", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>ShapeContainer (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="te...
{ "content_hash": "1de180afab520a645982e75c6f3cf375", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 649, "avg_line_length": 38.411764705882355, "alnum_prop": 0.626230584117261, "repo_name": "tringuyen1401/Stock-analyzing", "id": "f35f58454a01a756e10a297934f6378c30776c11", ...
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class GameControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/games'); $this->assertEquals(200, $clie...
{ "content_hash": "304e0a24d7253f5aba1e331936528254", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 76, "avg_line_length": 22.555555555555557, "alnum_prop": 0.5330049261083744, "repo_name": "Wolframcheg/GeekhubHW7", "id": "18f655fa547ad69e6475f68799cb777dd6164f1e", "size"...
extern crate nalgebra as na; use na::{Isometry2, Point2, Vector2}; use ncollide2d::query::PointQuery; use ncollide2d::shape::Cuboid; fn main() { let cuboid = Cuboid::new(Vector2::new(1.0, 2.0)); let pt_inside = Point2::origin(); let pt_outside = Point2::new(2.0, 2.0); // Solid projection. assert_...
{ "content_hash": "b32430bf82bd9a8cf920b1d1a9320e99", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 82, "avg_line_length": 26.484848484848484, "alnum_prop": 0.5983981693363845, "repo_name": "sebcrozet/ncollide", "id": "8f467d0d17b56c06443e8f6e9f16d58ca1752a80", "size": "8...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Coq bench</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet...
{ "content_hash": "243c8a68f32168cae705caaea3d42e96", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 240, "avg_line_length": 40.773809523809526, "alnum_prop": 0.502919708029197, "repo_name": "coq-bench/coq-bench.github.io-old", "id": "d991a74cace92a6d2ffb1e941bc1e663186c0f5...
/* elim_coli_extern.h - prototypes for elim_coli.c */ /* Author: Gregg Tracton & Jun Chen, UNC Dept of Radiation Oncology */ extern void elim_coli(int slice /* slice to eliminate colinear pts on */ ); extern void elim_coli_all();
{ "content_hash": "20f52850521ff4f4bf7f52fa79ef89a6", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 72, "avg_line_length": 31.125, "alnum_prop": 0.6586345381526104, "repo_name": "XiaoxiaoLiu/SCDS", "id": "1159d22f66680973316cb661ae0b042abbeb3157", "size": "249", "binary"...
ActiveRecord::Schema.define(:version => 20120625105800) do create_table "items", :force => true do |t| t.string "name" t.integer "user_id" t.datetime "created_at" t.datetime "updated_at" end create_table "tests", :force => true do |t| t.string "name" t.integer "age" t.datetime ...
{ "content_hash": "e24a74e0a9c6655748099a66c84ec1a9", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 58, "avg_line_length": 21.869565217391305, "alnum_prop": 0.614314115308151, "repo_name": "skylord73/usefull_table", "id": "ae934eccabe76efe160eee8386f71fa7266de26a", "size"...
Vue.component('header-label', { props: ['data'], template: '<div v-if="data != null" class="row wrapper border-bottom white-bg page-heading">' +'<div class="col-lg-10">' +'<h2>{{data.name}}</h2>' +'<ol v-if="data.path != null" class="breadcrumb">' +'<li v-for="item in data.path.parent">' +'<...
{ "content_hash": "d9279a47955cffc3d6c83ff9618c0b17", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 161, "avg_line_length": 32.41871921182266, "alnum_prop": 0.5061540799270627, "repo_name": "JiangTJ/enterpriseAssetManagement", "id": "7c47d61d910cdb9b40aaf85cb70489a480ad46e...
/* */ 'use strict'; module.exports = filter; function filter(name, str, options) { if (typeof filter[name] === 'function') { return filter[name](str, options); } else { throw new Error('unknown filter ":' + name + '"'); } }
{ "content_hash": "e5ff662d9c01231af752916a9cba03ed", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 54, "avg_line_length": 21.818181818181817, "alnum_prop": 0.5916666666666667, "repo_name": "taylorzane/aurelia-firebase", "id": "01ea8fa1539ffde909f4afe37d7baed9f4e0736a", "...
<?php error_reporting(E_ALL); //require_once 'vendor/autoload.php'; require_once __DIR__.'/vendor/autoload.php'; //date_default_timezone_set("Europe/London"); putenv('GOOGLE_APPLICATION_CREDENTIALS=edae9107104d.json'); ## DB COnnection - Start ## $config = new \Doctrine\DBAL\Configuration(); $connectionParams = array(...
{ "content_hash": "24a61e0a27d6acdc585b42f35d41be53", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 365, "avg_line_length": 41.320689655172416, "alnum_prop": 0.5324209296503379, "repo_name": "talktodhi/wb", "id": "ab21a78fa29fbdf0a196b946e092f98d7e469acd", "size": "11983...
package lessons import( "fmt" "encoding/json" "os" ) type Response1 struct { Page int Fruits []string } type Response2 struct { Page int `json:"page"` Fruits []string `json:"fruits"` } func Json() { // First we'll look at encoding basic data types to // JSON strings. Here are some ex...
{ "content_hash": "741e004c67beeb9ecdcbbe4eef8b89ac", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 55, "avg_line_length": 28.299145299145298, "alnum_prop": 0.6472364844457867, "repo_name": "divo1/go-lessons", "id": "9e9221ee306939d864619a6d41a706734a9af6de", "size": "34...
(function () { 'use strict'; angular.module('ClientApp') .directive('clientTeamPointsController', clientTeamPointsController); /** * This is the directive for the points controller. * Use: * <client-team-points-controller></client-team-points-controller> * to embed to controlle...
{ "content_hash": "1fb05d0168d8e1577d67472342c9aec5", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 79, "avg_line_length": 27.375, "alnum_prop": 0.604261796042618, "repo_name": "fefrei/nodebuzz", "id": "9090e717500ded8a0aa26fb5130ea0bde9f0917c", "size": "657", "binary":...
<?php declare(strict_types=1); namespace Phpml\Tests\Metric; use Phpml\Metric\ConfusionMatrix; use PHPUnit\Framework\TestCase; class ConfusionMatrixTest extends TestCase { public function testComputeConfusionMatrixOnNumericLabels(): void { $actualLabels = [2, 0, 2, 2, 0, 1]; $predictedLabels...
{ "content_hash": "35f93266e48636f355b21702b3e9c413", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 114, "avg_line_length": 27.387096774193548, "alnum_prop": 0.5488810365135454, "repo_name": "MustafaKarabulut/php-ml", "id": "590aff89734846084a0b1391f39e85994a3873e9", "siz...
class NotificationError(Exception): pass
{ "content_hash": "02dbefb31eb8491264bdcc28053c0fad", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 35, "avg_line_length": 22.5, "alnum_prop": 0.7777777777777778, "repo_name": "mistercrunch/panoramix", "id": "749a91fd955b0113d92fc2cb76953277a7c44c48", "size": "832", "bin...
import * as React from 'react'; import { expect } from 'chai'; import { spy } from 'sinon'; import createServerRender from 'test/utils/createServerRender'; import consoleErrorMock from 'test/utils/consoleErrorMock'; import { createClientRender } from 'test/utils/createClientRender'; import Portal from './Portal'; desc...
{ "content_hash": "d202b1568f99dc505f8da79fce049f8f", "timestamp": "", "source": "github", "line_count": 239, "max_line_length": 99, "avg_line_length": 28.238493723849373, "alnum_prop": 0.5697140317084013, "repo_name": "lgollut/material-ui", "id": "4e47d3fc61b0e54d8150fb04d08ca71e59062298", "size": ...
<?php namespace Imbo\Http\Response; use Imbo\EventManager\EventInterface, Imbo\EventListener\ListenerInterface, Imbo\Model, Imbo\Exception, Symfony\Component\HttpFoundation\AcceptHeader; /** * This event listener will correctly format the response body based on the Accept headers in the * request ...
{ "content_hash": "40a3a1b40770c76852cc7f7c9b83e128", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 110, "avg_line_length": 31.874149659863946, "alnum_prop": 0.536442215345214, "repo_name": "kbrabrand/imbo", "id": "698563dd3a23a9acdd77cf50f1399d8203c177c2", "size": "9600...
/* * Simple connect server for phantom.js * Adapted from Modernizr */ var connect = require('connect') , http = require('http') , fs = require('fs') , app = connect() .use(connect.static(__dirname + '/../../')); http.createServer(app).listen(3000); fs.writeFileSync(__dirname + '/pid.txt', process.pid,...
{ "content_hash": "33c79aac5f86b858df4531980dddd61a", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 62, "avg_line_length": 23.571428571428573, "alnum_prop": 0.6212121212121212, "repo_name": "DeinDesign/css", "id": "f1df46fc2bd1f91afb5858ad2901c8eb9fb05382", "size": "330",...
from __future__ import unicode_literals from djangorpc.responses import Error, Msg, RpcResponse, RpcHttpResponse from djangorpc.router import RpcRouter __all__ = ('Error', 'Msg', 'RpcResponse', 'RpcRouter', 'RpcHttpResponse') __version__ = '0.5' VERSION = __version__ __description__ = 'Django RPC for jQuery'
{ "content_hash": "6b8fb9c4455109204938e4afc06fdc8d", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 73, "avg_line_length": 28.545454545454547, "alnum_prop": 0.7165605095541401, "repo_name": "Alerion/django-rpc", "id": "0091672f6c64d18efe8063703bbd57ab0999949e", "size": "3...
/*! UIkit 3.6.6 | https://www.getuikit.com | (c) 2014 - 2021 YOOtheme | MIT License */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('uikit-util')) : typeof define === 'function' && define.amd ? define('uikittooltip', ['uikit-util'...
{ "content_hash": "1b0f486ca8e9b4c152c505416c24bbd0", "timestamp": "", "source": "github", "line_count": 438, "max_line_length": 190, "avg_line_length": 31.54566210045662, "alnum_prop": 0.4463342259535355, "repo_name": "cdnjs/cdnjs", "id": "01250b9a5deecc747a4ce5f462eb982c5f21b5b5", "size": "13817",...
package net.kleinhaneveld.cli.instantiator; import net.kleinhaneveld.cli.collection.ServiceLoaderStreamer; public class ServiceLoaderInstantiator implements Instantiator { @Override public <T> T instantiate(Class<T> aClass) { return ServiceLoaderStreamer.loadUniqueInstance(aClass); } }
{ "content_hash": "7ce8cacd34e3ff33affdccb68a955e11", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 64, "avg_line_length": 30.9, "alnum_prop": 0.7831715210355987, "repo_name": "peterpaul/cli", "id": "2c17f8aaceddc7ff1d263b5160787241817567d0", "size": "309", "binary": fa...
var request = require('request'); var jsdom = require('jsdom'); const sinon = require('sinon'); module.exports = { description: "a function `postNewKanyeQuote` exists, that, when called, makes a POST request (with `method: \"POST\"` - using the method key, and \"POST\" in all caps) using jQuery to `https://randomquot...
{ "content_hash": "86b0d4edd6727324585aa5814ba5b9b4", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 282, "avg_line_length": 30.466666666666665, "alnum_prop": 0.5696571845368344, "repo_name": "kenhoff/grader", "id": "2033b3632fe3ca93247e5134e20a2bbf38663b8b", "size": "1371...
export class Card { number: string; expires: string; name: string; cvv: string; constructor(number: string, expires: string, name: string, cvv: string) { this.number = number; this.expires = expires; this.name = name; this.cvv = cvv; } }
{ "content_hash": "1c721edaa10517cd9db062a6fa2b0f1d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 75, "avg_line_length": 20.53846153846154, "alnum_prop": 0.6367041198501873, "repo_name": "dhilt/a2-mkdev-sub", "id": "75ac86daba1f1b5ff18d4845989de6eb09d59f49", "size": "26...
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } html, body { font-size: 100%; } body { background: white; color: #222222; padding: 0; margin: 0; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: norm...
{ "content_hash": "968b71edf1f77752b02d6d8799abc633", "timestamp": "", "source": "github", "line_count": 4159, "max_line_length": 278, "avg_line_length": 28.427025727338304, "alnum_prop": 0.6243444869235714, "repo_name": "VentureCranial/system-status-dashboard", "id": "5fa404a67e95f34e7fcb471fe211d359...
using UnityEngine; using System.Collections.Generic; public class BananaScript : MonoBehaviour, CustomActionListener,IActionNotifier { public void init(Vector3 para_startPos, Vector3 para_targetPos, float para_speedToTarget, Rect para_targetBounds) { Vector...
{ "content_hash": "fa0a7fa0d274b0a17785115e8ef1a7a9", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 215, "avg_line_length": 37.584, "alnum_prop": 0.7481907194550873, "repo_name": "TAPeri/WordsMatter", "id": "98d49ba6a03f8e35d2413f879b3fc8d0e3b45016", "size": "4805", "b...
from .base import * # NOQA import logging.config # For security and performance reasons, DEBUG is turned off DEBUG = False TEMPLATE_DEBUG = False # Must mention ALLOWED_HOSTS in production! # ALLOWED_HOSTS = ["pstHealth.com"] # Cache the templates in memory for speed-up loaders = [ ('django.template....
{ "content_hash": "b0d4368e2c1119734cdec670095cd8a4", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 90, "avg_line_length": 26.746031746031747, "alnum_prop": 0.5608308605341247, "repo_name": "samabhi/pstHealth", "id": "683be63567fa7e1ff28a86c3f9541b2b06c02551", "size": "17...
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.office; import com.wilutions.com.*; /** * MsoScaleFrom. * */ @SuppressWarnings("all") @CoInterface(guid="{00000000-0000-0000-0000-000000000000}") public class MsoScaleFrom implements ComEnum { static boolean __typelib__loaded = __...
{ "content_hash": "7933a6acfe70925351ad2f5b925c3fa3", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 93, "avg_line_length": 34.81818181818182, "alnum_prop": 0.6819843342036553, "repo_name": "wolfgangimig/joa", "id": "f12d3a11e30e01a272a54d43c13ac5d3c0f114f0", "size": "1915...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/white" android:orientation="vertical"> <include android:id="@+id/layout_top_bar...
{ "content_hash": "0395df781e8579628d72440eebff45e8", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 72, "avg_line_length": 34.50819672131148, "alnum_prop": 0.5559778305621536, "repo_name": "dktlu/Mitotu", "id": "3a041dc1b965361cfdf0fba1b82ae9656c92dbd7", "size": "6381", ...
<!DOCTYPE html> <html lang="en-gb"> <meta charset="utf-8"> <head> <style> body { font: 16px sans-serif; } svg { background-color: #DDD; } rect { fill: red; stroke: black; stroke-width: 10; ...
{ "content_hash": "881c8ee669fc263b5214bdb65fcf0cf6", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 424, "avg_line_length": 30.65671641791045, "alnum_prop": 0.49805258033106137, "repo_name": "GunnerJnr/_CodeInstitute", "id": "bd9829426746459fa6e7ccf75ee7a6589274ddd9", "si...
<?php namespace Eulogix\Cool\Bundle\CoreBundle\Model\Core; use Eulogix\Cool\Bundle\CoreBundle\Model\Core\om\BaseAccountProfileRefPeer; class AccountProfileRefPeer extends BaseAccountProfileRefPeer { }
{ "content_hash": "ca3539b853809be0023beaa76aeeaad2", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 75, "avg_line_length": 18.727272727272727, "alnum_prop": 0.8349514563106796, "repo_name": "eulogix/cool-core-bundle", "id": "e066087ccae81be06c5586190a31fec775d4b377", "siz...
#import <Foundation/Foundation.h> #import "CCAnimationManager.h" //This has been replaced by CCAnimationManager __attribute__ ((deprecated)) @interface CCBAnimationManager : CCAnimationManager { } @end
{ "content_hash": "7789482c5bbe325d1bd1825e14485d5c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 51, "avg_line_length": 16.23076923076923, "alnum_prop": 0.7535545023696683, "repo_name": "TukekeSoft/cocos2d-spritebuilder", "id": "3ceb2656ca72883a3e8e4a95ca2eab0d7a060d4d",...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
{ "content_hash": "327720354ef00a2d676b7281a303b694", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 187, "avg_line_length": 40.0996015936255, "alnum_prop": 0.6245404868355688, "repo_name": "brettfo/roslyn", "id": "bc301eb5239d9aadf90b53c98abb091db405dcbe", "size": "10067...
// Copyright 2011, 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 applicabl...
{ "content_hash": "efceac57454038d0e74f60eca4235623", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 92, "avg_line_length": 24.61038961038961, "alnum_prop": 0.6717678100263852, "repo_name": "nafae/developer", "id": "3e870f6b98f918e9c1fda0a506049720d06971af", "size": "1895"...
class Module # Returns all the source locations for a given module # @return [Array] def source_locations Modloc::Locator.new(self).find end end
{ "content_hash": "a19f06d3e41b446ae7e849729520ad13", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 55, "avg_line_length": 22.428571428571427, "alnum_prop": 0.7197452229299363, "repo_name": "jwaldrip/modloc", "id": "f64baa4957efed494dd7a1444509eb663d49e62f", "size": "193",...
package com.bzf.jianxin.chat.view; import com.bzf.jianxin.base.BaseView; import com.bzf.jianxin.chat.widget.ChatItemListViewBean; /** * com.bzf.jianxin.chat.view * Author: baizhengfu * Email:709889312@qq.com */ public interface ChatView extends BaseView{ void sendSuccess(); void sendFail(String msg); ...
{ "content_hash": "9cbd96c676704d5e33476ece87ca38de", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 56, "avg_line_length": 20.733333333333334, "alnum_prop": 0.680064308681672, "repo_name": "xiaobaiAndroid/jianxin", "id": "2882ec38c2ecc10f7856f2d9e711544e8b152cfc", "size":...
<?php namespace Bundle\ECommerce\ShippingBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction() { return $this->render('ShippingBundle:Default:index.php'); } }
{ "content_hash": "f09aed6c098e348c6b3fed4d9de01e67", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 65, "avg_line_length": 21.53846153846154, "alnum_prop": 0.7535714285714286, "repo_name": "docteurklein/Symfony2-e-commerce", "id": "022177124ec227e818de920cdd822d914401d3a9",...
package main import ( "flag" "fmt" "os" "os/exec" "path/filepath" "runtime" "github.com/constabulary/gb" "github.com/constabulary/gb/cmd" "github.com/constabulary/gb/cmd/gb/internal/match" ) // disable to keep working directory const destroyContext = true var commands = make(map[string]*cmd.Command) // re...
{ "content_hash": "8fab94ddc1a78ea4ecd482de5f2c3acb", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 132, "avg_line_length": 24.677570093457945, "alnum_prop": 0.6502556334027646, "repo_name": "mopemope/gb", "id": "044486ef03f6c432cf3dc8518cf6ad258e467438", "size": "5281",...
<# Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. #> <# .SYNOPSIS Apply a specific update at an update location. .DESCRIPTION Apply a specific update at an update location. After invoked, Get-AzsUpdateRun ...
{ "content_hash": "5a038073f795cb023f694b0a2c107b85", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 176, "avg_line_length": 39.1767955801105, "alnum_prop": 0.5983641235368777, "repo_name": "ClogenyTechnologies/azure-powershell", "id": "04b2c71890e12b2bde9fbf3c2e213b8e62fec...
<!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>ScalaTest 3.0.6 - org.scalatest.enablers.Futuristic</title> <meta n...
{ "content_hash": "eeadef58937ad6a35ddd7048ab8de70d", "timestamp": "", "source": "github", "line_count": 801, "max_line_length": 617, "avg_line_length": 65.77153558052434, "alnum_prop": 0.6138412770723004, "repo_name": "scalatest/scalatest-website", "id": "21fd965f82e513f76bb7a68269f6f12270d9a4b4", ...
layout: post title: Backup Gridfs files as normal files published: true category: blog description: This is the monster I created to get gridfs files backed up as if they where on filesystem --- This is the monster I created to get gridfs files backed up as if they where on filesystem: <http://gist.github.com/53409...
{ "content_hash": "4c53408a9f99e8748ed06ad5204d7b52", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 171, "avg_line_length": 38.4, "alnum_prop": 0.7708333333333334, "repo_name": "freegenie/freegenie.github.io", "id": "bab53cc31ad3b668beb745a2e70a1e91fe752e05", "size": "134...
package com.sksamuel.elastic4s.searches.queries.geo import com.sksamuel.elastic4s.searches.GeoPoint import com.sksamuel.exts.OptionImplicits._ import com.sksamuel.elastic4s.searches.queries.Query case class GeoHashCellQuery(field: String, geopoint: Option[GeoPoint] = None, ...
{ "content_hash": "8aded93132b9e91620f064653d261aa7", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 100, "avg_line_length": 50.375, "alnum_prop": 0.6581885856079405, "repo_name": "Tecsisa/elastic4s", "id": "70679f66a6ad7d06b14a0bc74e354f761fccf32a", "size": "1612", "bin...
// Type definitions for aws-sdk - AWS Storage Gateway // Project: https://github.com/aws/aws-sdk-js // Definitions by: https://github.com/ingenieux/aws-sdk-typescript // GENERATED CODE - DO NOT EDIT // COMMENTED <reference path="./aws-sdk.d.ts" /> declare module "aws-sdk" { /** * apiVersion: 2013-06-30 * endp...
{ "content_hash": "ab321cce71df7fb054b2a4a98aed0825", "timestamp": "", "source": "github", "line_count": 2316, "max_line_length": 527, "avg_line_length": 50.85146804835924, "alnum_prop": 0.7427741738273953, "repo_name": "ingenieux/aws-sdk-typescript", "id": "e8411c737a04d735444dfd4d76684b2c44ec0f65", ...
#ifndef PB_MESSAGE_MESSAGE_H #define PB_MESSAGE_MESSAGE_H #include <assert.h> #include <stdlib.h> #include <string.h> #include <protobluff/message/message.h> #include "message/common.h" #include "message/journal.h" #include "message/part.h" /* ----------------------------------------------------------------------...
{ "content_hash": "2176f5b94bcdb3bbdb7fc17676ec9d38", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 79, "avg_line_length": 21.63030303030303, "alnum_prop": 0.613897450266181, "repo_name": "squidfunk/protobluff", "id": "849879bb9a66ff2e07c8fee27de971e78ba5a4e9", "size": "...
package org.apache.sling.testing.mock.osgi; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertSame; imp...
{ "content_hash": "c8e79f106426c36673ca80b91fb3bf04", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 131, "avg_line_length": 37.97849462365591, "alnum_prop": 0.7141845979614949, "repo_name": "SylvesterAbreu/sling", "id": "fb704f1736702811b6dc3c4edd6b8477beff1476", "size":...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Ecteinomyces zuphiicola Speg., 1915 ### Remarks null
{ "content_hash": "29fec14a524afcbc983d61cac7077732", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.615384615384615, "alnum_prop": 0.7195121951219512, "repo_name": "mdoering/backbone", "id": "f1d6984c0dd24e4389d1cc6d788928e3cfba4140", "size": "22...
using GestorONG.DataModel; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace GestorONG.ViewModel { /// <summary> /// Clase para almacenar los datos de las donaciones y los colaboradores a la ...
{ "content_hash": "d27dc1f8beecff48bd251e8338196803", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 138, "avg_line_length": 30.333333333333332, "alnum_prop": 0.6078921078921079, "repo_name": "joakDA/gestor-ongd-sps", "id": "d11ccda4db16c577b1090a259d630eb7bdb92def", "size...
/** */ package COSEM.InterfaceClasses.impl; import COSEM.InterfaceClasses.IPv6setup; import COSEM.InterfaceClasses.InterfaceClassesPackage; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>IPv6setup</b></em>'. * <!-- end-user-doc --> * * @genera...
{ "content_hash": "3234a017721e57aac21b54b12c8bf89a", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 69, "avg_line_length": 19.405405405405407, "alnum_prop": 0.6504178272980501, "repo_name": "georghinkel/ttc2017smartGrids", "id": "07dce828fa615c586fec90e0998457312374ca6a", ...
package org.mifos.androidclient.entities.collectionsheet; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import java.io.Serializable; import java.util.Date; import java.util.List; @JsonIgnoreProperties(ignoreUnknown = true) public class SaveCollectionSheet implements Serializable { private List<Save...
{ "content_hash": "9496abb790806f495e27cf4c8e6418d6", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 113, "avg_line_length": 25.636363636363637, "alnum_prop": 0.7192671394799054, "repo_name": "mifos/android-client", "id": "3b6a6f12dbbcc9e89336c43eb3a5a0a613a75b00", "size":...
// // SpectralBRDFExplorerConfiguration.h // SpectralBRDFExplorer // // Created by Fabrizio Duroni on 03/01/2017. // // #ifndef SpectralBRDFExplorerConfiguration_h #define SpectralBRDFExplorerConfiguration_h namespace SBEConfiguration { /// Number of spectrum samples. const int numberOfSamples = 31;...
{ "content_hash": "6f02d5372428cf639e767546f6cc9483", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 48, "avg_line_length": 20.72222222222222, "alnum_prop": 0.7479892761394102, "repo_name": "chicio/Spectral-BRDF-Explorer", "id": "e2224b289d5855fc6d529e6a30157c72ddca8a7a", ...
package suadb.index.btree; import static java.sql.Types.INTEGER; import suadb.file.Chunk; import suadb.parse.Constant; import suadb.parse.IntConstant; import suadb.parse.StringConstant; import suadb.tx.Transaction; import suadb.record.*; import suadb.index.Index; /** * A B-tree implementation of the Index interface....
{ "content_hash": "6dec63fb705806d15810c3477f94a20f", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 68, "avg_line_length": 30.314102564102566, "alnum_prop": 0.6999365616409389, "repo_name": "RonyK/SuaDB", "id": "7ba8e3a39689af76dfb655955fd9ffe9ac717c44", "size": "4729", ...
using UnityEngine; using System.Collections.Generic; /// <summary> /// Attaching this script to a label will make the label's letters animate. /// </summary> public class TweenLetters : UITweener { public enum AnimationLetterOrder { Forward, Reverse, Random } class LetterProperties { public float start; publi...
{ "content_hash": "117680e8dafe604b2aa1e23cd6f0ce82", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 174, "avg_line_length": 27.727941176470587, "alnum_prop": 0.6795279766640149, "repo_name": "mrjunlan/GameTestDemo", "id": "281893f95441b1da0d8d4d0b29b9189f943be938", "size...
package com.jishuli.Moco.Activity; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.Gravity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageButton; impo...
{ "content_hash": "ef79e59ad81f76f3e280522657216c68", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 100, "avg_line_length": 32.693333333333335, "alnum_prop": 0.5823817292006526, "repo_name": "MichaelLee826/Moco", "id": "1c14282e56fe2b8e1d9c39cd27d1a55986fbdf33", "size": "...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _objectWithoutPropert...
{ "content_hash": "2c5b59a97f08210b5f4c9534ff43dff3", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 160, "avg_line_length": 27.34090909090909, "alnum_prop": 0.6487946799667498, "repo_name": "pcclarke/civ-techs", "id": "87f75f688ba4d8bb455a60dad0025b9ee1135ea4", "size": "...
1 npm install 2 npm start 3 gulp & gulp watch ## API TODO ## Usage As react start template. ## Others [Markdown is edited online](http://mahua.jser.me/) ## License MIT. See LICENSE.md for details.
{ "content_hash": "a027cf5ad241b428de62da804c71a30e", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 50, "avg_line_length": 13.294117647058824, "alnum_prop": 0.6238938053097345, "repo_name": "King-fly/react-demo", "id": "50861c1fcfe578b80444fcfbd60c417a53a6193e", "size": "...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/m...
{ "content_hash": "54fc33902fd72322425d01f9cdc0e7aa", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 303, "avg_line_length": 67.49019607843137, "alnum_prop": 0.40906449738524114, "repo_name": "apache/cloudstack-www", "id": "cf023510bc9055a4258af5ee68e9ee9b53058796", "size...
<?php require_once('../config.php'); mysql_connect(DB_SERVER,DB_USER,DB_PASS); @mysql_select_db(DB_NAME) or die( "Unable to select database"); $query = "SELECT * FROM twfy_mps WHERE 1 ORDER BY name;"; $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { $query = "SELECT * FROM h...
{ "content_hash": "b925243234adbcdb8149d43f06d7fd92", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 224, "avg_line_length": 32.52, "alnum_prop": 0.5830258302583026, "repo_name": "ianrenton/westminsterhubble", "id": "f77817c417cadce74ac286e5b4ef0fcd41e28e81", "size": "813"...
const path = require('path'); const config = require('../config'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); exports.assetsPath = (_path) => { const assetsSubDirectory = process.env.NODE_ENV === 'production' ? config.build.assetsSubDirectory : config.dev.assetsSubDirectory; return p...
{ "content_hash": "e332ee66e5d1339b1faf51b1ae7af679", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 68, "avg_line_length": 28.114285714285714, "alnum_prop": 0.6382113821138211, "repo_name": "samrose3/vue-portfolio", "id": "a62bd170d4848816c33e4ef868e6caa58087a1fc", "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 (version 1.7.0_55) on Fri Jun 20 06:34:49 EDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>Uses of Class org.a...
{ "content_hash": "8c478aec32faed59c1cb5f8be3f8f3f8", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 450, "avg_line_length": 51.99014778325123, "alnum_prop": 0.6551070684100815, "repo_name": "BibAlex/bhl_rails_4_solr_test", "id": "b04fe9e240a7c79ffd342c86a28b02d5d8421206", ...
package com.facebook.buck.lua; import com.facebook.buck.cli.FakeBuckConfig; import com.facebook.buck.cxx.CxxBuckConfig; import com.facebook.buck.cxx.CxxPlatform; import com.facebook.buck.cxx.CxxPlatformUtils; import com.facebook.buck.model.BuildTarget; import com.facebook.buck.model.FlavorDomain; import com.facebook...
{ "content_hash": "8d50cb52d94c8f0ec1efedbe6a4d0fbf", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 85, "avg_line_length": 28.141025641025642, "alnum_prop": 0.7362186788154897, "repo_name": "illicitonion/buck", "id": "cfecd2a0d3bfd6f9a9904ec31fa03a1bf6f5d900", "size": "28...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="AndroidLogFilters"> <option name="TOOL_WINDOW_CONFIGURED_FILTER" value="Show only selected application" /> </component> <component name="ChangeListManager"> <list default="true" id="ff2344e3-8176-42b8-8e77-d32a0296588a" name="De...
{ "content_hash": "f526aeace134222ec07ad24769265780", "timestamp": "", "source": "github", "line_count": 340, "max_line_length": 254, "avg_line_length": 61.48529411764706, "alnum_prop": 0.6514709399665152, "repo_name": "minikin/Kebab", "id": "81a12b84ddbbe622a60af1542a85a806b93660a5", "size": "20905...