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 |
|---|---|---|---|---|---|
<?php
namespace TheCodingMachine\Yaco\Discovery;
use Interop\Container\ContainerInterface;
use Interop\Container\Factory\ContainerFactoryInterface;
use Puli\Discovery\Api\Discovery;
use Puli\Discovery\Binding\ClassBinding;
use Symfony\Component\Filesystem\Filesystem;
use TheCodingMachine\Yaco\Compiler;
/**
* A cla... | thecodingmachine/yaco-discovery | src/YacoFactory.php | PHP | mit | 2,891 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>multiplier: 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.9.1/multiplier/8.5.0.html | HTML | mit | 7,018 |
from django.core import serializers
from rest_framework.response import Response
from django.http import JsonResponse
try:
from urllib import quote_plus # python 2
except:
pass
try:
from urllib.parse import quote_plus # python 3
except:
pass
from django.contrib import messages
from django.contrib.co... | our-iot-project-org/pingow-web-service | src/posts/views.py | Python | mit | 5,217 |
/* @flow */
import {
InputTypeComposer,
type ObjectTypeComposerFieldConfigAsObjectDefinition,
} from 'graphql-compose';
import { getTypeName, type CommonOpts, desc } from '../../../utils';
import { getAllAsFieldConfigMap } from '../../Commons/FieldNames';
export function getRangeITC<TContext>(
opts: CommonOpts<... | nodkz/graphql-compose-elasticsearch | src/elasticDSL/Query/TermLevel/Range.js | JavaScript | mit | 1,241 |
<?php
return array (
'id' => 'nokia_c7_00_ver1_subuaold_subu2k9',
'fallback' => 'nokia_c7_00_ver1_subuaold',
'capabilities' =>
array (
'mobile_browser' => 'UCWeb',
'mobile_browser_version' => '9',
),
);
| cuckata23/wurfl-data | data/nokia_c7_00_ver1_subuaold_subu2k9.php | PHP | mit | 222 |
---
layout: post
microblog: true
audio:
photo:
date: 2012-07-11 10:06:51 -0600
guid: http://craigmcclellan.micro.blog/2012/07/11/t223085957279264768.html
---
I don't trust any "true story" written by someone with that name. @ Got Books! [t.co/m1PcK3VW](http://t.co/m1PcK3VW)
| craigwmcclellan/craigwmcclellan.github.io | _posts/2012-07-11-t223085957279264768.md | Markdown | mit | 279 |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.16/esri/copyright.txt for details.
//>>built
define({lblItem:"\u30a2\u30a4\u30c6\u30e0",title:"\u30b5\u30a4\u30f3 \u30a4\u30f3",info:"{server} {resource} \u306e\u30a2\u30a4\u30c6\u30e0\u306b\u30a2\u30af\u30bb... | ycabon/presentations | 2020-devsummit/arcgis-js-api-road-ahead/js-api/esri/identity/nls/ja/identity.js | JavaScript | mit | 1,486 |
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Agregar Servicio</h1>
</div>
<!-- /.col-lg-12 -->
<div class="panel-body">
<div cl... | JorgeACS/gelish | views/html/agregarServicio.html | HTML | mit | 1,833 |
package com.exilegl.ld34.entity.enemy;
import java.util.Random;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Rectangle;
... | some1epic123/Mr.-Dungeon-Aase-LD34- | LD34/src/com/exilegl/ld34/entity/enemy/EntityBullet.java | Java | mit | 6,144 |
//
// This file is part of nuBASIC
// Copyright (c) Antonino Calderone (antonino.calderone@gmail.com)
// All rights reserved.
// Licensed under the MIT License.
// See COPYING file in the project root for full license information.
//
/* -------------------------------------------------------------------------- */... | eantcal/nubasic | include/nu_stmt_function.h | C | mit | 1,886 |
{% extends 'base.html' %}
{% block head %}
<title>Websites</title>
{% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col s12">
<div class="card">
<div class="card-content #90caf9 blue lighten-3">
<div class="card-tit... | zhancongc/GameTool | app/templates/websites.html | HTML | mit | 10,691 |
import Data.List (permutations, sort)
solve :: String
solve = (sort $ permutations "0123456789") !! 999999
main = putStrLn $ solve
| pshendry/project-euler-solutions | 0024/solution.hs | Haskell | mit | 133 |
import { Component, OnInit, Input } from '@angular/core';
import { ROUTER_DIRECTIVES } from '@angular/router';
import { PublishingItemsService, PublishingItem } from '../shared/index';
@Component({
moduleId: module.id,
selector: 'app-publish-card',
templateUrl: 'publish-card.component.html',
styleUrls: ['publi... | gallotamas/falcon | src/app/publish/publish-card/publish-card.component.ts | TypeScript | mit | 856 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// Split the input into chunks.
exports.default = (function (input, fail) {
var len = input.length;
var level = 0;
var parenLevel = 0;
var lastOpening;
var lastOpeningParen;
var lastMultiComment;
var lastMultiCommen... | lordtiago/linvs | node_modules/less/lib/less/parser/chunker.js | JavaScript | mit | 5,641 |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.IndexedDB
{
/// <summary>
/// Enables events from backend.
/// </summary>
[Command(ProtocolName.IndexedDB.Enable)]
[SupportedBy("Chrome")]
public class Enabl... | MasterDevs/ChromeDevTools | source/ChromeDevTools/Protocol/Chrome/IndexedDB/EnableCommand.cs | C# | mit | 370 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class music_switch : MonoBehaviour {
private AudioSource aud;
public AudioClip[] songs;
private int selection;
// Use this for initialization
void Start () {
aud = this.GetComponent<AudioSource> ();
selection = Random.Ran... | lheckle/SomethingSomethingTacos | EnemySpawnTest/Assets/Scripts/music_switch.cs | C# | mit | 541 |
angular.module("umbraco")
.controller("Umbraco.PropertyEditors.RTEController",
function ($rootScope, $scope, $q, $locale, dialogService, $log, imageHelper, assetsService, $timeout, tinyMceService, angularHelper, stylesheetResource, macroService, editorState) {
$scope.isLoading = true;
//... | tompipe/Umbraco-CMS | src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js | JavaScript | mit | 20,615 |
from ..cw_model import CWModel
class Order(CWModel):
def __init__(self, json_dict=None):
self.id = None # (Integer)
self.company = None # *(CompanyReference)
self.contact = None # (ContactReference)
self.phone = None # (String)
self.phoneExt = None # (String... | joshuamsmith/ConnectPyse | sales/order.py | Python | mit | 1,974 |
package adts;
/**
* Interface that represents any music item. MusicSymbol and MusicPart extend
* this. Thus, a Music could be a MusicPiece, a Voice, a Chord, a Lyric, a
* Pitch, or a Rest. a The objects are immutable. The equals, toString, and
* hashCode methods work recursively and individually different fr... | zekedroid/ABC-Music-Player | src/adts/Music.java | Java | mit | 1,812 |
class ApplicationPolicy
attr_reader :user, :record
def initialize(user, record)
@user = user
@record = record
end
class Scope
attr_reader :user, :scope
def initialize(user, scope)
@user = user
@scope = scope
end
end
end
| jcpny1/recipe-cat | app/policies/application_policy.rb | Ruby | mit | 267 |
'use strict';
var isA = require("Espresso/oop").isA;
var oop = require("Espresso/oop").oop;
var init = require("Espresso/oop").init;
var trim = require("Espresso/trim").trim;
var isA = require("Espresso/oop").isA;
var oop = require("Espresso/oop").oop;
function RequestInterface(){
oop(this,"Espresso/Http/RequestIn... | quimsy/espresso | Http/RequestInterface.js | JavaScript | mit | 369 |
#ifndef __BK_MESH_SAMPLING_H__
#define __BK_MESH_SAMPLING_H__
// blackhart headers.
#include "foundation\BkExport.h"
#include "foundation\BkAtomicDataType.h"
// Forward declarations.
struct BkPoint3;
// ~~~~~ Dcl(PUBLIC) ~~~~~
/*! \brief Samples a list of triangles.
*
* \param vertices The vertices of each triang... | Blackhart/Blackhart | blackhart/includes/foundation/BkMeshSampling.h | C | mit | 599 |
namespace AnimalLookupWebservice.Areas.HelpPage.ModelDescriptions
{
public class KeyValuePairModelDescription : ModelDescription
{
public ModelDescription KeyModelDescription { get; set; }
public ModelDescription ValueModelDescription { get; set; }
}
} | rohansen/Code-Examples | Web Development/Web Service Examples/AnimalLookupWebservice/AnimalLookupWebservice/Areas/HelpPage/ModelDescriptions/KeyValuePairModelDescription.cs | C# | mit | 281 |
module.exports = function(dataUri, maxDimension, callback){
var source = new Image();
source.addEventListener('load', function(){
var canvas = document.createElement('canvas'),
ratio = Math.max(source.width, source.height) / maxDimension;
canvas.width = source.width / ratio;
... | MauriceButler/resizeo | index.js | JavaScript | mit | 715 |
#!/bin/bash
# if config file doesnt exist (wont exist until user changes a setting) then copy default config file
if [[ ! -f /config/core.conf ]]; then
echo "[info] Deluge config file doesn't exist, copying default..."
cp /home/nobody/deluge/core.conf /config/
else
echo "[info] Deluge config file already exists, sk... | Toilal/stealthbox | .docker/deluge/home/deluge.sh | Shell | mit | 438 |
</script> <!--script end-->
</body> <!--body end-->
</html> <!--html end-->
| zhangbobell/reportv2 | application/views/templates/task_footer_final.php | PHP | mit | 103 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kiwi.Renderers.CanvasRenderer - Kiwi.js</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="sty... | NoelReverse/dys | docs/classes/Kiwi.Renderers.CanvasRenderer.html | HTML | mit | 30,406 |
// @flow
import React from 'react';
import { renderToStaticMarkup } from 'react-dom/server';
import Middleware from './Middleware';
type Base = {
href?: string,
target?: string,
};
type Link = {
crossOrigin?: string,
href?: string,
hrefLang?: string,
integrity?: string,
media?: string,
preload?: bool... | michalkvasnicak/spust | packages/spust-koa/src/RenderApp.js | JavaScript | mit | 2,997 |
-- randexpr1.test
--
-- db eval {SELECT (case coalesce((select +a from t1 where exists(select 1 from t1 where t1.e not between t1.f-b and (select count(*) from t1)-t1.f | e)),t1.d+case when t1.b not between t1.d and 17+case when a in (t1.d,a,(abs(~case when (t1.f)<=t1.c then -17 else t1.f end)/abs(19))*d*t1.d) then (... | bkiers/sqlite-parser | src/test/resources/randexpr1.test_1885.sql | SQL | mit | 1,410 |
import {
RESOURCE,
SERVER_ERRORS,
INITIAL_STATE_WITH_CACHED_LIST,
INITIAL_STATE_WITH_LIST_BEING_FETCHED,
INITIAL_STATE_WITH_CACHED_AND_SELECTED_LIST,
} from '../mocks'
import { generateListResourceActions } from './mocks'
const request = () => Promise.resolve([RESOURCE])
const errorRequest = () => ... | travisbloom/redux-resources | src/actions/listResource.spec.js | JavaScript | mit | 2,626 |
#!/usr/bin/env bash
phpize
./configure
make
sudo make install
make clean
php --re focusphp
| mylxsw/FocusPHP-Ext | startup.sh | Shell | mit | 92 |
// acquisition.hpp
#ifndef ACQUISITION_HPP
#define ACQUISITION_HPP
#include <QAbstractVideoBuffer>
#include <QAbstractVideoSurface>
#include <QList>
#include <QVideoFrame>
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(visionAcquisitionLog)
class Acquisition : public QAbstractVideoSurface {
Q_OBJECT
... | derpicated/articated | source/vision/acquisition.hpp | C++ | mit | 608 |
/*
* The MIT License
* Copyright © 2014 Cube Island
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... | CubeEngine/Modularity | core/src/main/java/de/cubeisland/engine/modularity/core/LifeCycle.java | Java | mit | 11,912 |
import { AppPage } from './app.po';
describe('material2 App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
| dylan-smith/pokerleaguemanager | spikes/Material2/e2e/app.e2e-spec.ts | TypeScript | mit | 291 |
Radiant.config do |config|
config.define 'admin.title', :default => "Radiant CMS"
config.define 'dev.host'
config.define 'local.timezone', :allow_change => true, :select_from => lambda { ActiveSupport::TimeZone::MAPPING.keys.sort }
config.define 'defaults.locale', :select_from => lambda { Radiant::AvailableLoca... | jcasimir/radiant | config/initializers/radiant_config.rb | Ruby | mit | 1,331 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>menhirlib: 48 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="s... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.2-2.0.6/released/8.13.1/menhirlib/20200612.html | HTML | mit | 10,688 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="st... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.03.0-2.0.5/released/8.9.0/dpdgraph/0.6.4.html | HTML | mit | 7,967 |
package com.bugsnag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import javax.annotation.PostConstruct;
/**
* If spring-webmv... | bugsnag/bugsnag-java | bugsnag-spring/src/main/java/com/bugsnag/MvcConfiguration.java | Java | mit | 1,039 |
import React, {Component} from 'react';
import MiniInfoBar from '../components/MiniInfoBar';
export default class About extends Component {
state = {
showKitten: false
}
handleToggleKitten() {
this.setState({showKitten: !this.state.showKitten});
}
render() {
const {showKitten} = this.state;
... | vbdoug/hot-react | src/views/About.js | JavaScript | mit | 1,598 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<meta name="collection" content="api">
<!-- Generated by javadoc (build 1.5.0-rc) on Wed Aug 11 07:24:05 PDT 2004 -->
<TITLE>
NumberOfDocuments (Java 2 Platform SE 5.0)
</TITLE>
<META NAM... | Smolations/more-dash-docsets | docsets/Java 5.docset/Contents/Resources/Documents/javax/print/attribute/standard/NumberOfDocuments.html | HTML | mit | 19,307 |
package com.seafile.seadroid2.transfer;
/**
* Download state listener
*
*/
public interface DownloadStateListener {
void onFileDownloadProgress(int taskID);
void onFileDownloaded(int taskID);
void onFileDownloadFailed(int taskID);
}
| huangbop/seadroid-build | seadroid/src/main/java/com/seafile/seadroid2/transfer/DownloadStateListener.java | Java | mit | 249 |
from pydispatch import dispatcher
from PySide import QtCore, QtGui
import cbpos
logger = cbpos.get_logger(__name__)
from .page import BasePage
class MainWindow(QtGui.QMainWindow):
__inits = []
def __init__(self):
super(MainWindow, self).__init__()
self.tabs = QtGui... | coinbox/coinbox-mod-base | cbmod/base/views/window.py | Python | mit | 7,111 |
package cn.javay.zheng.common.validator;
import com.baidu.unbiz.fluentvalidator.ValidationError;
import com.baidu.unbiz.fluentvalidator.Validator;
import com.baidu.unbiz.fluentvalidator.ValidatorContext;
import com.baidu.unbiz.fluentvalidator.ValidatorHandler;
/**
* 长度校验
* Created by shuzheng on 2017/2/18.
*/
publ... | javay/zheng-lite | zheng-common/src/main/java/cn/javay/zheng/common/validator/LengthValidator.java | Java | mit | 1,107 |
define([
"dojo/_base/array",
"dojo/_base/connect",
"dojo/_base/declare",
"dojo/_base/lang",
"dojo/_base/window",
"dojo/dom",
"dojo/dom-class",
"dojo/dom-construct",
"dojo/dom-style",
"dijit/registry",
"dijit/_Contained",
"dijit/_Container",
"dijit/_WidgetBase",
"./ProgressIndicator",
"./ToolBarButton",
... | aguadev/aguadev | html/dojo-1.8.3/dojox-1.9.0/mobile/Heading.js | JavaScript | mit | 7,774 |
/** @jsx jsx */
import { Editor } from 'slate'
import { jsx } from '../..'
export const input = (
<editor>
<block>
<mark key="a">
<anchor />o
</mark>
n
<mark key="b">
e<focus />
</mark>
</block>
</editor>
)
export const run = editor => {
return Array.from(E... | isubastiCadmus/slate | packages/slate/test/queries/activeMarks/union.js | JavaScript | mit | 418 |
/**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 1999-2015, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* ... | cscfa/bartleby | library/logBack/logback-1.1.3/logback-access/src/main/java/ch/qos/logback/access/spi/AccessEvent.java | Java | mit | 14,592 |
package appalounge;
import org.json.JSONArray;
import org.json.JSONObject;
import resources.Constructors;
import resources.exceptions.ApiException;
import resources.exceptions.AuthRequiredException;
import resources.exceptions.BadRequestException;
import resources.exceptions.DataNotSetException;
import resources.infra... | vontell/EasyAPI | build/resources/main/appalounge/APPAAnnounce.java | Java | mit | 2,768 |
package com.carlisle.incubators.PopupWindow;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.carlisle.incubators.R;
/**
* Created by chengxin on 11/24/16.
*/
public class PopupWindowActivity extends AppCompa... | CarlisleChan/Incubators | app/src/main/java/com/carlisle/incubators/PopupWindow/PopupWindowActivity.java | Java | mit | 728 |
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Serenghetto::Application.initialize!
| randomm/serenghetto-server | config/environment.rb | Ruby | mit | 155 |
# Phusion Passenger - https://www.phusionpassenger.com/
# Copyright (c) 2010 Phusion Holding B.V.
#
# "Passenger", "Phusion Passenger" and "Union Station" are registered
# trademarks of Phusion Holding B.V.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and ass... | clemensg/passenger | src/ruby_supportlib/phusion_passenger/plugin.rb | Ruby | mit | 2,994 |
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
namespace Gu.Analyzers.Benchmarks.Benchmarks
{
public class GU0050IgnoreEventsWhenSerializingBenchmarks
{
private static readonly Gu.Roslyn.Asserts.Benchmark Benchmark = Gu.Roslyn.Asserts.Benchmark.Create(Code.AnalyzersP... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Benchmarks/Benchmarks/GU0050IgnoreEventsWhenSerializingBenchmarks.cs | C# | mit | 534 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002,2008 Oracle. All rights reserved.
*
* $Id: EntityConverter.java,v 1.11 2008/01/07 14:28:58 cwl Exp $
*/
package com.sleepycat.persist.evolve;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* A... | plast-lab/DelphJ | examples/berkeleydb/com/sleepycat/persist/evolve/EntityConverter.java | Java | mit | 2,735 |
/*
* Popular Repositories
* Copyright (c) 2014 Alberto Congiu (@4lbertoC)
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
'use strict';
var React = require('react');
/**
* Like Array.map(), but on an object's own properties.
... | 4lbertoC/popularrepositories | src/components/layout/LanguageList.js | JavaScript | mit | 1,648 |
# Arduino-Protothread-Library | Erutan409/Arduino-Protothread-Library | README.md | Markdown | mit | 29 |
<?php
namespace Sitpac\ExtranetBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DisponibilidadVehi
*
* @ORM\Table(name="disponibilidad_vehi")
* @ORM\Entity
*/
class DisponibilidadVehi
{
/**
* @var integer
*
* @ORM\Column(name="id_disp_vehi", type="integer", nullable=false)
* @ORM\Id... | jorgeibarra87/SITPAC | src/Sitpac/ExtranetBundle/Entity/DisponibilidadVehi.php | PHP | mit | 2,806 |
<!DOCTYPE html><meta charset=utf-8><title>WICS</title><script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:localeFilterRule selector="//@*" localeFilterType="include" localeFilterList="*"/>
<its:dirRule dir="l... | renatb/ITS2.0-WICS-converter | samples/output/ITS2.0_Test_Suite/XML/languageinformation/languageinfo1xml.html | HTML | mit | 1,292 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ott: 31 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesh... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.9.1/ott/0.29.html | HTML | mit | 11,038 |
module ResetConfigHelper
def self.included(base)
base.instance_eval do
around(:each) do |example|
begin
Capybara::AsyncRunner.config.commands_directory = ROOT.join('spec/support/js')
example.run
ensure
Capybara::AsyncRunner.config.reset!
end
end
... | iliabylich/capybara-async-runner | spec/support/reset_config_helper.rb | Ruby | mit | 404 |
import assert from 'assert'
import {fixCase} from '../../src/lib/words/case'
import Locale from '../../src/locale/locale'
describe('Corrects accidental uPPERCASE\n', () => {
let testCase = {
'Hey, JEnnifer!': 'Hey, Jennifer!',
'CMSko': 'CMSko',
'FPs': 'FPs',
'ČSNka': 'ČSNka',
'BigONE': 'BigONE', ... | viktorbezdek/react-htmlcontent | test/words/case.test.js | JavaScript | mit | 783 |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\ResourceBundle;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler... | Symfomany/Sylius | src/Sylius/Bundle/ResourceBundle/SyliusResourceBundle.php | PHP | mit | 976 |
#!/usr/bin/env python
from __future__ import division, print_function, absolute_import
from os.path import join
def configuration(parent_package='', top_path=None):
import warnings
from numpy.distutils.misc_util import Configuration
from numpy.distutils.system_info import get_info, BlasNotFoundError
... | DailyActie/Surrogate-Model | 01-codes/scipy-master/scipy/odr/setup.py | Python | mit | 1,419 |
package photoeffect.effect.otherblur;
import java.awt.image.BufferedImage;
import measure.generic.IGenericWorkload;
public interface IEffectOtherBlur extends IGenericWorkload<BufferedImage>
{
}
| wolfposd/jadexphoto | photoeffect/src/photoeffect/effect/otherblur/IEffectOtherBlur.java | Java | mit | 198 |
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
CND_CONF=default
CND_DISTDIR=dist
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/PIC24_Dev_Board_Template.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
OUTPUT_BASENAME=PIC24_Dev_Board_Template... | briandorey/PIC24-Dev-Board | Firmware/Template/PIC24 Dev Board Template.X/nbproject/Package-default.bash | Shell | mit | 1,459 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: 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.08.1-2.0.5/released/8.10.2/kildall/8.9.0.html | HTML | mit | 7,189 |
import Store from '../../Store';
import Expires from '../../Expires';
import { lpush } from '../lpush';
import { lpushx } from '../lpushx';
describe('Test lpushx command', () => {
it('should prepend values to list', () => {
const redis = new MockRedis();
redis.set('mylist', []);
expect((<any>redis).lpush... | nileshmali/ioredis-in-memory | src/commands/__tests__/lpushx.spec.ts | TypeScript | mit | 800 |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | kuhlenh/port-to-core | Reports/co/concierge.1.0.5.2/Concierge-net40.html | HTML | mit | 133,735 |
Rust-brainfuck
==============
A Brainfuck interpreter made in Rust.
- Yes, it works, and it's fully compliant.
- No, it is not very fast (or at all (yet)).
- Yes, it is overkill.
- Yes, it is useless. Man, did you play with receipts as a kid or something?
Usage
-----
Make sure to have _Rust 0.10_ and _Make_ availa... | zenoamaro/rust-brainfuck | README.md | Markdown | mit | 2,332 |
/**
* Reparse the Grunt command line options flags.
*
* Using the arguments parsing logic from Grunt:
* https://github.com/gruntjs/grunt/blob/master/lib/grunt/cli.js
*/
module.exports = function(grunt){
// Get the current Grunt CLI instance.
var nopt = require('nopt'),
parsedOptions = parseOptions(nopt, gru... | widgetworks/nopt-grunt-fix | index.js | JavaScript | mit | 1,652 |
module.exports = {
"name": "ATmega16HVB",
"timeout": 200,
"stabDelay": 100,
"cmdexeDelay": 25,
"syncLoops": 32,
"byteDelay": 0,
"pollIndex": 3,
"pollValue": 83,
"preDelay": 1,
"postDelay": 1,
"pgmEnable": [172, 83, 0, 0],
"erase": {
"cmd": [172, 128, 0, 0],
"delay": 45,
"pollMethod":... | noopkat/avrgirl-chips-json | atmega/atmega16hvb.js | JavaScript | mit | 1,112 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.DataContracts.Common
{
using System;
using Newtonsoft.Json;
using YamlDotNet.Serialization;
using Microsoft.DocAsCode.Ut... | sergey-vershinin/docfx | src/Microsoft.DocAsCode.DataContracts.Common/SourceDetail.cs | C# | mit | 1,881 |
---
published: true
title: Landed on TinyPress
layout: post
---
For a long time I tried to find a simple way to write technical articles mainly for my own consumption. Hopefully TinyPress is the way to go... | aanno/aanno.github.io | _posts/2016-02-21-landed-on-tinypress.markdown | Markdown | mit | 212 |
---
layout: page
title: Guerrero - Yates Wedding
date: 2016-05-24
author: Maria Morgan
tags: weekly links, java
status: published
summary: Cras bibendum diam erat, non.
banner: images/banner/leisure-03.jpg
booking:
startDate: 03/21/2016
endDate: 03/23/2016
ctyhocn: BALAMHX
groupCode: GYW
published: true
---
Viv... | KlishGroup/prose-pogs | pogs/B/BALAMHX/GYW/index.md | Markdown | mit | 2,764 |
---
layout: page
title: Stokes Falls International Conference
date: 2016-05-24
author: Christopher Barajas
tags: weekly links, java
status: published
summary: Quisque sit amet risus finibus orci egestas posuere. Donec.
banner: images/banner/leisure-03.jpg
booking:
startDate: 05/14/2016
endDate: 05/15/2016
ctyhocn... | KlishGroup/prose-pogs | pogs/S/SANCSHX/SFIC/index.md | Markdown | mit | 2,444 |
---
layout: page
title: Megan Manning's 102nd Birthday
date: 2016-05-24
author: Justin Rowe
tags: weekly links, java
status: published
summary: Nullam et eros sagittis, volutpat augue ac, ultrices augue.
banner: images/banner/meeting-01.jpg
booking:
startDate: 04/28/2019
endDate: 04/29/2019
ctyhocn: RICARHX
gro... | KlishGroup/prose-pogs | pogs/R/RICARHX/MM1B/index.md | Markdown | mit | 3,024 |
export function JavapParser(input: any): this;
export class JavapParser {
constructor(input: any);
_interp: any;
ruleNames: string[];
literalNames: (string | null)[];
symbolicNames: (string | null)[];
constructor: typeof JavapParser;
get atn(): any;
compilationUnit(): CompilationUnitCont... | wizawu/1c | dist/parser/javap/JavapParser.d.ts | TypeScript | mit | 15,534 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by Brian Nelson 2016. *
* See license in repo for more information *
* https://github.com/sharpHDF/sharpHDF *
* ... | sharpHDF/sharpHDF | src/sharpHDFTests/Objects/Hdf5AttributeTests.cs | C# | mit | 23,622 |
# Integration tests for rust_fuse
The purpose of this crate is to provide a set of tests that will verify filesystems written with rust_fuse in action. To run it, you need to be capable of mounting arbitrary weird FUSE filesystems under temp directories.
| MicahChalmer/rust-fuse-mc-original | src/test/README.md | Markdown | mit | 257 |
SHELL = /bin/sh
# V=0 quiet, V=1 verbose. other values don't work.
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
ECHO1 = $(V:1=@ :)
ECHO = $(ECHO1:0=@ echo)
NULLCMD = :
#### Start of system configuration section. ####
srcdir = .
topdir = /usr/local/include/ruby-2.6.0
hdrdir = $(topdir)
arch_hdrdir = /usr/local/include/ruby-2.6... | fractalbass/data_science | vendor/bundle/gems/eventmachine-1.2.7/ext/Makefile | Makefile | mit | 9,074 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>najaxjs Tutorial: relaylinker | Ajax simple library</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<lin... | any-js/any-js.github.io | any-js/najaxjs/docs/tutorial-relaylinker.html | HTML | mit | 6,971 |
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
namespace UniversityStudents.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class... | twabbott/FeralNerd | Projects/AspDemo/UniversityStudents/Models/IdentityModels.cs | C# | mit | 1,238 |
const express = require('express');
const app = express();
const path = require('path');
const userCtrl = require('./userCtrl.js');
//extra middleware
const bodyParser = require('body-parser');
app.use(bodyParser.urlencoded({extended: true}), bodyParser.json());
app.use(express.static(path.join(__dirname, '../../node... | dbviews/dbview | src/server/server.js | JavaScript | mit | 814 |
package com.wjiec.learn.reordering;
public class SynchronizedThreading {
private int number = 0;
private boolean flag = false;
public synchronized void write() {
number = 1;
flag = true;
}
public synchronized int read() {
if (flag) {
return number * number;
... | JShadowMan/package | java/concurrency-arts/src/main/java/com/wjiec/learn/reordering/SynchronizedThreading.java | Java | mit | 357 |
---
layout: base
---
<div class="body-container">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-light bg-faded">
<div class="... | bulnab/bulnab.github.io | _layouts/default.html | HTML | mit | 801 |
<?php
namespace Torchbox\Thankq\Api;
class doContactInsert
{
/**
* @var esitWSdoContactInsertArgument $doContactInsertArgument
*/
protected $doContactInsertArgument = null;
/**
* @param esitWSdoContactInsertArgument $doContactInsertArgument
*/
public function __construct($doConta... | mrhorse/crm_api | lib/Api/doContactInsert.php | PHP | mit | 894 |
package eu.hgross.blaubot.android.views;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Handler;
import android.os.Looper;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget... | Blaubot/Blaubot | blaubot-android/src/main/java/eu/hgross/blaubot/android/views/KingdomView.java | Java | mit | 6,132 |
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: AssemblyTitle("17... | kalinmarkov/SoftUni | Programming Basic/ProgrammingBasic-EXAMS/17.July.02.Harvest/Properties/AssemblyInfo.cs | C# | mit | 1,412 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Td</title>
<!-- <script src="http://use.edgefonts.net/source-sans-pro;source-code-pro.js"></script> -->
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic|Source+Code+Pro:300... | lki1354/Ciayn | documentation/html-docs/contents/ff1586271018a6e64d655d6b829080ce.html | HTML | mit | 6,768 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import zmq
from zmq.eventloop import ioloop as ioloop_mod
import zmqdecorators
import time
SERVICE_NAME = "urpobot.motor"
SERVICE_PORT = 7575
SIGNALS_PORT = 7576
# How long to wait for new commands before stopping automatically
COMMAND_GRACE_TIME = 0.250
class motorserv... | HelsinkiHacklab/urpobotti | python/motorctrl.py | Python | mit | 3,257 |
from rest_framework import serializers
from . import models
class Invoice(serializers.ModelSerializer):
class Meta:
model = models.Invoice
fields = (
'id', 'name', 'additional_infos', 'owner',
'creation_date', 'update_date',
)
| linovia/microinvoices | microinvoices/invoices/serializers.py | Python | mit | 281 |
<footer class="site-footer">
<div class="wrapper">
<h2 class="footer-heading small-site-title">{{ site.title }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list footer-content">
<li>Powered By <a href="http://github.com/hemangsk/Gra... | tylerhether/tylerhether.github.io | _includes/footer.html | HTML | mit | 1,112 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace Izzo.Collections.Immutable
{
[DebuggerDisplay( "Count = {Count}" )]
public sealed partial class ImmutableList<T> : IImmutableList<T>
{
public static readonly ImmutableList<T> Empty = new I... | SuperIzzo/Unity3D-Immutable-Collections | Assets/Collections/Immutable/ImmutableList_1.cs | C# | mit | 5,038 |
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SESSION_NAME="$1"
source "$CURRENT_DIR/helpers.sh"
dismiss_session_list_page_from_view() {
tmux send-keys C-c
}
session_name_not_provided() {
[ -z "$SESSION_NAME" ]
}
main() {
if session_name_not_provided; then
dismiss_sessio... | disser/tmux-sessionist | scripts/switch_or_loop.sh | Shell | mit | 528 |
<?php
/**
* Locale data for 'ksb'.
*
* This file is automatically generated by yiic cldr command.
*
* © 1991-2007 Unicode, Inc. All rights reserved.
* Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
*
* @copyright 2008-2013 Yii Software LLC (http://www.yiiframework.com/license/)
*... | ProfilerTeam/Profiler | protected/vendors/yii/i18n/data/ksb.php | PHP | mit | 10,293 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template begins_with</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../../in... | calvinfarias/IC2015-2 | BOOST/boost_1_61_0/libs/log/doc/html/boost/log/expressions/begins_with_idp21055696.html | HTML | mit | 4,908 |
module Models
class TimeStamp
attr_accessor :sec
attr_accessor :usec
end
end | Ruhrpottpatriot/WarframeApi | app/api/models/time_stamp.rb | Ruby | mit | 88 |
class Users::SessionsController < Devise::SessionsController
layout :layout
def presign
end
def layout
if params[:no_layout].present?
return false
else
return 'user'
end
end
end
| sleepinglion/anti-kb | app/controllers/users/sessions_controller.rb | Ruby | mit | 215 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fcsl-pcm: 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.02.3-2.0.6/released/8.5.2/fcsl-pcm/1.1.1.html | HTML | mit | 7,591 |
exports.find = function(options) {
options || (options = {});
options.param || (options.param = 'query');
options.parse || (options.parse = JSON.parse);
return function(req, res, next) {
var query = req.query[options.param];
var conditions = query ? options.parse(query) : {};
re... | scttnlsn/emt | lib/query.js | JavaScript | mit | 2,776 |
// MooTools: the javascript framework.
// Load this file's selection again by visiting: http://mootools.net/more/f0c28d76aff2f0ba12270c81dc5e8d18
// Or build this file again with packager using: packager build More/Assets More/Hash.Cookie
/*
---
script: More.js
name: More
description: MooTools More
license: MIT-st... | donatj/CorpusPHP | Source/js/mootools.more.js | JavaScript | mit | 7,181 |
"""Basic thermodynamic calculations for pickaxe."""
from typing import Union
import pint
from equilibrator_api import (
Q_,
ComponentContribution,
Reaction,
default_physiological_ionic_strength,
default_physiological_p_h,
default_physiological_p_mg,
default_physiological_temperature,
)
fro... | JamesJeffryes/MINE-Database | minedatabase/thermodynamics.py | Python | mit | 11,041 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.