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 |
|---|---|---|---|---|---|
#ifndef OPENTISSUE_DYNAMICS_EDM_EDM_SOLID_H
#define OPENTISSUE_DYNAMICS_EDM_EDM_SOLID_H
//
// OpenTissue Template Library
// - A generic toolbox for physics-based modeling and simulation.
// Copyright (C) 2008 Department of Computer Science, University of Copenhagen.
//
// OTTL is licensed under zlib: http://ope... | marizoldi/Hapty | Dependencies/OpenTissue/include/OpenTissue/dynamics/edm/edm_solid.h | C | mit | 34,438 |
Trace-VstsEnteringInvocation $MyInvocation
Import-VstsLocStrings "$PSScriptRoot\Task.json"
# Get inputs.
$scriptType = Get-VstsInput -Name ScriptType -Require
$scriptPath = Get-VstsInput -Name ScriptPath
$scriptInline = Get-VstsInput -Name Inline
$scriptArguments = Get-VstsInput -Name ScriptArguments
$__vsts_input_err... | grawcho/vso-agent-tasks | Tasks/AzurePowerShellV3/AzurePowerShell.ps1 | PowerShell | mit | 6,411 |
import {Entity, PrimaryGeneratedColumn} from "../../../../src";
import {Column} from "../../../../src/decorator/columns/Column";
@Entity()
export class Post {
@PrimaryGeneratedColumn()
id: number;
@Column("timestamp", { precision: 3, default: () => "CURRENT_TIMESTAMP(3)", onUpdate: "CURRENT_TIMESTAMP(3)"... | typeorm/typeorm | test/github-issues/1901/entity/Post.ts | TypeScript | mit | 345 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not re... | almadaocta/lordbike-production | errors/includes/src/Mage_Oauth_Block_Adminhtml_Oauth_Consumer_Edit.php | PHP | mit | 3,076 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not re... | almadaocta/lordbike-production | errors/includes/src/Mage_Customer_Model_Config_Share.php | PHP | mit | 3,055 |
package com.cvtalks;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import static org.junit.Assert.assertEquals;
public class SubtractTest {
@Rule
public ExpectedException thrown = ExpectedException.none();
@Test
public void canSubtractValues() {
Val... | razakpm/oopjavacalculator | src/test/java/com/cvtalks/SubtractTest.java | Java | mit | 985 |
#!/bin/bash
set -e
apt-get -y update
apt-get -y install linux-headers-$(uname -r) build-essential dkms puppet-common
apt-get -y clean
mount -o loop /tmp/VBoxGuestAdditions.iso /media/cdrom
/media/cdrom/VBoxLinuxAdditions.run || true
umount /media/cdrom
| cppforlife/packer-bosh | dev/scripts/vbox-guest-additions.sh | Shell | mit | 256 |
/*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015
Vladimír Vondruš <mosra@centrum.cz>
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 Softwar... | ashimidashajia/magnum | src/Magnum/Shaders/DistanceFieldVector.cpp | C++ | mit | 4,761 |
import enum
class calendar_permissions(enum.IntEnum):
ASCIT = 21
AVERY = 22
BECHTEL = 23
BLACKER = 24
DABNEY = 25
FLEMING = 26
LLOYD = 27
PAGE = 28
RICKETTS = 29
RUDDOCK = 30
OTHER = 31
ATHLETICS = 32
| ASCIT/donut-python | donut/modules/calendar/permissions.py | Python | mit | 251 |
require 'date'
require 'set'
require PomodoroTracker::POMODORO_DIR + 'models/file_persistor'
require PomodoroTracker::POMODORO_DIR + 'models/activity'
require PomodoroTracker::POMODORO_DIR + 'models/activity_inventory'
require PomodoroTracker::POMODORO_DIR + 'models/day'
require PomodoroTracker::POMODORO_DIR + 'models... | PragTob/pomodoro_tracker | lib/pomodoro_tracker/models/all.rb | Ruby | mit | 331 |
import React from 'react';
import Paper from '@material-ui/core/Paper';
import { makeStyles, createStyles, Theme } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import Avatar from '@material-ui/core/Avatar';
import Typography from '@material-ui/core/Typography';
const useStyles = makeStyl... | lgollut/material-ui | docs/src/pages/components/grid/AutoGridNoWrap.tsx | TypeScript | mit | 1,762 |
# Changelog - newLEGACYinc-app-server
### 1.1.1
- Fix Twitch notification logic
### 1.1.0
- Major server rewrite
### 1.0.2 (2016-01-01)
- When I first bothered to start versioning
| newLEGACYinc/newLEGACYinc-app-server | CHANGELOG.md | Markdown | mit | 188 |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | Microsoft/ChakraCore | lib/Runtime/Language/JavascriptOperators.h | C | mit | 70,527 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Requirements</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REV="MADE"
HREF="mailto:pgsql-docs@postgresql.org"><LINK
REL="HOME"
TITLE="PostgreSQL 9.6.... | unsupo/ogame | ogamebotserver/src/main/resources/databases/postgres/share/doc/postgresql/html/install-requirements.html | HTML | mit | 13,788 |
const path = require('path');
const webpack = require('webpack');
module.exports = {
devtool: 'cheap-module-eval-source-map',
entry: './index.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'bundle.js',
publicPath: '/static/'
},
module: {
loaders: [
{
test: /\.js?$/... | ahbing/Pure | examples/video/webpack.config.js | JavaScript | mit | 489 |
// Copy <array> to the device
void bones_copy<direction>_<id>_<array>(<definition>) {
cudaStreamSynchronize(kernel_stream);
bones_memcpy(device_<array>, <array><flatten>, <variable_dimensions>*sizeof(<type>), cudaMemcpyHostToDevice, <state>, <index>);
} | tue-es/bones | skeletons/GPU-CUDA/common/mem_async_copyin.c | C | mit | 258 |
{% extends "parts/base.html" %}
{% set active_page = "login" -%}
{% block content %}
<div class="mdl-grid">
<div class="mdl-cell mdl-cell--10-col text-center">
<h1>Login</h1>
</div>
<div class="mdl-cell mdl-cell--2-col">
<span id="login_saved" class="hidden mdl-chip mdl-chip--deletable">
<span class="mdl... | k33k00/tesseract_infinity | t_infinity.old/app/templates/login.html | HTML | mit | 2,096 |
<?php
namespace AppBundle\Repository;
use AppBundle\Entity\PastTimeline;
use AppBundle\Entity\User;
use Doctrine\ORM\EntityRepository;
/**
* PastTimelineRepository.
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class PastTimelineRepository extends EntityRep... | ryota-murakami/tweet-pick | src/AppBundle/Repository/PastTimelineRepository.php | PHP | mit | 768 |
import logging, sys
from logging import DEBUG, INFO, WARNING, ERROR, CRITICAL
class InfoFilter(logging.Filter):
def filter(self, rec):
return rec.levelno in (logging.DEBUG, logging.INFO)
def _new_custom_logger(name='BiblioPixel',
fmt='%(levelname)s - %(module)s - %(message)s'):
... | sethshill/final | build/lib.linux-armv7l-2.7/bibliopixel/log.py | Python | mit | 1,041 |
using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.Tests.DependencyInjectionFrameworks.Helpers;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace Kentico.Kontent.Delivery.Tests.DependencyInjectionFrameworks
{
[Collection("DI Tests")]
public class UnityTests
{
... | Kentico/Deliver-.NET-SDK | Kentico.Kontent.Delivery.Tests/DependencyInjectionFrameworks/UnityTests.cs | C# | mit | 1,341 |
/*
* (c) Copyright 2015 Micro Focus or one of its affiliates.
*
* Licensed under the MIT License (the "License"); you may not use this file
* except in compliance with the License.
*
* The only warranties for products and services of Micro Focus and its affiliates
* and licensors ("Micro Focus") are as may be se... | hpe-idol/haven-search-components | hod/src/main/java/com/hp/autonomy/searchcomponents/hod/databases/Database.java | Java | mit | 1,658 |
package vStrikerEntities;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the OBJECT_SIZE_REPORT_UNIT database table.
*
*/
@Entity
@Table(name="OBJECT_SIZE_REPORT_UNIT", schema="VSTRIKERDB")
@NamedQuery(name="ObjectSizeReportUnit.findAll", query="S... | emccode/VStriker | vStrikerEntities/src/vStrikerEntities/ObjectSizeReportUnit.java | Java | mit | 1,437 |
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Horology;
using BenchmarkDotNet.Reports;
namespace BenchmarkDotNet.Analysers
{
public class ZeroMeasurementAnalyser : AnalyserBase
{
public override string Id =... | ig-sinicyn/BenchmarkDotNet | src/BenchmarkDotNet/Analysers/ZeroMeasurementAnalyser.cs | C# | mit | 2,051 |
def make_colorscale_from_colors(colors):
if len(colors) == 1:
colors *= 2
return tuple((i / (len(colors) - 1), color) for i, color in enumerate(colors))
| KwatME/plot | plot/make_colorscale_from_colors.py | Python | mit | 172 |
#ifndef __PPU_LV2_H__
#define __PPU_LV2_H__
#include <ppu-types.h>
#define LV2_INLINE static inline
#define LV2_SYSCALL LV2_INLINE s32
#define lv2syscall0(syscall) \
register u64 p1 asm("3"); \
register... | ps3dev/PSL1GHT | ppu/include/ppu-lv2.h | C | mit | 13,162 |
package a.b;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* @author Kohsuke Kawaguchi
*/
@Target({ElementType.PACKAGE, ElementType.TYPE})
@MyWay(X.class)
public @interface MyWay {
Class value();
}
| kohsuke/sorcerer | core/src/test/java/a/b/MyWay.java | Java | mit | 241 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../../../libc/constant.SYS_io_submit.html">
</head>
<body>
<p>Redirecting to <a href="../../../../../../../../libc/constant.SYS_io_submit.html">../../../../../../../../libc/constant.SYS_io_submit.html</a>...</p>
... | malept/guardhaus | main/libc/unix/linux_like/linux/gnu/b64/x86_64/not_x32/constant.SYS_io_submit.html | HTML | mit | 465 |
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[]) {
string d, s;
while (cin >> d >> s)
(d.find(s) != string::npos) ? puts("Resistente"): puts("Nao resistente");
} | miguelarauj1o/URI | src/URI_2356 - (12578577) - Accepted.cpp | C++ | mit | 209 |
/*
* JAWStats 0.8.0 Web Statistics
*
* Copyright (c) 2009 Jon Combe (jawstats.com)
*
* 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 limitatio... | webino/JAWStats | js/jawstats.js | JavaScript | mit | 25,586 |
# Bulma Changelog
## 0.6.1
### New features
* 🎉 [List of buttons](https://bulma.io/documentation/elements/button/#list-of-buttons)
* 🎉 #1235 Support for five column grid: `.is-one-fifth, .is-two-fifths, .is-three-fifths, .is-four-fifths`
* 🎉 #1287 New `.is-invisible` helper
* 🎉 #1255 New `.is-expanded` modifier ... | Akkowicz/webdev-assignments | node_modules/bulma/CHANGELOG.md | Markdown | mit | 21,287 |
const request = require('request-promise')
const config = require('../tool/config.js')
const api = require('../tool/api.js')
const error = require('../tool/error.js')
const Const = require('../tool/const.js')
const exp = {
URL : '/authenticate',
ACTION : (req, res) => {
try {
const params =... | mignonat/healer | src/server/controller/authentication.js | JavaScript | mit | 1,452 |
namespace Mapbox.IO.Compression {
using System.Diagnostics;
using System;
// This class decodes GZip header and footer information.
// See RFC 1952 for details about the format.
internal class GZipDecoder : IFileFormatReader {
private GzipHeaderState gzipHeaderSubstate;
private GzipHeaderState gz... | binakot/Fleet-And-Staff-Location-Visualizer | FleetAndStaffLocationVisualizer/Assets/Mapbox/Core/Plugins/ThirdParty/Mapbox.IO.Compression/GZipDecoder.cs | C# | mit | 11,973 |
@charset "UTF-8";
/**
* reveal.js
* http://lab.hakim.se/reveal-js
* MIT licensed
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
/*********************************************
* RESET STYLES
*********************************************/
html, body, .reveal div, .reveal span, .reveal applet... | wearefractal/fullstack-javascript | css/reveal.css | CSS | mit | 26,241 |
<?php
namespace Bl2\Service\Rest;
use Bl2\Model\DamageType;
use Bl2\Model\Manufacturer;
use Bl2\Model\Rarity;
use Bl2\Model\Weapon;
use Bl2\Service\AbstractRestService;
use Spore\ReST\Model\Request;
use Spore\ReST\Model\Response;
/**
* REST Service providing operations on the {@link Weapon} entity.
* @package Bl2\... | eras0r/bl2items-backend | src/Service/Rest/WeaponService.php | PHP | mit | 3,725 |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateMailinglistsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (! Schema::hasTable('mailinglists')) {
Schema::cre... | matheusgomes17/redminportal | src/database/migrations/2014_06_06_075632_create_mailinglists_table.php | PHP | mit | 858 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>it_idwt</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="LIBIT Documentation"
HREF="index.html"><LINK
REL="UP"
HREF="refmanual.html"><... | xiao00li/Undergraduate_Dissertation | libit-0.2.3/doc/html/man.it-idwt.html | HTML | mit | 3,393 |
require 'omniauth-oauth2'
module OmniAuth
module Strategies
class Paymill < OmniAuth::Strategies::OAuth2
option :name, 'paymill'
option :client_options, {
:site => 'https://connect.paymill.com',
:token_url => "/token",
:authorize_url => "/authorize",
:proxy => ENV['ht... | subvisual/omniauth-paymill | lib/omniauth/strategies/paymill.rb | Ruby | mit | 559 |
//
// GJGCRecentChatDataManager.h
// ZYChat
//
// Created by ZYVincent QQ:1003081775 on 15/11/18.
// Copyright (c) 2015年 ZYProSoft. QQ群:219357847 All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GJGCRecentChatModel.h"
#import "GJGCRecentChatTitleView.h"
@class GJGCRecentChatDataManager;
@proto... | mrhyh/ZYChat | ZYChat-EaseMob/ZYChat/RecentChat/GJGCRecentChatDataManager.h | C | mit | 1,304 |
version https://git-lfs.github.com/spec/v1
oid sha256:b50350c88fdc09c9af6a1f0164e978b55b04eeb59c87e7a73fbee13e2747243a
size 1362
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.16.0/datatable-highlight/assets/skins/sam/datatable-highlight.css | CSS | mit | 129 |
<?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.
*/
declare(strict_types=1);
namespace Sylius\Component\Grid\Filter;
use Sylius\Component\Grid\Data\Data... | gmoigneu/platformsh-integrations | src/Sylius/Component/Grid/Filter/StringFilter.php | PHP | mit | 4,118 |
small.coming-soon {
color: gray;
text-transform: uppercase;
margin-left: 10px;
font-size: 10px;
text-align: center;
vertical-align: middle;
}
div.liquid-vars {
display: none;
}
li.list-group-item {
background-color: black;
}
.section-desc {
width: 100%;
height: 100%;
margin: 20px 0;
perspective: 1000px;
}... | mhd53/Matlab | docs/css/styles.css | CSS | mit | 847 |
include(Platform/Windows-MSVC)
set(CMAKE_CUDA_COMPILE_PTX_COMPILATION
"<CMAKE_CUDA_COMPILER> ${CMAKE_CUDA_HOST_FLAGS} <DEFINES> <INCLUDES> <FLAGS> -x cu -ptx <SOURCE> -o <OBJECT> -Xcompiler=-Fd<TARGET_COMPILE_PDB>,-FS")
set(CMAKE_CUDA_COMPILE_SEPARABLE_COMPILATION
"<CMAKE_CUDA_COMPILER> ${CMAKE_CUDA_HOST_FLAGS} <D... | pipou/rae | builder/cmake/macos/share/cmake-3.8/Modules/Platform/Windows-NVIDIA-CUDA.cmake | CMake | mit | 3,369 |
using System;
using System.Configuration;
using Harvester.Core.Messaging;
/* Copyright (c) 2012-2013 CBaxter
*
* 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... | jeoffman/Harvester | src/Core/Configuration/ListenersSection.cs | C# | mit | 2,725 |
define(['./_baseFindIndex', './_baseIsNaN', './_strictLastIndexOf', './toInteger'], function(baseFindIndex, baseIsNaN, strictLastIndexOf, toInteger) {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/* Built-in method references for those with the same name as other `loda... | fdeleo/alugaqui-webserver | node_modules/lodash-amd/lastIndexOf.js | JavaScript | mit | 1,479 |
#### NOTICE: THIS FILE IS AUTOGENERATED
#### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY
#### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES
from swgpy.object import *
def create(kernel):
result = Building()
result.template = "object/building/poi/shared_corellia_solitude_medium3.iff"
result.attribute_template... | anhstudios/swganh | data/scripts/templates/object/building/poi/shared_corellia_solitude_medium3.py | Python | mit | 456 |
class Solution(object):
# def convert(self, s, numRows):
# """
# :type s: str
# :type numRows: int
# :rtype: str
# """
# ls = len(s)
# if ls <= 1 or numRows == 1:
# return s
# temp_s = []
# for i in range(numRows):
# tem... | qiyuangong/leetcode | python/006_ZigZag_Conversion.py | Python | mit | 1,447 |
/* must be manually run/created before upgrades can be done */
DROP TABLE IF EXISTS db_upgrades;
CREATE TABLE db_upgrades (
upgrade_id INT(32) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
user_id INT(32) UNSIGNED NOT NULL,
version_major INT(32) UNSIGNED NOT NULL,
version_minor INT(32) UNSIGNED NOT NULL,
timestamp TIME... | tl-its-umich-edu/ARISGames-server | services/v2/db/upgrades_table.sql | SQL | mit | 355 |
using ZKWeb.Plugins.Common.Admin.src.Domain.Services;
using ZKWeb.Plugins.Common.Base.src.Domain.Services;
using ZKWeb.Plugins.Common.Base.src.UIComponents.Forms;
using ZKWeb.Plugins.Common.Base.src.UIComponents.Forms.Attributes;
using ZKWeb.Plugins.Common.Base.src.UIComponents.Forms.Extensions;
using ZKWeb.Plugi... | zkweb-framework/ZKWeb.Plugins | src/ZKWeb.Plugins/Common.UserPanel/src/Controllers/ChangeAvatarController.cs | C# | mit | 2,178 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_11) on Wed Mar 06 22:23:50 GMT 2013 -->
<title>controls Class Hierarchy</title>
<meta name="date" content="2013-03-06">
<link rel="styl... | testworx/SeleniumFramework | doc/controls/package-tree.html | HTML | mit | 7,350 |
// mail-enqueue - queue a mail message for delivery
#include "libutil.h"
#include "shutil.h"
#include "xsys.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/un.h>
#include <string>
using std::string;
... | aclements/sv6 | bin/mail-enqueue.cc | C++ | mit | 4,061 |
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | hedgerwang/simple_react_py_app | node_modules/react-tools/build/modules/ChangeEventPlugin.js | JavaScript | mit | 11,417 |
import lejos.nxt.*;
import java.util.*;
import lejos.robotics.*;
/**
* Localizes robot at beginning of run based on sensor readings
* @author Anass Al-Wohoush, Mohamed Kleit
* @version 2.1
*/
public class Localizer {
// OBJECTS
private Robot robot;
private Odometer odometer;
private Navigation nav... | anassinator/turpis-lobortis | Localizer.java | Java | mit | 22,054 |
version https://git-lfs.github.com/spec/v1
oid sha256:0680588e6712ebab3160ef2c9e5754716d6d2d05b09790964fe828cba5abf8e2
size 2189
| yogeshsaroya/new-cdnjs | ajax/libs/openlayers/2.12/lib/OpenLayers/Format/WMSCapabilities/v1_3.min.js | JavaScript | mit | 129 |
/*
* Encog(tm) Core v3.2 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2013 Heaton Research, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ... | ladygagapowerbot/bachelor-thesis-implementation | lib/Encog/src/main/java/org/encog/ml/MLProperties.java | Java | mit | 2,718 |
package com.hundsun.jresplus.web.cache;
import java.io.Serializable;
import javax.servlet.http.Cookie;
public class PageCookie implements Serializable {
private static final long serialVersionUID = 8628587700329421486L;
private String name;
private String value;
private String comment;
private String domain;
p... | sdgdsffdsfff/jresplus | jresplus-mvc/src/main/java/com/hundsun/jresplus/web/cache/PageCookie.java | Java | mit | 1,688 |
<?php
/*
* The MIT License
*
* Copyright (c) 2010 Johannes Mueller <circus2(at)web.de>
* Copyright (c) 2012-2013 Toha <tohenk@yahoo.com>
*
* 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 Soft... | turnaev/mysql-workbench-schema-exporter | lib/MwbExporter/Model/Schema.php | PHP | mit | 3,426 |
Aliasify is a [transform](https://github.com/substack/node-browserify#btransformtr) for [browserify](https://github.com/substack/node-browserify) which lets you rewrite calls to `require`.
Installation
============
Install with `npm install --save-dev aliasify`.
Usage
=====
To use, add a section to your package.jso... | Tearund/stories | node_modules/cordova/node_modules/cordova-lib/node_modules/aliasify/README.md | Markdown | mit | 4,002 |
import { LoginForm } from "v2/Components/Authentication/Desktop/LoginForm"
import { ModalType } from "v2/Components/Authentication/Types"
import { mount, ReactWrapper } from "enzyme"
import React from "react"
import { Intent, ContextModule } from "@artsy/cohesion"
import {
ModalManager,
ModalManagerProps,
} from "... | erikdstock/force | src/v2/Components/Authentication/__tests__/Desktop/ModalManager.jest.tsx | TypeScript | mit | 2,951 |
<!doctype html>
<html>
<head>
<link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
<title>ellipseelement.js (Closure Library API Documentation - JavaScript)</title>
<link rel="stylesheet" href="static/css/base.css">
<link rel="stylesheet" href="static/css/doc.css">
<link rel="style... | yesudeep/puppy | tools/google-closure-library/closure/goog/docs/closure_goog_graphics_ellipseelement.js.source.html | HTML | mit | 4,384 |
// Copyright (c) 2013-2015 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// 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, inc... | tempbottle/capnp-rpc-rust | examples/calculator/main.rs | Rust | mit | 1,734 |
/**
* @module Joy
*/
/**
* This class is used on SpriteSheet's `animations` attribute.
*
* @class SpriteAnimation
* @constructor
*/
var SpriteAnimation = function (options) {
/**
* @attribute parent
* @type {SpriteSheet}
*/
this.parent = options.parent;
/**
* @attribute name
* @type {Strin... | royquintanar/joy.js | lib/render/sprite_animation.js | JavaScript | mit | 1,903 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict';
module.metadata = {
'stability': 'experimental',
'engines': {
'Firefox': '> 28'
}
};
cons... | freesamael/npu-moboapp-programming-fall-2015 | b2g-dist-win32-20151125/modules/commonjs/sdk/ui/button/toggle.js | JavaScript | mit | 3,512 |
{
matrix_id: '1962',
name: 'Franz9',
group: 'JGD_Franz',
description: 'Cohomology of various rings, from Matthias Franz, Univ. Konstanz, Germany',
author: 'M. Franz',
editor: 'J.-G. Dumas',
date: '2008',
kind: 'combinatorial problem',
problem_2D_or_3D: '0',
num_rows: '19588',
... | ScottKolo/UFSMC-Web | db/collection_data/matrices/JGD_Franz/Franz9.rb | Ruby | mit | 1,416 |
"""Representation of Z-Wave binary_sensors."""
from openzwavemqtt.const import CommandClass, ValueIndex, ValueType
from homeassistant.components.binary_sensor import (
DOMAIN as BINARY_SENSOR_DOMAIN,
BinarySensorDeviceClass,
BinarySensorEntity,
)
from homeassistant.config_entries import ConfigEntry
from ho... | rohitranjan1991/home-assistant | homeassistant/components/ozw/binary_sensor.py | Python | mit | 14,428 |
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not re... | almadaocta/lordbike-production | errors/includes/src/Mage_Core_Model_Store.php | PHP | mit | 36,521 |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>CrosswordWriter.write - library</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">library</a> / <a href="../index.html">org.akop.ararat.core</a> / <a href="index.html">CrosswordWriter</a> / <a hre... | alpha-cross/ararat | docs/library/org.akop.ararat.core/-crossword-writer/write.html | HTML | mit | 1,016 |
package fr.bouyguestelecom.bboxapi.bboxapi.callback;
import okhttp3.Request;
public interface IBboxGetLogoChannel {
void onResponse(String sessionId, String logoUrl);
void onFailure(Request request, int errorCode);
}
| Pierretag/bboxtv-pfe-android-master | bboxapi/src/main/java/fr/bouyguestelecom/bboxapi/bboxapi/callback/IBboxGetLogoChannel.java | Java | mit | 230 |
<?php
/**
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\User\Controller\Adminhtml\Locks;
/**
* Locks Index action
*/
class Index extends \Magento\User\Controller\Adminhtml\Locks
{
/**
* Render page with grid
*
* @return... | j-froehlich/magento2_wk | vendor/magento/module-user/Controller/Adminhtml/Locks/Index.php | PHP | mit | 605 |
<?php
namespace FOSOpenScouting\Keeo;
use FOSOpenScouting\Keeo\Exception\ConfigIntegrityException;
class Config
{
protected $apiUrl = 'https://keeo.fos.be/api';
protected $apiUsername;
protected $apiPassword;
protected $userLoginSalt;
protected $curlUserAgent = '';
public function __construc... | jonasdekeukelaere/keeo-api-wrapper | src/Config.php | PHP | mit | 2,584 |
import {CssAnimator} from '../src/animator';
import {animationEvent} from 'aurelia-templating';
jasmine.getFixtures().fixturesPath = 'base/test/fixtures/';
describe('animator-css', () => {
var sut;
beforeEach(() => {
sut = new CssAnimator();
});
describe('runSequence function', () => {
var elems;
... | hitesh97/animator-css | test/run-sequence.spec.js | JavaScript | mit | 1,815 |
Specify a filename for the ZAP Report.</br></br>
The file extension is not necessary, only enter e.g. "myReport".</br></br>
The report will be saved into the 'Jenkins Job's Workspace'.</br></br><hr/></br>
Accepts <b>System Environment Variables</b>, <b>Build Variables</b> as well as <b>Environment Inject Plugin Variabl... | tlenaic/zap-plugin | src/main/resources/org/jenkinsci/plugins/zap/ZAPDriver/help-reportFilename.html | HTML | mit | 361 |
declare module 'redux-starter-kit' {
declare export type PayloadAction<P: any, T: string = string> = {
type: T,
payload: P,
...
}
}
| splodingsocks/FlowTyped | definitions/npm/redux-starter-kit_v0.x.x/flow_v0.104.x-/redux-starter-kit_v0.x.x.js | JavaScript | mit | 148 |
// Check whether a object is an instance of the given type, respecting model
// factory injections
export default function isInstanceOfType(type, obj) {
return obj instanceof type;
}
| lytics/ember-data.model-fragments | addon/util/instance-of-type.js | JavaScript | mit | 186 |
<?php
/**
* sfSympalComment filter form base class.
*
* @package sympal
* @subpackage filter
* @author Your name here
* @version SVN: $Id: sfDoctrineFormFilterGeneratedTemplate.php 24171 2009-11-19 16:37:50Z Kris.Wallsmith $
*/
abstract class BasesfSympalCommentFormFilter extends BaseFormFilterDoctrin... | sympal/sympal | test/fixtures/project/lib/filter/doctrine/sfSympalCommentsPlugin/base/BasesfSympalCommentFormFilter.class.php | PHP | mit | 3,788 |
#include <boost/test/unit_test.hpp>
#include "init.h"
#include "main.h"
#include "uint256.h"
#include "util.h"
#include "miner.h"
#include "wallet.h"
extern void SHA256Transform(void* pstate, void* pinput, const void* pinit);
BOOST_AUTO_TEST_SUITE(miner_tests)
static
struct {
unsigned char extranonce;
unsig... | pangubi/pangubi | src/test/miner_tests.cpp | C++ | mit | 8,670 |
// <auto-generated>
// 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.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | shahabhijeet/azure-sdk-for-net | src/SDKs/WebSites/Management.Websites/Generated/CertificatesOperations.cs | C# | mit | 74,279 |
# Writing a PostCSS Plugin
## Getting Started
* [Writing Your First PostCSS Plugin](https://dockyard.com/blog/2018/02/01/writing-your-first-postcss-plugin)
* [Create Your Own Plugin tutorial](http://webdesign.tutsplus.com/tutorials/postcss-deep-dive-create-your-own-plugin--cms-24605)
* [Plugin Boilerplate](https://gi... | bezoerb/postcss | docs/writing-a-plugin.md | Markdown | mit | 1,509 |
using System.Collections.Generic;
using MsgPack;
using MsgPack.Serialization;
namespace Tarantool.Client.Models
{
public class Space
{
public Space()
{
Format = new List<Field>();
}
[MessagePackMember(1)]
public uint OwnerId { get; set; }
... | asukhodko/dotnet-tarantool-client | Tarantool.Client/Models/Space.cs | C# | mit | 815 |
require 'rails_helper'
RSpec.describe Course::Forum::TopicsController, type: :controller do
let!(:instance) { create(:instance) }
with_tenant(:instance) do
let(:user) { create(:administrator) }
let(:course) { create(:course) }
let(:forum) { create(:forum, course: course) }
let!(:topic_stub) do
... | BenMQ/coursemology2 | spec/controllers/course/forum/topics_controller_spec.rb | Ruby | mit | 4,259 |
<!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>AssetAnimation.numberOfBones - multiple declarations</title>
<link rel="stylesheet" type="text/css" href="../../../sty... | Circular-Studios/Dash-Docs | api/v0.10.0/dash/components/animation/AssetAnimation.numberOfBones.html | HTML | mit | 10,193 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>awaitable::awaitable (1 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../.... | davehorton/drachtio-server | deps/boost_1_77_0/doc/html/boost_asio/reference/awaitable/awaitable/overload1.html | HTML | mit | 3,127 |
import { BasicSnackBarModule } from './basic-snack-bar.module';
describe('BasicSnackBarModule', () => {
let basicSnackBarModule: BasicSnackBarModule;
beforeEach(() => {
basicSnackBarModule = new BasicSnackBarModule();
});
it('should create an instance', () => {
expect(basicSnackBarModule).toBeTruthy(... | A-l-y-l-e/Alyle-UI | src/app/docs/components/snack-bar-demo/basic-snack-bar/basic-snack-bar.module.spec.ts | TypeScript | mit | 333 |
---
title: 唯独耶和华
date: 29/11/2020
---
上帝又真又活的证据,就在祂一切创造之物中。这句话经常不断覆述,以至于听来有些老套。但是,当我们思想上帝原先创造世界的意旨,是如何遭人践踏、破坏时,我们才有可能更明白如何有效的教导艺术与科学。
以人类的妊娠期为例。生物学告诉我们,具有智慧的人类,其新生命是从一个受精卵中诞生,到九个月后发育成熟的。慈爱创造主的印记由始至终贯穿了这整个周期。上帝的慈爱可以从胎儿生长之处看出,那地方就在母亲规律跳动的心脏之下。胎儿越大,母亲的腹部就越大。准妈妈在怀胎时常和孩子互有感应,就像我们的天父总是知道祂的儿女一样。
`请阅读罗1:18–21;诗19:1–6和尼9:... | imasaru/sabbath-school-lessons | src/zh/2020-04/10/02.md | Markdown | mit | 2,143 |
<?php
/**
* Default class to resolve urls
*/
namespace Embed\RequestResolvers;
class Curl implements RequestResolverInterface
{
protected $isBinary;
protected $content;
protected $result;
protected $url;
protected $config = [
CURLOPT_MAXREDIRS => 20,
CURLOPT_CONNECTTIMEOUT => 10,
... | philrennie/Embed | src/RequestResolvers/Curl.php | PHP | mit | 4,903 |
# frozen_string_literal: true
require_relative '../test_helper'
class TestFakerDragonBall < Test::Unit::TestCase
def setup
@tester = Faker::DragonBall
end
def test_character
assert @tester.character.match(/\w+/)
end
end
| irfanah/faker | test/deprecate/test_deprecate_dragon_ball.rb | Ruby | mit | 239 |
<?php
namespace Expert\AdministrationBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
{
return $this->render('ExpertAdministrationBundle:Default:index.html.twig', array('name' => $name));
}... | equipelesexperts/new-expert | src/Expert/AdministrationBundle/Controller/DefaultController.php | PHP | mit | 323 |
package io.rtr.alchemy.identities;
import org.apache.commons.math3.stat.inference.ChiSquareTest;
import org.junit.Test;
import org.mockito.Mockito;
import java.util.Set;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static or... | RentTheRunway/alchemy | alchemy-core/src/test/java/io/rtr/alchemy/identities/IdentityBuilderTest.java | Java | mit | 4,147 |
Xflow.registerOperator("xflow.selectBool", {
outputs: [ {type: 'bool', name : 'result', customAlloc: true} ],
params: [ {type: 'int', source : 'index'},
{type: 'bool', source: 'value'} ],
alloc: function(sizes, index, value) {
sizes['result'] = 1;
},
evaluate: function(result... | Huii/develop_with_vr | src/xflow/operator/default/selectBool.js | JavaScript | mit | 498 |
import shell from 'shelljs';
import path from 'path';
import tmp from 'tmp';
import helpers from './helpers';
const { isWindows, isOSX } = helpers;
tmp.setGracefulCleanup();
const SCRIPT_PATHS = {
singleIco: path.join(__dirname, '../..', 'bin/singleIco'),
convertToPng: path.join(__dirname, '../..', 'bin/convertT... | zucher/nativefier | src/helpers/iconShellHelpers.js | JavaScript | mit | 2,106 |
namespace BashSoft.Contracts
{
public interface IFilteredTaker
{
void FilterAndTake(string courseName, string givenFilther, int? studentsToTake = null);
}
}
| VaskoViktorov/SoftUni-Homework | 05. Advanced C# - 23.05.2017/BashSoft a.k.a spaghetti code/StoryMode/StoryMode/BashSoft/Contracts/IFilteredTaker.cs | C# | mit | 180 |
/*
* Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | kspviswa/dpi-enabled-ovs | ovs/utilities/ovs-testcontroller.c | C | mit | 12,257 |
<?php
namespace Ilios\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Changes program titles to be not nullable, and program short titles to be nullable.
*
* @link https://github.com/ilios/ilios/issues/1083
*/
class Version20151106022409 extends AbstractMigratio... | justinchu17/ilios | app/Resources/DoctrineMigrations/Version20151106022409.php | PHP | mit | 1,210 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>RSpec results</title>
<meta http-equiv="Content-Type" content="text/html; charset... | jbenjore/JPs-love-project | annotate-models/ruby/1.9.1/gems/rspec-core-2.6.3/spec/rspec/core/formatters/html_formatted-1.8.7.html | HTML | mit | 14,123 |
(function(D,j){D.execute(function(){(function(j){document.createElement("header");var e=function(a){function b(a,b,e){a[e]=function(){d._replay.push(b.concat({m:e,a:[].slice.call(arguments)}))}}var d={};d._sourceName=a;d._replay=[];d.getNow=function(a,b){return b};d.when=function(){var a=[{m:"when",a:[].slice.call(argu... | seagatesoft/webdext | test/amazon_sellers_files/01cTdrPCuSL._RC-71+AWq+0vpL.js,518IrEtjHjL.js,01A18a0oAWL.js,31SQxfpgU+L.js,01kfgaPO2JL.js,01wBjiz9OvL.js,11AmWwI7vaL.js,21o1hvT04xL.js_.js | JavaScript | mit | 230,788 |
<? $form = Loader::helper('form'); ?>
<?
$attribs = array();
$allowedAKIDs = $assignment->getAttributesAllowedArray();
$requiredKeys = array();
$usedKeys = array();
if ($c->getCollectionTypeID() > 0 && !$c->isMasterCollection()) {
$cto = CollectionType::getByID($c->getCollectionTypeID());
$aks = $cto->getAvailableA... | mrogelja/website-concrete5 | concrete/elements/collection_metadata_fields.php | PHP | mit | 10,161 |
<!DOCTYPE html>
<html data-ng-app="app">
<head>
<meta charset="utf8">
<base href="/">
<title>Mean Seed</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="build/css/index.css">
<link rel="shortcut icon" href="image/favicon.ico" type="imag... | Ibanheiz/mean-seed | front/js/test/templates/main/views/404.html | HTML | mit | 401 |
return NOTESKIN:LoadActor("DownLeft", "Ready Receptor")..{
Frames = {
{ Frame = 0 };
{ Frame = 1 };
{ Frame = 2 };
};
--InitCommand=cmd(rotationy,180);
}; | Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/NoteSkins/pump/delta/DownRight Ready Receptor.lua | Lua | mit | 163 |
<p>
{{ partial "modules/page/summary.html" . }}
</p>
| opoyc/partiallyrandom | themes/hugo-bootstrap-premium/layouts/partials/bloc/content/summary.html | HTML | mit | 55 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Umbraco.Core.Scoping
{
public class ScopeContext : IInstanceIdentifiable
{
private Dictionary<string, IEnlistedObject> _enlisted;
private bool _exiting;
public void ScopeExit(bool completed)
{
... | kgiszewski/Umbraco-CMS | src/Umbraco.Core/Scoping/ScopeContext.cs | C# | mit | 4,035 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Finds the key within the top level of the {@link source} object, or returns {@link defaultValue}
*
* @function Phaser.Utils.Objects.Get... | TukekeSoft/phaser | src/utils/object/GetFastValue.js | JavaScript | mit | 1,070 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.