text stringlengths 2 1.04M | meta dict |
|---|---|
layout: post
title: "Critical Thinking and Problem Solving"
date: 2015-03-04 11:48:34
categories: jekyll update
---
When coding you will run into a log of error reports and be able to analyze the error code and solve the problem. May times this can be something as simple as a type or a indent where there isn't supp... | {
"content_hash": "3552039736206f24f993a10e23f02d89",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 383,
"avg_line_length": 83.11111111111111,
"alnum_prop": 0.7887700534759359,
"repo_name": "TheSween/TheSween.github.io",
"id": "5626e44fc6ad149ca963e043a702a929324b9f87",
"s... |
/**
* Sensor logger by Dario Salvi </dariosalvi78@gmail.com>
* License: MIT
*/
package org.apache.cordova.sensorlogger;
import android.Manifest;
import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.In... | {
"content_hash": "338296029f0bb6c7dfeb5e2b523fd2a7",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 212,
"avg_line_length": 41.45454545454545,
"alnum_prop": 0.5465323464912281,
"repo_name": "dariosalvi78/cordova-plugin-sensorlogger",
"id": "6126972e4f2ed398d55bd4e6a299d2b2... |
layout: master
title: "Barreirinha"
categories: question
author: Manuel de Freitas
contributor: Luís Henriques
imgs: 2
---
De repente, pai, entre
o silêncio de duas ondas,
ouvimos a única pergunta:
quantas vezes
ainda nadaremos juntos?
| {
"content_hash": "3f644e29109582873cadecb553e44152",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 27,
"avg_line_length": 17.928571428571427,
"alnum_prop": 0.7410358565737052,
"repo_name": "mentes-desertas/mentes-desertas.github.io",
"id": "11b259fe2bf87f6263d799b356537812... |
import * as s3urls from "@mapbox/s3urls";
s3urls.toUrl("bucket", "key"); // $ExpectType { s3: string; "bucket-in-path": string; "bucket-in-host": string; }
s3urls.toUrl("bucket", "key")["s3"]; // $ExpectType string
s3urls.toUrl("bucket", "key")["bucket-in-host"]; // $ExpectType string
s3urls.toUrl("bucket", "key")["bu... | {
"content_hash": "945d44acaa5d08aab7d7fd033c6e6f2d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 113,
"avg_line_length": 49,
"alnum_prop": 0.6775510204081633,
"repo_name": "markogresak/DefinitelyTyped",
"id": "7a50fdcfacf231fede0e877a163fb319c6088052",
"size": "735",
... |
namespace app_list {
// Generated as:
// crx_file::id_util::GenerateId("org.chromium.default_page_break_1").
const char kDefaultPageBreak1[] = "fdipebbchlhkdibfjgbfalhceahammim";
const char* const kDefaultPageBreakAppIds[] = {
kDefaultPageBreak1,
};
const size_t kDefaultPageBreakAppIdsLength =
base::size(kDe... | {
"content_hash": "512335ddc6c2a6e1923a6a91fa2f2130",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 29.526315789473685,
"alnum_prop": 0.7557932263814616,
"repo_name": "ric2b/Vivaldi-browser",
"id": "1154bb709d40c410f7d1047b72a4289a4013cce4",
"size":... |
Ext.define('Ozone.components.admin.DashboardsTabPanel', {
extend: 'Ext.panel.Panel',
alias: ['widget.dashboardstabpanel'],
layout: {
type: 'fit'
},
preventHeader: true,
border: true,
padding: 5,
initDisabled: true,
widgetLauncher: null,
widgetEventingController:... | {
"content_hash": "09d94a194a3f0cb90525770deee08295",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 133,
"avg_line_length": 35.29218106995885,
"alnum_prop": 0.44776119402985076,
"repo_name": "ozone-development/ozp-iwc-owf7-widget-adapter",
"id": "deacb574fbaabd01036d42fc2f... |
EventUtils = {
findNodeIndex: function(node, parent) {
for (i = 0; i < parent.childNodes.length; i++) {
if (node === parent.childNodes[i]) {
return i;
}
}
return -1;
},
findPath: function(node) {
if (node.id) {
return [node.... | {
"content_hash": "68f94a4d9a431f8aaf4c67ed4bdfbcd0",
"timestamp": "",
"source": "github",
"line_count": 580,
"max_line_length": 843,
"avg_line_length": 35.20862068965517,
"alnum_prop": 0.5413055188286567,
"repo_name": "DarKnight24/owtf",
"id": "14326480d0e73b23cfc9c27b4dde4167d34568b0",
"size": "20... |
Puukissa project
================
What is this ?
--------------
Puukissa is a very simple python-challenge website. Users may log in with openid, and then do exercises on
python algorithms. User needs to type in the code to a Ace textfield, and the code is then checked on server
in a python sandbox.
At the moment, ... | {
"content_hash": "76091a82798fde6fdad5dd01b270ff02",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 42.23809523809524,
"alnum_prop": 0.7181510710259301,
"repo_name": "katajakasa/Puukissa",
"id": "e0a0cfb268776e4a99f6fc89aeb03c0c8e25e359",
"size": "... |
"""
vg composite command
Build composite images from centered images, based on records in composites.csv.
See also vgInitComposites.py, which builds initial pass at composites.csv.
Note: even single channel images get a composite image (bw).
Uses centered image if available, otherwise uses the plain adjusted image.
"... | {
"content_hash": "595fa7a3ea898fa4d0b6116facf76c12",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 95,
"avg_line_length": 38.611510791366904,
"alnum_prop": 0.6520402459474567,
"repo_name": "bburns/PyVoyager",
"id": "21536581f691fc0827baa1ae8416c69cd4b3387a",
"size": "10... |
/*!
* # Semantic UI 2.6.0 - Loader
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Loader
*******************************/
/* Standard Size */
.ui.loader {
display: none;
position: a... | {
"content_hash": "b5f5c8d73df0b90fc6a7128da3cde4ed",
"timestamp": "",
"source": "github",
"line_count": 458,
"max_line_length": 55,
"avg_line_length": 21.17248908296943,
"alnum_prop": 0.6383417551820151,
"repo_name": "sufuf3/cdnjs",
"id": "5903f998aa028610b12acdbaeff69f81c6d58b56",
"size": "9697",
... |
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Security;
namespace System.Configuration
{
internal class ClientConfigPaths
{
internal const string UserConfigFilename = "user.config";
private const string ConfigExtension = ".config";
private const int... | {
"content_hash": "ba752240477390b5a078588f07e78665",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 125,
"avg_line_length": 39.02121212121212,
"alnum_prop": 0.560767259454842,
"repo_name": "wtgodbe/corefx",
"id": "f2b9289655f22dc2977a6131330daedbb713e37a",
"size": "13081... |
"""Utilities used throughout for internationalization
"""
from django.utils import formats
import six
import decimal
def _date_format(date, date_format, decode=False):
formatted = formats.date_format(
date,
date_format,
use_l10n=True
)
if decode:
return formatted
retur... | {
"content_hash": "1c453a4054f0ae079aa6d0cd7b51ca0f",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 71,
"avg_line_length": 27.80327868852459,
"alnum_prop": 0.6120283018867925,
"repo_name": "mercycorps/TolaActivity",
"id": "d8fdec8f0c9c27396d986dbf2391eb6d4c0e17f6",
"size"... |
import Registry from '../../Registry';
import OrOperator from './OrOperator';
declare module "../../Builder" {
/**
* @author Maciej Chałapuk (maciej@chalapuk.pl)
*/
interface OperatorBuilder<T> {
or : AssertionBuilder<T>;
}
}
export { OrOperator };
export default OrOperator;
export const instance = ... | {
"content_hash": "21ccf59aab5117aa6eac660297d24afa",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 49,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6706349206349206,
"repo_name": "webfront-toolkit/offensive.js",
"id": "09dbb1e9296789403865e5dc69aac9f28c1c557b",
... |
using System;
using System.Linq;
using NBitcoin;
using Newtonsoft.Json;
using Stratis.Bitcoin.Utilities.JsonConverters;
namespace Stratis.Bitcoin.Controllers.Models
{
public class BlockModel
{
[JsonProperty("hash")]
public string Hash { get; private set; }
[JsonProperty("confirmations... | {
"content_hash": "6eac606d91674657344fd97573141e24",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 122,
"avg_line_length": 35.54455445544554,
"alnum_prop": 0.6197771587743732,
"repo_name": "bokobza/StratisBitcoinFullNode",
"id": "3671ea0d3dc8eefe1eed76d532dc549475964f16",... |
import os
import sys
import tempfile
import pprint
import traceback
# disable python from generating a .pyc file
sys.dont_write_bytecode = True
# change me to the path of pytan if this script is not running from EXAMPLES/PYTAN_API
pytan_loc = "~/gh/pytan"
pytan_static_path = os.path.join(os.path.expanduser(pytan_loc)... | {
"content_hash": "9dc1c6d373f6daebaa0f1d5ef0c25e14",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 90,
"avg_line_length": 32.51111111111111,
"alnum_prop": 0.7194121667805878,
"repo_name": "tanium/pytan",
"id": "c6b52b36baddda05cc513a639b8c407fadb6a123",
"size": "2969",
... |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M5.2,20.9 L4.45... | {
"content_hash": "67739855573469d900345dd31053fb59",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 91,
"avg_line_length": 38.3,
"alnum_prop": 0.6892950391644909,
"repo_name": "google/material-design-icons",
"id": "7a9e3bf60ece877414c60bde9caf0bdad09e370c",
"size": "383",... |
<?php
return [
// string, required, root directory of all source files
'sourcePath' => __DIR__ . '/..',
// string, required, root directory containing message translations.
'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages
// should be tran... | {
"content_hash": "669bbb101303df7eec7c4fcf9459e2f1",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 288,
"avg_line_length": 56.40384615384615,
"alnum_prop": 0.6099556767814525,
"repo_name": "nikn/it-asu.ru",
"id": "7be6151262759a71d75c78bda4a345663fad358a",
"size": "2933"... |
copyright:
years: 2015, 2016
lastupdated: "2016-07-01"
---
{:new_window: target="_blank"}
{:shortdesc: .shortdesc}
{:screen:.screen}
{:codeblock:.codeblock}
# Premiers pas avec Insights for Weather
{: #insights_weather_overview}
A l'aide d'{{site.data.keyword.weatherfull}}, incorporez les données météorologiques ... | {
"content_hash": "b6827fe17d29c4faaaaa7bb893ae1d60",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 323,
"avg_line_length": 50.4375,
"alnum_prop": 0.7372986369268897,
"repo_name": "nickgaski/docs",
"id": "b2b178d500f482f749f36b5a11753bd47cad53bc",
"size": "4088",
"binar... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "624b9a383cd7bb9fda15c5f4a2fe45d2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "6d3d39e39f0122eb89c378689ae3dd4c6839a3ea",
"size": "19... |
import functools
import inspect
import math
import time
from oslo_log import log as logging
from oslo_serialization import jsonutils
from oslo_utils import encodeutils
from oslo_utils import excutils
from oslo_utils import strutils
import six
import webob
import webob.exc
from cinder.api.openstack import api_version_... | {
"content_hash": "7c9ab927738697d269044fc314651f2c",
"timestamp": "",
"source": "github",
"line_count": 1397,
"max_line_length": 79,
"avg_line_length": 36.87831066571224,
"alnum_prop": 0.5949455540674314,
"repo_name": "bswartz/cinder",
"id": "cc4718e55fdac01cb9e03dc5138dfe5b83cf85aa",
"size": "5218... |
from setuptools import setup, find_packages
from codecs import open
from os import path
setup(
name='multilabel-metrics',
version='0.0.1',
description='Multilabel classification metrics for Python',
long_description=open('README.txt').read(),
url='https://github.com/llabhishekll/multi-label-metrics'... | {
"content_hash": "11302423ee2e31244d77e1500551f9c2",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 63,
"avg_line_length": 37.25,
"alnum_prop": 0.6577181208053692,
"repo_name": "hell-sing/multi-label-metrics",
"id": "d5e756be0b723718ef8093fc205db9dd68641b54",
"size": "918... |
'use strict';
import {BaseGulpTask} from '../BaseGulpTask';
import * as gulp from 'gulp';
import {Utils} from '../utils';
import * as yargs from 'yargs';
let $: any = require('gulp-load-plugins')({ lazy: true });
/**
* Transpiles all TypeScript as JavaScript as the gulp task 'transpile-ts'.
*
* @class
*/
export c... | {
"content_hash": "1bc57fd39b2780756afb19992aa8b8b3",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 98,
"avg_line_length": 28.387096774193548,
"alnum_prop": 0.6443181818181818,
"repo_name": "johnmeilleur/ng-officeuifabric",
"id": "451476ca415cacd6c963497678e936c2d08a67b8",
... |
package ch.ethz.ssh2;
import java.io.IOException;
/**
* May be thrown upon connect() if a HTTP proxy is being used.
*
* @see Connection#connect()
* @see Connection#setProxyData(ProxyData)
*
* @author Christian Plattner
* @version 2.50, 03/15/10
*/
public class HTTPProxyException extends IOException
{
pri... | {
"content_hash": "ceff7cf92e1810f2cb2161749c7bed27",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 73,
"avg_line_length": 23.344827586206897,
"alnum_prop": 0.7370753323485968,
"repo_name": "jochemvankempen/setPath",
"id": "c51eeb52836df44e32ece5d448aad3e1da76b8ce",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VocaDb.Model.Domain {
public class LinkAlreadyExistsException : Exception {
public LinkAlreadyExistsException() { }
public LinkAlreadyExistsException(string message)
: base(message) { }
}
}
| {
"content_hash": "ae40d04b15b35bb17ff557a2b80a7442",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 54,
"avg_line_length": 17.764705882352942,
"alnum_prop": 0.7615894039735099,
"repo_name": "cazzar/VocaDbTagger",
"id": "7f64a856c579f3bab4c0338e1961a9ea1edb2f5d",
"size": "... |
#include "xenia/kernel/objects/xnotify_listener.h"
namespace xe {
namespace kernel {
XNotifyListener::XNotifyListener(KernelState* kernel_state)
: XObject(kernel_state, kTypeNotifyListener),
wait_handle_(NULL),
mask_(0),
notification_count_(0) {}
XNotifyListener::~XNotifyListener() {
kernel... | {
"content_hash": "000fd6faf001830d860513dde86baa71",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 78,
"avg_line_length": 24.930232558139537,
"alnum_prop": 0.6240671641791045,
"repo_name": "DrChat/xenia",
"id": "495e9cfde6730f1237501e0101b5ee44bd249077",
"size": "2631",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Phaser Class: InWorld</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/default.css">
<link type="text/css" rel="stylesheet" hre... | {
"content_hash": "5fea4209a3131b1defb6edd0c3cf74b4",
"timestamp": "",
"source": "github",
"line_count": 1868,
"max_line_length": 353,
"avg_line_length": 26.195396145610278,
"alnum_prop": 0.5471358796722049,
"repo_name": "samme/phaser-ce",
"id": "ff0f226ed1aa2fd4b0ef74706c0d6d3903dc34e0",
"size": "4... |
#include <shogun/distributions/KernelDensity.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/multiclass/tree/KDTree.h>
#include <shogun/multiclass/tree/BallTree.h>
using namespace shogun;
CKernelDensity::CKernelDensity(float64_t bandwidth, EKernelType kernel, EDistanceType dist, EEvaluationMode eval,... | {
"content_hash": "dd18d04d80cf64cc8a9c1afc2a7e5c27",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 164,
"avg_line_length": 22.863309352517987,
"alnum_prop": 0.7146003775959723,
"repo_name": "lisitsyn/shogun",
"id": "f75dd2951c820ae283549dea2dc8e7bb04bbfc9a",
"size": "48... |
Як правильно використати [наслідок](../concept/Consequence.md#наслідок) у рутинах, що приймають як аргумент callback функцію.
У JavaScript дуже поширеним є використання callback функції в якості параметра іншої. Це робиться для того, щоб
викликати callback з передачею в неї(або без) результату виконання рутини, у яку ... | {
"content_hash": "38e576495a026d5ef35c1e191cb9fe51",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 168,
"avg_line_length": 40.717948717948715,
"alnum_prop": 0.75,
"repo_name": "Wandalen/wConsequence",
"id": "6f4052189606b8a79a180739da0411a91cc8e1bb",
"size": "2393",
"b... |
namespace pysmall {
class IntObject : public Object {
int value_{};
TypeObject* set_objecttype(void);
public:
IntObject(int v = 0);
};
}
| {
"content_hash": "91cc063f3e8eefc3e9a970481e39f398",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 35,
"avg_line_length": 13.272727272727273,
"alnum_prop": 0.6643835616438356,
"repo_name": "ASMlover/study",
"id": "10bd077003ca9512ec17c8d383e560d3d9e777a4",
"size": "1560"... |
package com.google.cloud.tools.io;
import java.io.IOException;
import java.nio.file.AccessDeniedException;
import java.nio.file.Files;
import java.nio.file.NotDirectoryException;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.Before;
import o... | {
"content_hash": "adc30efa498abc98c527307fcd090ca9",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 89,
"avg_line_length": 33.77358490566038,
"alnum_prop": 0.7139664804469273,
"repo_name": "GoogleCloudPlatform/appengine-plugins-core",
"id": "c1f7754412eb09d92b6e34bafd25e66... |
@implementation LGAlertViewButton
- (instancetype)init {
self = [super init];
if (self) {
self.backgroundColor = UIColor.clearColor;
self.titleLabel.backgroundColor = UIColor.clearColor;
self.imageView.backgroundColor = UIColor.clearColor;
self.contentEdgeInsets = UIEdgeInsetsM... | {
"content_hash": "d0799187c788bbf43f7a75ea863a72a9",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 143,
"avg_line_length": 40.9375,
"alnum_prop": 0.6787786259541985,
"repo_name": "NUKisZ/MyTools",
"id": "5f097ee1f235f9d9a5438cd9961f12de11aca98f",
"size": "4616",
"binar... |
using LinqToTwitter;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics.CodeAnalysis;
using Twice.Models.Twitter.Comparers;
namespace Twice.Tests.Models.Twitter.Comparers
{
[TestClass, ExcludeFromCodeCoverage]
public class StatusComparerTests
{
[TestMethod, TestCategory( "M... | {
"content_hash": "339679c59d1902b46a8e724f51964499",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 91,
"avg_line_length": 20.86111111111111,
"alnum_prop": 0.6584553928095872,
"repo_name": "TheSylence/Twice",
"id": "63988b74c42b3b3feb99f1612244ab212a6d5281",
"size": "1502... |
class CloudTenant < ApplicationRecord
include CloudTenancyMixin
TENANT_MAPPING_ASSOCIATIONS = %i(vms_and_templates).freeze
include NewWithTypeStiMixin
include CustomActionsMixin
include ExternalUrlMixin
extend ActsAsTree::TreeWalker
belongs_to :ext_management_system, :foreign_key => "ems_id"
has_one ... | {
"content_hash": "ce52ae67d423045cf7279dd6be8cb101",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 96,
"avg_line_length": 32.89637305699482,
"alnum_prop": 0.670971806583714,
"repo_name": "jvlcek/manageiq",
"id": "5b0dadbcf7c9153be07f3f1fce8a2c4b71e51429",
"size": "6349"... |
package client
import (
"github.com/Cloud-Foundations/Dominator/lib/hash"
"github.com/Cloud-Foundations/Dominator/lib/srpc"
"github.com/Cloud-Foundations/Dominator/proto/imageserver"
)
func listUnreferencedObjects(client *srpc.Client) (
map[hash.Hash]uint64, error) {
conn, err := client.Call("ImageServer.ListUnr... | {
"content_hash": "88986c79b132938bec391782c2b170c9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 64,
"avg_line_length": 23,
"alnum_prop": 0.7111801242236024,
"repo_name": "rgooch/Dominator",
"id": "e37ed6f4c3fcee66838ca301bcca6a46ff98ee3d",
"size": "644",
"binary": f... |
package net.bitm.modInt.IC2IC2;
import ic2.api.item.IC2Items;
import cpw.mods.fml.common.registry.GameRegistry;
import net.bitm.creativeTab;
import net.bitm.items.EUbasicbattery;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.ShapedOreRecipe;
public class IC2 {
... | {
"content_hash": "7aff1dc7e85ded5a752e5665affc3bef",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 137,
"avg_line_length": 33,
"alnum_prop": 0.7750229568411386,
"repo_name": "xbony2/Bitm",
"id": "d4d1cc9b289894e0ce586aacbcfc6b07bf19ad3a",
"size": "1089",
"binary": fals... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_13) on Wed Aug 05 08:53:18 ICT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=utf8">
<TITLE>
Uses of Class org.jgentlefr... | {
"content_hash": "f7217c1e520b6a6b80a69c63285bac7a",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 256,
"avg_line_length": 44.179310344827584,
"alnum_prop": 0.6186387761473618,
"repo_name": "OldRepoPreservation/jgentle",
"id": "f790bf4dec69399ed2464072d42bcfbe6e7b7699",
... |
package uk.ac.ebi.eva.vcfdump.evawsclient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.util.UriComponentsBuilder;
import java.net.URISyntaxException;
import java.util.Set;
public class EvaWsClient {
private final Str... | {
"content_hash": "2428247a03b7205e001db013cc530311",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 91,
"avg_line_length": 30,
"alnum_prop": 0.6691056910569105,
"repo_name": "pabarcgar/eva-tools",
"id": "f1c37051355ef321f81db81d1a8e6e1c74903da8",
"size": "1854",
"binary... |
.. Copyright (C) Google, Runestone Interactive LLC
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0
International License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/4.0/.
.. Location of summary document: shorturl.at/mrLNV
Summary
=======
.. i... | {
"content_hash": "c207b4e2965455221090e5a6c9be7a06",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 78,
"avg_line_length": 33,
"alnum_prop": 0.7435897435897436,
"repo_name": "google/applied-computing-series",
"id": "7cd5b4c5ab53e342923449a7c402b8c9b5be3a70",
"size": "429"... |
@interface MangoViewController ()
@property(nonatomic, retain) UITableView *tableview;
@end
@implementation MangoViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.title=@"cell";
self.tableview=[[UITableView alloc]initWithFrame:self.view.frame style:UITableViewStylePlain];
self.tablev... | {
"content_hash": "c513e2131e3ec34e563b6c330587a627",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 116,
"avg_line_length": 23.32857142857143,
"alnum_prop": 0.6858542559706062,
"repo_name": "788zhang/Music",
"id": "b62c7d0533778fb1840e1825f60cf94ad43a4e98",
"size": "1873"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.squareup.s... | {
"content_hash": "174ab571cea180015d7b0cd1b7f47c4d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 204,
"avg_line_length": 29.641509433962263,
"alnum_prop": 0.6346276257161044,
"repo_name": "daj/spoon",
"id": "9101178501a1e1094074014d0701fbe4b2f19eda",
"size": "1571",
... |
package gw.lang.parser.statements;
import gw.lang.parser.IStatement;
import gw.lang.reflect.IType;
public interface ITypeLoaderStatement extends IStatement
{
IType getTypeLoader();
} | {
"content_hash": "db3bbb00d59debf67edffa115543f1e1",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 17.09090909090909,
"alnum_prop": 0.8031914893617021,
"repo_name": "gosu-lang/gosu-lang",
"id": "9a3ed3cfa32f3eac3ae52f60e1cf605100f52367",
"size": "2... |
import Vue from 'vue'
import Vuex from 'vuex'
import config from '../config'
const { menu, sidebar } = config
Vue.use(Vuex)
const store = new Vuex.Store({
state: {
menu,
sidebar
},
mutations: {
}
})
export default store
| {
"content_hash": "04328186a1212d4b753b2d6ba1bbf7b7",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 32,
"avg_line_length": 11.090909090909092,
"alnum_prop": 0.6270491803278688,
"repo_name": "JeOam/vue-admin",
"id": "52466d8d1d8da49401dc2ee48281f517feaf0012",
"size": "244"... |
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven" xmlns:e="http://ant.apache.org/ivy/extra">
<info organisation="com.typesafe.play"
module="play-ws_2.10"
revision="2.3.8"
status="release"
publication="20210429085512"
>
<license name="Apache-2.0" url="... | {
"content_hash": "f5ec82300915c25860474542d6440893",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 245,
"avg_line_length": 93.77272727272727,
"alnum_prop": 0.7321861366941348,
"repo_name": "ProjectSidewalk/SidewalkWebpage",
"id": "7435dfcf788ecffbab9ce0deac37a7c4e7bb7410",... |
from pyxley.charts import Chart
from flask import jsonify, request
class PlotlyAPI(Chart):
def __init__(self, options, route_func):
super(PlotlyAPI, self).__init__("PlotlyAPI", options, route_func)
class PlotlyLines(PlotlyAPI):
def __init__(self, xypairs, data_source,
mode="lines+markers", lay... | {
"content_hash": "49d79874e532e4e39e3572cad297bb09",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 73,
"avg_line_length": 28.65573770491803,
"alnum_prop": 0.425629290617849,
"repo_name": "subodhchhabra/pyxley",
"id": "2d443b10082d908b7c581ce49b638a1aab1a87d5",
"size": "1... |
class Ray
{
public:
Ray()
{
dist = DBL_MAX;
}
Ray(const Vector3f &origin, const Vector3f &direction)
: m_origin(origin), m_direction(direction)
{
m_dir_reciprocal.x() = 1.0 / m_direction.x();
m_dir_reciprocal.y() = 1.0 / m_direction.y();
m_dir_reciprocal.z() = 1.0 / m_direction.z();
dist = DBL_MAX;
}... | {
"content_hash": "161cad469244210505949600cb00079a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 119,
"avg_line_length": 19.962962962962962,
"alnum_prop": 0.6586270871985158,
"repo_name": "EmilNorden/candle",
"id": "31d3cfdd9d93f774373894a0769ec2145198bc51",
"size": "6... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Wed Jul 27 21:20:06 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class net.sourcefor... | {
"content_hash": "4223f72c522035676fd0f1d0a2c98797",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 363,
"avg_line_length": 42.18390804597701,
"alnum_prop": 0.6423705722070845,
"repo_name": "jasonwee/videoOnCloud",
"id": "3054e43e03985c752b332b2f6a1828532416b086",
"size"... |
<?php
define('WP_DEBUG', true);
////////////////////////////////////////////////////////////////////////////////
// POST TYPES
////////////////////////////////////////////////////////////////////////////////
/**
* Fügt den Custom Post Type "company" hinzu, der einem Unternehmens-Eintrag
* entspricht.
*/
function... | {
"content_hash": "f94cd0677fde01d626e1289f372484fe",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 146,
"avg_line_length": 30.641975308641975,
"alnum_prop": 0.5499597099113618,
"repo_name": "danielnassauer/branchenverzeichnis",
"id": "cfb185eefd10064a32478698af7fd68956396... |
package org.jgroups.tests;
import org.jgroups.Global;
import org.jgroups.util.ExpiryCache;
import org.jgroups.util.Util;
import org.testng.annotations.Test;
/**
* @author Bela Ban
* @since 3.3
*/
@Test(groups=Global.FUNCTIONAL,sequential=false)
public class ExpiryCacheTest {
public void testAdd() {
E... | {
"content_hash": "33736284d5e1a4d9d3ece9159c4ebace",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 70,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.5717391304347826,
"repo_name": "ibrahimshbat/JGroups",
"id": "c527ef41aa8fbe0739aa21ef141f5ee13b49f544",
"size": ... |
package com.s24.redjob.worker.runner;
import com.s24.redjob.worker.Execution;
/**
* {@link JobRunnerFactory} for {@link TestJob}s.
*/
public class TestJobRunnerFactory implements JobRunnerFactory {
@Override
public Runnable runnerFor(Execution execution) {
TestJob job = execution.getJob();
return ... | {
"content_hash": "9642e762ceff0b90f2f798d3794483b9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 63,
"avg_line_length": 25.071428571428573,
"alnum_prop": 0.7264957264957265,
"repo_name": "shopping24/redjob",
"id": "b67dfae7c343bd5281986185352c1b99ad6fa1c5",
"size": "35... |
<?php
namespace Sensio\Bundle\TrainingBundle\Contact;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ProfileType extends AbstractType
{
public function setDefaultOptions(OptionsResolverInterface $reso... | {
"content_hash": "d21d6c8cc6c1a2d4dac396411bc4a337",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 76,
"avg_line_length": 25.96875,
"alnum_prop": 0.6377858002406739,
"repo_name": "abarry/sf2Training",
"id": "cc09a748cbd9d7ee7332812027a38bd28f722e20",
"size": "831",
"bi... |
import os
import getopt
import pickle
import sys
import time
import simpleubjson
try:
import json
except ImportError:
json = None
try:
import simplejson
except ImportError:
simplejson = None
try:
import ujson
except ImportError:
ujson = None
try:
import erlport
except ImportError:
erlpor... | {
"content_hash": "dc4df59b4783ff357bdb17a4b777ede1",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 78,
"avg_line_length": 29.223880597014926,
"alnum_prop": 0.5677562138236295,
"repo_name": "samipshah/simpleubjson",
"id": "d05c7f7767ad0c4a6c8c6f84455492d6f6d016f3",
"size... |
<?php
namespace Sci\Assert;
class Assert
{
const CLASS_NAME = __CLASS__;
use BaseAssertionTrait;
use ComparisonAssertionTrait;
use StringAssertionTrait;
/** @var mixed */
private $value;
/** @var bool */
private $plural;
/** @var bool */
private $alwaysValid;
/**
... | {
"content_hash": "14e5d936fbc83f9a64036c51d64b08aa",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 82,
"avg_line_length": 20.33582089552239,
"alnum_prop": 0.48293577981651375,
"repo_name": "DrSchimke/assert",
"id": "2ee81cafb7b59fa4a0f07abeaa0f0db806055d8b",
"size": "29... |
require('dotenv').config({ silent: true });
module.exports = {
secret: process.env.SECRET,
port: process.env.PORT,
env: process.env.NODE_ENV
};
| {
"content_hash": "1a538a253b4d1968a561217428de0597",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 21.571428571428573,
"alnum_prop": 0.6754966887417219,
"repo_name": "andela-jmacharia/hati-DMS",
"id": "403be56343b0e2eb612d7b8264cd898c5b97adcb",
"siz... |
<dc:language>en-US</dc:language>
<dc:creator opf:file-as="Supreme Court of the United States" opf:role="aut">Supreme Court of the United States</dc:creator>
<dc:publisher>Supreme Court of the United States republished via Cornell Internet Law</dc:publisher>
<dc:rights>Creative Commons</dc:rights>
<dc:title>LOCKE v. DAV... | {
"content_hash": "fd0614d191bb4817b41540d8b81bb4e5",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 123,
"avg_line_length": 66.8,
"alnum_prop": 0.7724550898203593,
"repo_name": "riordan/judiciary_ebooks",
"id": "192f3e85a748a153eeb7e6f93d675c27dbb8ab90",
"size": "334",
"... |
package br.com.jsn.noleggio.main.controller;
import java.util.List;
public interface ICrudBean<T> {
public void cadastrar();
public void alterar();
public void excluir();
public boolean validar();
public void habilitarEdicao();
public List<T> getListaTodos();
public void setListaTodos(List<T> lis... | {
"content_hash": "7c3dfc25082c15578d3422bdc8ab635f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 45,
"avg_line_length": 17.75,
"alnum_prop": 0.7283702213279678,
"repo_name": "joaquimsn/locadora-web",
"id": "f5bccbeca2f5398d298b5c32555ae0a002fd322b",
"size": "497",
"b... |
package org.apache.druid.storage.azure;
import com.fasterxml.jackson.annotation.JacksonInject;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.common.base.Preconditions;
import org.apach... | {
"content_hash": "42bf6c8721eb4878e50791be0ec92f12",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 92,
"avg_line_length": 27.632653061224488,
"alnum_prop": 0.7865583456425406,
"repo_name": "monetate/druid",
"id": "f6a7b347ab34f669d46dd387d9dc3f43c2454bcc",
"size": "2161"... |
package main;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.powerbot.game.bot.event.MessageEvent;
import org.powerbot.game.bot.event.listener.MessageListener;
import rooms.DGRoom;
import doors.DGDoor;
import doors.DGKey;
impor... | {
"content_hash": "895876c167db5afdae6feda858071f0f",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 99,
"avg_line_length": 25.430232558139537,
"alnum_prop": 0.6378600823045267,
"repo_name": "TheDash/my-projects",
"id": "525f2c7f9e286a0ff1c18822c2c71052a62083d5",
"size": "... |
<?php
declare(strict_types=1);
namespace Ray\Aop;
class FakeMethodInterceptor implements MethodInterceptor
{
public function invoke(MethodInvocation $invocation)
{
$invocation->proceed();
}
}
| {
"content_hash": "e79df33c73c9484a5352b1bc32d74cf8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 16.53846153846154,
"alnum_prop": 0.7116279069767442,
"repo_name": "koriym/Ray.Aop",
"id": "2c1c7c7056e37b3da21fe5e69b03c7708235bc3a",
"size": "215",
... |
package com.github.mobile.ui.repo;
import com.github.mobile.core.ResourcePager;
import com.google.inject.Inject;
import org.eclipse.egit.github.core.Repository;
import org.eclipse.egit.github.core.User;
import org.eclipse.egit.github.core.client.PageIterator;
import org.eclipse.egit.github.core.service.RepositorySer... | {
"content_hash": "bffa21995fb86e84b270fbb6c16b1312",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 84,
"avg_line_length": 30.94736842105263,
"alnum_prop": 0.6624149659863946,
"repo_name": "ywk248248/Forkhub_cloned",
"id": "386de83b04b0e44fa1c5080231d239ab403a92bd",
"size... |
Basic isomorphic app built on [Redux](https://github.com/gaearon/redux)
How this app works is thoroughly explained in [Tutorial: Handcrafting an Isomorphic Redux Application (With Love)](https://medium.com/front-end-developers/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4)
```
$ npm run dev
$ br... | {
"content_hash": "4f56ba503d839283fc6ebc37df03cc00",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 223,
"avg_line_length": 40.9,
"alnum_prop": 0.7799511002444988,
"repo_name": "bananaoomarang/isomorphic-redux",
"id": "d801d20d7b19bdfbd4ebd1904288f5f42c3818c1",
"size": "5... |
#Region "Microsoft.VisualBasic::557738fa32b1bf0bf29513935142855d, src\assembly\assembly\test\Module1.vb"
' Author:
'
' xieguigang (gg.xie@bionovogene.com, BioNovoGene Co., LTD.)
'
' Copyright (c) 2018 gg.xie@bionovogene.com, BioNovoGene Co., LTD.
'
'
' MIT License
'
... | {
"content_hash": "d43834d4a63bd2d120ad279362b98940",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 167,
"avg_line_length": 38.074074074074076,
"alnum_prop": 0.5367217898832685,
"repo_name": "xieguigang/MassSpectrum-toolkits",
"id": "4d6e0dd7506dd8ac04e0e251804aaabfe1ca9a5... |
package uk.ac.ic.wlgitbridge.server;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.eclipse.jetty.server.handler.ErrorHandler;
import java.io.IOException;
public class ProductionErrorHandler extends ErrorHandler {
@Override
public void handle(
Str... | {
"content_hash": "36d89de7e41d06c8d97d880bda5ab465",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 58,
"avg_line_length": 31.523809523809526,
"alnum_prop": 0.6903323262839879,
"repo_name": "winstonli/writelatex-git-bridge",
"id": "d4b19e26fe2490d94b5445228e2cd1b1b5a61095",... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.5">
<link rel="stylesheet" type="text/css" href="search.c... | {
"content_hash": "45b03a9a8cf1a3a0da8d973f615ff62d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 39.92307692307692,
"alnum_prop": 0.7090558766859345,
"repo_name": "mariaiemoli/progetto",
"id": "b243427a8d8e15791025601161905794808ed5a0",
"size": ... |
obj-renderer
============
Three js obj renderer
| {
"content_hash": "7999c83725e95dd5d2e523a761ca9ce2",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 21,
"avg_line_length": 12.25,
"alnum_prop": 0.5918367346938775,
"repo_name": "distri/obj-renderer",
"id": "ab3eb210da19dae9ede7a1bc71f8d237d361fd7f",
"size": "49",
"binary... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ctltctl: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "b2eb3782547eadfb4e0657f4bf15f355",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 159,
"avg_line_length": 40.45505617977528,
"alnum_prop": 0.551867796139425,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "c69d13baceee699528f286fa48b2b12dbd442a5f",
... |
import { CommonModule } from '@angular/common';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { PersonsOverviewComponent } from "app/person/persons.component";
@NgModule({
imports: [
CommonModule,
],
declarations: [
PersonsOverviewComponent
],
entryCompon... | {
"content_hash": "0a15624337d925a7aa99c6b7f4e01d91",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 23.88235294117647,
"alnum_prop": 0.6674876847290641,
"repo_name": "wimbervoets/angular-quickstart",
"id": "e1aba4614070bebc1042fb837a3c93b250c3f268",
... |
module.exports = class RasterAtlasSprite extends createjs.Container {
constructor (thangType) {
super()
this.thangType = thangType
this.movieClips = new Map() // acts like a cache of movieclip objects for different actions on the same sprite
}
configureSettings (action) {
this.scaleX = this.scale... | {
"content_hash": "51237729dcce08e401402195a75fd950",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 127,
"avg_line_length": 34.372549019607845,
"alnum_prop": 0.6628636622932116,
"repo_name": "codecombat/codecombat",
"id": "a67d8183546939307ff86199b17519768fb59a3f",
"size"... |
.. ---------------------------------------------------------------------------
.. Copyright 2015 Nervana Systems Inc.
.. 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.ap... | {
"content_hash": "2ab780324e68ecd01fd9850f9da083a4",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 719,
"avg_line_length": 69.25925925925925,
"alnum_prop": 0.7344919786096257,
"repo_name": "vseledkin/neon",
"id": "e2f20756ed25dfc089519ee1fc63c1089d576ab1",
"size": "3740"... |
if [[ ! -z ${DEBUG_SHELL} ]]; then
set -x # Activate the expand mode if DEBUG is anything but empty.
fi
set -o errexit # Exit if command failed.
set -o pipefail # Exit if pipe failed.
set -o nounset # Exit if variable not set.
die() {
echo "${1:-"Unknown Error"}" 1>&2
exit ${2:-1}
}
# ----------------------... | {
"content_hash": "bb62725d7b6cb1a780afb63fecca158a",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 127,
"avg_line_length": 34.842696629213485,
"alnum_prop": 0.5965817478232828,
"repo_name": "mashaoze/esp-idf",
"id": "a332b18e28eaea631f089c13242bb188da4417ea",
"size": "35... |
/*************************************************************************/
/* shell.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "9ef02cdc5a1fc679a3ec22adb160a1b3",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 75,
"avg_line_length": 45.11764705882353,
"alnum_prop": 0.44763146458061714,
"repo_name": "tomasy23/evertonkrosnodart",
"id": "565929eae51839c49a410458df296e1a490d5395",
"s... |
class AddStartAtToReservations < ActiveRecord::Migration
def change
add_column :reservations, :start_at, :datetime
end
end
| {
"content_hash": "600bb468af4ce81dfea1ed17462684e3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 56,
"avg_line_length": 26.2,
"alnum_prop": 0.7709923664122137,
"repo_name": "santi-git/smart_parking",
"id": "94389f115528ce7f7d823878fb1f167afcc42bb2",
"size": "131",
"bi... |
var spamroom = Rooms.get('spamroom');
if (!spamroom) {
Rooms.global.addChatRoom('Spam Room');
spamroom = Rooms.get('spamroom');
spamroom.isPrivate = true;
if (spamroom.chatRoomData) {
spamroom.chatRoomData.isPrivate = true;
spamroom.addedUsers = spamroom.chatRoomData.addedUsers = {};
Rooms.global.writeChatRoo... | {
"content_hash": "a2f071d967d78f88159701e06d13e65e",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 112,
"avg_line_length": 27.3375,
"alnum_prop": 0.6844993141289437,
"repo_name": "iFaZe/SilverZ",
"id": "27a5ca0346d77ac0df6017db6175d1ac278f7ef0",
"size": "2187",
"binary... |
from amaranth import *
from amaranth_cfu import InstructionBase, InstructionTestBase, simple_cfu, CfuTestBase
import unittest
# See proj_example for further example instructions
class TemplateInstruction(InstructionBase):
"""Template instruction
"""
def elab(self, m):
with m.If(self.start):
... | {
"content_hash": "001c4e4d897f36aae6f793862a402e66",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 86,
"avg_line_length": 22.01923076923077,
"alnum_prop": 0.5694323144104804,
"repo_name": "google/CFU-Playground",
"id": "3761c1231e17abc25f98e9edf17bf6e42f1f62ee",
"size": ... |
from django.conf.urls import include, url
from . import views
urlpatterns = [
url(r'^$', views.index, name="index"),
url(r'^about', views.about, name="about"),
url(r'^settings', views.settings, name="settings")
]
| {
"content_hash": "2d26ef7b4f10eaed11b427c2c06b8308",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 54,
"avg_line_length": 28.25,
"alnum_prop": 0.6548672566371682,
"repo_name": "signalw/charliechat",
"id": "0a7ac96f08e86fcc7b4bad353b5de6025053de11",
"size": "226",
"binar... |
/*
* MainGUIApp.java
*
* Created on August 2, 2006, 8:02 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package ebay.client;
/**
*
* @author Elancheran
*/
import ebay.apis.*;
import javax.xml.ws.*;
import javax.swing.*;
import java.awt.event.*;
impo... | {
"content_hash": "c4f43e5e60beb333ac8d68003ca3da09",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 170,
"avg_line_length": 44.58747697974217,
"alnum_prop": 0.6217834868448227,
"repo_name": "simon-jlc/jdk8samples",
"id": "e6ffd8888cc0a8ad52687741b3a401d04d4d44cd",
"size"... |
<?php
use DTS\eBaySDK\Trading\Types\GetStoreOptionsResponseType;
class GetStoreOptionsResponseTypeTest extends \PHPUnit_Framework_TestCase
{
private $obj;
protected function setUp()
{
$this->obj = new GetStoreOptionsResponseType();
}
public function testCanBeCreated()
{
$this... | {
"content_hash": "683baaf206e9add1948adcb8948239d0",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 102,
"avg_line_length": 25.26086956521739,
"alnum_prop": 0.7074010327022375,
"repo_name": "spoilie/ebay-sdk-trading",
"id": "2153423f2d64fa9e22e8452015d5d0e9268d1150",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- config.xml reference: https://build.phonegap.com/docs/config-xml -->
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.hello-world"
version = "1.0.0">
<name>Hello World</name>
... | {
"content_hash": "2d85f0d8875e7e75cb813feafe47aba0",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 197,
"avg_line_length": 70.97435897435898,
"alnum_prop": 0.6372832369942196,
"repo_name": "2011uit1719/phonegap-start",
"id": "2335879b92dd9dc34a96ccd2604ab466b75103d5",
"... |
<html>
<body>
Reports classes, methods, or fields in the specified inspection scope that are not used or unreachable from entry points.
<p> An entry point can be the main method, tests, classes mentioned outside the specified scope, classes accessible from
<code>module-info.java</code>, and so on. You can also config... | {
"content_hash": "265d3982826004ee0aa8981bca5e46ab",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 193,
"avg_line_length": 60.513513513513516,
"alnum_prop": 0.7539079946404645,
"repo_name": "jwren/intellij-community",
"id": "ccd1c0d5d2c749f8511bec4f3fb969cbf37f0185",
"si... |
package uk.nhs.careconnect.ri.database.entity.messageDefinition;
import org.hl7.fhir.dstu3.model.Enumerations;
import org.hl7.fhir.dstu3.model.MessageDefinition;
import org.hl7.fhir.dstu3.model.codesystems.MessageheaderResponseRequest;
import uk.nhs.careconnect.ri.database.entity.BaseResource;
import uk.nhs.careconnec... | {
"content_hash": "c6d57149d0834de0656b7c4dd32bd637",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 131,
"avg_line_length": 24.397476340694006,
"alnum_prop": 0.7682958365658132,
"repo_name": "nhsconnect/careconnect-reference-implementation",
"id": "f91e97ada4080548a72274be... |
module CtChartjsRails
class ApplicationController < ActionController::Base
end
end
| {
"content_hash": "dea3edc8eba609afb624df0da213b269",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 54,
"avg_line_length": 21.75,
"alnum_prop": 0.8275862068965517,
"repo_name": "iwoogy/ct_chartjs_rails",
"id": "703f78b6b251d3d54cf805ed4137e0a842696520",
"size": "87",
"bi... |
/**
* class Autoprefixer
*
* Post processor that runs autoprefixer for css. You will need `autoprefixer`
* Node module installed:
*
* npm install autoprefixer
*
*
* ##### SUBCLASS OF
*
* [[Template]]
**/
'use strict';
// 3rd-party
var _ = require('lodash');
var autoprefixer; // initialized lat... | {
"content_hash": "432703613be9d31799041ab1ae90d93e",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 87,
"avg_line_length": 18.64864864864865,
"alnum_prop": 0.6072463768115942,
"repo_name": "fredturnerr/SRT",
"id": "0812bca8ce78c361e9dcbc55ddd27259237386b1",
"size": "1380"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Three.Net.Renderers.GL4;
namespace Three.Net.Materials
{
public class SpriteMaterial : MeshBasicMaterial
{
public uint Opacity;
public uint Rotation;
public Sprite... | {
"content_hash": "817f44078c228d3f082b27f5858b328b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 63,
"avg_line_length": 19.6,
"alnum_prop": 0.6913265306122449,
"repo_name": "prepare/three.net",
"id": "bd87adcca63ac38caf517bb4e617f6304489fef9",
"size": "394",
"binary"... |
namespace Bolt.Server.Test
{
public interface IMockContract
{
void Action();
}
} | {
"content_hash": "1c6a2498371a5188725f2c4634883384",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 34,
"avg_line_length": 14.285714285714286,
"alnum_prop": 0.61,
"repo_name": "justkao/Bolt",
"id": "5c503713f6f23382b6510036cad0621de8eb57e0",
"size": "100",
"binary": fals... |
package org.apache.stratos.metadata.client.beans;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@XmlRootElement(name = "properties")
public class PropertyBean {
private String key;
private List<String> values = new ArrayList<Stri... | {
"content_hash": "6ead5edf67a1d778f67c93e401147319",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 58,
"avg_line_length": 21.5625,
"alnum_prop": 0.633816425120773,
"repo_name": "lasinducharith/stratos",
"id": "7fae6a6193b3d9455650b5c1e64a13769e262f88",
"size": "1841",
... |
namespace content {
namespace {
class StringTraceDataEndpoint : public TracingController::TraceDataEndpoint {
public:
explicit StringTraceDataEndpoint(
TracingController::CompletionCallback callback)
: completion_callback_(std::move(callback)) {}
StringTraceDataEndpoint(const StringTraceDataEndpoint... | {
"content_hash": "64593e37c84c5cc54018b5df3007914e",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 80,
"avg_line_length": 34.189189189189186,
"alnum_prop": 0.6477696216826652,
"repo_name": "ric2b/Vivaldi-browser",
"id": "59642dbc14b61b828c62ceaa639b5b391d157df1",
"size"... |
namespace YAF.Utils
{
using System;
using System.Text;
using System.Web;
using YAF.Classes;
using YAF.Types;
using YAF.Types.Constants;
using YAF.Types.Extensions;
/// <summary>
/// Class provides helper functions related to the forum path and URLs as well as forum version informa... | {
"content_hash": "fa252eafaea054c4163187903f0a3b17",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 112,
"avg_line_length": 28.03174603174603,
"alnum_prop": 0.4694224235560589,
"repo_name": "unstab1e/sitecoreyaf8",
"id": "166c9b6474098ec1c6f50d5883d56cc27e53d641",
"size"... |
<?php
/**
* UserIdentity represents the data needed to identity a user.
* It contains the authentication method that checks if the provided
* data can identity the user.
*/
class UserIdentity extends CUserIdentity {
private $_id;
/**
* Authenticates a user.
* @return boolean wh... | {
"content_hash": "7a2a2a9901957c8eb3c89a2cfe71374c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 137,
"avg_line_length": 31.649122807017545,
"alnum_prop": 0.5837028824833703,
"repo_name": "poctsy/fircms-complex",
"id": "dc5f419f6f8eeb3ad0fe9f3c6bcef59ff64dc40f",
"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_79) on Sun Feb 21 05:50:16 CST 2016 -->
<title>Constant Field Values</title>
<meta name="date" content="2016-02-21">
<link rel="stylesh... | {
"content_hash": "35d14165cc40dc725c3f36a0778bf229",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 102,
"avg_line_length": 29.304347826086957,
"alnum_prop": 0.6264094955489614,
"repo_name": "adrianortiz/14-Mensajes-Pull",
"id": "d02e5ec74c35af28a4f6fa5f921f222a54e0d263",
... |
WebSocket Server to retrieve data and serve it to angular site
test on http://mc.ainaip.net/client.html
| {
"content_hash": "dc6667fd37cf9fc7596e37dba1c078d2",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 62,
"avg_line_length": 35,
"alnum_prop": 0.7904761904761904,
"repo_name": "tpaivaa/mcwebsocketserver",
"id": "d3d74f6ef1bf0bbd59b16b829952356bdec9a526",
"size": "125",
"bi... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Wed Jan 01 17:07:11 EST 2014 -->
<TITLE>
edu.wpi.first.wpilibj.buttons (2013 FRC Java API)
</TITLE>
<META NAME="date" CONTENT="2014-... | {
"content_hash": "f51b0f43cb3ed80d3fcb0234e44fc4f4",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 170,
"avg_line_length": 47.13812154696133,
"alnum_prop": 0.6133380215658697,
"repo_name": "VulcanRobotics/Vector",
"id": "b1247ff4a5f61380366f17b9b547373bb5ec7b01",
"size"... |
tabedit = {};
tabedit.CREATE_ACTION_NAME = "create";
tabedit.MODIFY_ACTION_NAME = "modify";
tabedit.CANCEL_ACTION_NAME = "cancel";
tabedit.ROWNUM_FOR_CREATION = "-1";
tabedit.busy = false;
/* Access to the next row to be edited */
tabedit.nextTable = null;
tabedit.nextRow = null;
tabedit.nextRowFocus... | {
"content_hash": "e415c6e01779aa9ecde08d5ec594fc5c",
"timestamp": "",
"source": "github",
"line_count": 888,
"max_line_length": 156,
"avg_line_length": 31.4740990990991,
"alnum_prop": 0.635944040931697,
"repo_name": "Micht69/shoplist",
"id": "0fecf4ae03fd54a58d306529775cb6d44f9d8b6b",
"size": "2794... |
// g2o - General Graph Optimization
// Copyright (C) 2012 R. Kümmerle
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright ... | {
"content_hash": "d62b044a22a495fe2edb49c0af704582",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 106,
"avg_line_length": 34.60444444444445,
"alnum_prop": 0.6727459542769073,
"repo_name": "jokereactive/ORB_Android",
"id": "a2f4cb78f42f3af13263171c4a21b936c62b7d7e",
"si... |
A twisted trunk clustered with bulbous blossoms holds up a gaping mouth ready to swallow a victim whole.
**MoonflowerCR 8**
**XP 4,800**
N Huge [plant](monsters/creatureTypes#_plant)
**Init** +4; **Senses** darkvision 60 ft., low-light vision; [Perception](additionalMonsters/../skills/perception#_perception) +9
De... | {
"content_hash": "ee8d2f054a8264758c3ad7da9673efc7",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 750,
"avg_line_length": 66.31818181818181,
"alnum_prop": 0.7585103952478867,
"repo_name": "brunokoga/pathfinder-markdown",
"id": "1dae5c5cbabd09552d032b369df74de6373ffa4a",
... |
namespace KFS
{
std::size_t HsiehHash(const char * data, std::size_t len);
struct Hsieh_hash_fcn {
std::size_t operator()(const char *data, std::size_t len) const;
std::size_t operator()(const std::string &data) const;
};
}
#endif // COMMON_HSIEH_HASH_H
| {
"content_hash": "577da4708e2dfe8569cfbea6e4775f5f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 72,
"avg_line_length": 28.3,
"alnum_prop": 0.6219081272084805,
"repo_name": "qnu/qfs",
"id": "031e78348b1423963b3fc8522df15237f198bf4b",
"size": "1310",
"binary": false,
... |
<!DOCTYPE html>
<script src='../../../resources/testharness.js'></script>
<script src='../../../resources/testharnessreport.js'></script>
<script src='../../../resources/gesture-util.js'></script>
<style>
#scrollme,
#notscrollme {
width: 100px;
height: 100px;
overflow: auto;
}
#scrollme p {
he... | {
"content_hash": "cfe621fd10af0ed4af4da2a6f1e3a4fc",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 80,
"avg_line_length": 30.011904761904763,
"alnum_prop": 0.6303054343514478,
"repo_name": "ric2b/Vivaldi-browser",
"id": "a521ab1f280ed0c3db88295b49652f8cc19e3021",
"size":... |
@class LDMItem;
@interface LDKFormCells : NSObject
+ (UITableViewCell *)tableView:(UITableView *)tableView cellForAdHoc:(NSString *)label;
+ (UITableViewCell *)tableView:(UITableView *)tableView cellForAddNew:(NSString *)label;
+ (UITableViewCell* )tableView:(UITableView *)tableView multiCloneRelationListCellForLabel... | {
"content_hash": "0651e5895bcbc11cd4d26d0698090f74",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 212,
"avg_line_length": 55.9,
"alnum_prop": 0.7996422182468694,
"repo_name": "LiquidAnalytics/ld-api-examples",
"id": "8cafe2ada6d4947a90416287feeb4c6699754f2b",
"size": "7... |
<!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_79) on Thu Nov 01 21:10:26 PDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.ct... | {
"content_hash": "4949dcef7bbb731a4b54e77b888fe7f0",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 128,
"avg_line_length": 36.888888888888886,
"alnum_prop": 0.6119091751621872,
"repo_name": "FasterXML/woodstox",
"id": "0de8312642927cbf297c920ae7422637a3dbc76a",
"size": ... |
import gulp from 'gulp';
import runSequence from 'run-sequence';
gulp.task('build', () => (
runSequence(
'clean',
'markup',
'styles-dependencies',
'styles',
'scripts',
'images',
'copy'
)
)); | {
"content_hash": "accb032bba949e96cc4a1f09de2c4a9b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 39,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.48091603053435117,
"repo_name": "dim2k2006/loftschool-js-friendsfilter",
"id": "3b6502d8f9d9fbe09b391bf91c8c0c0969a... |
package htesting
import (
"path/filepath"
"github.com/gohugoio/hugo/cache/filecache"
"github.com/gohugoio/hugo/config"
"github.com/gohugoio/hugo/helpers"
"github.com/gohugoio/hugo/hugofs"
"github.com/gohugoio/hugo/media"
"github.com/gohugoio/hugo/output"
"github.com/gohugoio/hugo/resources"
"github.com/spf13... | {
"content_hash": "4e750a7d90b9cd97517ec3ff19146e86",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 123,
"avg_line_length": 25.369230769230768,
"alnum_prop": 0.7180109157064888,
"repo_name": "gohugoio/hugo",
"id": "3c91fc0dd548c4a9eff38eb146bfdd3bc2d29646",
"size": "2258"... |
<?php
namespace Askedio\Tests\App;
class BadRelationB extends User
{
protected $softCascade = ['badrelation'];
}
| {
"content_hash": "75e51a0bbde080233c4dff7fd5d11ab0",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 45,
"avg_line_length": 14.875,
"alnum_prop": 0.7226890756302521,
"repo_name": "Askedio/laravel5-soft-cascade",
"id": "229a8442789811750d61a4cdc638a0850a3b47e9",
"size": "119... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.