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 |
|---|---|---|---|---|---|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `MAP_LOCKED` constant in crate `libc`.">
<meta name="keywor... | ssgrn/Rust-Matrix-Computations | target/doc/libc/consts/os/extra/constant.MAP_LOCKED.html | HTML | mit | 4,514 |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>LeapHandController — Leap Motion Java SDK v3.1 documentation</title>
<link rel="stylesheet" href="../../cpp/_static/bootstr... | MTASZTAKI/ApertusVR | plugins/track/hand/leapMotion/3rdParty/leapMotion/docs/java/unity/Unity.Prefab.HandController.html | HTML | mit | 18,329 |
/**
Represents a bullet bill enemy.
Code by Rob Kleffner, 2011
*/
Mario.BulletBill = function(world, x, y, dir) {
this.Image = Enjine.Resources.Images["enemies"];
this.World = world;
this.X = x;
this.Y = y;
this.Facing = dir;
this.XPicO = 8;
this.YPicO = 31;
this.Height = 12;
this.Width = 4... | Vehicola/vehicola.github.io | mario/code/bulletBill.js | JavaScript | mit | 3,039 |
'use strict';
var assert = require('assert');
it('throws after timeout', function (done) {
setTimeout(function () {
throw new Error('Exception in delayed function');
}, 10);
});
| tteltrab/gulp-mocha | test/fixtures/fixture-throws-uncaught.js | JavaScript | mit | 183 |
#include "bits/stdc++.h"
using namespace std;
# define s(n) scanf("%d",&n)
# define sc(n) scanf("%c",&n)
# define sl(n) scanf("%lld",&n)
# define sf(n) scanf("%lf",&n)
# define ss(n) scanf("%s",n)
#define RE... | saurabhjn76/Competitive-Coding | CodeChef/Easy/SALARY.cpp | C++ | mit | 831 |
footer {
margin-top: 400px;
}
@media (max-width: 320px) {
.container {
padding-right: 0;
padding-left: 0;
}
}
.nav > li > a {
padding: 5px 8px;
}
.face.icon {
width: 38px;
}
.face {
width: 76px;
}
.face.select {
cursor: pointer;
}
.scenario {
width: 320px;
background: black url(images/11002c... | kuelgu/kuelgu.github.io | ohanashi/ohanashi.css | CSS | mit | 1,201 |
<?php
namespace php_active_record;
/* connector: 257
Partner provided an XML feed for their dataObjects and connector scrapes the site for the taxa names.
*/
define("PODCAST_FEED", "http://podcast.eol.org/podcast/newfeed");
define("PODCAST_DETAILS_PAGE", "http://podcast.eol.org/podcast/");
class LearningEducationAPI... | EOL/eol_php_code | lib/connectors/LearningEducationAPI.php | PHP | mit | 4,238 |
/*
* mocaccino.js
*
* Copyright (c) 2014 Maximilian Antoni <mail@maxantoni.de>
*
* @license MIT
*/
/*globals describe, it*/
'use strict';
describe('cover', function () {
function called() {
return 42;
}
function test(a) {
return a || called();
}
it('yields', function (done) {
setTimeout(... | mantoni/mocaccino.js | test/fixture/cover-pass.js | JavaScript | mit | 395 |
//
// AppDelegate.h
// Chapter 05 - Earth
//
// Created by David Rönnqvist on 2014-04-05.
// Copyright (c) 2014 David Rönnqvist.
//
// 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 with... | d-ronnqvist/SCNBook-code | Chapter 05 - Earth/Code/Chapter 05 - Earth/AppDelegate.h | C | mit | 1,888 |
<?php
namespace Recruiter\Option;
use Recruiter;
use Ulrichsg\Getopt;
use UnexpectedValueException;
class WorkOn implements Recruiter\Option
{
private $name;
private $label;
public function __construct($name)
{
$this->name = $name;
$this->label = 'all';
}
public function spe... | onebip/recruiter | src/Recruiter/Option/WorkOn.php | PHP | mit | 1,395 |
SHELL := /bin/bash
LC=$(shell /usr/bin/wc -l cervidae.sh | /usr/bin/awk '{print $$1}')
DONTTOUCH=15
all: noop
noop:
@echo "The default is a no-op function. Pick one: "
@echo " * funcs: copy the cervidae functions into it's own _funcs file for testing"
@echo " * test: runs the full test suite (run 'make funcs' be... | Cox-Automotive/cervidae | Makefile | Makefile | mit | 920 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace sGridServer.Code.Utilities
{
/// <summary>
/// This class generates and validates captchas.
/// </summary>
public class CaptchaGenerator
{
/// <summary>
... | ejoebstl/sGrid | sGridServer/Code/Utilities/CaptchaGenerator.cs | C# | mit | 3,329 |
var _curry2 = require('./internal/_curry2');
var _map = require('./internal/_map');
var curryN = require('./curryN');
var pluck = require('./pluck');
/**
* Accepts a converging function and a list of branching functions and returns a new function.
* When invoked, this new function is applied to some arguments, each... | kismts/my_udon | src/node_modules/ramda/src/converge.js | JavaScript | mit | 1,554 |
/*
+------------------------------------------------------------------------+
| Zephir Language |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2016 Zephir Team (http://www.zephir-lang.com) |
+-----... | jonbaldie/container-zephir | ext/kernel/fcall.h | C | mit | 20,978 |
<!doctype html>
<html>
<head>
<base href="../">
<title>JSDoc: Source:directions.js</title>
<link type="text/css" rel="stylesheet" href="css/jsdoc-default.css">
<link href="css/prettify-tomorrow.css" type="text/css" rel="stylesheet">
<script src="js/prettify.js"></script>
</head>
<body>
<na... | masudiiuc/angularjs-google-maps | build/docs/source/directions.html | HTML | mit | 8,210 |
<?php
namespace Oro\Component\EntitySerializer\Tests\Unit;
/**
* @SuppressWarnings(PHPMD.ExcessiveClassLength)
*/
class SimpleEntitySerializerTest extends EntitySerializerTestCase
{
public function testReuseExistingJoin()
{
$qb = $this->em->getRepository('Test:Product')->createQueryBuilder('e')
... | Djamy/platform | src/Oro/Component/EntitySerializer/Tests/Unit/SimpleEntitySerializerTest.php | PHP | mit | 40,585 |
<footer>
<div class="container">
</div>
</footer>
| paris3200/flask-inventory | app/templates/footer.html | HTML | mit | 54 |
<div class="ws-selector">
<div class="ws-selector-header">
<div class="btn-toolbar ws-toolbar">
<div class="dropdown pull-left">
<a ng-show="$root.USER_ID" data-toggle="dropdown">
Filter <span class="caret"></span>
</a>
<u... | msneddon/ui-common | functional-site/views/ws/ws-selector.html | HTML | mit | 2,242 |
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file pdRemoteProcessDebuggerDebuggingServerWatcherThread.h
///
//==================================================... | ilangal-amd/CodeXL | CodeXL/Components/GpuDebugging/AMDTProcessDebugger/src/pdRemoteProcessDebuggerDebuggingServerWatcherThread.h | C | mit | 1,995 |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogInventory\Model;
use Magento\CatalogInventory\Model\Spi\StockRegistryProviderInterface;
use Magento\CatalogInventory\Api\StockRepositoryInterface;
use Magento\CatalogInventory\Api\... | j-froehlich/magento2_wk | vendor/magento/module-catalog-inventory/Model/StockRegistryProvider.php | PHP | mit | 6,699 |
#include "data_types.h"
#include "misc.h"
#include "base/MiscHelpers.h"
using namespace std;
using namespace Scheduler;
using namespace Core;
Resource::Resource(const string& name) : p_res_type(ResourceStatic), p_name(name), p_str_val(), p_avail(RESC_UNSPECIFIED), p_max(RESC_INFINITY), p_assign(RESC_UNSPECIFIED) {}
... | CESNET/TorqueFastSched | base/Resource.cpp | C++ | mit | 2,977 |
using System;
using System.Linq;
using System.Text;
namespace _03.Mankind
{
public class Student : Human
{
private string facultyNumber;
public Student(string firstName, string lastName, string facultyNumber) : base(firstName, lastName)
{
this.FacultyNumber = facultyNumber... | zrusev/SoftUni_2016 | 05. C# OOP Basics - June 2017/03. Inheritance/03. Inheritance - Exercise/Exercises Inheritance/03. Mankind/Student.cs | C# | mit | 1,009 |
<?php return unserialize('a:2:{i:0;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";N;s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options";a:0:{}}i:1;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:59:"Quartet\\Bundle\\KakarotBundle\\Entity\\CleanScheduleRepository";s:8:"readOnly"... | emudmudmudmu/myoffice | app/cache/prod/annotations/5012b9ffdc125e778418e40c201ca542e7a325a2.cache.php | PHP | mit | 330 |
package standard
import (
"io"
"io/ioutil"
"mime/multipart"
"net/http"
"strings"
"github.com/labstack/echo"
"github.com/labstack/echo/engine"
"github.com/labstack/gommon/log"
)
type (
// Request implements `engine.Request`.
Request struct {
*http.Request
header engine.Header
url engine.URL
logge... | golang-devops/go-psexec | vendor/github.com/labstack/echo/engine/standard/request.go | GO | mit | 4,125 |
import * as Mocha from 'mocha';
import * as glob from 'glob';
import * as path from 'path';
import * as minimist from 'minimist';
import { execSilent } from './e2e/utils/process';
const argv = minimist(process.argv.slice(2), {
boolean: ['debug', 'verbose', 'nolink', 'nobuild'],
string: ['glob', 'ignore']
});
cons... | Izak88/abstruse | tests/unit_runner.ts | TypeScript | mit | 938 |
<?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Adminhtml customer orders grid block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Customer\Block\Adminhtml\Edit\Tab;
/**
* @SuppressWarnings(PHPMD.DepthOfI... | j-froehlich/magento2_wk | vendor/magento/module-customer/Block/Adminhtml/Edit/Tab/Reviews.php | PHP | mit | 820 |
import {
MISC_SELECTEDPLAYLIST_SET,
MISC_SELECTEDPLAYLIST_CLEAR,
MISC_SONGNAVSELECTION_SET,
} from '../constants';
export function setActivePlaylist(playlistId) {
return {
type: MISC_SELECTEDPLAYLIST_SET,
payload: { playlistId },
};
}
export function clearActivePlaylist() {
return {
type: MISC... | MrMint/markii | app/modules/misc/actions/index.js | JavaScript | mit | 514 |
angular.module('dialogDemo1', ['ngMaterial'])
.controller('AppCtrl', function($scope, $mdDialog) {
$scope.alert = '';
$scope.showAlert = function(ev) {
// Appending dialog to document.body to cover sidenav in docs app
// Modal dialogs should fully cover application
// to prevent interaction outside of... | ryancampbell/material | src/components/dialog/demoBasicUsage/script.js | JavaScript | mit | 1,961 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
public static class PipelineWriterExtensions
{
private readonly static Task _completedTas... | Vedin/corefxlab | src/System.IO.Pipelines/PipelineWriterExtensions.cs | C# | mit | 1,235 |
/**
* jquery.calendar.js 1.0
* http://jquerywidget.com
*/
;(function (factory) {
if (typeof define === "function" && (define.amd || define.cmd) && !jQuery) {
// AMD或CMD
define([ "jquery" ],factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
mo... | chaiqingshan/chaiqingshan.github.io | effects/demo/demo-calender/js/index.js | JavaScript | mit | 11,615 |
#ifndef __GUI_H
#define __GUI_H
typedef struct
{
u16 Left; //区域离屏幕左边界的距离 像素数
u16 Top; //区域离屏幕上边界的距离 像素数
u16 Width; //区域宽度
u16 Height; //区域高度
u16 BackColor; //区域背景色
u16 ForeColor; //区域前景色
}GUI_Area;
extern GUI_Area Screen;
extern GUI_Area Label[];
extern u16 touch_left;
extern u16 touch_t... | gk969/stm32-speech-recognition | Src/GUI/GUI.H | C++ | mit | 1,449 |
<form name="forms.wizard.step3b" ng-submit="wizardSubmit()" novalidate>
<div class="form-group">
<label>Select something</label>
<select class="form-control" name="something" required
ng-model="wizard.something"
ng-init="wizard.something = wizard.something || 'deadend'">
<option value="dea... | toenu23/angular-simplewizard | example/views/step3b.html | HTML | mit | 647 |
#!/bin/bash
FN="hguqiagenv3.db_3.2.3.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/annotation/src/contrib/hguqiagenv3.db_3.2.3.tar.gz"
"https://bioarchive.galaxyproject.org/hguqiagenv3.db_3.2.3.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hguqiagenv3.db/bioconductor-hguqiagenv3.db_... | roryk/recipes | recipes/bioconductor-hguqiagenv3.db/post-link.sh | Shell | mit | 1,440 |
/*
* Copyright 2013 Feifan Tang. All rights reserved.
*
* 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... | gavin-hao/framework_aspnet | src/Microsoft.Owin.Security.QQ/Provider/QQConnectReturnEndpointContext.cs | C# | mit | 1,113 |
I represent an index with just 64 characters of the ascii range utilized; 33 - 96, so we must do without the {, }, |, ~, and space characters. This increases my number of meaningful characters and eliminates the need for case-sensitive matching. | magma-database/magma | src/Magma-Client.package/MaSearchStringIndex.class/README.md | Markdown | mit | 246 |
import Route from '@ember/routing/route';
export default class Index extends Route {
async model() {
return await this.modelFor('blog');
}
resetController(controller, isExiting, transition) {
if (isExiting && transition.targetName !== 'error') {
controller.set('page', 1);
}
}
}
| shipshapecode/website | app/routes/blog/index.js | JavaScript | mit | 307 |
/** @module transition */ /** for typedoc */
import {StateDeclaration} from "../state/interface";
import {Predicate} from "../common/common";
import {Transition} from "./transition";
import {State} from "../state/stateObject";
import {PathNode} from "../path/node";
import {TargetState} from "../state/targetState";
imp... | Chimaytric/angular_starter | bower_components/angular-ui-router/src/transition/interface.ts | TypeScript | mit | 31,171 |
namespace Remotus.API.WinService
{
/// <summary>
/// Class exposed for Windows Service
/// </summary>
public class WinService : System.ServiceProcess.ServiceBase
{
public const string ServiceName = "Remotus";
public const string DisplayName = "Remotus";
public const string D... | LazyTarget/Remotus | src/Remotus.API/WinService/WinService.cs | C# | mit | 1,451 |
/*
* Integrated Rule Inference System (IRIS):
* An extensible rule inference system for datalog with extensions.
*
* Copyright (C) 2008 Semantic Technology Institute (STI) Innsbruck,
* University of Innsbruck, Technikerstrasse 21a, 6020 Innsbruck, Austria.
*
* This library is free software; you can red... | personalised-semantic-search/JoDS_IRIS-- | JoDS_IRIS+-/src/org/deri/iris/rules/compiler/RuleCompiler.java | Java | mit | 7,330 |
/* global describe, it */
var assert = require('assert');
var jsdom = require('mocha-jsdom');
var React = require('react/addons');
var TestUtils = React.addons.TestUtils;
var stubContext = require('react-stub-context');
var Three = require('../src/Three');
describe('Three', function () {
jsdom();
var levels, con... | JedWatson/react-context-example | test/Three.js | JavaScript | mit | 1,254 |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("XamarinCommons")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[a... | y2k/XamarinCommons | XamarinCommons/Properties/AssemblyInfo.cs | C# | mit | 995 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... | jbrantly/ts-loader | test/comparison-tests/errors/expectedOutput-2.9/bundle.js | JavaScript | mit | 3,975 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="NetworkAcl.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -------------------------------------------------------------... | NaosProject/Naos.AWS | Naos.AWS.Domain/NetworkAcl.cs | C# | mit | 2,417 |
package com.aquafx_project.controls.skin.effects;
import javafx.scene.effect.BlurType;
import javafx.scene.effect.DropShadow;
import javafx.scene.paint.Color;
/**
* Defines the Mac OS X specific very light shadow for some controls.
* This Effect is a dropshadow.
*
* @author claudinezillmann
*
*/
public class... | cis422s14team5/WatchlistPro | src/com/aquafx_project/controls/skin/effects/Shadow.java | Java | mit | 706 |
var searchData=
[
['addra',['addrA',['../a00028.html#a3cae9d5d9bef65c080151c7a068aba59',1,'ip_addr']]],
['addrb',['addrB',['../a00028.html#affc4950defbac0add14648c302d1cca3',1,'ip_addr']]],
['addrc',['addrC',['../a00028.html#a2965c835c1e5f0a593e0ce78a9e22596',1,'ip_addr']]],
['addrd',['addrD',['../a00028.html#a... | romainfroidevaux/RealTimeEmbeddedConsole | doc/html/search/variables_0.js | JavaScript | mit | 946 |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMMembersSetProfileArg;
@class DBTEAMUserSelectorArg;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `Mem... | dropbox/dropbox-sdk-obj-c | Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Team/Headers/DBTEAMMembersSetProfileArg.h | C | mit | 3,997 |
------------------------------------------------------------------------------
-- Test attributes.
-- Copyright © 2013–2015 Peter Colberg.
-- Distributed under the MIT license. (See accompanying file LICENSE.)
------------------------------------------------------------------------------
require("strict")
pcall(requi... | ld-test/hdf5 | test/attribute.lua | Lua | mit | 3,307 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("widget","en-gb",{move:"Click and drag to move"}); | laravelproject2016/mkproject | public/components/ckeditor/plugins/widget/lang/en-gb.js | JavaScript | mit | 220 |
<div ng-controller="ValidationTestController as validationCtrl">
<div class="row">
<div class="col-md-12">
<div class="tile-form">
<form name="validationCtrl.validationTest">
<div class="form-group">
<div class="input-group">
... | Blackbaud-LukeJones/skyux | js/sky/src/validation/docs/demo.html | HTML | mit | 922 |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>Buf... | AzureZhao/android-developer-cn | reference/java/nio/Buffer.html | HTML | mit | 87,489 |
import { initialize } from 'ember-off-canvas-components/initializers/custom-events';
export default {
name: 'eoc-custom-events',
initialize: initialize
};
| pixelhandler/ember-off-canvas-components | app/initializers/eoc-custom-events.js | JavaScript | mit | 160 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | devxkh/FrankE | src/Ogre/OgreMain/src/Animation/OgreTagPoint.cpp | C++ | mit | 10,052 |
<html>
<META HTTP-EQUIV=Content-Type Content="text/html; charset=utf8">
<!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/04502/0450295121200.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:22:38 GMT -->
<head><title>法編號:04502 版本:095121200</title>
<link rel="stylesheet" type="text/css" href=... | czchen/laweasyread-data | rawdata/utf8_lawstat/version2/04502/0450295121200.html | HTML | mit | 74,105 |
package com.InfinityRaider.AgriCraft.compatibility.natura;
import com.InfinityRaider.AgriCraft.utility.LogHelper;
public class NaturaHelper {
public static int getTextureIndex(int plantMeta, int seedMeta) {
//barley: seedMeta = 0
//cotton: seedMeta = 1
switch (plantMeta) {
cas... | marcin212/AgriCraft | src/main/java/com/InfinityRaider/AgriCraft/compatibility/natura/NaturaHelper.java | Java | mit | 752 |
using Maple.Domain;
namespace Maple.Core
{
public interface IFileSystemDrive : IFileSystemInfo
{
IRangeObservableCollection<IFileSystemInfo> Children { get; }
}
}
| Insire/InsireBot-V2 | src/Maple.Core/IO/Interfaces/IFileSystemDrive.cs | C# | mit | 187 |
#!/usr/bin/env python3
# Copyright (c) 2021 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""
Test p2p addr-fetch connections
"""
import time
from test_framework.messages import msg_addr, CAddress, N... | JeremyRubin/bitcoin | test/functional/p2p_addrfetch.py | Python | mit | 2,266 |
import React, { PropTypes, Component } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router';
import NoteAdd from 'material-ui/svg-icons/action/note-add';
import Delete from 'material-ui/svg-icons/action/delete';
import IconMenu from 'material-ui/IconMenu';
import ShowChart from 'mate... | Stevenah/INF5750 | webapp/js/components/sidebar/NamespaceItemMenu.js | JavaScript | mit | 2,435 |
<?php
namespace ZfcDatagridTest\Column\Action;
use PHPUnit_Framework_TestCase;
use ZfcDatagrid\Column\Action\Button;
/**
* @group Column
* @covers ZfcDatagrid\Column\Action\Button
*/
class ButtonTest extends PHPUnit_Framework_TestCase
{
public function testConstruct()
{
$button = new Button();
... | kokspflanze/ZfcDatagrid | tests/ZfcDatagridTest/Column/Action/ButtonTest.php | PHP | mit | 1,436 |
---
title: 'Kome Je Oprošteno'
date: 15/03/2021
---
Pedeset deveto poglavlje Knjige proroka Izaije iznosi zapanjujuću sliku u vezi s problemom grijeha. Srećom, Biblija pruža nadu u spasenje.
Za početak postavimo pitanje: Koliko nas je sagriješilo? Biblija je nedvosmislena: Svi smo sagriješili. Spasenje se, prema tome... | imasaru/sabbath-school-lessons | src/hr/2021-01/12/03.md | Markdown | mit | 2,316 |
<!doctype html>
<html lang="lv">
<head
prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# profile: http://ogp.me/ns/profile#"
itemscope itemtype="http://schema.org/WebSite"
>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<!-- Google ... | klavs/db-lv | docs/kolektivi/ee20ee37-62bf-eb60-eb1f-5e827fa05467.html | HTML | mit | 6,171 |
#include "StdAfx.h"
#ifndef DISABLE_CONSTRAINTS
#include "Point2PointConstraint.h"
#include "RigidBody.h"
ConstraintSetting::ConstraintSetting(btConstraintSetting* native, bool preventDelete)
{
_native = native;
_preventDelete = preventDelete;
}
ConstraintSetting::~ConstraintSetting()
{
this->!Con... | ruisebastiao/BulletSharp | src/Point2PointConstraint.cpp | C++ | mit | 3,310 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
usi... | genlu/roslyn | src/Features/LanguageServer/Protocol/Handler/Definitions/GoToTypeDefinitionHandler.cs | C# | mit | 1,328 |
file(REMOVE_RECURSE
"CMakeFiles/linearstructure_6.dir/linearstructure.cpp.o"
"linearstructure_6.pdb"
"linearstructure_6"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/linearstructure_6.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
| dybiszb/MeanCurvatureLibrary | code/external/eigen/build/test/CMakeFiles/linearstructure_6.dir/cmake_clean.cmake | CMake | mit | 293 |
/*! 1.2.7 */
window.XMLHttpRequest&&window.FormData&&(XMLHttpRequest=function(a){return function(){var b=new a;return b.setRequestHeader=function(a){return function(c,d){if("__setXHR_"===c){var e=d(b);e instanceof Function&&e(b)}else a.apply(b,arguments)}}(b.setRequestHeader),b}}(XMLHttpRequest),window.XMLHttpRequest._... | ninjablocks/douitsu | public/bower_components/ng-file-upload/angular-file-upload-html5-shim.min.js | JavaScript | mit | 332 |
<?php namespace App\Http\Controllers;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class YoutubeAPIController extends Controller
{
public function videos()
{
$options = ['chart' => 'mostPopular', 'maxResults' => 16];
$regionCode = 'MA';
$sele... | fypyuhu/nanna | app/Http/Controllers/YoutubeAPIController.php | PHP | mit | 2,077 |
const ClientCommand = require('./_base-command.js');
/**
* Maximizes the current window.
*
* @example
* this.demoTest = function (browser) {
* browser.maximizeWindow();
* };
*
*
* @method maximizeWindow
* @param {function} [callback] Optional callback function to be called when the command finishes.
* ... | beatfactor/nightwatch | lib/api/client-commands/maximizeWindow.js | JavaScript | mit | 534 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lt" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GlobalDenomination</source>
<translation>Apie GlobalDenomination</tr... | GlobalDenomination/GDN | src/qt/locale/bitcoin_lt.ts | TypeScript | mit | 109,292 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... | bengimbel/Solstice-React-Contacts-Project | node_modules/react-icons/lib/io/ionic.js | JavaScript | mit | 1,682 |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtai... | devxkh/FrankE | src/Ogre/OgreMain/src/Vao/OgreStagingBuffer.cpp | C++ | mit | 10,592 |
$(function () {
if (!Modernizr.json) {
alert('Navegador muy antiguo, por favor actualícelo');
window.location = "http://whatbrowser.org/"
}
});
| jorgelive/Vweb | web/js/d55c167_part_1_20_oldBrowser_11.js | JavaScript | mit | 169 |
<div style="text-align: center; padding-bottom: 30px;">収録日: 2017/04/16</div><br>
[CoderDojo 西宮・梅田](http://coderdojo-nishinomiya.info/)のチャンピオンであり、一般社団法人 [CoderDojo Japan](https://coderdojo.jp/) の理事であり、[DojoCon Japan 2016](http://dojocon2016.coderdojo.jp/) と [DojoCon Japan 2017](http://dojocon2017.coderdojo.jp/) の実行委員長で... | coderdojo-japan/coderdojo.jp | public/podcasts/4.md | Markdown | mit | 751 |
var baseDifference = require('../internal/baseDifference'),
baseFlatten = require('../internal/baseFlatten'),
isArguments = require('../lang/isArguments'),
isArray = require('../lang/isArray'),
restParam = require('../function/restParam');
/**
* Creates an array excluding all values of the prov... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/jshint/node_modules/lodash/array/difference.js | JavaScript | mit | 1,113 |
<?php
/**
* Methods for getting information about short phone numbers, such as short codes and emergency
* numbers. Note that most commercial short numbers are not handled here, but by the
* {@link PhoneNumberUtil}.
*
* @author Shaopeng Jia
* @author David Yonge-Mallo
* @since 5.8
*/
namespace libphonenumber;
... | 42php/42php | vendor/libphonenumber/ShortNumberInfo.php | PHP | mit | 25,968 |
// class HandleDeleteApplication {
// constructor() {
// this.ui = {};
//
// this.applications_page = $('div#third_party_applications_page');
//
// //Delete aplication modal
// this.modal_delete_application = $('div#delete_application_modal');
// this.button_delete_application = $(
// 'butto... | ging/fiware-idm | public/javascripts/users/handle_delete_application.js | JavaScript | mit | 528 |
var block = {
"tags":["video-tag"],
"videos":["https:\/\/www.youtube.com\/v\/YigKNDHhjTA?version=3&f=videos&app=youtube_gdata"],
"liked":false,
"notebooks":["47307eb6-cd32-4544-9677-1ba276b54dd3"],
"image":"https:\/\/i1.ytimg.com\/vi\/YigKNDHhjTA\/0.jpg",
"type":"Video",
"url":"https:\/\/www.youtube.com\/watch?v=YigKND... | springpartners/springpad-export | Example_Springpad_Export/viewer_data/blocks/473d3867-e3b6-4fc4-8f51-fa27aab65c28.js | JavaScript | mit | 1,360 |
# -*- coding: utf-8 -*-
# Copyright (c) 2006-2010 Tampere University of Technology
#
# 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 r... | tema-mbt/tema-adapterlib | adapterlib/ToolProtocolHTTP.py | Python | mit | 8,508 |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Authy\V1\Service\Entity\Factor;
use Twilio\Exceptions\TwilioException;
use Twilio\InstanceContext;
use Twilio\Options;
use Twilio\Values;
use Twilio\Version;
/**
* PLEASE NOTE th... | unaio/una | upgrade/files/12.1.0-13.0.0.A1/files/plugins/twilio/sdk/src/Twilio/Rest/Authy/V1/Service/Entity/Factor/ChallengeContext.php | PHP | mit | 3,669 |
module Shoppe
VERSION = "1.0.5"
end | ParthivPatel-BTC/shoppe-gem | lib/shoppe/version.rb | Ruby | mit | 37 |
<!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_26) on Mon Oct 07 06:41:20 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
MultipleArcTransition (Apache Had... | ashish-17/playback | hadoop-2.2.0/share/doc/hadoop/api/org/apache/hadoop/yarn/state/MultipleArcTransition.html | HTML | mit | 10,636 |
$(document).ready(function() {
//WAYPOINT - JQUERY COUNTTO PROGRESS BAR//
$('#count-wrapper').waypoint(function() {
$('.title-count').countTo();
}, {
offset: '80%',
triggerOnce: true
});
// MIXITUP PORTFOLIO
$(function() {
$('#container-mixitup').mixIt... | snktre59/projet_services | assets/theme_1/js/page/page.home-transparent-header.js | JavaScript | mit | 5,340 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | ahosnyms/azure-sdk-for-net | src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Generated/Models/WinRMConfiguration.cs | C# | mit | 1,422 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.14_A10_T1;
* @section: 12.14;
* @assertion: Using "try" with "catch" or "finally" statement within/without a "while" statement;
* @description: Throwing except... | Diullei/Storm | Storm.Test/SputnikV1/12_Statement/12.14_The_try_Statement/S12.14_A10_T1.js | JavaScript | mit | 555 |
/* Copyright (c) 2008-2009 Christopher J. W. Lloyd
Permission is hereby granted,free of charge,to any person obtaining a copy of this software and associated documentation files (the "Software"),to deal in the Software without restriction,including without limitation the rights to use,copy,modify,merge,publish,distrib... | farcaller/cocotron | CoreFoundation/CFNumberFormatter.h | C | mit | 5,775 |
# Be sure to restart your server when you modify this file.
AngularCasts::Application.config.session_store :cookie_store, key: '_angular_casts_session'
| stephdatu/angular_casts | config/initializers/session_store.rb | Ruby | mit | 153 |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| T... | rccghmp/efollowup | application/config/routes.php | PHP | mit | 2,067 |
using System;
using System.Collections.Generic;
using System.Text;
namespace Jint.Expressions {
[Serializable]
public class SwitchStatement : Statement {
public Statement Expression { get; set; }
public List<CaseClause> CaseClauses { get; private set; }
public Statement DefaultStatemen... | cosh/Jint | Jint/Expressions/SwitchStatement.cs | C# | mit | 601 |
'use strict';
var chai = require('chai'),
chaiAsPromised = require('chai-as-promised');
if (!global.Promise) {
global.Promise = require('promise-polyfill');
}
chai.use(chaiAsPromised);
chai.should();
var async = require('../../lib/async-as-promised');
describe('aplus', function () {
describe('setPromise(... | AccaliaDeElementia/aplus-async | test/lib/async.js | JavaScript | mit | 4,141 |
<script type="text/javascript">
// removeEventListener("load", doJSload, false);
var doPJSload = function() {
try {
tmpV = "y";
// http://localhost/w/pm/
// alert("js-header");
} catch(e) {
// alert(e);
JSSHOP.logJSerror(e, arguments, "doJSload");
}
}
try {
if (window.addEventListener){
window.addEventListener("... | njflabs/evenflow | webdroid/assets/quickorder/_p/js-header.php | PHP | mit | 527 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.drawee.drawable;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint... | s1rius/fresco | drawee/src/main/java/com/facebook/drawee/drawable/ProgressBarDrawable.java | Java | mit | 5,461 |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL... | SuperWangKai/DirectX-Graphics-Samples | Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingLibrarySubobjects/D3D12RaytracingLibrarySubobjects.cpp | C++ | mit | 37,329 |
XCPRETTY := $(shell command -v xcpretty)
test: install repo_update
@set -e; \
for test in *_test.rb; do \
bundle exec ./$$test | $(XCPRETTY) -c; \
done
repo_update:
@bundle exec pod repo update --silent
install:
@bundle install --path gems
.PHONY: test install
| hyperconnect/SQLite.swift | Tests/CocoaPods/Makefile | Makefile | mit | 272 |
<?php
/**
* 后台管理 会员订单 生成类
* @category iCMS
* @package iCMS_FrameWork1_RuleClass_Gen_User
* @Author yin
*/
class UserOrderManageGen extends BaseManageGen implements IBaseManageGen{
/**
* 引导方法
* @return mixed|null|string 执行结果
*/
public function Gen(){
$result = "";
$method = Co... | Daisukydayo/icms2 | FrameWork1/RuleClass/Gen/User/UserOrderManageGen.php | PHP | mit | 25,598 |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Insights\V1\Call;
use Twilio\ListResource;
use Twilio\Options;
use Twilio\Stream;
use Twilio\Values;
use Twilio\Version;
/**
* PLEASE NOTE that this class contains preview produc... | twilio/twilio-php | src/Twilio/Rest/Insights/V1/Call/EventList.php | PHP | mit | 5,044 |
module Elasticsearch
module Provider
module Childs
class Child
attr_accessor :index_name, :document_type, :document_mapping,
:parent_id, :id
include Elasticsearch::Provider::Client::ClassMethods
include Elasticsearch::Provider::Document::ClassMethods
include Ela... | umount/elasticsearch-dslr | lib/elasticsearch/provider/childs/class.rb | Ruby | mit | 2,769 |
#include "UnrealCVPrivate.h"
#include "TcpServer.h"
#include "Networking.h"
#include <string>
uint32 FSocketMessageHeader::DefaultMagic = 0x9E2B83C1;
bool FSocketMessageHeader::WrapAndSendPayload(const TArray<uint8>& Payload, FSocket* Socket)
{
FSocketMessageHeader Header(Payload);
FBufferArchive Ar;
Ar << Header... | Ized06/GID_Internal | built/Source/UnrealCV/Private/TcpServer.cpp | C++ | mit | 10,835 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.sql.v2017_03_01_preview.implementation;
import j... | selvasingh/azure-sdk-for-java | sdk/sql/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sql/v2017_03_01_preview/implementation/DatabaseVulnerabilityAssessmentRuleBaselineInner.java | Java | mit | 1,627 |
#!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#----------------------------------------------------------------... | lmazuel/azure-sdk-for-python | azure-cognitiveservices-vision-face/setup.py | Python | mit | 2,837 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Field AssetManager.unitSquare</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css"/>
<link re... | Circular-Studios/Dash-Docs | api/v0.7.1/components/assets/AssetManager.unitSquare.html | HTML | mit | 7,871 |
/*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2017 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
*/
#ifndef UPM_COMPASS_H_... | intel-iot-devkit/upm | include/fti/upm_compass.h | C | mit | 763 |
'use strict';
var ssacl = require('../lib')
, chai = require('chai')
, expect = chai.expect
, helper = require('./helper')
, Sequelize = require('sequelize')
, Promise = helper.Promise;
Promise.longStackTraces();
chai.use(require('chai-as-promised'));
describe('writer', function () {
beforeEach(function ... | msuret/ssacl | test/writer.test.js | JavaScript | mit | 5,494 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.