text stringlengths 2 1.04M | meta dict |
|---|---|
layout: post
authors: ["Greg Wilson"]
title: "What About MOOCs?"
date: 2014-12-02
time: "09:00:00"
tags: ["Teaching"]
---
<p>
We frequently get asked whether Software Carpentry would work as a
<a href="https://en.wikipedia.org/wiki/Massive_open_online_course">MOOC</a>.
The answer is that I think it can work well
... | {
"content_hash": "d6cf0debcdd9c5fc05181aee34a35257",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 113,
"avg_line_length": 41.575,
"alnum_prop": 0.7402285027059531,
"repo_name": "swcarpentry/website",
"id": "0a8f9253611ba155b66cde301688b2685b9501b7",
"size": "1667",
"b... |
#pragma once
#include <string>
#include <iostream>
#include <vector>
#include <map>
#include <memory>
#include <functional>
#include <stdlib.h>
#include <parse.hpp>
#include <token.hpp>
#include <tree.hpp>
#include <util.hpp>
#define LEXICAL_ERROR(message) { \
std::cerr << "LEXICAL ERROR(" << std::to_string(m_cur... | {
"content_hash": "b66d52e9908f82f612e7bf913b2cdbb6",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 125,
"avg_line_length": 29.87272727272727,
"alnum_prop": 0.6618989653073646,
"repo_name": "IsaacWoods/Gecko",
"id": "6eaf4899af93ff5030bdd556972042283339224d",
"size": "33... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>ip::basic_resolver_iterator::operator *</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" ... | {
"content_hash": "2d0f0af227e95d36cae31f18d542b5d9",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 402,
"avg_line_length": 68.61363636363636,
"alnum_prop": 0.6475654190129182,
"repo_name": "throughnet/throughnet",
"id": "c8213cf89cb83d4aacb32604fe12e00aac3eae85",
"size":... |
/* global $, $iq, Strophe */
import { getLogger } from 'jitsi-meet-logger';
const logger = getLogger(__filename);
import ConnectionPlugin from './ConnectionPlugin';
const RAYO_XMLNS = 'urn:xmpp:rayo:1';
/**
*
*/
class RayoConnectionPlugin extends ConnectionPlugin {
/**
*
* @param connection
*/
... | {
"content_hash": "089021e8d48ff7144d7e0b5546dd624c",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 80,
"avg_line_length": 24.189393939393938,
"alnum_prop": 0.43470090823676794,
"repo_name": "adambowles/lib-jitsi-meet",
"id": "8d241ee621af389e72c669e9654371063efad224",
"... |
/**
* tequila
* presentation-model
*/
// Model Constructor
var Presentation = function (args) {
if (false === (this instanceof Presentation)) throw new Error('new operator required');
args = args || {};
if (!args.attributes) {
args.attributes = [];
}
args.attributes.push(new Attribute({name: 'name', ty... | {
"content_hash": "fae1c4b5ae8e38a298001d4e18b6b1c0",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 120,
"avg_line_length": 33.566265060240966,
"alnum_prop": 0.6590093323761665,
"repo_name": "seanTsmith/tequila",
"id": "736a7d4d13d931cf66f5c10a7bec81079586b25c",
"size": "... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* QuickForm renderer for Flexy template engine, static version.
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.01 of the PHP license
* that is available through the world-wide-web at the following URI:
* ht... | {
"content_hash": "ad39cd799f7ed470c0e39b38db89b82e",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 108,
"avg_line_length": 30.130584192439862,
"alnum_prop": 0.5450501824817519,
"repo_name": "ivanlanin/kateglo",
"id": "3d0668a86cf378458fed6272927f71a3646e8b27",
"size": "... |
"""
Unit tests for the da.cli module.
---
type:
python_module
validation_level:
v00_minimum
protection:
k00_public
copyright:
"Copyright 2016 High Integrity Artificial Intelligence Systems"
license:
"Licensed under the Apache License, Version 2.0 (the License);
you may not use this file exc... | {
"content_hash": "0238f2c6cb62334d14948bd43b1ef631",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 79,
"avg_line_length": 22.78174603174603,
"alnum_prop": 0.47709458282529177,
"repo_name": "wtpayne/hiai",
"id": "74d415356671793d8b0771fb9156fd5ebe35c3ae",
"size": "5765",... |
#! /bin/sh
# Generate index and map
for fullFile in /thomas1/mcbs913/anthony/panda_trials/protnew/*/*/*.fna
do
fileName=$(basename "$fullFile")
fullFileBase="${fullFile%%.*}"
/thomas1/mcbs913/anthony/mcbs913/bwa-fork/pandanew index $fullFileBase.fna $fullFileBase.gff
done
| {
"content_hash": "ca8b93b003ad54ce8e5e37d64b1635f5",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 95,
"avg_line_length": 28.4,
"alnum_prop": 0.7288732394366197,
"repo_name": "macmanes-lab/MCBS913",
"id": "b4296b4f56eba8e6d12e382e840bbe318dfdbfaf",
"size": "284",
"bina... |
"use strict";
var express = require('express');
var bodyParser = require('body-parser');
var morgan = require('morgan');
var fs = require('fs');
var options = {
extensions: ['htm', 'html'],
maxAge: '1d',
setHeaders: function (res, path, stat) {
res.set('x-timestamp', Date.now())
}
};
exports.initApp = function... | {
"content_hash": "b6d12bd3feed9897c94377534c4b5f5c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 64,
"avg_line_length": 20.649122807017545,
"alnum_prop": 0.6474086661002549,
"repo_name": "AcademiaBinaria/NodeJS",
"id": "98d4da5073c2e92173dddb5221235ab8caec999a",
"size"... |
<!-- 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.0 (the "License"); you may not u... | {
"content_hash": "1aeb9f9b6f0f65fda9221c0812bbf4fc",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 104,
"avg_line_length": 39.46666666666667,
"alnum_prop": 0.676097972972973,
"repo_name": "resmo/cloudstack",
"id": "b917a13277e70deda5c880b6e2b6d9de834ea669",
"size": "2368... |
<!doctype html>
<html>
<head>
<title>Polar Area Chart Generator</title>
<!-- JQuery -->
<script src='lib/js/jquery-1.11.0.js'></script>
<!-- Bootstrap library -->
<link href='lib/css/bootstrap.css' rel='stylesheet'>
<script src='lib/js/bootstrap.js'></script>
<!-- Color picker -->
<link href='lib/css/f... | {
"content_hash": "6a43ad3b647e87f50a9d7e2d78022b4c",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 183,
"avg_line_length": 40.82170542635659,
"alnum_prop": 0.5704519559437904,
"repo_name": "gsprenger/polar-iaste",
"id": "7ab34c233de90aae6dda4244db9b90bc2e30c02a",
"size"... |
<!DOCTYPE HTML>
<html>
<head>
<title>Easier web scraping in R</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Hugo 0.16" />
... | {
"content_hash": "0f751b427aca6d8cab4480507c7657c9",
"timestamp": "",
"source": "github",
"line_count": 1291,
"max_line_length": 654,
"avg_line_length": 36.90549961270333,
"alnum_prop": 0.4175464371917305,
"repo_name": "RobertMyles/RobertMyles.github.io",
"id": "4da94ef3f54d870f7cebf4cad537e821f1225e... |
using namespace vespalib;
class Test : public TestApp
{
public:
void testGrowing();
int Main() override;
};
void
Test::testGrowing()
{
GrowableByteBuffer buf(10);
buf.putInt(3);
buf.putInt(7);
buf.putLong(1234);
buf.putDouble(1234);
buf.putString("hei der");
EXPECT_EQUAL(35u, buf... | {
"content_hash": "bc32623f82a84d595e1c67bbe7857200",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 38,
"avg_line_length": 13.84375,
"alnum_prop": 0.6252821670428894,
"repo_name": "vespa-engine/vespa",
"id": "0a616745023d4019c9bd4406ac731fbf0a3b1c13",
"size": "646",
"bi... |
using namespace std;
enum AttributeName
{
ATTRNAME_Null,
ATTRNAME_SynVal,
ATTRNAME_InhVal,
ATTRNAME_LexVal
};
typedef int AttributeType;
struct Attribute
{
AttributeName Name;
AttributeType Value;
bool Evaluated;
Attribute(AttributeName p_name) : Name(p_name), Value(Att... | {
"content_hash": "477aac7ae01faf4a3871cf848e9c3f28",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 124,
"avg_line_length": 20.53846153846154,
"alnum_prop": 0.5870786516853933,
"repo_name": "ogail/thesis",
"id": "600dc00d58502ab0f1c4320cff7d96c4517321fb",
"size": "1161",
... |
Genomics Life
-------------
https://genomicslife.github.io
Contributors:
Nitesh Turaga
Mike Berger
| {
"content_hash": "f336ae4c7f0028ae41410e6d9acf77af",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 30,
"avg_line_length": 10.3,
"alnum_prop": 0.6893203883495146,
"repo_name": "genomicslife/genomicslife.github.io",
"id": "ce8a4f7dc6f6d542a5ef442ce2ff17e2c8c1bb8f",
"size":... |
<header>
<div class="header-content">
<div class="header-content-inner">
<h1>Great! Thanks for signing up to learn more!</h1>
<h2>You will be redirected Home in {{timerValue}} seconds!</h2>
<h3>Or you can just get there quicker by clicking <a href="#" ng-click="goHome()... | {
"content_hash": "f92c4ff453f33dea02544dc8ab1cc1a7",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 127,
"avg_line_length": 35.63636363636363,
"alnum_prop": 0.5816326530612245,
"repo_name": "jonnynabors/CarePRN",
"id": "3fe3712e64b4456c1e614837b4a859a08c8cee5e",
"size": "... |
"""
Classes for making VMware VI SOAP calls.
"""
import httplib
from oslo.config import cfg
import suds
from nova.openstack.common.gettextutils import _
from nova import utils
from nova.virt.vmwareapi import error_util
RESP_NOT_XML_ERROR = 'Response is "text/html", not "text/xml"'
CONN_ABORT_ERROR = 'Software cause... | {
"content_hash": "6ad91b22c7271683b608eaa05f733d8a",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 76,
"avg_line_length": 38.92342342342342,
"alnum_prop": 0.5747020020830922,
"repo_name": "sacharya/nova",
"id": "b860586e912f5f4749c43430b3bf00d1d6c1583b",
"size": "9375",... |
/**
* Creates six tasks that operate on three queues as follows:
*
* The first two tasks send and receive an incrementing number to/from a queue.
* One task acts as a producer and the other as the consumer. The consumer is a
* higher priority than the producer and is set to block on queue reads. The queue
... | {
"content_hash": "fc58edb59aa48872c25658c9949836e9",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 122,
"avg_line_length": 40.159010600706715,
"alnum_prop": 0.7239771227452706,
"repo_name": "kasperdokter/Reo-compiler",
"id": "d008659fcc1b961beb0bfebd3a3bd2a621a15d13",
"... |
package com.redhat.ceylon.compiler.typechecker.model;
import java.util.ArrayList;
import java.util.List;
public abstract class MethodOrValue extends TypedDeclaration {
private boolean captured;
private boolean shortcutRefinement;
private Parameter initializerParameter;
private List<Declaration> m... | {
"content_hash": "411c1a1febeed75f0c320ca507afa806",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 72,
"avg_line_length": 23.671641791044777,
"alnum_prop": 0.667717528373266,
"repo_name": "lucaswerkmeister/ceylon-spec",
"id": "725617fc6ff0982106edde05136d109858177d1f",
"... |
FROM debian:jessie
MAINTAINER snowdream <yanghui1986527@gmail.com>
# Install
RUN apt-get update -y && \
apt-get install -y --no-install-recommends expect && \
printf "\
set timeout -1\n\
spawn apt-get install -y --no-install-recommends keyboard-configuration\n\
expect {\n\
\"Keyboard l... | {
"content_hash": "f7538bbfc72d5a709469f44d173e14ec",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 100,
"avg_line_length": 34.28260869565217,
"alnum_prop": 0.6087507926442612,
"repo_name": "snowdream/dockerfiles",
"id": "48709a7771640a7b16212bd539d0a0c8efd0f3c9",
"size":... |
const int32_t __EH_FRAME_LIST_END__[]
__attribute__((section(".eh_frame"), aligned(sizeof(int32_t)),
visibility("hidden"), used)) = {0};
#ifndef CRT_HAS_INITFINI_ARRAY
typedef void (*fp)(void);
fp __CTOR_LIST_END__[]
__attribute__((section(".ctors"), visibility("hidden"), used)) = {0};
fp __... | {
"content_hash": "df762c343ae9117d1668a80a603fcad9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 38.09090909090909,
"alnum_prop": 0.5847255369928401,
"repo_name": "endlessm/chromium-browser",
"id": "ebcc60b89a102543749274bf192276be88f966cd",
"siz... |
package protopath
import (
"strings"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
)
// ToJSONPath converts the `path` corresponding to the `proto` in to the JSON
// path, providing a cleaner way to return paths to users for debugging. Therefore,
// errors are ignored and co... | {
"content_hash": "2dd48c6568f0b6d42c20c56bfe6d4ce2",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 83,
"avg_line_length": 26.19672131147541,
"alnum_prop": 0.6652065081351689,
"repo_name": "google/fhir",
"id": "9280a953e3f41d1a7bcc542038b2b057da53dfe6",
"size": "2187",
... |
var express = require('express');
var uuid = require('uuid');
var basicAuth = require('basic-auth');
var Analytics = require('analytics-node');
var nuts = require('../');
var app = express();
var apiAuth = {
username: process.env.API_USERNAME,
password: process.env.API_PASSWORD
};
var analytics = undefined;... | {
"content_hash": "c4f301e6706402ee8a17b4999d06bc9a",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 166,
"avg_line_length": 27.518796992481203,
"alnum_prop": 0.6073770491803279,
"repo_name": "GitbookIO/nuts",
"id": "9e7c0aab7a9a3276fc33dea1b160db9a0105274e",
"size": "366... |
<?php
namespace Phalcon\DI {
/**
* Phalcon\DI\Injectable
*
* This class allows to access services in the services container by just only accessing a public property
* with the same name of a registered service
*/
abstract class Injectable implements \Phalcon\DI\InjectionAwareInterface, \Phalcon\Events\... | {
"content_hash": "3b9912d8ecd58224ef0b87873687de21",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 132,
"avg_line_length": 21.49047619047619,
"alnum_prop": 0.5617106137824064,
"repo_name": "101010111100/phalconpi",
"id": "5afaebff343a7c4159b4999f18514c64251c1a40",
"size... |
package org.spongepowered.common.data.processor.data.entity;
import org.spongepowered.api.data.DataTransactionResult;
import org.spongepowered.api.data.key.Keys;
import org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData;
import org.spongepowered.api.data.manipulator.mutable.block.Directio... | {
"content_hash": "42e510188e1db3d870dfcd13ff12a3c4",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 176,
"avg_line_length": 38.14035087719298,
"alnum_prop": 0.7893284268629255,
"repo_name": "JBYoshi/SpongeCommon",
"id": "6791b5cb9be0b0a452298c935b31cc79b655d4fe",
"size": ... |
using System;
using System.Windows.Forms;
namespace DwriteCairoDemo_DoubleBuffered
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | {
"content_hash": "84360151109573fa2d0ae0c4c66c06d4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 65,
"avg_line_length": 23.473684210526315,
"alnum_prop": 0.5852017937219731,
"repo_name": "zwcloud/ZWCloud.DwriteCairo",
"id": "a1c20717ef8c69b84f8f7c61b29be95fdc02091e",
"... |
/* 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": "07efa559345fe790f150140a63460a1b",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 31.72093023255814,
"alnum_prop": 0.7375366568914956,
"repo_name": "robsoncardosoti/flowable-engine",
"id": "53eec3b8aac0f3fc1d5cdf6b43da5775498b9d81",
... |
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-55159746-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript'; ga.async = true;
ga.src = 'https://ssl.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.pa... | {
"content_hash": "f8f4968c5b04bc92abc451add4e453fd",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 32.27272727272727,
"alnum_prop": 0.6422535211267606,
"repo_name": "sagargarg/counter",
"id": "71f06376a915f8439b2abe5aff3bd89785ca764e",
"size": "355... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/socket/transport_client_socket_pool.h"
#include <algorithm>
#include <utility>
#include "base/bind.h"
#include "base/check_op.h"
#incl... | {
"content_hash": "06b47d319896ea2f99640c2a5b8aa16a",
"timestamp": "",
"source": "github",
"line_count": 2030,
"max_line_length": 80,
"avg_line_length": 36.135960591133006,
"alnum_prop": 0.6695157860297726,
"repo_name": "endlessm/chromium-browser",
"id": "3d5aff5436823d8865af806f1f214f5c216eed79",
"... |
package com.asha.md360player4android;
import android.app.Activity;
import android.util.SparseArray;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
/**
* Created by hzqiujiadi on 16/6/24.
* hzqiujiadi ashqalcn@gmail.com
*/
public class... | {
"content_hash": "c94747ebc3100de0a3f0477311b53d1a",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 98,
"avg_line_length": 29.08641975308642,
"alnum_prop": 0.6269100169779287,
"repo_name": "tony-pan/Parse-MD4A",
"id": "4637d2969d6ac9243f6b037102ef05ffc7abfd40",
"size": "2... |
package org.apache.flink.runtime.state;
import org.apache.flink.api.common.ExecutionConfig;
import org.apache.flink.api.common.state.ListState;
import org.apache.flink.api.common.state.ListStateDescriptor;
import org.apache.flink.api.common.state.ValueState;
import org.apache.flink.api.common.state.ValueStateDescrip... | {
"content_hash": "596ad55cc05be8983cb7d1f4b914b4f3",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 121,
"avg_line_length": 34.74869109947644,
"alnum_prop": 0.7944854602983276,
"repo_name": "mylog00/flink",
"id": "d5310412385a3cd7f6c20a53a1e3a41db468b512",
"size": "7442"... |
package org.xsaas.xstat.business;
import java.util.List;
import org.xsaas.xstat.po.ArticleInfo;
public interface IArticleInfoService {
/**
* ±£´æÎÄÕÂÐÅÏ¢
* @param data ÎÄÕÂÐÅÏ¢
*/
public void saveArticleInfo(ArticleInfo data);
/**
* ¸üÐÂÎÄÕÂÐÅÏ¢
* @param data ÎÄÕÂÐÅÏ¢
*/
public void updateArticleInf... | {
"content_hash": "69208d2dd649642b8a287f2ce96809da",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 105,
"avg_line_length": 21.5,
"alnum_prop": 0.6911337209302325,
"repo_name": "wangxin39/xstat",
"id": "136c90be6fb7b42b7cfa0357598155cb5881471b",
"size": "1376",
"binary"... |
Template Tags
#############
*****************
CMS template tags
*****************
.. highlightlang:: html+django
To use any of the following template tags you first need to load them at the
top of your template::
{% load cms_tags %}
.. template tag:: placeholder
placeholder
===========
.. versionchanged:: 2.1... | {
"content_hash": "ffed80ca77b1baad0509b74069b1c4ba",
"timestamp": "",
"source": "github",
"line_count": 799,
"max_line_length": 191,
"avg_line_length": 35.545682102628284,
"alnum_prop": 0.6982148515897327,
"repo_name": "iddqd1/django-cms",
"id": "7a83caabff8525ded5bc33cc605a7ff4914eceea",
"size": "... |
var path = require('path-extra')
var express = require('express')
var mkpath = require('mkpath')
var Colu = require(__dirname + '/../colu.js')
var bodyParser = require('body-parser')
var jf = require('jsonfile')
var hash = require('crypto-hashing')
var morgan = require('morgan')('dev')
var serverSettings = path.join(p... | {
"content_hash": "5f46725d91891902527df3753fc5bb32",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 114,
"avg_line_length": 29.99367088607595,
"alnum_prop": 0.654357459379616,
"repo_name": "citizencode/colu-nodejs",
"id": "8a174eb3923051563d38ffb607c032da843354b1",
"size... |
/* More information about these options at jshint.com/docs/options */
/* globals TestCase, assertEquals, xhrs:true, MockWebSocket, FAKE_WSS_POST_URL,
Constants, webSockets:true, FAKE_WSS_URL, WebSocket:true, MockXMLHttpRequest,
XMLHttpRequest:true, FAKE_SEND_EXCEPTION */
'use strict';
var FAKE_MESSAGE = JSON.... | {
"content_hash": "960384915582f8edd81c013731a6ab74",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 80,
"avg_line_length": 26.41322314049587,
"alnum_prop": 0.7076032540675845,
"repo_name": "jiayliu/apprtc",
"id": "737443200e6ba0d4f30fa4b948e1eef829ad91a2",
"size": "6614"... |
var searchData=
[
['vignetteandchromaticaberration',['VignetteAndChromaticAberration',['../class_unity_standard_assets_1_1_image_effects_1_1_vignette_and_chromatic_aberration.html',1,'UnityStandardAssets::ImageEffects']]],
['vortex',['Vortex',['../class_unity_standard_assets_1_1_image_effects_1_1_vortex.html',1,'Un... | {
"content_hash": "4a2673927dd2b151133eb6ff9d0ce952",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 206,
"avg_line_length": 71.8,
"alnum_prop": 0.7604456824512534,
"repo_name": "kesumu/dokidoki",
"id": "78489a96a3bd9b7727d18017f4371ac69a969a5c",
"size": "359",
"binary": ... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('acelibraryapp', '0008_auto_20161120_2040'),
]
operations = [
migrations.AlterField(
model_name='resources',
name='URL',
... | {
"content_hash": "dc56dcd9cde89ba55ff28198e46b5133",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 53,
"avg_line_length": 21.38888888888889,
"alnum_prop": 0.5974025974025974,
"repo_name": "ashishpahwa7/Library-Portal",
"id": "cfc66d055cf0e10bbca8b146433da2ca26fd69c4",
"s... |
function (elementProxy, win) {
'use strict';
var w = win || window; // window injected for testing
var ElementProxy = elementProxy.ElementProxy;
var proxyCache = {};
function releaseOrphanProxies () {
for(var proxy in proxyCache) {
if(!proxyCache[proxy].el.checkNodeIsInD... | {
"content_hash": "241ea7c4832298fdc9de67b061776958",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 123,
"avg_line_length": 23.632653061224488,
"alnum_prop": 0.4853195164075993,
"repo_name": "lcnbala/aura",
"id": "cfc1139f67300ec1fa48e51d5686e494f248a5b0",
"size": "2927",... |
from __future__ import absolute_import
from distutils.version import LooseVersion # pylint: disable=import-error,no-name-in-module
from copy import deepcopy
import logging
import random
import string
# Import Salt Testing libs
from salttesting.unit import skipIf, TestCase
from salttesting.mock import (
MagicMock,... | {
"content_hash": "75f50bf0211fa755afd4a1ae6ff4d19c",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 199,
"avg_line_length": 34.52987012987013,
"alnum_prop": 0.5130886114036407,
"repo_name": "stephane-martin/salt-debian-packaging",
"id": "4049e9ae20c79dc954af4e0b1b9eee5a02c... |
"""
Runs the SPARQL 1.1 test suite from.
"""
from test.data import TEST_DATA_DIR
from test.utils import ensure_suffix
from test.utils.dawg_manifest import MarksDictType, params_from_sources
from test.utils.iri import URIMapper
from test.utils.sparql_checker import (
SKIP_TYPES,
SPARQLEntry,
check_entry,
... | {
"content_hash": "3bce9e6b5bd530fbd8aa7a809d8709d4",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 87,
"avg_line_length": 39.3041825095057,
"alnum_prop": 0.6775660249588855,
"repo_name": "RDFLib/rdflib",
"id": "6bfcb31f1ba6a4c9eb4b8734d3dbe2588d846760",
"size": "10337",... |
package org.gradle.api.internal.artifacts.ivyservice.resolveengine.result;
import org.gradle.api.artifacts.component.ComponentSelector;
import org.gradle.api.artifacts.result.ResolutionResult;
import org.gradle.api.artifacts.result.ResolvedComponentResult;
import org.gradle.api.internal.artifacts.ImmutableModuleIden... | {
"content_hash": "33b49d084ecc7f7a9d84fb1c8dde1eab",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 317,
"avg_line_length": 49.345794392523366,
"alnum_prop": 0.6321022727272727,
"repo_name": "gstevey/gradle",
"id": "48a48f5618a6e166dda3d11218e465fffca74bb0",
"size": "111... |
namespace Google.Cloud.Video.Stitcher.V1.Snippets
{
// [START videostitcher_v1_generated_VideoStitcherService_CreateVodSession_async_flattened_resourceNames]
using Google.Api.Gax.ResourceNames;
using Google.Cloud.Video.Stitcher.V1;
using System.Threading.Tasks;
public sealed partial class Generated... | {
"content_hash": "7d5f1cd521affb2b90fa1fc13e5d9613",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 115,
"avg_line_length": 48.592592592592595,
"alnum_prop": 0.7088414634146342,
"repo_name": "jskeet/gcloud-dotnet",
"id": "b487042fb808a081534b16272e8463c2c2e18eb6",
"size":... |
namespace NBug.Core.UI.WinForms
{
using NBug.Core.UI.WinForms.Panels;
partial class Full
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | {
"content_hash": "58e6771cb2e09c539e02ee0ad7e7ddaa",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 127,
"avg_line_length": 44.44137931034483,
"alnum_prop": 0.7300331057314298,
"repo_name": "JuliusSweetland/NBug",
"id": "ea8048ed34d3f33ea08a23d87d930d9b89329737",
"size":... |
package com.valarhao.valarnews.module.zhihu.common;
import android.content.Context;
import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widg... | {
"content_hash": "1975e22d9145196c42dcddcab4ff771f",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 93,
"avg_line_length": 33.17142857142857,
"alnum_prop": 0.6770025839793282,
"repo_name": "ValarHao/ValarNews",
"id": "eea51647598824dc2dc686ddc62fdbbe1a84b60d",
"size": "3... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith-stern-brocot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | {
"content_hash": "b03f46e1c2bdc92c0343d82d1787e7b2",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 41.93785310734463,
"alnum_prop": 0.5621716287215411,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "b9a37aa9cad9e17ed72eba6942b51a55cf918579",
... |
/**
@file precompiled.h
@brief The precompiled source for sdl.
@author HRYKY
@version $Id: precompiled.h 373 2014-07-27 04:20:16Z hryky.private@gmail.com $
*/
#ifndef PRECOMPILED_H_20140224111343134PRECOMPILED_H_
#define PRECOMPILED_H_20140224111343134PRECOMPILED_H_
#include "hryky/config.h"
#include... | {
"content_hash": "fd40a1056f80647b83f112ac05ea2f01",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 81,
"avg_line_length": 38.276595744680854,
"alnum_prop": 0.3390772651473041,
"repo_name": "hiroyuki-seki/hryky-codebase",
"id": "4ffd2fb1843bebc342593fc1f8d4c782c82b4ef3",
... |
from django.conf import settings
STAR_RATINGS_RANGE = getattr(settings, "STAR_RATINGS_RANGE", 5)
| {
"content_hash": "15d9aaf2aa8277944490e0b7c850fa60",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 63,
"avg_line_length": 24.75,
"alnum_prop": 0.7676767676767676,
"repo_name": "citizenline/citizenline",
"id": "1df914d19f4e44417be872b6fbe3012660d769fb",
"size": "99",
"bi... |
require "spec_helper"
describe "Rails::Mongoid" do
before(:all) do
require "rails/mongoid"
end
describe ".create_indexes" do
let(:pattern) do
"spec/app/models/**/*.rb"
end
let(:logger) do
stub
end
let(:klass) do
User
end
let(:model_paths) do
[ "spec/a... | {
"content_hash": "d60dddb7cc5bd72cded5bfa3946f7268",
"timestamp": "",
"source": "github",
"line_count": 450,
"max_line_length": 82,
"avg_line_length": 19.953333333333333,
"alnum_prop": 0.5595277870586925,
"repo_name": "peterwillcn/mongoid",
"id": "525e3c8c9a17da88808fedbcab65ab0c05680265",
"size": ... |
using System;
namespace Furball.Common.Attributes
{
public class DefaultControllerAttribute : Attribute
{
}
}
| {
"content_hash": "cb7db96312d05c15ebce50c76611337b",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 55,
"avg_line_length": 15.5,
"alnum_prop": 0.717741935483871,
"repo_name": "michaeldotknox/Furball",
"id": "9cecd4a20ece038f5df48ba78125581eab3abe08",
"size": "126",
"bina... |
{% extends "base_nav_fluid_sidebar.html" %}
{% load pagination %}
{% block content %}
{% if perms.workshops.add_organization %}
<p><a href="{% url 'organization_add' %}" class="btn btn-success">New organization</a></p>
{% else %}
<p><a href="{% url 'organization_add' %}" class="btn btn-success disable... | {
"content_hash": "a143b0d24013aebf8cb15dd7f4b8fb2f",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 173,
"avg_line_length": 41.9811320754717,
"alnum_prop": 0.5325842696629214,
"repo_name": "vahtras/amy",
"id": "531ced6c63350cacf7e108b8c23fbf62099fee06",
"size": "2227",
... |
import mock
from neutron.openstack.common import jsonutils
from neutron.plugins.vmware.api_client import exception
from neutron.plugins.vmware.common import utils as nsx_utils
from neutron.plugins.vmware import nsxlib
from neutron.plugins.vmware.nsxlib import l2gateway as l2gwlib
from neutron.plugins.vmware.nsxlib imp... | {
"content_hash": "6df6bd207ee9af4f648c27ae20acc68d",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 78,
"avg_line_length": 45.20996441281139,
"alnum_prop": 0.5576983627204031,
"repo_name": "samsu/neutron",
"id": "006ad38648dd021b3f056ff324388fafd473c748",
"size": "13288"... |
<!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_121) on Tue Sep 25 16:18:25 EDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.or... | {
"content_hash": "b5d5a21466f9061eaa7cec02a126a521",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 419,
"avg_line_length": 45.34285714285714,
"alnum_prop": 0.658349086326402,
"repo_name": "majetideepak/orc",
"id": "477eca56a68219c5eca6ee8e8441c82e1725f767",
"size": "793... |
import datetime
import itertools
import unittest
from copy import copy
from django.db import (
DatabaseError, IntegrityError, OperationalError, connection,
)
from django.db.models import Model
from django.db.models.fields import (
BigIntegerField, BinaryField, BooleanField, CharField, DateTimeField,
Intege... | {
"content_hash": "4f9fc5bb0ea1712c25b0c7fee8491ce6",
"timestamp": "",
"source": "github",
"line_count": 1508,
"max_line_length": 125,
"avg_line_length": 43.28978779840849,
"alnum_prop": 0.6144513717620748,
"repo_name": "shtouff/django",
"id": "5128c9ec1e1960d945d9d78b7af11d233c628ab7",
"size": "652... |
package ac.at.tuwien.mt.gui.primefaces.exception;
/**
* @author Florin Bogdan Balint
*
*/
@SuppressWarnings("serial")
public class CommunicationException extends Exception {
public CommunicationException(String message) {
super(message);
}
}
| {
"content_hash": "31d780bff6f144a28994aab387ce1b96",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 55,
"avg_line_length": 16.866666666666667,
"alnum_prop": 0.7470355731225297,
"repo_name": "e0725439/idac",
"id": "260d6aab15f21beb4d9b0b7897c7716919c563df",
"size": "581",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using EnvCrypt.Core.EncrypedData.Poco;
using EnvCrypt.Core.EncryptionAlgo;
using EnvCrypt.Core.Key.Aes;
using EnvCrypt.Core.Key.PlainText;
using EnvCrypt.Core.Key.Rsa;
using EnvCrypt.Core.Verb.DecryptEntry;
using EnvCrypt.Core.Verb.DecryptEntry.Aes;
us... | {
"content_hash": "b9200e2173f826d541e44e7a72d20264",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 190,
"avg_line_length": 43.576,
"alnum_prop": 0.6089590600330457,
"repo_name": "lammichael/EnvCrypt.Core",
"id": "ada1592af976bd81739c7efe177515cafc0cceb7",
"size": "10896... |
import { CompilerCallback, ImplementationCompilerOptions } from '../index.d';
/**
* compile/convert implementation (controller, helper, model) as module
*
* @param {string} content the implementation code as string
* @param {string} implFile the path of the implementation file (for debugging/error informatio... | {
"content_hash": "01d344aaa6c15c2cc6888499f9343882",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 157,
"avg_line_length": 56.3125,
"alnum_prop": 0.732519422863485,
"repo_name": "mmig/mmir-tooling",
"id": "ee0aaeeb7c15be813d06d065b5104d0944d94606",
"size": "901",
"bina... |
import mongoose , { Schema } from 'mongoose';
import { USER } from '../constants/index';
const UserSchema = new Schema({
id:String,
name:String,
email:String,
password:String,
registerTime:{
type:Date,
default:Date.now
},
role:{
type:String,
default:USER.ROLE.... | {
"content_hash": "516ba4d58065d015d8fa493a12d9fef4",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 76,
"avg_line_length": 21.804878048780488,
"alnum_prop": 0.616331096196868,
"repo_name": "BSFullStack/isomorphic-redux-app",
"id": "90f760ed3bf9ff0f4820db0d037bfb3ae710938c",... |
package com.kaaprotech.satu.parser;
public enum FieldTypeCategory {
DeclaredType,
Primitive,
ImportedType,
Map,
Set
}
| {
"content_hash": "903cb7e88e10ad5c79b6f11b32e4b28b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 35,
"avg_line_length": 12.818181818181818,
"alnum_prop": 0.6808510638297872,
"repo_name": "kaaprotech/satu",
"id": "01ba6e1af5b6f3c35322f215a75f06c7a8ae36ab",
"size": "739"... |
#ifdef _SAME54_AC_COMPONENT_
#ifndef _HRI_AC_E54_H_INCLUDED_
#define _HRI_AC_E54_H_INCLUDED_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <hal_atomic.h>
#if defined(ENABLE_AC_CRITICAL_SECTIONS)
#define AC_CRITICAL_SECTION_ENTER() CRITICAL_SECTION_ENTER()
#define AC_CRITICAL_SECTION_LEAVE() ... | {
"content_hash": "cba26fbe3fc2a1be39042de71e9ad61f",
"timestamp": "",
"source": "github",
"line_count": 1805,
"max_line_length": 118,
"avg_line_length": 29.388919667590027,
"alnum_prop": 0.6862028012894226,
"repo_name": "nongxiaoming/rt-thread",
"id": "588499e4561f4a0a9445522d421bee988c163db2",
"si... |
class DepthConverter
{
public:
DepthConverter(const float a, const float b) : _a(a), _b(b)
{}
void operator() (float& v)
{
// opengl uses fixed-point representation inside, range [0 1]
v = _b / (_a - 2.0*v + 1.0);
// v = _b / (_a - v); // if the range is [-1 1]
}
private:
... | {
"content_hash": "7a64a95e98723c7c21bcc72e53eadb2c",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 114,
"avg_line_length": 25.761290322580646,
"alnum_prop": 0.6055597295266717,
"repo_name": "cvfish/PangaeaTracking",
"id": "4cc914a62d033cbfcb56cf74f100dbdaf5f540df",
"siz... |
class CLocalCppChannel
{
public:
static CLocalCppServer& GetLocalServer();
static CLocalCppLibrary& GetLibrary();
static CLocalChannelsPool& GetLocalChannelsPool();
}; | {
"content_hash": "53949a9c17b5c2742b3b1eb7fe00c664",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 24.285714285714285,
"alnum_prop": 0.8117647058823529,
"repo_name": "SoftFx/FDK",
"id": "1e32bd57a5bab6f573f408a707c506aab9114ed7",
"size": "273",
"b... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3210d17505200f3496cce0461a5ae359",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "7f641c6e22ccc99b3e3fa74d3b1c3242e29878eb",
"size": "185... |
module ActiveRecord
module ConnectionAdapters
module SQLServer
module Type
class Float < ActiveRecord::Type::Float
def type
:float
end
end
end
end
end
end
| {
"content_hash": "e172a255b91a786e0260a7dcb438c8e4",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 47,
"avg_line_length": 15.266666666666667,
"alnum_prop": 0.5589519650655022,
"repo_name": "pavels/activerecord-sqlserver-adapter",
"id": "f99353f65bd82d2d6b103e0bc00d93d8a6f5... |
package com.sun.jini.test.impl.locatordiscovery;
import com.sun.jini.config.Config;
import com.sun.jini.qa.harness.QAConfig;
import com.sun.jini.qa.harness.QATest;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import java.net.ServerSocket;
import java.util.logging.Leve... | {
"content_hash": "57dc3a9bdef5c20f04d35fc0c1c4d63d",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 74,
"avg_line_length": 28.63768115942029,
"alnum_prop": 0.6773785425101214,
"repo_name": "cdegroot/river",
"id": "bcc9619102938857394682cf467c587210984b85",
"size": "4758"... |
import boto
from boto.connection import AWSQueryConnection
from boto.regioninfo import RegionInfo
from boto.exception import JSONResponseError
from boto.cloudsearch2 import exceptions
from boto.compat import json
class CloudSearchConnection(AWSQueryConnection):
"""
Amazon CloudSearch Configuration Service
... | {
"content_hash": "a56c42dfc8fb4bf59f566e29f6eb48fd",
"timestamp": "",
"source": "github",
"line_count": 757,
"max_line_length": 79,
"avg_line_length": 41.093791281373846,
"alnum_prop": 0.611996913977112,
"repo_name": "kyleknap/boto",
"id": "fdc9d4c625026531e6e2f682971895817f6e3c0b",
"size": "32232"... |
namespace Envoy {
namespace Quic {
// A factory interface to provide quic::ProofSource.
class EnvoyQuicProofSourceFactoryInterface : public Config::TypedFactory {
public:
~EnvoyQuicProofSourceFactoryInterface() override = default;
std::string category() const override { return "envoy.quic.proof_source"; }
virt... | {
"content_hash": "81f090242f7a37b20563eae0dd384ac6",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 77,
"avg_line_length": 33.55555555555556,
"alnum_prop": 0.7152317880794702,
"repo_name": "lyft/envoy",
"id": "92df7df9fd0db168390cccdf9e308b16845ba43c",
"size": "826",
"b... |
// .NAME vtkRepresentationPainter - painter that handles representation.
// .SECTION Description
// This painter merely defines the interface.
// Subclasses will change the polygon rendering mode dependent on
// the graphics library.
#ifndef __vtkRepresentationPainter_h
#define __vtkRepresentationPainter_h
#include ... | {
"content_hash": "f2c1661961897439e4dbc9a71072e2d4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 82,
"avg_line_length": 29.733333333333334,
"alnum_prop": 0.8004484304932735,
"repo_name": "biddisco/VTK",
"id": "0bcbd7852f7229bed407672b535b14ac6083d25d",
"size": "1486",
... |
/**
* Created by michal.wadas on 2015-01-28.
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([], factory);
} else {
// Browser globals
return root.domPlusPlus = factory();
}
}(this, function ()... | {
"content_hash": "18977d835cd983fe8af1a5e8b1377f49",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 96,
"avg_line_length": 36.48039215686274,
"alnum_prop": 0.5601988712711636,
"repo_name": "P0lip/dom-plus-plus",
"id": "57843da7003459c1afb8e657c9ca14b6f2177177",
"size": "... |
USE tool;
IF OBJECT_ID('BlankToZero','FN') IS NOT NULL
DROP FUNCTION BlankToZero;
CREATE FUNCTION dbo.BlankToZero(@Number VARCHAR(255))
RETURNS VARCHAR(255)
AS
BEGIN
SET @Number = REPLACE(@Number,',','')
IF @Number = '' SET @Number = '0'
RETURN @Number
END;
| {
"content_hash": "cd7975281adc060f9b9fecd5f558dbc3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 21.23076923076923,
"alnum_prop": 0.6702898550724637,
"repo_name": "chinchon/sql-formatting-tools",
"id": "f452f454791847435853f7083a7b5305af6be59e",
... |
package process
import (
"github.com/stretchr/testify/assert"
"testing"
)
var p = Process{
Name: "Example",
Priority: 99,
ProdCommand: `sh -c "echo this is production? $HELLO"`,
ProdEnviron: NewEnviron("HELLO=PRODUCTION"),
TestCommand: `sh -c "echo this is testing? $HELLO"`,
TestEnviron: NewEnviron(... | {
"content_hash": "f65f829827d339946b2fe5fb485dd213",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 81,
"avg_line_length": 25.24,
"alnum_prop": 0.661648177496038,
"repo_name": "tristanwietsma/gobox",
"id": "cd2ee9fe29f902125c2c12246e624bbf4e9d365b",
"size": "1262",
"bin... |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:materialdesign="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
... | {
"content_hash": "0e3ed7af46dd5867f3f539a64d4c2192",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 76,
"avg_line_length": 34.40686274509804,
"alnum_prop": 0.5794272688417154,
"repo_name": "gongkechuang3C/smartcar",
"id": "61883563da1e19d6b57af9d8835b4156c4782535",
"size... |
from enum import Enum
from typing import Iterable, List, Set, Tuple, Type, Union
def enum_to_choices(enumeration: Type[Enum]) -> Iterable[Tuple]:
return tuple((e.value, e.value) for e in enumeration)
def enum_to_set(enumeration: Type[Enum]) -> Set:
return set(e.value for e in enumeration)
def values_to_ch... | {
"content_hash": "d2d46694ddfd16574c0739a795cc2d91",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 30.785714285714285,
"alnum_prop": 0.7122969837587007,
"repo_name": "polyaxon/polyaxon",
"id": "eadf572bb2424b92d487d54a9e9bb0f58a12ac40",
"size": "10... |
class SpmiRecordsHelper
{
public:
static MethodContext::Agnostic_CORINFO_RESOLVED_TOKENin CreateAgnostic_CORINFO_RESOLVED_TOKENin(
CORINFO_RESOLVED_TOKEN* pResolvedToken);
static MethodContext::Agnostic_CORINFO_RESOLVED_TOKENout CreateAgnostic_CORINFO_RESOLVED_TOKENout_without_buffers(
CORINFO_... | {
"content_hash": "2bd15c10573f59d84beba935961ee4ff",
"timestamp": "",
"source": "github",
"line_count": 339,
"max_line_length": 120,
"avg_line_length": 49.31268436578171,
"alnum_prop": 0.7294969193037029,
"repo_name": "YongseopKim/coreclr",
"id": "0030a2bbd5a4a4531f2678597384ce00fb6dd5e0",
"size": ... |
.block-cr_gmap_block .block-settings .modal-body {
overflow: hidden;
padding: 0;
}
.circleflip-googlemaps-frame .cfgm-rightpanel {
width: 40%;
height: 100%;
overflow: hidden;
float: right;
position: relative;
}
.circleflip-googlemaps-frame .cfgm-leftpanel {
height: 100%;
display: blo... | {
"content_hash": "91f2563dcc0b377e2ab46db4d2d2ac81",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 83,
"avg_line_length": 24.246753246753247,
"alnum_prop": 0.6170326727370112,
"repo_name": "purgesoftwares/purges",
"id": "c5c622733c7566cba9e0aff7e6290572bbb63011",
"size"... |
<?php
/**
* Sales Rule resource model
*
* @category Mage
* @package Mage_SalesRule
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_SalesRule_Model_Resource_Rule extends Mage_Rule_Model_Resource_Abstract
{
/**
* Store associated with rule entities information map
*
* @var... | {
"content_hash": "805cc0dcd6054d3a88b164b70de38697",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 118,
"avg_line_length": 33.0135593220339,
"alnum_prop": 0.54009651914981,
"repo_name": "Louspirit/E-Commerce-Website",
"id": "384bb1b9b36c1200a908afa7937a061a4d0fe4c4",
"s... |
title: TakeShape
repo:
date: 2018-06-30T02:53:36.000+00:00
weight: 3
description: 'A stress-free CMS, Instant API, and Static Site Generator to help you
get your projects done.'
tools:
- "Content Management"
- "Static Site Generator"
license: Commercial
data_model: API-based
language: ''
related_tools: []
tags: []
u... | {
"content_hash": "9354e7f8eef47e348b3d67c70d455708",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 175,
"avg_line_length": 26.583333333333332,
"alnum_prop": 0.7304075235109718,
"repo_name": "budparr/thenewdynamic",
"id": "c7697d266f6df0c185868a6f257b4b79f31e91b3",
"size"... |
package server
import "testing"
import "time"
import "sync"
import "sync/atomic"
func TestMain(t *testing.T) {
var sent, processed uint64
wg := sync.WaitGroup{}
process := func(w *Worker, p Job) error {
atomic.AddUint64(&processed, 1)
wg.Done()
return nil
}
dispatcher := NewDispatcher(2, 10, process)
di... | {
"content_hash": "1491e27298507303dfc3be9a644fb7bd",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 62,
"avg_line_length": 16.651162790697676,
"alnum_prop": 0.6396648044692738,
"repo_name": "bgadrian/go-worker-thread-pool",
"id": "b1c5e9299993e4ddb995b0f242e94f41eca4f060",
... |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.feed;
import org.chromium.chrome.browser.feed.ScrollListener.ScrollState;
import org.chromium.components.feature_engagement.FeatureConstant... | {
"content_hash": "e06df7a6728cdacdd103aa34b8db5486",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 98,
"avg_line_length": 43.25,
"alnum_prop": 0.726878612716763,
"repo_name": "chromium/chromium",
"id": "13093f0fc3d33e04de5442da5143c445b8ab5f74",
"size": "4152",
"binary... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_deadline_timer::cancel_one (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../... | {
"content_hash": "cc71e721bd9d4e8b90a48b7e5b42a055",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 359,
"avg_line_length": 60.06382978723404,
"alnum_prop": 0.6409847679773291,
"repo_name": "jeanleflambeur/silkopter",
"id": "d4fcb3fc536ce60de4960b8645cf81255e667140",
"siz... |
(function () {
'use strict';
describe('Serviceproviders List Controller Tests', function () {
// Initialize global variables
var ServiceprovidersListController,
$scope,
$httpBackend,
$state,
Authentication,
ServiceprovidersService,
mockServiceprovider;
// The $resou... | {
"content_hash": "aba84872ced7f55bf39a6e4c42d3d246",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 129,
"avg_line_length": 34.252747252747255,
"alnum_prop": 0.6515880654475458,
"repo_name": "marreo/cliguru",
"id": "8fb1bd9598859992a806620a33054c4d41d70fa9",
"size": "3117... |
package org.xdi.model.custom.script.type.client;
import java.util.Map;
import org.xdi.model.SimpleCustomProperty;
/**
* Dummy implementation of interface ClientRegistrationType
*
* @author Yuriy Movchan Date: 11/11/2014
*/
public class DummyClientRegistrationType implements ClientRegistrationType {
@Overrid... | {
"content_hash": "8c50aa677f3cb3753d5309dd2f579ef6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 131,
"avg_line_length": 23.941176470588236,
"alnum_prop": 0.7235872235872236,
"repo_name": "madumlao/oxCore",
"id": "1b0f7a5c7ac528b2a2064b390c80f8fe273a4a36",
"size": "958... |
module Fog
module Compute
class AWS
class Real
require 'fog/aws/parsers/compute/create_image'
# Create a bootable EBS volume AMI
#
# ==== Parameters
# * instance_id<~String> - Instance used to create image.
# * name<~Name> - Name to give image.
# * d... | {
"content_hash": "261c1f8e3fdc8d157ece977276f35aeb",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 167,
"avg_line_length": 51.51086956521739,
"alnum_prop": 0.6136315678413168,
"repo_name": "jreichhold/chef-repo",
"id": "6a2f5d14db90058bf534a1af99663971d4e81524",
"size": ... |
immunization-backend
====================
Immunization Backend - JSON RESTful Web API w/ Express.js, MongoDB
2013 Bill & Melinda Gates Immunization App
[Test Deployment](http://immunization-api.herokuapp.com/)
[See the iPad app that uses this API!](http://www.youtube.com/watch?v=k--setjDyEQ)
## Backend API
##... | {
"content_hash": "6a07774909d634aa8d58fd07850f18ba",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 145,
"avg_line_length": 19.772151898734176,
"alnum_prop": 0.6901408450704225,
"repo_name": "errantmind/immunization-backend",
"id": "f001a01ffadd971ae72cbbd0256bce3e15d2dc7f"... |
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/compat.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "dlmglue.h"
#include "file.h"
#include "inode.h"
#include "journal.h"
#include "ocfs2_fs.h"
#include "ioctl.h"
#include "resize.h"
#include "refcounttree.h"
#include ... | {
"content_hash": "961a9bab803fda0c13f297fa51e54471",
"timestamp": "",
"source": "github",
"line_count": 1034,
"max_line_length": 78,
"avg_line_length": 22.719535783365572,
"alnum_prop": 0.6606078665077473,
"repo_name": "ghostkim-sc/SMG920T_profiling_enabled",
"id": "0c60ef2d8056ea4412e1338a3580f03acc... |
RSpec.describe ManageIQ::Providers::CloudManager::VmOrTemplate do
describe "#all" do
it "scopes" do
vm = FactoryBot.create(:vm_openstack)
t = FactoryBot.create(:template_openstack)
FactoryBot.create(:vm_vmware)
FactoryBot.create(:template_vmware)
expect(described_class.all).to matc... | {
"content_hash": "2579ae699ac2256069df8b0a1fb05e56",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 510,
"avg_line_length": 46.357142857142854,
"alnum_prop": 0.6744992295839753,
"repo_name": "gmcculloug/manageiq",
"id": "a25b32023f2ce2242dac7f7608b1ba7e80c51c8f",
"size": ... |
Simple application built with Flask
| {
"content_hash": "cc0bdc10b426ee56d6df4a08eb7705b2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 35,
"avg_line_length": 36,
"alnum_prop": 0.8611111111111112,
"repo_name": "rmotr/example-flask-app",
"id": "6e8bd7f5233f921bc39ab0fb82af1748aaccbff1",
"size": "56",
"binar... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__malloc_char_loop_42.c
Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml
Template File: sources-sink-42.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memory... | {
"content_hash": "4ce969171174593cf8744dec279d7420",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 97,
"avg_line_length": 28.8,
"alnum_prop": 0.5910790598290598,
"repo_name": "maurer/tiamat",
"id": "909979fe07c5bee046d4f1a40bf68b60d6d13ad8",
"size": "3744",
"binary": ... |
'''
@author Angel -Ote- Cortes
@version 0.1
Anonymizer is a class based on the requests package to simplify the use of proxies and Tor.
The class automatically select a proxy from a list, change headers randomly and keep control of not working proxies.
Copyright (C) 2012 Angel Cortés
All rights reserved.
Redistrib... | {
"content_hash": "c9c8e4efc094de6449c7fafb5b31813d",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 158,
"avg_line_length": 43.45703125,
"alnum_prop": 0.6314606741573033,
"repo_name": "OteCortes/Anopymizer",
"id": "362998b22aa4236ae7c6fd7aebe46c56727579c8",
"size": "1115... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pt">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Mon Jun 22 15:50:37 BRT 2015 -->
<title>Uses of Class org.sdnplatform.sync.error.AuthException</title>
<meta name="date" content... | {
"content_hash": "9bd6d2dd2c9f5375a0da0efd3df2be89",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 143,
"avg_line_length": 36.391304347826086,
"alnum_prop": 0.6157706093189964,
"repo_name": "paulorvj/sdnvoip",
"id": "71612203bc2152dc65bf65e44d8ea5a963cd0d42",
"size": "4... |
layout: staff
seoTitle: Staff
seoDescription: Our staff rocks! Meet the people that grind every day to make ARTWORKS the best program possible.
featureImg: artwork-004.jpg
featureStatement: STAFF
title: Hardwork
subtitle: Pays off
permalink: /staff/
unique-cta: true
mega-cta-img: artwork-012.jpg
mega-cta-heading: ... | {
"content_hash": "324ca9f68eaaa3c2945a36a9ac0e7bec",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 113,
"avg_line_length": 22.541666666666668,
"alnum_prop": 0.7818853974121996,
"repo_name": "stlartworks/stlartworks.github.io",
"id": "5a53d1a48331cf43960bb745635da3b2e4e1670... |
#pragma once
#include <aws/s3/S3_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace S3
{
namespace Model
{
enum class ObjectVersionStorageClass
{
NOT_SET,
STANDARD
};
namespace ObjectVersionStorageClassMapper
{
AWS_S3_API ObjectVersionStorageClass GetObjectVersionSto... | {
"content_hash": "ea06ba4cca1342ee57e5b3749913033b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 98,
"avg_line_length": 21.615384615384617,
"alnum_prop": 0.7829181494661922,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "324cd5435bdf35735582d4cfd50fde5966182310",
"size": "... |
import React, { Component, PropTypes } from 'react';
import classnames from 'classnames';
import CSSClassnames from '../../../utils/CSSClassnames';
import Intl from '../../../utils/Intl';
import Props from '../../../utils/Props';
const CLASS_ROOT = CSSClassnames.CONTROL_ICON;
const COLOR_INDEX = CSSClassnames.COLOR_IN... | {
"content_hash": "d2ca4f5116047a38a72fb057a0edb9fb",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 374,
"avg_line_length": 32.30769230769231,
"alnum_prop": 0.6625,
"repo_name": "nickjvm/grommet",
"id": "8bb83491200939f2cdde4e59159106466729c808",
"size": "1750",
"binary... |
package org.zstack.header.acl;
import org.zstack.header.message.APIEvent;
import org.zstack.header.rest.RestResponse;
/**
* @author: zhanyong.miao
* @date: 2020-03-09
**/
@RestResponse(allTo = "inventory")
public class APIAddAccessControlListEntryEvent extends APIEvent {
private AccessControlListEnt... | {
"content_hash": "79137a7aa4af02331fd7f8e23b22c6fd",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 90,
"avg_line_length": 28.487179487179485,
"alnum_prop": 0.6975697569756976,
"repo_name": "zstackorg/zstack",
"id": "06269e612be7ee23c61dc24b5368bbc49e6ccebd",
"size": "111... |
FactoryBot.define do
factory :handler, class: "AwesomeTranslations::CacheDatabaseGenerator::Handler" do
identifier { "rails_handler" }
name { "RailsHandler" }
factory :model_handler do
identifier { "model_handler" }
name { "ModelHandler" }
end
end
end
| {
"content_hash": "6b8ff0a63aaea18dbaff8db93be9b4a9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 84,
"avg_line_length": 25.90909090909091,
"alnum_prop": 0.6771929824561403,
"repo_name": "kaspernj/awesome_translations",
"id": "1f111fc51fe36918a02123c6c05457c92784142b",
... |
<?php
namespace ShopBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use ShopBundle\Entity\Products;
use ShopBundle\Entity\User;
class WalletController extends Controller
{
public function indexAction()
{
$user = $this->getUser()... | {
"content_hash": "dffc1d8cd07821d4cb32045957459818",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 159,
"avg_line_length": 34.714285714285715,
"alnum_prop": 0.676954732510288,
"repo_name": "lukaszuznanski/sh",
"id": "43856e80e26bba4d94f6e54934dd6e4b47c1f95b",
"size": "97... |
package client
import (
"bytes"
"context"
"io"
"net/http"
"net/url"
goahttp "goa.design/goa/v3/http"
calc "goa.design/plugins/v3/zaplogger/examples/calc/gen/calc"
)
// BuildAddRequest instantiates a HTTP request object with method and path set
// to call the "calc" service "add" endpoint
func (c *Client) Buil... | {
"content_hash": "09f2cc2e2ad4c166977175752cdf29f4",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 130,
"avg_line_length": 25.16216216216216,
"alnum_prop": 0.6595059076262084,
"repo_name": "goadesign/plugins",
"id": "f332702eb56f575a19bf0326041907cddbee9bb0",
"size": "20... |
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ElTreeMemoEdit.pas' rev: 6.00
#ifndef ElTreeMemoEditHPP
#define ElTreeMemoEditHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <... | {
"content_hash": "a7acee906ad6cddd920ad9b32a24f358",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 88,
"avg_line_length": 33.55384615384615,
"alnum_prop": 0.6808803301237965,
"repo_name": "OLR-xray/XRay-NEW",
"id": "0d8ae64811e637becf5a55323c7e6ad80b67052a",
"size": "218... |
layout: post
title: young woman and buddha head
date: 2015-07-21 22:34:59
summary:
categories: drawing
---
 | {
"content_hash": "c2e99ec47621de9f4c4d52ae3d1fbee0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 133,
"avg_line_length": 37,
"alnum_prop": 0.6988416988416989,
"repo_name": "gregist/gregist.github.io",
"id": "0391e5ea6a0b1353304c6720953f43ae1365496b",
"size": "263",
"b... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Hyaloderma perpusillum Speg.
### Remarks
null | {
"content_hash": "1acdc3da83c7f042624e86ae0487eeeb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7142857142857143,
"repo_name": "mdoering/backbone",
"id": "34d58e5ae9eb1b06731301f6540a65b86f0b950e",
"size": "194... |
// Copyright (c) 2001, 2002 Per M.A. Bothner and Brainfood Inc.
// This is free software; for terms and warranty disclaimer see ./COPYING.
package gnu.kawa.functions;
import gnu.lists.*;
import gnu.mapping.*;
import gnu.bytecode.*;
import gnu.expr.*;
public class AppendValues extends MethodProc implements Inlineabl... | {
"content_hash": "7e851ade40d587c59a46fe9cc25e374e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 79,
"avg_line_length": 26.691176470588236,
"alnum_prop": 0.6892561983471074,
"repo_name": "thequixotic/ai2-kawa",
"id": "8cff80d93bd315983466f6eec11aa90e3ee31af3",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.