text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.ss.format.CellElapsedFormatter (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css... | {
"content_hash": "1ff1a2d69aa6faa5a59e7f5774e2810a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 153,
"avg_line_length": 37.23076923076923,
"alnum_prop": 0.6099632690541782,
"repo_name": "tringuyen1401/Stock-analyzing",
"id": "8bfe39655069302e5b2315705990fe2f86f8736c",
... |
<?php
/* D:\phpstudy\WWW\pyrocms\core/anomaly/relationship-field_type/resources/views/filter.twig */
class __TwigTemplate_e206f02ef1389d1ecd1c557af0686c6259fd1d44bb4cf5617251ae3cb20e6aaf extends TwigBridge\Twig\Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
... | {
"content_hash": "b7ee66d2f91095be86f17a06182a0751",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 221,
"avg_line_length": 39,
"alnum_prop": 0.5726495726495726,
"repo_name": "fannan1991/pyrocms",
"id": "ef103cb83d30d2da7fb54c4314f4147096645ebd",
"size": "3627",
"binary... |
<?php
namespace Dimimo\Forum\Controllers;
use Illuminate\Routing\Controller;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Dimimo\Forum\Jobs\Conversations\StartConversation;
use Dimimo\Forum\Jobs\Conversations\UpdateConversation;
use Dimimo\Forum\Jobs\StartConversationJob;
use Dimimo\Forum\Requests\ConversationR... | {
"content_hash": "aaeda4bbb07a25d0b351abaa98a99ecd",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 92,
"avg_line_length": 26.58888888888889,
"alnum_prop": 0.649811951525282,
"repo_name": "Dimimo/Booklet",
"id": "23755c14501281805d7101afa150825de07aa9b6",
"size": "2560",
... |
Owen::Owen() :
pid((double*) &temperature, (double*) &pidValue, (double*) &targetTemperature, PID_P, PID_I, PID_D, DIRECT)
{
thermocouple = new MAX6675(THERMO_CLK, THERMO_CS, THERMO_DO);
profile = ReflowProfile();
}
void Owen::init() {
pid.SetOutputLimits(0, 1);
pid.SetMode(AUTOMATIC);
pid.SetTunings(PID_... | {
"content_hash": "ca37f186e2fd5481feb8344b6f3623a1",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 109,
"avg_line_length": 19.467741935483872,
"alnum_prop": 0.6859983429991715,
"repo_name": "kallaspriit/OSRC",
"id": "2c9b4bc142260a1322a8cd9fa0dba3420d8dee66",
"size": "12... |
bash /home/ubuntu/stopLoadBalancer
cd
| {
"content_hash": "55e1dabf298d92fdbcc854bf98d0a619",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 34,
"avg_line_length": 13,
"alnum_prop": 0.8205128205128205,
"repo_name": "deib-polimi/modaclouds-tests",
"id": "def4dc6128282598bf92af2cc1be6b2b67aba312",
"size": "72",
"... |
namespace EDSLot
{
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Runtime.Serialization;
[DataContract]
public partial class Record_MCCB:Record
{
}
}
| {
"content_hash": "9a619e4ed331201d520843f588a9be62",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 47,
"avg_line_length": 21.333333333333332,
"alnum_prop": 0.60546875,
"repo_name": "hawesome512/edsmonitor",
"id": "8ef08eb9b285b74b1c6bb89ebc85b416a1c9c16e",
"size": "661",... |
require 'spec_helper'
describe ActiveEncode::Input do
subject { described_class.new }
describe 'attributes' do
it { is_expected.to respond_to(:id, :url) }
it { is_expected.to respond_to(:state, :errors, :created_at, :updated_at) }
it {
is_expected.to respond_to(:width, :height, :frame_rate, :che... | {
"content_hash": "21d7b77088b1239d4368e96887cab78f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 91,
"avg_line_length": 35.35897435897436,
"alnum_prop": 0.612037708484409,
"repo_name": "projecthydra-labs/active_encode",
"id": "99e0ebf9491cbacebe4bfe7874329099b129a2ee",
... |
<?php
/**
* Adminhtml Newsletter Template Grid Form Block
*/
class Contactlab_Template_Block_Adminhtml_Newsletter_Template_Grid extends Mage_Adminhtml_Block_Newsletter_Template_Grid {
/**
* Prepare columns
* @return \Contactlab_Template_Block_Adminhtml_Newsletter_Template_Grid
*/
protected fun... | {
"content_hash": "5efc3c750a8e835fabe5476ef3d1eb19",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 122,
"avg_line_length": 36.80165289256198,
"alnum_prop": 0.4965192005389625,
"repo_name": "contactlab/contactlab-magento-connect",
"id": "b0ba97bce004525e8035780df50e09a94e4... |
package kr.dogfoot.hwplib.writer;
import kr.dogfoot.hwplib.object.fileheader.FileHeader;
import kr.dogfoot.hwplib.object.fileheader.FileVersion;
import kr.dogfoot.hwplib.util.binary.BitFlag;
import kr.dogfoot.hwplib.util.compoundFile.writer.StreamWriter;
import java.io.IOException;
/**
* 파일 헤더를 쓰기 위한 객체
*
* @auth... | {
"content_hash": "aee5fe4b16d3f14e8a89a42c63177be0",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 81,
"avg_line_length": 31.065217391304348,
"alnum_prop": 0.6130160951714486,
"repo_name": "neolord0/hwplib",
"id": "4550b0bf80f0bdfcf5d9a547a52121b74eb83292",
"size": "3042... |
Certificates
============
Certificates are used to manage authentications in LXD. Certificates are
not editable. They may only be created or deleted. None of the certificate
operations in LXD are asynchronous.
Manager methods
---------------
Certificates can be queried through the following client manager
methods:
... | {
"content_hash": "626c6a8b761246f0a40244dbc8ea539a",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 74,
"avg_line_length": 30.93103448275862,
"alnum_prop": 0.7134894091415831,
"repo_name": "lxc/pylxd",
"id": "0927617c1a9984cc9b7d2fc3ec95512723b63ca6",
"size": "897",
"bi... |
include_recipe 'composer'
| {
"content_hash": "486e46e28ae7038a1d0cb0d1740a311c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.8076923076923077,
"repo_name": "ekreative/symfony-chef",
"id": "17c8b7456de1e2f5c31f856d128db031c355cbba",
"size": "26",
"binary... |
import map = require("just-map-values");
const obj = {foo: {bar: []}};
map(obj, (value) => value); // $ExpectType {}
map(obj, (value, key, object) => ''); // $ExpectType {}
// Incorrect argument
map(); // $ExpectError
map(obj); // $ExpectError
map(obj, ''); // $ExpectError
| {
"content_hash": "577fd99f3bab95cddc02ccef9ca4a704",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 55,
"avg_line_length": 25.181818181818183,
"alnum_prop": 0.592057761732852,
"repo_name": "dsebastien/DefinitelyTyped",
"id": "85e8ce8d1302705bc076867683367a7347a2cff7",
"si... |
/*global angular */
/* =========================================
NOTIFICATION Directive
========================================= */
(function() {
var app = angular.module('notification-directives', [])
.directive('notificationMsg', function () {
return {
restrict: 'E',
template:
... | {
"content_hash": "062e1328140fd1ff93cf22c5b98c8427",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 66,
"avg_line_length": 26,
"alnum_prop": 0.46488294314381273,
"repo_name": "leongaban/bitage",
"id": "e46cb1dc3619d444a48c17c3407f07696d43e85a",
"size": "598",
"binary": ... |
using InsideInning.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Xamarin.Forms;
namespace InsideInning.ViewModels
{
public class HomeViewModel : BaseViewModel
{
public ObservableCollection<HomeMenuItem> MenuItems { get... | {
"content_hash": "29c5875ba485107aaa65f3fd093edd2c",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 73,
"avg_line_length": 27.073170731707318,
"alnum_prop": 0.5162162162162162,
"repo_name": "rzeem7/InsideInning",
"id": "6fc079e82b695c544fcbc42eaf40a93d6d9a0ba5",
"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": "5bb1aec0a6f627b5db1313771e4ff591",
"timestamp": "",
"source": "github",
"line_count": 429,
"max_line_length": 165,
"avg_line_length": 35.30769230769231,
"alnum_prop": 0.6155674390968509,
"repo_name": "twitter-forks/presto",
"id": "9c04654e4c9e8ef8bb8b6b9e9e38ca829e19e68f",
"size":... |
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\CLI\Util;
use Cake\Chronos\Chronos;
use GeoIp2\Database\Reader;
use Shlinkio\Shlink\CLI\Exception\GeolocationDbUpdateFailedException;
use Shlinkio\Shlink\IpGeolocation\Exception\RuntimeException;
use Shlinkio\Shlink\IpGeolocation\GeoLite2\DbUpdaterInterface;
u... | {
"content_hash": "b0f037d8d0bfa9998966578b731d52bc",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 114,
"avg_line_length": 31.097560975609756,
"alnum_prop": 0.6592156862745098,
"repo_name": "acelaya/shlink",
"id": "fd40fc15a60e6ab21c07ef4c1c242b1130728f69",
"size": "2550... |
<?php
namespace Adteam\Core\Checkout\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* OauthUsers
*
* @ORM\Table(name="oauth_users", uniqueConstraints={@ORM\UniqueConstraint(name="AK_username", columns={"username"}), @ORM\UniqueConstraint(name="AK_email", columns={"email"})}, indexes={@ORM\Index(name="role_id", colu... | {
"content_hash": "e11e3f9fe7300d9f4a0ce3ee217bdbcb",
"timestamp": "",
"source": "github",
"line_count": 630,
"max_line_length": 302,
"avg_line_length": 18.503174603174603,
"alnum_prop": 0.5258642875525436,
"repo_name": "CookieShop/core-checkout",
"id": "8a3bcbb77a35e03981de0dc698dd5ebf2ee96676",
"s... |
<?php
/** string hint */
"Package %s's source key should be specified as {\"type\": ..., \"url\": ..., \"reference\": ...},\n%s given.";
?>
<<<TEST>>>
"GlobalCode":{"NamingContext":{},
"PHPDocStmt":{"PHPDoc":{"Comment":"stringhint"}},
"StringLiteral":{"Value":"Package %s's source key should be specified a... | {
"content_hash": "75d3a02f6ed7d9d11aa1b284f9d04e27",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 131,
"avg_line_length": 30.357142857142858,
"alnum_prop": 0.5552941176470588,
"repo_name": "DEVSENSE/Parsers",
"id": "91b2dbe361bb35be820416a9aca9f753e95608f6",
"size": "42... |
<?php
namespace yariksav\actives\view\plugins;
use yii;
class InfinityScroll extends Plugin
{
public $pageSize = 20;
public $page = 0;
function init() {
$this->registerEvents();
parent::init();
}
protected function registerEvents() {
$this->owner->on('beforeData', fun... | {
"content_hash": "856564c8ddf20e2d6863269a27dfc488",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 92,
"avg_line_length": 25.818181818181817,
"alnum_prop": 0.5299295774647887,
"repo_name": "yariksav/yii2-actives",
"id": "e13073895b931ceedd17cf9f2baf0f5f94045540",
"size":... |
<?php
session_start();
require_once("../../vars.php");
$res = array();
if (isset($_SESSION['admin_user_id']) && $_SESSION['admin_user_id']){
header('Content-type: text/html; charset=utf-8');
$uploaddir = "$basepath/thumbs/";
$basename = $_FILES['userfile']['name'];
$cleanname = "ethumb_".md5(basename($_FILES['u... | {
"content_hash": "3185bb1ee9a12cd18e967e4f9714014f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 148,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.5955284552845529,
"repo_name": "DeeJaVu/tvstreamscript",
"id": "973f78c5fc555ebbc0b79a1226911d0f887bd368",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 ... | {
"content_hash": "d88e1d5aa4da8bc174dc5118ad37c7e2",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 201,
"avg_line_length": 31.84552845528455,
"alnum_prop": 0.6540719938728619,
"repo_name": "warunalakshitha/carbon-device-mgt-plugins",
"id": "7d6c2daf31b73b23757c9c038ddbad2... |
package com.suscipio_solutions.consecro_mud.Items.Weapons;
import com.suscipio_solutions.consecro_mud.Common.interfaces.PhyStats;
import com.suscipio_solutions.consecro_mud.Items.interfaces.RawMaterial;
import com.suscipio_solutions.consecro_mud.core.CMLib;
public class DrowSword extends Longsword
{
@Override publi... | {
"content_hash": "73fcde13c660a4fe08a6935f169b9785",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 80,
"avg_line_length": 29.454545454545453,
"alnum_prop": 0.7613168724279835,
"repo_name": "ConsecroMUD/ConsecroMUD",
"id": "be34bd1e742c1e209715c1e8e7a6c36b40ea1c86",
"size... |
<br/>
<div style="text-align:center;">
<button class="button large hollow warning" (click)="getOldData()">Get Normal Data</button>
<button class="button large hollow warning" (click)="getArrayedData()">Get Arrayed Data</button>
<button class="button large hollow warning" (click)="printData()">Print JSON to Console</but... | {
"content_hash": "77c58ff37d679439989902b9afc8f67b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 148,
"avg_line_length": 36.68421052631579,
"alnum_prop": 0.6079626972740315,
"repo_name": "kylewistrand/IsUWOpen",
"id": "c3ae1e598f3f736cb87bd32028714d0c52abaf6b",
"size":... |
#ifndef _DRIVER_NL80211_H_
#define _DRIVER_NL80211_H_
#include "includes.h"
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <net/if.h>
#include <netlink/genl/genl.h>
#include <netlink/genl/family.h>
#include <netlink/genl/ctrl.h>
#include <linux/rtnetlink.h>
#include <... | {
"content_hash": "78a376abd08b24882bf5be9efa056864",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 73,
"avg_line_length": 20.84328358208955,
"alnum_prop": 0.7157178660938059,
"repo_name": "Str1ker17/android_device_samsung_delos3geur",
"id": "7d19995b7f83d701b8d9c537c4ce63... |
layout: post
title: "My view on Deep Work"
description: ""
headline:
modified: 2019-05-21
category: Productivity
tags: [productivity]
imagefeature:
mathjax:
chart:
comments: true
featured: false
---
Naveen asked me to write [for him](https://docs.google.com/document/d/1EbSu5K4tDEaMAnJFL35qwUgh_uw8S2HZQhH7ekJiDrM/)... | {
"content_hash": "a89d7c4dbf6b79817d4dd0048a5ca08f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 365,
"avg_line_length": 71.55172413793103,
"alnum_prop": 0.7701204819277109,
"repo_name": "psurya1994/psurya1994.github.io",
"id": "01f039d053ec278aafaa5109d7f7c41ba21f26f0",... |
package com.amazonaws.services.appstream.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.appstream.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import stati... | {
"content_hash": "4d0718bc9a18aa2c747f10e128241786",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 137,
"avg_line_length": 47.33587786259542,
"alnum_prop": 0.5913562328656669,
"repo_name": "jentfoo/aws-sdk-java",
"id": "e70084ded9b137e4b35363a245cab7079e2e41ce",
"size":... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: ./analysis/common/src/java/org/apache/lucene/analysis/hu/package-info.java
//
/*!
@brief Analyzer for Hungarian.
*/
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_OrgApacheLuceneAnalysisHuPackage_info")
#ifdef RESTRICT_OrgApacheLuceneA... | {
"content_hash": "4f429a770ba759ad091957804080cf55",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 86,
"avg_line_length": 29.137931034482758,
"alnum_prop": 0.8023668639053254,
"repo_name": "lukhnos/objclucene",
"id": "586a444951905adaa6009942b1efed81ae2884d9",
"size": "8... |
#ifndef CBITS_ALLOC_H
#define CBITS_ALLOC_H
#include <stddef.h> /* Hopefully this won't collide with cstddef. */
struct BlockChain;
/* For C++ linkage */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* TODO: comments. */
struct BlockChain *BlockChain_new(size_t blockSize);
void BlockChain_retain(struct... | {
"content_hash": "25ad8ffa567b4443b9f072628ca75640",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 28.193548387096776,
"alnum_prop": 0.7379862700228833,
"repo_name": "bassettmb/simple-block-alloc",
"id": "704bef377c9c8bf40849e30bff52f6f4712a1a1d",
... |
<?php
namespace Native5\Identity;
/**
* SimpleAuthInfo
*
* @category Identity
* @package Native5\<package>
* @author Barada Sahu <barry@native5.com>
* @copyright 2012 Native5. All Rights Reserved
* @license See attached NOTICE.md for details
* @version Release: 1.0
* @link http://www.docs... | {
"content_hash": "0f4340af9822485e4f9b8ccb628c244c",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 56,
"avg_line_length": 17.394736842105264,
"alnum_prop": 0.5612708018154312,
"repo_name": "native5/native5-sdk-client-php",
"id": "2ff8e50c5a2525537162e990ad62757d7e4bcb11",... |
def remove_letters(letters, word):
for ch in word:
del letters[letters.index(ch)]
t = int(raw_input())
for case in xrange(1,t+1):
numbers = []
letters = [x for x in raw_input()]
#ZERO
while 'Z' in letters:
numbers.append(0)
remove_letters(letters, 'ZERO')
#TWO
while... | {
"content_hash": "c27c0df8df756afe141f7509ea375a00",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 73,
"avg_line_length": 25.58823529411765,
"alnum_prop": 0.5685823754789272,
"repo_name": "clemus90/competitive-programming",
"id": "2185630a80713a376d1426ddab1e42a7f4e61f19",... |
import React from 'react';
import Dragger from './Dragger';
import { UploadProps } from './interface';
export interface UploadContext {
antLocale?: {
Upload?: any;
};
}
export { UploadProps };
export default class Upload extends React.Component<UploadProps, any> {
static Dragger: typeof Dragger;
... | {
"content_hash": "78b5c3a3773b72a0e8e042c1c4b17ecb",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 71,
"avg_line_length": 30.64516129032258,
"alnum_prop": 0.6052631578947368,
"repo_name": "ligangwolai/blog",
"id": "4e0339d35100bdfb532f4ab6e1c4fe26a8e1c314",
"size": "1932... |
MIT License
Copyright (c) 2017 shubham2604
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | {
"content_hash": "0b87e0b5feb66bdf21f8f9155e150355",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 50.857142857142854,
"alnum_prop": 0.8061797752808989,
"repo_name": "shubham2604/nRf24-based-quadcopter",
"id": "323593742cb73053346425d49cfe79db5303fb6... |
class TimeAttribute < Cms::ContentAttribute
content_type :datetime
def value=(time)
if time.present? && value = Time.zone.parse(time)
assign_value(value)
else
if content_value.present?
content_value.destroy
end
end
end
end
| {
"content_hash": "9737e18d12e772a57e0e277ead1fd2bf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 20.615384615384617,
"alnum_prop": 0.6529850746268657,
"repo_name": "Promptus/cms",
"id": "ec6e39de74dcadee9dbb06cd5f8d22b588ee4bfb",
"size": "287",
... |
require File.dirname(__FILE__) + '/../../../test_helper'
module SourceControl
class Subversion::UpdateParserTest < Test::Unit::TestCase
UPDATE_OUTPUT = <<EOF
A failing_project
D failing_project\\Rakefile
U* failing_project\\failing_test.rb
G failing_project\\revision_label.txt
C B passing_project\\revis... | {
"content_hash": "20e68827635e5a3b498936331a358bce",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 73,
"avg_line_length": 29.486486486486488,
"alnum_prop": 0.6764436296975253,
"repo_name": "craigw/cruisecontrol.rb",
"id": "268fde53e254b85b1c87113dcb90955439ec4559",
"size... |
<?php
namespace Google\Service\DriveActivity;
class Rename extends \Google\Model
{
/**
* @var string
*/
public $newTitle;
/**
* @var string
*/
public $oldTitle;
/**
* @param string
*/
public function setNewTitle($newTitle)
{
$this->newTitle = $newTitle;
}
/**
* @return str... | {
"content_hash": "0dcb0844e13a53716c7816eefec4d8d1",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 81,
"avg_line_length": 15.895833333333334,
"alnum_prop": 0.6159895150720839,
"repo_name": "googleapis/google-api-php-client-services",
"id": "87a8819605a1697a7d6182aab23f2535... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.Linq;
namespace WSMailSupport
{
[RunInstaller(true)]
public partial class ProjectInstaller : System.Configuration.Install.Installer
{
public Proj... | {
"content_hash": "d912fe1b62a945387e95d61e322ab4c4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 82,
"avg_line_length": 20.94736842105263,
"alnum_prop": 0.7060301507537688,
"repo_name": "protechdm/CompareCloudware",
"id": "230d44d1491fe65d78c4310885cae4fe3103de8c",
"si... |
JSON command line processing toolkit.
no more writing code to inspect or transform JSON objects.
this npm module includes a json shell command. the json command processes standard
input and parses json objects. json currently handles a few different standard
input formats and provides a number of options tailored ... | {
"content_hash": "31fd09bc95d917c401f26dd2e52e50da",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 150,
"avg_line_length": 30.458015267175572,
"alnum_prop": 0.7135338345864661,
"repo_name": "roselleebarle04/eac",
"id": "caf865f16ff1049e68138e3a4968e3785d22d66c",
"size":... |
FROM ngduc/deb-dev
ADD ./package.json /tmp
RUN cd /tmp \
&& npm set progress=false \
&& npm install
RUN mkdir -p /src \
&& ln -s /tmp/node_modules /src/node_modules
COPY . /src
WORKDIR /src
EXPOSE 8100
CMD npm run build && npm start
| {
"content_hash": "4d83ae97e04441bfae08d78f7f196739",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 46,
"avg_line_length": 15.25,
"alnum_prop": 0.6598360655737705,
"repo_name": "ngduc/react-setup",
"id": "ebc8cf29f1438841948a3060bf77b7e270618c27",
"size": "278",
"binary... |
enum ClassType {
CLASS_NULL = 0,
CLASS_GC,
CLASS_GLM,
CLASS_POINT,
CLASS_MATRIX2,
CLASS_MATRIX3,
CLASS_MATRIX4,
CLASS_VEC2,
CLASS_VEC3,
CLASS_VEC4,
CLASS_FILE,
CLASS_IMAGE,
CLASS_EVENT,
CLASS_ArrayBuffer,// byte
CLASS_Int8Array,
CLASS_Uint8Array,
CLAS... | {
"content_hash": "8fb9adb2b65474efee544d4391203dad",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 36,
"avg_line_length": 16.78125,
"alnum_prop": 0.6256983240223464,
"repo_name": "hurry07/opengl_android",
"id": "984bf45dcd20ad6ed9d2745bc4bc45bec19cfefc",
"size": "700",
... |
package com.zaniacvids.firstmod.items;
import com.zaniacvids.firstmod.FirstMod;
import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
impor... | {
"content_hash": "633ba82f52cb4998ccf70328b5d015e2",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 175,
"avg_line_length": 25.8,
"alnum_prop": 0.7209302325581395,
"repo_name": "zaniacvids/SkyBerryMod",
"id": "96a26d50f5c71f7e8af6fab3848c811c6f8f20b5",
"size": "1935",
"... |
package brut.androlib;
import java.io.File;
import java.util.Collection;
import org.jf.util.Log;
public class ApkOptions {
public boolean forceBuildAll = false;
public boolean forceDeleteFramework = false;
public boolean debugMode = false;
public boolean verbose = false;
public boolean copyOrigin... | {
"content_hash": "dee7464859ed8e7e68319568d7334166",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 50,
"avg_line_length": 23.64864864864865,
"alnum_prop": 0.7165714285714285,
"repo_name": "4455jkjh/apktool",
"id": "ab215f799ba033b3e3f9c0f6009984d294f9dc7c",
"size": "1592... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
<skin>
<groupId>it.unisa.dia.gas</groupId>
<artifactId>jpbc-site-skin</artifactId>
<version>2.0.0</version>
</skin>
<body>
<links>
<item name="PBC" href="http://crypto.stanford.edu/pbc/"/>
<item ... | {
"content_hash": "f40026bd1ca447dce2480397d47009ca",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 165,
"avg_line_length": 48.30769230769231,
"alnum_prop": 0.5379890809827116,
"repo_name": "woojung3/RewardScheme",
"id": "90a7fca9f37690ba6d61de6cd37ccdc76e8d3dab",
"size":... |
require 'spec_helper'
require 'nfg-client/utils'
describe NFGClient::Utils do
class TestClass
include ::NFGClient::Utils
end
let(:test_class) { TestClass.new }
describe "#build_nfg_soap_request" do
subject { test_class.build_nfg_soap_request('CreateCOF', new_cof_params) }
context "when a text f... | {
"content_hash": "33290627139ea6ba97cae694c4d96a50",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 23.583333333333332,
"alnum_prop": 0.6713780918727915,
"repo_name": "GiveCorps/nfg-client",
"id": "8973d70a622347a5b7bf7711701dc95e0af5f46c",
"size": ... |
module.exports = {
description: "",
ns: "react-material-ui",
type: "ReactNode",
dependencies: {
npm: {
"material-ui/svg-icons/av/music-video": require('material-ui/svg-icons/av/music-video')
}
},
name: "AvMusicVideo",
ports: {
input: {},
output: {
component: {
title: "A... | {
"content_hash": "d7fdeee4ff703fb98f8fc09493f65045",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 93,
"avg_line_length": 18.95,
"alnum_prop": 0.5461741424802111,
"repo_name": "nodule/react-material-ui",
"id": "3a92a355b04cafd10428e283106116ca7f6a6537",
"size": "379",
... |
#include "system_control.h"
/*
* Gets the Mac OS X's version
*
* @return
* The version of Mac OS X that is decimal number.
* @example
* version = System::OS::version
* sprintf("%x", version) # => "1071" if Mac OS X 10.7.1
*/
static VALUE
rb_sys_version(VALUE obj)
{
SInt32 version = 0;
Gestalt(ge... | {
"content_hash": "4db1662b233789ecb82a0388fe08ad84",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 65,
"avg_line_length": 21.08,
"alnum_prop": 0.6432637571157496,
"repo_name": "Watson1978/system_control",
"id": "c96e766c54075d440330e6543f1b6e623c1ad55f",
"size": "527",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.... | {
"content_hash": "c54ca2bd7fc43890c9ea6060189920b0",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 124,
"avg_line_length": 92.83236994219654,
"alnum_prop": 0.7422166874221668,
"repo_name": "yuri0x7c1/ofbiz-explorer",
"id": "bf80a6bd56ec781be6d4475749d63331d9801b9b",
"si... |
package swarm
import (
"context"
"runtime"
"testing"
"time"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
swarmtypes "github.com/docker/docker/api/types/swarm"
"github.com/docker/docker/client"
"github.com/docker/docker/testutil/daemon"
"github.com/docker/docker/testutil/... | {
"content_hash": "a23799a9151bd4ada3e95acddf3d7c51",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 117,
"avg_line_length": 31.234309623430963,
"alnum_prop": 0.763027461486939,
"repo_name": "SvenDowideit/docker",
"id": "ed30045c2d5877a30e7e7958df5248bb20f543b0",
"size": ... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sbbs</groupId>
<artifactId>framework</artifactId>
... | {
"content_hash": "2ef560356812a2b49517d0647962dfd9",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 104,
"avg_line_length": 26.95906432748538,
"alnum_prop": 0.6726681127982647,
"repo_name": "fdcmessenger/framework",
"id": "f70be63659471b6d0ece4b5e3f74e71caa4ea93b",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height = "wrap_content"
andro... | {
"content_hash": "1feb439da665e1fb9ecc01b4348e7dd1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 87,
"avg_line_length": 45.5,
"alnum_prop": 0.6938775510204082,
"repo_name": "hexagonc/Android-Lisp",
"id": "d10aca9e6da41a1ef57d29d92ac5a8ba865121e9",
"size": "637",
"bin... |
<?php
namespace T3chnik\FlysystemCloudinaryAdapter;
use Exception;
use Cloudinary;
use Cloudinary\Api;
use Cloudinary\Uploader;
use League\Flysystem\Config;
use League\Flysystem\AdapterInterface;
use League\Flysystem\Adapter\Polyfill\NotSupportingVisibilityTrait;
/**
*
*/
class CloudinaryAdapter implements AdapterI... | {
"content_hash": "692f891a745d191ba1162acb6347884e",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 97,
"avg_line_length": 24.406565656565657,
"alnum_prop": 0.5602690118986032,
"repo_name": "t3chnik/flysystem-cloudinary-adapter",
"id": "b6efba715de65426534e77715aff0e60189b... |
import { ArrayBufferBuilder } from "../../../../utils/ArrayBufferBuilder";
import { PokerCommandHeaderSerializer } from "../../core/serializers/PokerCommandHeaderSerializer";
import { PokerCommandHeader } from "../../core/data/PokerCommandHeader";
import { SrvSSLDataCommand } from "../commands/SrvSSLDataCommand";
impor... | {
"content_hash": "9c049f1087373e0451abaefbf808ece3",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 45.65217391304348,
"alnum_prop": 0.7752380952380953,
"repo_name": "gesh123/MyLibrary",
"id": "1c2015d590d756ac297ad9c1880632c7f096252d",
"size": "105... |
package com.thoughtworks.go.domain;
import com.thoughtworks.go.server.service.AgentRuntimeInfo;
import com.thoughtworks.go.work.DefaultGoPublisher;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.fail;
public class StubGoPu... | {
"content_hash": "2d8ce53366a955d7215c96628fc7c2a7",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 101,
"avg_line_length": 26.25609756097561,
"alnum_prop": 0.6544356711565258,
"repo_name": "ibnc/gocd",
"id": "93b4aaafd352bd99c461ad3f3cb86955b8ff5a30",
"size": "2754",
"... |
This reporter pushes data to [InfluxDB](https://influxdb.com/index.html).
[](https://travis-ci.org/travelping/exometer_influxdb)
[](https://hex.pm/packages/exometer_influxdb)
... | {
"content_hash": "32c27eb51c5d99125d05c075e39f3f07",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 502,
"avg_line_length": 43.58955223880597,
"alnum_prop": 0.6288306796781373,
"repo_name": "CloudI/CloudI",
"id": "5f75e1c419c36653a2f3f53bb6f34de60f814177",
"size": "5872"... |
require 'test_helper'
module ActionController
module Serialization
class JsonApiLinkedTest < ActionController::TestCase
class MyController < ActionController::Base
def setup_post
ActionController::Base.cache_store.clear
@role1 = Role.new(id: 1, name: 'admin')
@role2 = ... | {
"content_hash": "a997f857f67016c7ad3622cdc7aa17b2",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 113,
"avg_line_length": 34.44378698224852,
"alnum_prop": 0.5526541831300464,
"repo_name": "estum/active_model_serializers",
"id": "321974e39244597a08c0efe86a2646980e58c996",... |
<?php
/**
* Logout as the current user, back to the original user.
*/
$session = elgg_get_session();
$user_guid = $session->get('login_as_original_user_guid');
$user = get_entity($user_guid);
$persistent = $session->get('login_as_original_persistent');
if (!$user instanceof ElggUser || !$user->isadmin()) {
regis... | {
"content_hash": "0c3f64433b8d4d67ad2d58d6806f5fee",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 88,
"avg_line_length": 27.692307692307693,
"alnum_prop": 0.6777777777777778,
"repo_name": "miniguez/novadores",
"id": "f4bc75981dcf3d0d72046b3b402228f11c4a6c17",
"size": "7... |
import jwt
from flask import Blueprint, abort, request
from flask.ext.jsonpify import jsonpify
from conductor.blueprints.user.controllers import PRIVATE_KEY
from . import controllers
def create():
"""Create blueprint.
"""
# Create instance
blueprint = Blueprint('search', 'search')
# Controller ... | {
"content_hash": "8c37a915b21be10da95d20602c2266da",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 61,
"avg_line_length": 24.86842105263158,
"alnum_prop": 0.6158730158730159,
"repo_name": "openspending/os-authz-service",
"id": "a6480c71839d89be9d24b096c7b7b443b84c69d8",
... |
<?php
// Version: 2.1 Beta 2; ManageBoards
$txt['boards_and_cats'] = 'Manage Boards and Categories';
$txt['order'] = 'Order';
$txt['full_name'] = 'Full name';
$txt['name_on_display'] = 'This is the name that will be displayed.';
$txt['boards_and_cats_desc'] = 'Edit your categories and boards here. List multiple modera... | {
"content_hash": "bbf1c600079c50d54230486049bb7b11",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 402,
"avg_line_length": 68.04901960784314,
"alnum_prop": 0.7207895115977525,
"repo_name": "margarett/SMF2.1",
"id": "1c1025692c5a5493b680ab1b31b333157d51fd0e",
"size": "69... |
//
// Quantum Script
//
// Copyright (c) 2020-2022 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "quantum-script-variableobject.hpp"... | {
"content_hash": "fe2ef5cf1716118ecace6d66fb958807",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 87,
"avg_line_length": 30.597989949748744,
"alnum_prop": 0.6825422893742815,
"repo_name": "g-stefan/quantum-script",
"id": "b85e4ce5b2917e5ad6d2f39955b276774d6826b2",
"siz... |
class LogoUploader < CarrierWave::Uploader::Base
#Include MiniMagick support:
include CarrierWave::MiniMagick
# Choose what kind of storage to use for this uploader:
storage :file
# storage :fog
# def cache_dir
# '/tmp/dmptool2-cache'
# end
# Override the directory where uploaded files will be s... | {
"content_hash": "dbf51e2c2b862f9512a0657fdf355396",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 112,
"avg_line_length": 28.692307692307693,
"alnum_prop": 0.6849865951742627,
"repo_name": "2015SebINF1340/dmptool",
"id": "1a49b2bcffbced53b9bfe8b5799ca466ba55d935",
"size... |
package org.apache.shindig.gadgets.rewrite;
import org.apache.shindig.common.uri.Uri;
import org.apache.shindig.common.xml.DomUtil;
import org.apache.shindig.gadgets.Gadget;
import org.apache.shindig.gadgets.http.HttpRequest;
import org.apache.shindig.gadgets.http.HttpResponse;
import org.apache.shindig.gadgets.spec.... | {
"content_hash": "ce030d4f9b55e92775defcc05a5b3ec5",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 128,
"avg_line_length": 38.77104377104377,
"alnum_prop": 0.6930091185410334,
"repo_name": "inevo/shindig-1.1-BETA5-incubating",
"id": "ca600ee5e879950106a43782b10691f9243599... |
#Supported architectures
class Architecture:
#Plain C++ code
generic = {'level': 100, 'name': 'Generic', 'size': 1, 'flag': '' }
#C++ with ARM NEON intrinsics
neon = {'level': 200, 'name': 'NEON' , 'size': 4, 'flag': '' }
#Utility functions
def is_generic(arch):
return (arch['level'] ... | {
"content_hash": "9ce6c687c796fdec6d631a588c584690",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 104,
"avg_line_length": 29.92391304347826,
"alnum_prop": 0.5728296403922993,
"repo_name": "yongshanding/vecAndroid",
"id": "b70b0cae09be1a8d3c6bfdd09fd14852928fd0b8",
"size... |
@interface CAHTableViewController ()
@property (nonatomic, retain) NSArray* results;
@end
@implementation CAHTableViewController
- (void)viewDidLoad
{
[super viewDidLoad];
NSURL* url = [NSURL URLWithString:QUERY_URL];
NSData* data = [NSData dataWithContentsOfURL:url];
NSError* error = nil;
self.results ... | {
"content_hash": "645b8a2408c3fdcd6825f33a96c846af",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 176,
"avg_line_length": 30.163636363636364,
"alnum_prop": 0.7667269439421338,
"repo_name": "chaseholland/CAHImageCacher",
"id": "13ad385d91a2637aa049c25ab508f7830c082a0e",
... |
#include <crypto/crypto_encryption.h>
#include <event/event_callback.h>
#include <event/event_main.h>
#include <event/event_system.h>
#include <io/net/tcp_server.h>
#include <io/pipe/pipe.h>
#include <io/pipe/pipe_producer.h>
#include <io/pipe/splice.h>
#include <io/socket/simple_server.h>
#include <ssh/ssh_algo... | {
"content_hash": "61e4164746c8a13195074ba2b28ba02a",
"timestamp": "",
"source": "github",
"line_count": 410,
"max_line_length": 175,
"avg_line_length": 27.826829268292684,
"alnum_prop": 0.6435270400560961,
"repo_name": "diegows/wanproxy",
"id": "7ca09915c2e706f0598efcb1a93e0de9c1beaeee",
"size": "1... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Mycol. Res. 113(3): 287 (2008)
#### Original name
Calonectria pruinosa Petch
### Remarks
null | {
"content_hash": "076091073bc005ff69767e047edd28a7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 30,
"avg_line_length": 12.076923076923077,
"alnum_prop": 0.6942675159235668,
"repo_name": "mdoering/backbone",
"id": "70b47299507cfd067f385b37d7a9f486c25ba983",
"size": "25... |
// ---------------------------------------------------------------------------------
// <copyright file="LoadPostItMessageComposer.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 Claudio Santoro, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, to any per... | {
"content_hash": "af7b093fabc004f58d2e67f58161c3fd",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 94,
"avg_line_length": 43.416666666666664,
"alnum_prop": 0.6429942418426103,
"repo_name": "TheDoct0r11/Yupi",
"id": "7646a3a2856bc32e9903cf529c4d934be02d50ef",
"size": "208... |
from dwarfsquad.lib.compat import join_dicts
from dwarfsquad.model.BaseWebModel import BaseWebModel
class Smoothing(BaseWebModel):
required_fields = {
"optimal_enabled": True,
"fixed": "",
"min": "4",
"max": "22",
"start": "8"
}
@classmethod
def __str__(cls):
... | {
"content_hash": "0bca5a3e43f46d6dc4e86c0c705039ff",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 76,
"avg_line_length": 25.153846153846153,
"alnum_prop": 0.5275229357798165,
"repo_name": "whereskenneth/Dwarfsquad",
"id": "9469549b4a8c23e45604359769117791ffdbca7f",
"siz... |
<?php
/**
* Needed for error handling
*/
require_once 'PEAR.php';
require_once 'PEAR/Frontend.php';
require_once 'PEAR/XMLParser.php';
/**
* List of commands and what classes they are implemented in.
* @var array command => implementing class
*/
$GLOBALS['_PEAR_Command_commandlist'] = array();
/**
* List of c... | {
"content_hash": "f936be9b0b38e21794bc57ca48b3b127",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 115,
"avg_line_length": 30.565,
"alnum_prop": 0.5339440536561426,
"repo_name": "glensc/php-pear-core",
"id": "5dd3cc5943e8e7965ffffb2317ebddec1c0e94a1",
"size": "12663",
... |
<?php
use yii\db\Schema;
use yii\db\Migration;
class m150724_101714_words extends Migration
{
public function up()
{
$this->createTable('words', [
'id' => Schema::TYPE_PK,
'name' => Schema::TYPE_STRING . '(60) NOT NULL',
]);
}
public function down()
{
... | {
"content_hash": "cf072089d44ef6d42cd713d312e00f8b",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 69,
"avg_line_length": 18,
"alnum_prop": 0.526984126984127,
"repo_name": "dmitry-zinchenko/Connected",
"id": "3f73a6ccac81babdb553deeee7ade60ea735f062",
"size": "630",
"b... |
package com.pheide.trainose;
import android.database.Cursor;
/**
* Helper functions when using cursors.
*
* @author Christine Gerpheide
*/
public class CursorHelper {
/**
* Convenience method to return the specified column
* in a Cursor as a long.
*
* @param Cursor the managed cursor
* @param colum... | {
"content_hash": "cc9bdc3869ae7165cc735c2d322f97c7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 67,
"avg_line_length": 23.53846153846154,
"alnum_prop": 0.704248366013072,
"repo_name": "phoxicle/TrainOse",
"id": "6a2c72a044cc9f5c969404ae97efd788c5dcea95",
"size": "1224... |
title "Generating Projects..."
mvn archetype:generate -B -DarchetypeCatalog=local -DarchetypeRepository=local -DarchetypeGroupId=com.shijie99 -DarchetypeArtifactId=quick-start-archetype -DarchetypeVersion=0.0.1-SNAPSHOT -DgroupId=com.shijie99 -DartifactId=testArcheType -Dpackage=com.shijie99.basic
| {
"content_hash": "d652c3c7688954b04442875c1174da29",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 267,
"avg_line_length": 100,
"alnum_prop": 0.8433333333333334,
"repo_name": "zhoucl/quick-start",
"id": "d29b58aa28ce6534d7990f1753c979dcb69a0edb",
"size": "300",
"binary"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.elfwerks</groupId>
<artifactId>spring-dynamic-languages</artif... | {
"content_hash": "f8b0fd3273ae052831fd8e8e1c9c135c",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 104,
"avg_line_length": 28.37864077669903,
"alnum_prop": 0.5843311666096476,
"repo_name": "egustafson/sandbox",
"id": "7f1984b346a9de436d8e1046ba49f1c0b4a42ee3",
"size": "... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.kc.using_notification.app.NotificationActivity">
<item android:id="@+id/action_settings"
android:title="@... | {
"content_hash": "0b110994e8449bbdb0e82ef804e17c24",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 73,
"avg_line_length": 47.666666666666664,
"alnum_prop": 0.6806526806526807,
"repo_name": "kingsamchen/Eureka",
"id": "53cade69e51d005f5cb20d0281a1c5c15ad6c4ae",
"size": "42... |
Scrape [HKExnews](http://www.hkexnews.hk/sdw/search/search_sdw_c.asp) share holdings page and output JSON data.
HKExnews will return data for the previous day if the day requested is a public holiday.
If the period is greater than `30` calender days, weekly data for each Friday within the period will be used.
> Note... | {
"content_hash": "e16e6963fd107f78271416e813342f4c",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 137,
"avg_line_length": 23.747252747252748,
"alnum_prop": 0.6973623322535863,
"repo_name": "leesei/node-hkstock-holdings",
"id": "ab0b89c5ecf4d8e1106aacbce6aa9490cad19c1d",
... |
#include "slib/ui/image_view.h"
#include "slib/core/timer.h"
namespace slib
{
SLIB_DEFINE_OBJECT(ImageView, View)
ImageView::ImageView()
{
setSavingCanvasState(sl_false);
m_scaleMode = ScaleMode::Stretch;
m_gravity = Alignment::MiddleCenter;
m_flagAutoAspectRatio = sl_false;
m_aspectRatioMin ... | {
"content_hash": "0d7606e41ee437c307db611ca33684ff",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 105,
"avg_line_length": 21.056497175141242,
"alnum_prop": 0.661658170110008,
"repo_name": "SLIBIO/SLib",
"id": "dab1f44d91eee44af2d54e318626e1252ff8b649",
"size": "4902",
... |
Contributing
============
Get Source Code
---------------
Clone the repo from github::
$ git clone git@github.com:tomcatmanager/tomcatmanager.git
Create Python Environments
--------------------------
tomcatamanger uses `tox <https://tox.readthedocs.io/en/latest/>`_ to run the
test suite against multiple python ... | {
"content_hash": "26c85632265c0206b4c472421c80147e",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 176,
"avg_line_length": 36.34431137724551,
"alnum_prop": 0.7314441057747755,
"repo_name": "kotfu/tomcat-manager",
"id": "6819883271c2dcacb9cdec4800c9e833aab96398",
"size":... |
import matplotlib; matplotlib.use('Agg')
from netpyne import sim
# read cfg and netParams from command line arguments if available; otherwise use default
simConfig, netParams = sim.readCmdLineArgs(simConfigDefault='cfg.py', netParamsDefault='netParams.py')
# Create network and run simulation
sim.createSimulateAnalyze... | {
"content_hash": "365291187fbbfa5be70e32a80f6dd0b1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 102,
"avg_line_length": 45.375,
"alnum_prop": 0.8209366391184573,
"repo_name": "Neurosim-lab/netpyne",
"id": "d579d7b39f52648e3783f11c3b01d0721aef34e3",
"size": "363",
"bi... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="FOL_Theme_SnackbarWrapper" parent="@style/Theme.AppCompat">
<!--Insert customization here-->
</style>
</resources> | {
"content_hash": "b865fbdec6d2e2a69f0091243ed249d7",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 76,
"avg_line_length": 32.333333333333336,
"alnum_prop": 0.654639175257732,
"repo_name": "leocarona/MyHitchhikingSpots-for-Android",
"id": "6a920bb94a886f8b38d2f8849d0d25a7724... |
package androidx.car.app.sample.places.common;
import android.location.Location;
import androidx.car.app.sample.places.common.places.PlaceCategory;
/** App-wide constants */
class Constants {
/** The initial location to use as an anchor for searches. */
static final Location INITIAL_SEARCH_LOCATION;
/... | {
"content_hash": "9e6df84be5f386f9a65e1ced77300f93",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 94,
"avg_line_length": 35.31111111111111,
"alnum_prop": 0.6746381371932033,
"repo_name": "android/car-samples",
"id": "349721c7485db36bff1774afb3aa6ee53a779c06",
"size": "2... |
require 'minitest/autorun'
require 'stringio'
require 'cgi'
require 'rack/request'
require 'rack/mock'
require 'rack/multipart'
require 'securerandom'
class RackRequestTest < Minitest::Spec
it "copies the env when duping" do
req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
refute_sam... | {
"content_hash": "fa10628861b0557edf8d8e707f15663e",
"timestamp": "",
"source": "github",
"line_count": 1398,
"max_line_length": 203,
"avg_line_length": 33.628755364806864,
"alnum_prop": 0.6152766256141918,
"repo_name": "hafeild/alice",
"id": "cfaedbcfe6cdc9aff9377dca2248c62fc826b2ae",
"size": "470... |
#include "base/third_party/xdg_user_dirs/xdg_user_dir_lookup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "starboard/memory.h"
#include "starboard/types.h"
/**
* xdg_user_dir_lookup_with_fallback:
* @type: a string specifying the type of directory
* @fallback: value to use if the direc... | {
"content_hash": "f5bf5ddf43d1f96a623cbc674827036a",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 96,
"avg_line_length": 22.2311320754717,
"alnum_prop": 0.5605771270952684,
"repo_name": "youtube/cobalt_sandbox",
"id": "598659cddb9135dbe02906285f450f436bae5696",
"size":... |
"Dexter" is a script that can help in applying workaround for dex count issues during android build for a Unity Android project.
The script parses the Unity project for Android libraries that can be refactored to reduce the overall method count via the process mentioned in our documentation linked below:
https://deve... | {
"content_hash": "0241f5a13a0eeb346dd3189d755b97ed",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 346,
"avg_line_length": 49.8,
"alnum_prop": 0.7233935742971888,
"repo_name": "helpshift/dexter",
"id": "202015bac4a12b313f9ffaa83266cd3186dae81a",
"size": "2002",
"binary... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4c04f188764b54d27f2f577c0c1d3cb3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "efa22350394b2b7fcc34ccee38bfd6dbced03aef",
"size": "20... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... | {
"content_hash": "dc8004a32afe7d6b23c484640d88d824",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 89,
"avg_line_length": 32.471698113207545,
"alnum_prop": 0.7797791981406159,
"repo_name": "andrasigneczi/TravelOptimizer",
"id": "b58bba84a6fe436e9f7acc19e30c0ffb4754a05a",
... |
- [Introduction](#introduction)
- [After Installation](#after-installation)
- [Accessing Configuration Values](#accessing-configuration-values)
- [Environment Configuration](#environment-configuration)
- [Configuration Caching](#configuration-caching)
- [Maintenance Mode](#maintenance-mode)
- [Pretty URLs](#pretty-urls... | {
"content_hash": "43e1a92867b9276005771f98705aa9c9",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 422,
"avg_line_length": 50.03472222222222,
"alnum_prop": 0.7730742539902845,
"repo_name": "adamgoose/docs",
"id": "717bef0c641d3e9c818423d66988e5341effff81",
"size": "7222... |
@implementation CHTextShow
{
UIView *view_;
}
+(id)sharedManager
{
static CHTextShow *sharedManager;
static dispatch_once_t oneceToken;
dispatch_once(&oneceToken, ^{
sharedManager = [[CHTextShow alloc] init];
});
return sharedManager;
}
- (void)showBtnText:(NSString *)content withImage... | {
"content_hash": "e2f709aca0c5457bbce5c47779770202",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 153,
"avg_line_length": 30.424242424242426,
"alnum_prop": 0.6917330677290837,
"repo_name": "ZICUNREN/MicroShopProject",
"id": "93b73f461cb8247090578af9ec319911124527da",
"s... |
package org.apache.flink.yarn;
import org.apache.flink.client.deployment.ClusterSpecification;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.configuration.HighAvailabilityOptions;
import org.apache.flink.configuration.JobManagerOptions;
import org.apache.flink.configuration.TaskManager... | {
"content_hash": "d6775a98274f8baa194438770c4129b1",
"timestamp": "",
"source": "github",
"line_count": 470,
"max_line_length": 172,
"avg_line_length": 37.272340425531915,
"alnum_prop": 0.7781710240895079,
"repo_name": "mbode/flink",
"id": "23388751133aca5ecf2937d9d78be025b42009aa",
"size": "18323"... |
import inspect
import logging
from functools import wraps
import pp
__author__ = 'andrew.shvv@gmail.com'
def get_prev_method_name():
return inspect.stack()[2][3]
def pretty_wrapper(func):
@wraps(func)
def decorator(msg, *args, **kwargs):
pretty_msg = "Func: %s\n" % get_prev_method_name()
... | {
"content_hash": "762994abe91d140d84f108e51acaa97a",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 84,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6347211311861743,
"repo_name": "absortium/poloniex-api",
"id": "d4d0f0e9d5aa72ff43545d70fd87b16508855ef5",
"size"... |
module Grooveshark
# Client class
class Client
attr_accessor :session, :comm_token
attr_reader :user, :comm_token_ttl, :country
def initialize(params = {})
@ttl = params[:ttl] || 120 # 2 minutes
@uuid = UUID.new.generate.upcase
token_data
end
# Authenticate user
def login... | {
"content_hash": "cc95e58668b0b0744c1ea37d3a4201ca",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 128,
"avg_line_length": 29.84263959390863,
"alnum_prop": 0.5725463514203096,
"repo_name": "sosedoff/grooveshark",
"id": "7cb3b76081147a611e2e2fa30a8f6c18913fbde4",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Backend servers — Varnish version 4.0.0 docum... | {
"content_hash": "4f69e72e8eb569aa0235b7de690073ac",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 153,
"avg_line_length": 40.7027027027027,
"alnum_prop": 0.6248339973439575,
"repo_name": "reesun/varnish-cache-4.0.0",
"id": "a4e6e63326dd26ca8d65506489b3f5279eb5e49a",
"s... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Editor;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality.Editor
{
[CustomEdit... | {
"content_hash": "2d0962f7263761d21b5ef953c3f2efca",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 214,
"avg_line_length": 52.64772727272727,
"alnum_prop": 0.6965249298510684,
"repo_name": "killerantz/HoloToolkit-Unity",
"id": "f37ecc09a4af0b585c05fa7463f7b541a49dd925",
... |
define([],
function() {
var spec = {
id: "ApplicationHeader",
name: "basics.ApplicationHeader",
requireName: "basicsapplicationheader",
fullComponentName: "org.scn.community.basics.ApplicationHeader",
fullComponentPackage: "org.scn.community.basics/res/ApplicationHeader",
script: "org.scn.commu... | {
"content_hash": "51f7cf2af76a641f7bbcc546b006d183",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 121,
"avg_line_length": 25.4025974025974,
"alnum_prop": 0.5460122699386503,
"repo_name": "org-scn-design-studio-community/lumiradesignercommunityext_src",
"id": "2ff734b2c57... |
<HEAD>
<SCRIPT>
function getParameterByName(name)
{
name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search);
return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
function load_all_sub... | {
"content_hash": "468fb26fbc2a5648b7ac99d1e4c66a23",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 94,
"avg_line_length": 18.067961165048544,
"alnum_prop": 0.6673831273508867,
"repo_name": "PearsonEducation/subpub",
"id": "b39019d2b45176899f4f53a8b10d91dde658d746",
"siz... |
// Originally based on:
//-----------------------------------------------------------------------------
// Community detection
// Based on the article "Fast unfolding of community hierarchies in large networks"
// Copyright (C) 2008 V. Blondel, J.-L. Guillaume, R. Lambiotte, E. Lefebvre
//
// This program must not be ... | {
"content_hash": "ada5147facbd3a9a90267d9f972bdc29",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 96,
"avg_line_length": 25.726708074534162,
"alnum_prop": 0.6141960405601159,
"repo_name": "artemyk/graphy",
"id": "dd50973628c63e3445e97637605c177a6c4dc8d2",
"size": "5165... |
<?php
// Don't load directly
if ( !defined( 'ABSPATH' ) ) {
die( '-1' );
}
if ( !class_exists( 'Muut_Escaped_Fragments' ) ) {
/**
* Muut Escaped Fragments class.
*
* @package Muut
* @author Paul Hughes
* @since 3.0.1
*/
class Muut_Escaped_Fragments
{
/**
* @static
* @property Muut_Escaped... | {
"content_hash": "0c16ca6c15884082193a11f63a99db57",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 202,
"avg_line_length": 32.18208092485549,
"alnum_prop": 0.6177817691962281,
"repo_name": "ishan576/wordpress-plugin",
"id": "adab27cc0ebb8b84583191d03dfb1a96af3b4ce0",
"s... |
using System;
using System.Collections.Generic;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Security.Authentication;
namespace MQTTnet.Client
{
public class MqttClientTlsOptions
{
public bool UseTls { get; set; }
public bool IgnoreCertificateRe... | {
"content_hash": "c8a85609fbe7be1bd21fefe8c749454c",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 134,
"avg_line_length": 30.08,
"alnum_prop": 0.7207446808510638,
"repo_name": "JTrotta/MQTTnet",
"id": "73d65cbc0dd806071b09e72721b3530e0eb8ee35",
"size": "754",
"binary"... |
/* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* <p/>
* This library is distributed in the hope tha... | {
"content_hash": "7218fe7a477fd050d32671a08671b34c",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 69,
"avg_line_length": 20.896907216494846,
"alnum_prop": 0.5939812530833745,
"repo_name": "ColFusion/PentahoKettle",
"id": "5e07405f0f20706030ec1b1bbb19436d39ef9494",
"size... |
/*numPass=7, numTotal=7
Verdict:ACCEPTED, Visibility:1, Input:"-12", ExpOutput:"-12.0000 is negative", Output:"-12.0000 is negative
"
Verdict:ACCEPTED, Visibility:1, Input:"0", ExpOutput:"input is zero", Output:"input is zero"
Verdict:ACCEPTED, Visibility:1, Input:"1", ExpOutput:"1.0000 is positive", Output:"1.0000 is ... | {
"content_hash": "d43bfe5d8d01ef4c2e5267fb0486cc60",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 112,
"avg_line_length": 34.857142857142854,
"alnum_prop": 0.6977459016393442,
"repo_name": "jyi/ITSP",
"id": "a8b6df399b6756d2b16602472cf1023605f8cbec",
"size": "976",
"b... |
package org.apache.ambari.server.serveraction.upgrades;
import static org.easymock.EasyMock.anyObject;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.replay;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.lang.reflect.Field;
imp... | {
"content_hash": "b6ed67316d45823578650469c32a8224",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 175,
"avg_line_length": 42.04938271604938,
"alnum_prop": 0.6485613623018203,
"repo_name": "alexryndin/ambari",
"id": "8926203e1524fd47204d8cfe9e586a92d7179526",
"size": "7... |
WKInteraceMovie Example for my blog https://github.com/NilStack/WKInterfaceMovieExample.git | {
"content_hash": "cadbb3038e5bdd49f2e0d7362d67c9bf",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 91,
"avg_line_length": 91,
"alnum_prop": 0.8681318681318682,
"repo_name": "NilStack/WKInterfaceMovieExample",
"id": "9cc0f3c24cad3dfbd2ef52edb8fbb418267cd780",
"size": "91",... |
<?php
/**
* Created by PhpStorm.
* User: yosefderay
* Date: 4/29/14
* Time: 9:25 PM
*/
namespace Yjv\TypeFactory\Tests\Fixtures;
use Yjv\TypeFactory\AbstractNamedBuilder;
class MockNamedBuilder extends AbstractNamedBuilder
{
/**
* @return object
*/
public function build()
{
}
} | {
"content_hash": "7596a4ed8f494505fd6cd997e482ca82",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 51,
"avg_line_length": 14.227272727272727,
"alnum_prop": 0.6517571884984026,
"repo_name": "yjv/TypeFactory",
"id": "6b0a861d54dd320a67635573f2acfae4fb42d784",
"size": "313"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.