code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
cl = function(msg){
if (window.console && console.log) {
console.log(msg);
}
};
ll = function(msg, prepend, type, append){
if (window.console && console.log) {
var d = performance.now();
prepend ? '': prepend = '';
console.log('=>'+prepend+': '+msg);
if(!type) type = ... | CrowdEmotion/respondent-video-capture-kit | src/test/func.js | JavaScript | mit | 18,923 |
module.exports = function(mongoose) {
var config = require(process.cwd() + '/config');
var sha256 = require('sha256');
return function(req, res) {
if(req.method == "GET") {
if(req.session.user) {
res.json(req.session.user);
console.log("User logged in: ", req.session.user.username);
} else {
... | miloroot/addit-fixes | api/custom/login.route.js | JavaScript | mit | 1,114 |
<?php
namespace App\DataTables\Scopes;
use Yajra\Datatables\Contracts\DataTableScopeContract;
class UserScope implements DataTableScopeContract
{
/**
* Apply a query scope.
*
* @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query
* @return mixed
*/
p... | cuneydtural/smartpanel | app/DataTables/Scopes/UserScope.php | PHP | mit | 1,046 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>concurrency-proxy: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.7.0/concurrency-proxy/1.0.0.html | HTML | mit | 6,881 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quickchick: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.10.1/quickchick/1.5.1.html | HTML | mit | 7,164 |
<?php
namespace Neos\Flow\Mvc\View;
/*
* This file is part of the Neos.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/
... | gerhard-boden/flow-development-collection | Neos.Flow/Classes/Mvc/View/AbstractView.php | PHP | mit | 5,497 |
import { SyntaxKind } from "@ts-morph/common";
import { expect } from "chai";
import { ConstructorTypeNode } from "../../../../compiler";
import { getInfoFromTextWithDescendant } from "../../testHelpers";
describe(nameof(ConstructorTypeNode), () => {
function getNode(text: string) {
return getInfoFromTextW... | dsherret/ts-simple-ast | packages/ts-morph/src/tests/compiler/ast/type/constructorTypeNodeTests.ts | TypeScript | mit | 2,220 |
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9 no... | 1wheel/scraping | epa-grants/research/raw/06034.html | HTML | mit | 37,688 |
/* eslint-disable ember/no-mixins, ember/no-new-mixins */
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import Route from '@ember/routing/route';
import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin';
module('ApplicationRoute', function(hooks) {
setupT... | simplabs/ember-simple-auth | packages/ember-simple-auth/tests/unit/routes/application-test.js | JavaScript | mit | 630 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 4.4.2; INSIGNIA_500 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36 ACHEETAHI/2100501090</title>
<link rel="sty... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/44/a9/44a94ccb-e4ff-4a30-97da-af8b6912fc70.html | HTML | mit | 57,050 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.2.2; en-ca; SM-G730W8 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30</title>
<link rel="stylesheet" href="https://cdnjs.cl... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/2a/29/2a29d359-6597-4ac0-9546-7c8bb8c5b120.html | HTML | mit | 58,565 |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Iron/30.0.1650.0 Chrome/30.0.1650.0 Safari/537.36</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https:... | ThaDafinser/UserAgentParserComparison | v4/user-agent-detail/31/80/3180f3e4-444b-473a-8e28-48ee5f855c7e.html | HTML | mit | 46,361 |
package controllers.circs.start_of_process
import app.ReportChange
import models.domain._
import models.view.CachedChangeOfCircs
import org.specs2.mutable._
import play.api.test.FakeRequest
import play.api.test.Helpers._
import utils.WithApplication
class GGoToCircsFormSpec extends Specification {
section("unit", m... | Department-for-Work-and-Pensions/ClaimCapture | c3/test/controllers/circs/start_of_process/GGoToCircsFormSpec.scala | Scala | mit | 3,201 |
layout:
- post
title: 'Kamcord'
date: 2014-07-26 00:00:00
categories: 网摘
tags: 创意事物
---
<p><img src="http://a.36krcnd.com/photo/2014/98d9a0b3eff83ca2d8e80796fd22129d.png" alt=""/></p>
<p>今年5月初刚宣布完成<a target="_blank" data-no-turbolink="true" href="http://www.36kr.com/p/211651.html">710万美元</a>A轮融资,移动游戏录制及分享社区<a... | buf1024/xinpinla-crawler | hexo/source/_posts/2014-07-26-Kamcord.md | Markdown | mit | 7,153 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tortoise-hare-algorithm: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.0/tortoise-hare-algorithm/8.8.0.html | HTML | mit | 7,334 |
module Wizcorp
module Nagios
class API
require 'uri'
require 'rest-client'
def initialize params={ }
@connection = {
:hostname => 'localhost',
:port => 4567,
:base => ''
}.merge(params)
c = @connection
@baseuri = "http:/... | Wizcorp/NagiosForCouchbase | lib/wizcorp/nagios/api.rb | Ruby | mit | 1,613 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>idxassoc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.1/idxassoc/8.5.0.html | HTML | mit | 7,566 |
/* line 5, C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/reset/_utilities.scss */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, su... | willBoy/lb_CSL | vendor/jdatepicker/css/jtime-pc.css | CSS | mit | 7,974 |
<head>
<link rel="stylesheet" href="./animals.css">
<style>
body {
font-size: 4em;
font-family: monospace;
}
span {
font-size: 0.5em;
vertical-align: super;
}
</style>
</head>
<h1> Animal Icons </h1>
<i class="animals ant"></i> <span><i class="animals ant"></i></span>... | mrfrase3/RemoteDojo-3.0 | common/animal_icons/test.html | HTML | mit | 6,314 |
/* Jison generated parser */
var parser = (function(){
var parser = {trace: function trace() { },
yy: {},
symbols_: {"error":2,"pattern":3,"route":4,"EOF":5,"parts":6,"part":7,"OPEN_OPTIONAL":8,"CLOSE":9,"OPEN_PARAM":10,"substrings":11,"STRING":12,"$accept":0,"$end":1},
terminals_: {2:"error",5:"EOF",8:"OPEN_OPTIONAL",... | nodeca/pointer | lib/pointer/route/parser.js | JavaScript | mit | 13,136 |
require 'spec_helper'
require 'comment_extractor/extractor/coffee'
class CommentExtractor::Extractor
describe Coffee do
it_behaves_like 'extracting comments from', 'coffee.coffee'
it_behaves_like 'detecting filename', 'file.coffee'
end
end
| alpaca-tc/comment_extractor | spec/comment_extractor/extractor/coffee_spec.rb | Ruby | mit | 253 |
#include "Runtime/MP1/CFrontEndUITouchBar.hpp"
namespace metaforce {
CFrontEndUITouchBar::~CFrontEndUITouchBar() = default;
void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; }
CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; }
void CFrontEndUITouchBar::SetFileSelectPhase(const... | AxioDL/PathShagged | Runtime/MP1/CFrontEndUITouchBar.cpp | C++ | mit | 983 |
var webpack = require('webpack');
var path = require('path');
var BUILD_DIR = path.resolve(__dirname, '../techbot_web/static');
var APP_DIR = path.resolve(__dirname, 'src/app');
var config = {
entry: APP_DIR + '/index.jsx',
output: {
path: BUILD_DIR,
filename: 'bundle.js'
},
resolve: {
... | apy2017/Anaconda | ReactAdmin/webpack.config.js | JavaScript | mit | 1,075 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>addition-chains: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.03.0-2.0.5/released/8.7.0/addition-chains/0.4.html | HTML | mit | 7,434 |
/**
* PipelineTimer
* Keeps track of the time left for a HIT and updates the page as necessary.
* onExpiration will be de-thunked when the timer expires.
*/
PipelineTimer.create = function(serverTimestamp, counterId, totalSeconds, endTime, onExpiration) {
var offset = new ClientOffset(serverTimestamp);
OnLoadH... | Milstein/crowdsource-platform | !@Standford HCI Crowdsourcing platform/Amazon Mechanical Turk_files/timer.js | JavaScript | mit | 5,246 |
package com.socialthingy.plusf.spectrum.io;
import com.socialthingy.plusf.spectrum.Model;
public class MemoryPlus2A extends Memory128K {
private boolean specialPagingMode = false;
private int[] activeSpecialBanks = new int[4];
private int lastWriteTo0x1ffd = 0;
MemoryPlus2A(final boolean addBankMarke... | alangibson27/plus-f | plus-f/src/main/java/com/socialthingy/plusf/spectrum/io/MemoryPlus2A.java | Java | mit | 4,985 |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime:4.0.30319.42000
//
// Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
// se vuelve a gener... | NyoronDev/SeleniumWebDriverBasic | NyoronDev.SeleniumWebDriverBasic/AT.UserStory/Resources/String/Resource.Designer.cs | C# | mit | 3,248 |
<!DOCTYPE html>
<html>
<head>
<title>TrackSymbol example</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0/leaflet.css" />
</head>
<body>
<div id="map" style="width: 600px; height: 400px"></... | lethexa/leaflet-tracksymbol | public/v1.0.html | HTML | mit | 1,291 |
package fi.nls.oskari.control.myplaces.handler;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.List;
import org.oskari.log.AuditLog;
import org.json.JSONException;
import org.json.JSONObject;
import fi.nls.oskari.annotation.OskariActionRoute;
import fi.nls.oskari.co... | nls-oskari/oskari-server | control-myplaces/src/main/java/fi/nls/oskari/control/myplaces/handler/MyPlacesFeaturesHandler.java | Java | mit | 8,803 |
webpackJsonp([60335399758886],{199:function(t,e){t.exports={data:{site:{siteMetadata:{title:"Ted"}}},layoutContext:{}}}});
//# sourceMappingURL=path----39eaccc68746c5e5b853.js.map | tedpark/tedpark.github.io | path----39eaccc68746c5e5b853.js | JavaScript | mit | 179 |
package com.github.bartekdobija.omniture.metadata;
public enum ColumnType {
INT("int"),
STRING("string"),
LONG("long"),
BIGINT("bigint"),
FLOAT("float"),
DOUBLE("double"),
STRING_ARRAY("array<string>"),
INT_ARRAY("array<int>"),
LONG_ARRAY("array<long>"),
FLOAT_ARRAY("array<float>"),
TIMESTAMP("t... | bartekdobija/omniture-clickstream | src/main/java/com/github/bartekdobija/omniture/metadata/ColumnType.java | Java | mit | 518 |
#include <stdlib.h>
#include <cstdio>
#include <string.h>
#include "data.h"
#include "error.h"
#include "options.h"
tempStatInfo g_statInfo;
void r_header::print(uint len)
{
printf(P_COLOR_RED "\nHeader (%d bytes):\n" P_COLOR_RESET, len);
printf("\t%s\n\t%s\n\t%llu\n\t%f\n\t%f\n\t%u\n\t%ld\n", m_szMapName, m_... | Nolan-O/ReplayTools | data.cpp | C++ | mit | 13,709 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.10.1/qcert/2.0.0.html | HTML | mit | 7,607 |
#Region "License"
' The MIT License (MIT)
'
' Copyright (c) 2017 Richard L King (TradeWright Software Systems)
'
' Permission is hereby granted, free of charge, to any person obtaining a copy
' of this software and associated documentation files (the "Software"), to deal
' in the Software without restriction, includ... | tradewright/tradebuild-platform.net | src/TradingUI/fApplyTemplate.vb | Visual Basic | mit | 2,381 |
module kit.fields {
export class PasswordUIField extends TextUIField {
constructor(id: string, value: any, required?: boolean, readOnly?: boolean) {
super(id, value, required, readOnly)
this.inputTemplate = "ui-field-password-template"
}
}
} | QuentinSup/KnockIT | v0.1.1/commons/fields/PasswordUIField.ts | TypeScript | mit | 297 |
// Port of Flambe classes.
// Flambe - Rapid game development
// https://github.com/aduros/flambe/blob/master/LICENSE.txt
namespace Bombe
{
public interface Behavior
{
float Update(float dt);
bool IsComplete();
}
}
| Seven2Interactive/Bombe | Bombe/Animation/Behavior.cs | C# | mit | 228 |
module.exports = {
onInput: function (input) {
this.state = {
heading: input.heading || "",
message: input.message || "",
colors: input.colors || []
};
}
};
| marko-js/marko | packages/marko/test/components-browser/fixtures/component-replaceState/component.js | JavaScript | mit | 187 |
#! /usr/bin/python
# @author: wtie
import subprocess
import sys
import time
import argparse
DIFF = False
FIRST = []
def get_floating_ips():
sql = """SELECT fip.floating_ip_address
FROM neutron.floatingips AS fip
JOIN neutron.ports AS p
JOIN neutron.securitygroupportbinding... | TieWei/openstack-kit | openstackkit/ping_working_public.py | Python | mit | 5,255 |
package qtrees;
/**
* Bitmap: A class for representing bitmap;
* @author Sjaak Smetsers
* @version 18-03-2015
*/
public class Bitmap {
// each bit is stored into an two dimensional array
private final boolean[][] raster;
private final int bmWidth, bmHeight;
/**
* Creates an e... | camilstaps/OO1415 | Week8 Quadtrees/src/qtrees/Bitmap.java | Java | mit | 1,773 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.11.2/equations/1.3+8.14.html | HTML | mit | 7,423 |
---
title: Restrictions on date part
sidebar: flexberry-orm_sidebar
keywords: Flexberry ORM, Constraints, ExternalLangDef
summary: the Rules of formation restrictions on the year, month, day, hour, minute, particular date, time and day of the week, the parameters used
toc: true
permalink: en/fo_restriction-dateti... | Flexberry/flexberry.github.io | pages/products/flexberry-orm/query-language/fo_restriction-datetime.en.md | Markdown | mit | 14,702 |
//----------------------------------------------------------------------------------
// File: NV/NvShaderMappings.h
// SDK Version: v3.00
// Email: gameworks@nvidia.com
// Site: http://developer.nvidia.com/
//
// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution... | centauroWaRRIor/VulkanSamples | ExternalLibraries/NvGameworksFramework/include/NV/NvShaderMappings.h | C | mit | 3,537 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | simongh/BlacklistProtector | BL Protector/Properties/AssemblyInfo.cs | C# | mit | 1,442 |
package main
import (
"os"
"os/exec"
"syscall"
)
func main() {
binary, lookErr := exec.LookPath("service_1.bash")
if lookErr != nil {
panic(lookErr)
}
args := []string{""}
env := os.Environ()
execErr := syscall.Exec(binary, args, env)
if execErr != nil {
panic(execErr)
}
/*
// START OMIT
cu... | stefanhans/go-present | slides/CloudFunctions/service_1.go | GO | mit | 550 |
from gitbarry.reasons import start, finish, switch # , switch, publish
REASONS = {
'start': start,
'finish': finish,
'switch': switch,
# 'publish': publish,
}
| a1fred/git-barry | gitbarry/reasons/__init__.py | Python | mit | 177 |
package mc.oceanica.command;
import mc.oceanica.OceanicaStats;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.text.TextComponentString;
public class StatCommand... | soronthar/Oceanica | src/main/java/mc/oceanica/command/StatCommand.java | Java | mit | 1,670 |
/* Keypad Styling */
.croc_ui_keypad {
position:relative;
}
.croc_ui_keypad table {
width:100%;
height:100%;
border-spacing:0px;
}
.croc_ui_keypad tr {
height:25%;
}
.croc_ui_keypad td {
width:33%;
font-family:Arial;
font-weight:bold;
position: relative;
padding:0.2em 0;
}
.croc_ui_keypad t... | crocodilertc/crocodile-rtc-examples | click-2-call/css/ui_keypad.css | CSS | mit | 6,100 |
import { CdkCell, CdkCellDef, CdkColumnDef, CdkHeaderCell, CdkHeaderCellDef } from '@angular/cdk/table';
import {
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
Directive,
ElementRef,
HostBinding,
Input,
OnDestroy,
OnInit,
Optional,
Renderer2,
} from '@angular/core';
import { Subscription ... | bullhorn/novo-elements | projects/novo-elements/src/elements/simple-table/cell.ts | TypeScript | mit | 11,223 |
<html><body>
<h4>Windows 10 x64 (19042.610)</h4><br>
<h2>_DBGKD_READ_MEMORY32</h2>
<font face="arial"> +0x000 TargetBaseAddress : Uint4B<br>
+0x004 TransferCount : Uint4B<br>
+0x008 ActualBytesRead : Uint4B<br>
</font></body></html> | epikcraw/ggool | public/Windows 10 x64 (19042.610)/_DBGKD_READ_MEMORY32.html | HTML | mit | 250 |
import { setData } from '@progress/kendo-angular-intl';
setData({
name: "es-HN",
identity: {
language: "es",
territory: "HN"
},
territory: "HN",
numbers: {
symbols: {
decimal: ".",
group: ",",
list: ";",
percentSign: "%",
... | antpost/antpost-client | node_modules/@progress/kendo-angular-intl/locales/es-HN/all.js | JavaScript | mit | 83,096 |
import React from 'react';
import ReactTestUtils from 'react-addons-test-utils';
import Pagination from '../src/Pagination';
describe('<Pagination>', () => {
it('should have class', () => {
const instance = ReactTestUtils.renderIntoDocument(
<Pagination>Item content</Pagination>
);
assert.ok(React... | HPate-Riptide/react-bootstrap | test/PaginationSpec.js | JavaScript | mit | 10,480 |
<!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 Mon Dec 14 15:25:04 MSK 2009 -->
<TITLE>
Uses of Class org.apache.poi.POITextExtractor (POI API Documentation)
</TITLE>
<META NAME="... | tobyclemson/msci-project | vendor/poi-3.6/doc/apidocs/org/apache/poi/class-use/POITextExtractor.html | HTML | mit | 31,636 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unimath-foundations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/released/8.11.2/unimath-foundations/0.1.0.html | HTML | mit | 6,581 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>checker: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.15.0/checker/8.9.0.html | HTML | mit | 6,821 |
#include <gmcmc/gmcmc_model.h>
#include <gmcmc/gmcmc_errno.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
/**
* A model.
*/
struct gmcmc_model {
double * params; /**< Initial parameter values (may be NULL) */
gmcmc_distribution ** priors; /**< A pri... | UCL/GMCMC | src/model.c | C | mit | 11,271 |
#include "precomp.h"
#include "dte_model_decorator.h"
#include "ml_model_impl.h"
#include "models_interface.h"
namespace lib_models {
ModelsInterface& ModelsInterface::GetInstance() {
static ModelsInterface instance;
return instance;
}
sp<MlModel> ModelsInterface::CreateModel(sp<MlModelDecorator> decorator) {
... | KarlJansson/DataminingLibs | lib_models/source/models_interface.cc | C++ | mit | 734 |
namespace R3.Geometry
{
using OpenTK.Graphics.OpenGL;
using R3.Math;
using System;
using System.Numerics;
public enum HyperbolicModel
{
Poincare,
Klein,
Pseudosphere,
Hyperboloid,
Band,
UpperHalfPlane,
Orthographic,
}
public class HyperbolicModels
{
private static void Vertex( Vector3D v )
... | roice3/MagicTile | R3/R3.Core/Geometry/HyperbolicModels.cs | C# | mit | 6,908 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>star</title>
<script src="http://code.jquery.com/jquery-3.2.1.min.js"></script>
</head>
<body>
<div id="out"></div>
<script type="text/javascript">
$.ajax({
url:'http://www.bringoo.com.tw/npo_map/show_star.php?org_id=3',
type: "get",
... | teacher144123/npo_map | server/star.html | HTML | mit | 401 |
pre {
background-color: #212121;
color: #d9d9d9;
}
.keyword {
color: #20bbfc;
}
.primitive {
color: #6855de;
}
.global {
color: #f3e430;
}
.number {
color: #c30771;
}
.string {
color: #5fd7af;
}
.comment {
color: #767676;
}
| gummesson/fabulous | examples/css/highlight.css | CSS | mit | 246 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coalgebras: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.2~camlp4/coalgebras/8.7.0.html | HTML | mit | 7,437 |
return {
floor_heightmap_scale = 0.002,
ceiling_heightmap_scale = 0.002,
floor_detail_scale = 0.5,
ceiling_detail_scale = 0.02,
floor_y_scale = 80.0,
ceiling_y_scale = 150.0,
floor_y_offset = -100.0,
ceiling_y_offset = 100.0,
fog_color = vec3(0, 1, 1),
ambient = vec3(1),
diff... | ianmaclarty/vertex-meadow | settings4.lua | Lua | mit | 337 |
<?php
namespace Guzzle\Plugin\Cache;
use Guzzle\Http\Message\RequestInterface;
use Guzzle\Http\Message\Response;
interface CanCacheStrategyInterface
{
public function canCacheRequest(RequestInterface $request);
public function canCacheResponse(Response $response);
}
| TropicalRobot/finding-beyond | public/app/plugins/easyazon-pro-4.0.17/components/localization/lib/geoip/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/CanCacheStrategyInterface.php | PHP | mit | 288 |
package flame.client.xteam;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.Semaphore;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.g... | ronia/flame | src/flame/client/xteam/InfoTab.java | Java | mit | 30,289 |
---
title : "Apache Spark - RDD"
layout: post
---
## RDDs(Resilient Distributed Datasets)
분산되어 존재하는 데이터 요소들의 모임.
스파크에서 이루어지는 모든 작업의 기본 요소이자 핵심.
분산되어 있는 변경 불가능한 객체 모음.
각 RDD는 클러스터의 서로 다른 노드들에서 연산 가능하도록 여러 개의 파티션으로 나뉜다.
RDD는 사용자 정의 클래스를 포함해서 파이썬, 자바, 스칼라의 어떤 타입의 객체든 가질 수 있다.
트랜스포메이션(transformation)과 액션(action) 두... | makeajourney/makeajourney.github.io | _posts/2016-09-27-spark-rdd.md | Markdown | mit | 4,417 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Linux 2.6.32; xx;) AppleWebKit/534(KHTML, like Gecko) NX/2.1 (DTV; HTML; R1.0;) InettvBrowser/2.2 (38E08E;0014GAIAV3;001;000) Hybridcast/1.0 (;38E08E;0014GAIAV3;001;000;)</title>
... | ThaDafinser/UserAgentParserComparison | v5/user-agent-detail/98/8e/988ebb2c-e086-49df-99f7-9390f9e323b9.html | HTML | mit | 49,400 |
# migl-pool
Micro Game Library : Object pool
The main use of the object pool pattern in javascript is to reduce the number of garbage collection by enforcing object reuse.
Garbage collection can be quite taxing for real time application such as games and cause dropped frames (jank).
This particular implementation of ... | kchapelier/migl-pool | README.md | Markdown | mit | 2,206 |
using System;
namespace Acceleratio.SPDG.Generator
{
public class CredentialValidationException : ApplicationException
{
public CredentialValidationException(string message) : base(message)
{
}
}
} | Acceleratio/SPDG | src/Acceleratio.SPDG.Generator/CredentialValidationException.cs | C# | mit | 237 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>three-gap: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.9.0/three-gap/8.8.0.html | HTML | mit | 6,962 |
package utils
object Messages {
trait Reservation {
val RESERVATION_CREATED = "Reservation created"
val RESERVATION_CREATE_NO_AVAILABLE_SEAT = "There is no available seat for this movie!"
val RESERVATION_CREATE_NO_AVAILABLE_MOVIE = "Requested movie does not exists!"
}
trait Movies {
//from RFC ... | ziyasal/Reserveon | src/main/scala/utils/Messages.scala | Scala | mit | 482 |
<!DOCTYPE html>
<!--Made by Nadeem Shaik nadsaeae@gmail.com-->
<html ng-app="weatherApp" ng-controller="mainCtrl">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WeatherApp</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="... | 707/angular-weather | app/index.html | HTML | mit | 6,376 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>antivalence: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.0/antivalence/1.0.0.html | HTML | mit | 7,052 |
var gulp = require('gulp'),
sass = require('gulp-sass'),
gp_concat = require('gulp-concat'),
gp_uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
minifyCss = require('gulp-minify-css'),
rev = require('gulp-rev'),
replace = require('gulp-replace'),
notify = require('gulp-notify'... | eulo/dumbways2 | gulpfile.js | JavaScript | mit | 1,504 |
Star Platinum Light Theme for Brackets
======================================
Inspired by the Stand of Jotaro Kujo; ORAORAORA. A Brackets original.
## HTML

## CSS
 {
this.render();
},
render: function() {
this.$el.attr({
class : 'block gimmick-' + this.model.get('gimmick'),
'data-gimmick' : this.model.get('gimmick')
});
},
collide: function() {
if (this.model.get('isDead'))
... | wfelius/arkanoid-2000 | www/public/js/views/BlockView.js | JavaScript | mit | 1,318 |
<?php
namespace MCPI;
// Constants
require_once __DIR__ . DIRECTORY_SEPARATOR . "constants.php";
// Config
require_once DIR_CONFIG . "general.php";
// Composer Autoloader
require_once DIR_ROOT . DS . "vendor" . DS . "autoload.php";
/**
* Main autoloader
*/
class Autoload
{
static public function load($class_n... | chrisputnam9/money | app/code/autoload.php | PHP | mit | 813 |
import {
moduleForComponent,
test
} from 'ember-qunit';
moduleForComponent('plottable-chart', {
unit: true
// specify the other units that are required for this test
// needs: ['component:foo', 'helper:bar']
});
test('it renders', function(assert) {
assert.expect(2);
// creates the component instance
... | karelvuong/ember-cli-plottable | tests/unit/components/plottable-chart-test.js | JavaScript | mit | 504 |
//Запуск таймеров чаще раз в сек
private static int Delay = 0;
private static int FrameDuration = 20;
const string Timer1Name = "Таймер";
const string Timer2Name = "Спуск";
void Main(){
Delay++;
IMyTimerBlock timer1 = (IMyTimerBlock)GridTerminalSystem.GetBlockWithName(Timer1Name);
timer1.GetActio... | FireVolkhov/space-engineers-scripts | timer.cs | C# | mit | 660 |
/** @license MIT License (c) copyright 2014 original authors */
/** @author Karolis Narkevicius */
var path = require('path');
var knox = require('knox-s3');
var when = require('when');
var thunkify = require('thunkify');
var cp = require('fs-cp');
module.exports = function (config) {
return new S3(config);
};
/**... | QubitProducts/s3-cnpm | s3-cnpm.js | JavaScript | mit | 3,164 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ipc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/8.11.dev/ipc/8.8.0.html | HTML | mit | 7,618 |
/**
* Copyright 2000-2010 Geometria Contributors
* http://geocentral.net/geometria
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License
* http://www.gnu.org/licenses
*/
package net.geocentral.geometria.view;
import java.util.Collection;... | stelian56/geometria | archive/3.0/src/net/geocentral/geometria/view/GFigurePopupMenu.java | Java | mit | 8,053 |
<?php
$router = new \Phalcon\Mvc\Router(false); // デフォルトルート無効化
$router->removeExtraSlashes(true); // 末尾のスラッシュを無視
$router->add('/', 'Index::index');
$router->add('/books/new', 'Books::new');
$router->add('/books/{id}/detail', 'Books::detail');
$router->add('/books/{id}/delete', 'Books::delete');
$router->add('/books/{... | ryo-utsunomiya/booklist | src/app/config/routes.php | PHP | mit | 414 |
<?php return array(
// Options relatives to the Table class
'table' => array(
// An array of columns to never display
'ignore' => array(),
// An array of classes to use for all tables
// Example : ['bordered', 'striped', 'hover']
'classes' => array(),
),
// Th... | Vrian7ipx/cascadadev | vendor/patricktalmadge/bootstrapper/src/config/config.php | PHP | mit | 579 |
define( "add", [
"../core/vi"
], function( vi ) {
/**
* func Add
* @param {Int} a
* @param {Int} b
* @return {Int} a+b
*/
vi.add = function( a, b ) {
return a + b;
};
return vi.add;
});
| OhByeongYun/jsUMD | src/calc/add.js | JavaScript | mit | 199 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coalgebras: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.12.0-2.0.8/extra-dev/dev/coalgebras/8.7.0.html | HTML | mit | 7,513 |
#!/usr/bin/env perl
######################################################
#Created by Sarah Schmedes
#Will run entire strainphlan workflow, including images
#Designate -clade flag
#designated clade when prompted in STDIN
#Date Released: 08/01/2017
#####################################################
use strict;
use w... | SESchmedes/HIDskinmicrobiome | strainID.pl | Perl | mit | 6,271 |
# FPSGame | 954818696/FPSGame | README.md | Markdown | mit | 9 |
/**
* Error parser for apeman.
* @module apemanerror
* @version 5.3.2
*/
'use strict';
var _assign = require('babel-runtime/core-js/object/assign');
var _assign2 = _interopRequireDefault(_assign);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var apemanerror = ... | apeman-labo/apemanerror | shim/browser/index.js | JavaScript | mit | 1,481 |
package connect.utils.okhttp;
import android.text.TextUtils;
import android.widget.Toast;
import com.google.protobuf.ByteString;
import com.google.protobuf.GeneratedMessageV3;
import connect.db.MemoryDataManager;
import connect.db.SharedPreferenceUtil;
import connect.db.green.DaoHelper.ParamManager;
import connect.u... | connectim/Android | app/src/main/java/connect/utils/okhttp/OkHttpUtil.java | Java | mit | 4,931 |
dojo.provide("t.unit.plugins.dojox.module");
try{
dojo.require("t.unit.plugins.dojox.timing.test");
}
catch(e) {
doh.debug(e);
}
| aguadev/aguadev | t/unit/html/plugins/dojox/module.js | JavaScript | mit | 138 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>automata: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/extra-dev/8.11.dev/automata/8.9.0.html | HTML | mit | 7,139 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>infotheo: Error with dependencies 🚒</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.07.1-2.0.6/extra-dev/dev/infotheo/0.3.4.html | HTML | mit | 16,245 |
/*
* gameobjects.cpp
*
* Created on: Aug 31, 2013
* Author: antidotcb
*/
#include "minimi.h"
| antidotcb/minimi-robot | jni/minimi/minimi.cpp | C++ | mit | 109 |
require 'test_helper'
module Settings
class PlanTest < ActiveSupport::TestCase
setup do
@org = Org.last
scaffold_plan
end
def settings(extras = {})
{margin: (@margin || { top: 10, bottom: 10, left: 10, right: 10 }),
font_face: (@font_face || Settings::Template::VALID_FO... | briri/roadmap | test/unit/settings/plan_test.rb | Ruby | mit | 6,757 |
package algo.lecture.elementarysort;
import java.util.Arrays;
/**
* Created on 15/11/1.
* Author: ylgrgyq
*/
public class MergeSort {
@SuppressWarnings("unchecked")
public static <T extends Comparable<? super T>> void sort(T[] a){
T[] aux = (T[])new Comparable[a.length];
for (int i = 0; i <... | ylgrgyq/coursa-algorithm | src/main/java/algo/lecture/elementarysort/MergeSort.java | Java | mit | 1,983 |
html,
body {
margin: 0;
height: 100%;
font-family: Raleway;
background-color: #F2F2F2;
}
nav {
position: fixed;
padding: 10px 0;
width: 100%;
background-color: #494949;
text-align: center;
font-size: 1.5em;
font-family: Lato;
font-weight: bold;
border-bottom: 1px solid black;
... | shmartin/shmartin.github.io | stylesheets/default.css | CSS | mit | 1,332 |
import { moduleForModel, test } from 'ember-qunit';
moduleForModel('task', 'Unit | Model | task', {
// Specify the other units that are required for this test.
needs: ['model:unfuddle-project']
});
test('it exists', function(assert) {
let model = this.subject();
// let store = this.store();
assert.ok(!!mode... | chinthakagodawita/dashfuddle | tests/unit/models/task-test.js | JavaScript | mit | 328 |
<?php
class Migration_Create_subjectpergradelevel extends CI_Migration {
public function up()
{
$this->dbforge->add_field(array(
'id' => array(
'type' => 'INT',
'constraint' => 11,
'unsigned' => TRUE,
'auto_increment' => TRUE
),
'subject_id' => array(
'type' => 'INT',
'constraint... | theallenquinto/depedschedulingsystem | application/migrations/007_create_subjectpergradelevel.php | PHP | mit | 897 |
#ifndef ERROR_H
#define ERROR_H
#include <stdio.h>
#include <stdlib.h>
void throw_error(const char *error_msg);
#endif // ERROR_H
| Ludusamo/Genetic-Algorithm-Stardew | header/error.h | C | mit | 133 |
<!doctype html>
<!--[if IE 7]>
<html class="ie7 lt-ie10 lt-ie9 lt-ie8 no-js" lang="ru"><![endif]-->
<!--[if IE 8]>
<html class="ie8 lt-ie10 lt-ie9 no-js" lang="ru"><![endif]-->
<!--[if IE 9 ]>
<html class="ie9 lt-ie10 no-js" lang="ru"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html class="no-js" lang="ru"><!--<![endi... | dumperize/fm-lk | markup/pages/master-stat/master-stat.html | HTML | mit | 1,372 |
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender... | SaitamaSama/LogZ | CODE_OF_CONDUCT.md | Markdown | mit | 3,218 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.