code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { Polygon } from 'react-google-maps';
import {map, filter} from './../../../actions';
class Region extends React.Component {
constructor(props) {
super(props);
this.state = {
... | Haaarp/geo | client/analytics/components/partials/maps/Region.js | JavaScript | mit | 2,127 |
namespace Squirrel.Nodes
{
public interface INode
{
}
}
| escamilla/squirrel | src/library/Nodes/INode.cs | C# | mit | 71 |
import {
beforeEach,
beforeEachProviders,
ComponentFixture,
describe,
expect,
injectAsync,
it,
TestComponentBuilder,
} from 'angular2/testing';
import { provide } from 'angular2/core';
import { Config } from 'ionic-framework/ionic';
import { ClickerButton } from './cl... | Fredqin/personal_task_runner | app/components/clickerButton/clickerButton.spec.ts | TypeScript | mit | 2,310 |
/**********************************************************************
* copyright (c) 2014 pieter wuille *
* distributed under the mit software license, see the accompanying *
* file copying or http://www.opensource.org/licenses/mit-license.php.*
*******************************... | moorecoin/MooreCoinMiningAlgorithm | src/secp256k1/src/scalar_4x64.h | C | mit | 768 |
<?php
namespace zikmont\ContabilidadBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="ctb_movimientos_resumen")
* @ORM\Entity(repositoryClass="zikmont\ContabilidadBundle\Repository\CtbMovimientosResumenRepository")
*/
class CtbMovimientosResumen
{
/**
* @ORM\Id
* @ORM\Colum... | wariox3/zikmont | src/zikmont/ContabilidadBundle/Entity/CtbMovimientosResumen.php | PHP | mit | 5,658 |
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Entities;
using Abp.Domain.Repositories;
using Abp.Extensions;
using Abp.IdentityFramewo... | aspnetboilerplate/aspnetboilerplate-samples | IdentityServerWithEfCoreDemo/aspnet-core/src/IdentityServerWithEfCoreDemo.Application/Users/UserAppService.cs | C# | mit | 8,506 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2015 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer'],
function(jQuery, Renderer) {
"use strict";
/**
* ObjectNumber ren... | marinho/german-articles | webapp/resources/sap/m/ObjectNumberRenderer-dbg.js | JavaScript | mit | 3,233 |
The MIT License (MIT)
Copyright (c) 2017 Forward Command Post
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, m... | fwdcp/google-recaptcha | LICENSE.md | Markdown | mit | 1,088 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-fingroup: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.12.0/mathcomp-fingroup/1.10.0.html | HTML | mit | 7,535 |
<?php
declare(strict_types=1);
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
namespace OAuth2Framework\Component\Server\Tests\Stub\Event;
use OAuth2Framework\Comp... | OAuth2-Framework/server-library | Tests/Stub/Event/AccessTokenRevokedEventHandler.php | PHP | mit | 606 |
"""Controller for rendering pod content."""
import datetime
import mimetypes
import os
import sys
import time
from grow.common import utils
from grow.documents import static_document
from grow.pods import errors
from grow.rendering import rendered_document
from grow.templates import doc_dependency
from grow.templates ... | grow/grow | grow/rendering/render_controller.py | Python | mit | 21,264 |
class AddPublishToSiteVersion < ActiveRecord::Migration[5.0]
def change
remove_column :author_site_storages, :publish
add_column :author_site_versions, :published, :boolean
end
end
| teamco/anthill_layout | db/migrate/20160425125336_add_publish_to_site_version.rb | Ruby | mit | 193 |
# Copyright (C) 2012 Andy Balaam and The Pepper Developers
# Released under the MIT License. See the file COPYING.txt for details.
from nose.tools import *
from libpepper import builtins
from libpepper.environment import PepEnvironment
from libpepper.vals.all_values import *
def PlusEquals_increases_int_value___te... | andybalaam/pepper | old/pepper1/src/test/evaluation/test_plusequals.py | Python | mit | 1,124 |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<h1>dummy</h1>
<ul>
<li>more dummy</li>
</ul>
<table id="one-row">
<thead>
<tr>
<th>head1</th>
<th>head2</th>
</tr>
</thead>
<tbody>
<tr>
<td>data1</td>
<td>... | austin-sa-wang/live-search | test/fixtures/fullSample.html | HTML | mit | 1,641 |
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
import logging
import os
from clint.textui import prompt
from django.core.management.base import BaseCommand
from django.core.management.base import CommandError
import kolibri
from ...utils import db... | lyw07/kolibri | kolibri/core/deviceadmin/management/commands/dbrestore.py | Python | mit | 4,759 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_91) on Tue Dec 05 14:10:09 CST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Overview</title>
<meta name=... | umdk/UCDLive_Android | javadoc/overview-summary.html | HTML | mit | 4,531 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Search.Fluent
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
using Microsoft.Azure.Management.Search.... | hovsepm/azure-libraries-for-net | src/ResourceManagement/Search/Domain/ICheckNameAvailabilityResult.cs | C# | mit | 1,305 |
# -*- encoding : utf-8 -*-
require 'tmail/version'
require 'tmail/mail'
require 'tmail/mailbox'
require 'tmail/core_extensions'
require 'tmail/net'
| liquidware/saasy | vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb | Ruby | mit | 148 |
using Newtonsoft.Json.Linq;
using SolrExpress.Search;
using SolrExpress.Search.Parameter;
using SolrExpress.Search.Parameter.Validation;
using SolrExpress.Utility;
namespace SolrExpress.Solr5.Search.Parameter
{
[AllowMultipleInstances]
public sealed class FilterParameter<TDocument> : BaseFilterParameter<TDocu... | solr-express/solr-express | src/SolrExpress.Solr5/Search/Parameter/FilterParameter.cs | C# | mit | 817 |
<?php
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
/**
* ProductRepository
*
* This class was generated by the PhpStorm "Php Annotations" Plugin. Add your own custom
* repository methods below.
*/
class UserRepository extends EntityRepository
{
}
| YX11/timiya | src/AppBundle/Repository/UserRepository.php | PHP | mit | 277 |
import { combineReducers } from 'redux';
import { reducer as form } from 'redux-form';
import { list } from './list';
import { draw } from './draw';
const reducers = combineReducers({ list, draw, form });
export default reducers;
| ansonpellissier/gordon-shuffle-react | src/reducers/index.js | JavaScript | mit | 233 |
'use strict';
// Init the application configuration module for AngularJS application
var ApplicationConfiguration = (function() {
// Init module configuration options
var applicationModuleName = 'angleApp';
// var applicationModuleVendorDependencies = ['ngResource', 'ngCookies', 'ngAnimate', 'ngTouch', 'ng... | andreilaza/alt-be-back-server | public/dist/application.js | JavaScript | mit | 50,852 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | user-tony/photon-rails | lib/assets/css/css_compiled/@{photonImagePath}plugins/elrte/js/plugins/prettify/css/css_compiled/js/bootstrap/js/plugins/modernizr.custom.js.html | HTML | mit | 15,797 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>icharate: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.9.1/icharate/8.8.0.html | HTML | mit | 7,707 |
#!/bin/bash
# tiny script to check if all of the stations in
# the station list file still resolve as some
# channels are periodically removed.
STATIONS_FILE="stations"
for url in $(cut -d '|' -f 3 "$STATIONS_FILE" | awk '{printf "https://somafm.com%s\n", $1}') ; do
printf "checking %s..." "$url"
curl --max-time 1... | bcicen/somacli | check_stations.sh | Shell | mit | 414 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pynance.interest — PyNance 0.5.1 documentatio... | aisthesis/pynance | doc/public/html/0.5.1/_modules/pynance/interest.html | HTML | mit | 15,098 |
#include <stdlib.h>
#include <math.h>
double Fcp(int n,const double *x,const double *y);
double Fcpd(int s,int t,const double *x,const double *y,const int *yo);
int* Mergesort(int n,const double *key);
void Mergesortd(int p,int q,const double *key,int *order);
void Merge(int p,int m,int q,const double *key,int *order)... | wangchaohui/lib | closest pair.c | C | mit | 2,732 |
/*!
* stepviz 0.1.0 (30-05-2016)
* https://github.com/suhaibkhan/stepviz
* MIT licensed
* Copyright (C) 2016 Suhaib Khan, http://suhaibkhan.github.io
*/
(function() {
'use strict';
// check for dependencies
if (typeof window.d3 === 'undefined') {
throw 'd3 library not found.';
}
// init namespac... | suhaibkhan/stepviz | dist/stepviz.js | JavaScript | mit | 30,623 |
#ifndef CTIME_H
#define CTIME_H
#include <string>
#include <sys/time.h>
struct CTimeData;
class CTime {
public:
CTime();
CTime(time_t t);
~CTime();
int getYear();
int getMonth();
int getWeekDay();
int getMonthDay();
int getYearDay();
int getHour();
int getMin();
int getSec();
double diff(co... | colinw7/Cls | src/CTime.h | C | mit | 551 |
'use strict';
module.exports = function (req, res) {
res.statusCode = 401;
res.setHeader('X-Frame-Options', 'SAMEORIGIN');
res.setHeader('X-Xss-Protection', '1; mode=block');
res.setHeader('X-Content-Type-Options', 'nosniff');
res.setHeader('Content-Type', 'application/json; charset=utf-8');
res.setHeader... | regalii/regaliator_node | test/tapes/account/failed_info.js | JavaScript | mit | 708 |
<?php
require_once('core/action/Action.php');
require_once('core/action/ActionResponse_Default.php');
require_once('model/entities/User.php');
require_once('model/containers/AccessLevelContainer.php');
class Action_user_displayAddForm implements Action
{
public function run(HttpRequest $httpRequest)
{
$actionResp... | fabienInizan/WebKernel | modules/user/Action_user_displayAddForm.php | PHP | mit | 957 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ppsimpl: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.5.1/ppsimpl/1.0.0.html | HTML | mit | 6,830 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>presburger: 1 m 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.5.1/presburger/8.5.0.html | HTML | mit | 13,181 |
# less-boilerplate
Gulp less boilerplate
# Установка
Установить Git + Git Bash
https://git-scm.com/downloads
Установить Nodejs
https://nodejs.org/download/
Запустить Git Bash и выполнить команды:
```
cd папка_с_проектом
npm i -g gulp rimraf
npm i
gulp assets
```
# Разработка
Использовать такие команды:
Для пере... | Poplava/less-boilerplate | README.md | Markdown | mit | 910 |
import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage, injectIntl, defineMessages } from 'react-intl';
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import CardHeader from '@material-ui/core/CardHeader';
import CardActions from '@m... | meedan/check-web | src/app/components/user/UserEmail.js | JavaScript | mit | 3,974 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>extructures: 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.03.0-2.0.5/released/8.5.0/extructures/0.2.2.html | HTML | mit | 6,879 |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About GeyserCoin</source>
<translation>Despre GeyserCoin</translation>
</message>
<message>
... | geysercoin/geysercoin | src/qt/locale/bitcoin_ro_RO.ts | TypeScript | mit | 130,407 |
--[[--------------------------------------------------------------------------
--
-- File: UTActivity.Ui.BeginMatch.lua
-- Copyright (c) Ubisoft Entertainment. All rights reserved.
--
-- Project: Ubitoys.Tag
-- Date: July 27, 2010
--
-----------------------------... | tkdrob/Battle-Tag | Data/Script/Lua/Classes/UTActivity.Ui.BeginMatch.lua | Lua | mit | 8,050 |
# bigsuds
Python library for F5 Networks iControl API
| F5Networks/bigsuds | README.md | Markdown | mit | 54 |
/* eslint no-unused-vars: 0 */
import { mount, shallow } from 'avoriaz'
import should from 'should'
import sinon from 'sinon'
import { pSwitchbox } from 'prpllnt'
describe('switchbox.vue', () => {
it('renders a wrapper div with class p-input-group', () => {
const value = false
const component = shallow(pSwit... | pearofducks/propellant | test/switchbox.spec.js | JavaScript | mit | 2,482 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-fingroup: 2 m 24 s 🏆</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.07.1-2.0.6/released/8.7.1+2/mathcomp-fingroup/1.6.4.html | HTML | mit | 10,805 |
@import url("https://fonts.googleapis.com/css?family=Inconsolata|Oswald");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://fonts.googleapis.com/css?family=Raleway");
body {
font-family: 'Raleway';
text-transform: uppercase;
font-weight: normal;
letter-spacing: 2px;
... | cray9503/portfolio | style.css | CSS | mit | 8,784 |
<?php
/*
* This file is part of the Sulu CMS.
*
* (c) MASSIVE ART WebServices GmbH
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Bundle\Sales\OrderBundle\Cart;
use Doctrine\Common\Persistence\ObjectManager;
use Symfony\Componen... | sulu-io/SuluSalesOrderBundle | Cart/CartManager.php | PHP | mit | 23,396 |
<?php
namespace YourApp\App\Newsletter;
use Welp\MailchimpBundle\Provider\ProviderInterface;
use Welp\MailchimpBundle\Subscriber\Subscriber;
use YourApp\Model\User\UserRepository;
use YourApp\Model\User\User;
class ExampleSubscriberProvider implements ProviderInterface
{
// these tags should match the one you ad... | welpdev/mailchimp-bundle | src/Provider/ExampleSubscriberProvider.php | PHP | mit | 1,790 |
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface HeartBeatI extends Remote {
public void sendHeartBeat() throws RemoteException;
}
| jpavelw/SWEN-755 | HeartBeatRedundancy/HeartBeatI.java | Java | mit | 161 |
<?php
App::uses('AppController', 'Controller');
App::uses('CakeEmail', 'Network/Email');
App::uses('CakeTime', 'Utility');
class CategoriesController extends AppController {
public $uses = array(
'SpeedyCake',
'Page',
'User',
'Article',
'Articlefield',
'File',
'Categorie',
'Articlescategorie'
);
... | Mr-Robota/speedy-cake-cms | Controller/CategoriesController.php | PHP | mit | 5,139 |
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import React from 'react';
import {
MappingProvider,
MappingProviderProps,
} from '../mapping/mappingProvider.component';
import {
ThemeProvider,
ThemePro... | akveo/react-native-ui-kitten | src/components/theme/style/styleProvider.component.tsx | TypeScript | mit | 796 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field-extra: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.06.1-2.0.5/extra-dev/8.10.0/mathcomp-field-extra/1.6.1.html | HTML | mit | 7,779 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mtac2: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.6/released/8.10.2/mtac2/1.0.1+8.8.html | HTML | mit | 6,948 |
package jp.opap.material.facade
import jp.opap.material.facade.RepositoryLoader.ChangedResult
import jp.opap.material.model.ComponentEntry.FileEntry
import jp.opap.material.model.Components.IntermediateFile
import jp.opap.material.model.Repository
import jp.opap.material.model.RepositoryConfig.RepositoryInfo
trait Re... | opap-jp/material-explorer | rest/src/main/scala/jp/opap/material/facade/RepositoryLoader.scala | Scala | mit | 701 |
using System;
using System.Linq;
using AdventOfCodeLibrary;
using AdventOfCodeLibrary.FileImport;
using AdventOfCodeLibrary.Frequencies;
namespace Day6
{
class Program
{
static void Main(string[] args)
{
Part1();
Console.WriteLine();
Part2();
Co... | codemonkey047/AdventOfCode | Day6/Day6/Program.cs | C# | mit | 1,471 |
import pytest
from click.testing import CliRunner
import doitlive
@pytest.fixture(scope="session")
def runner():
doitlive.cli.TESTING = True
return CliRunner()
| sloria/doitlive | tests/conftest.py | Python | mit | 171 |
# frozen_string_literal: true
module Analytics
class SubjectController < AnalyticsController
# rubocop:disable Metrics/PerceivedComplexity
# rubocop:disable Metrics/MethodLength
# rubocop:disable Metrics/CyclomaticComplexity
# rubocop:disable Metrics/AbcSize
def index
@subject_series = if @... | MindLeaps/tracker | app/controllers/analytics/subject_controller.rb | Ruby | mit | 3,998 |
<?php
namespace FMI\ImportBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Prices
*
* @ORM\Table(name="prices")
* @ORM\Entity(repositoryClass="FMI\ImportBundle\Repository\PricesRepository")
*/
class Prices
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* ... | LAYLSAYF/IMPORT | src/FMI/ImportBundle/Entity/Prices.php | PHP | mit | 1,900 |
// èÌof[^ð\¦·é
#include "pxcsensemanager.h"
#include "pxchandconfiguration.h"
#include <opencv2\opencv.hpp>
class RealSenseApp
{
public:
~RealSenseApp()
{
if ( senseManager != 0 ){
senseManager->Release();
}
}
void initilize()
{
// SenseManagerð... | RealSense-Book/RealSense-Book-CPP | CH5-1_3/RealSenseSample/main.cpp | C++ | mit | 6,752 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Nomen... | ketchupok/csound.github.io | docs/manual-fr/OrchNomen.html | HTML | mit | 5,882 |
//-----------------------------------------------------------------------------
// Copyright (c) 2017 Dan Volpe. All rights reserved.
//
// This file is part of DRVEngine which is released under the MIT license.
// See LICENSE file for full license details.
//------------------------------------------------------------... | megadan2/DRVEngine | Source/DRVRenderer/ResourceLoaders/SkyboxLoader.h | C | mit | 776 |
# see https://github.com/cucumber/aruba#jruby-tips
Aruba.configure do |config|
config.before_cmd do |cmd|
set_env('JRUBY_OPTS', "-X-C #{ENV['JRUBY_OPTS']}") # disable JIT since these processes are so short lived
set_env('JAVA_OPTS', "-d32 #{ENV['JAVA_OPTS']}") # force jRuby to use client JVM for faster startu... | alexrothenberg/ammeter | features/support/aruba_timeout.rb | Ruby | mit | 365 |
package alec_wam.CrystalMod.entities.minions.worker;
import net.minecraft.entity.EntityLiving;
import net.minecraft.pathfinding.Path;
import net.minecraft.pathfinding.PathNavigate;
import net.minecraft.pathfinding.WalkNodeProcessor;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.ChunkCache;... | Alec-WAM/CrystalMod | src/main/java/alec_wam/CrystalMod/entities/minions/worker/PathFinderWorker.java | Java | mit | 1,491 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>float: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/extra-dev/8.10.dev/float/8.7.0.html | HTML | mit | 6,750 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq-quickchick: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.0/flocq-quickchick/1.0.0.html | HTML | mit | 7,146 |
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
package google_devtools_clouderrorreporting_v1beta1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "go.pedge.io/pb/go/google/api"
import goo... | peter-edge/pb | go/google/devtools/clouderrorreporting/v1beta1/report_errors_service.pb.go | GO | mit | 7,473 |
#
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
class Hhvm488 < Formula
desc "JIT compiler and runtime for the Hack language"
homepage "http://hhvm.com/"
head "ht... | hhvm/homebrew-hhvm | Formula/hhvm-4.88.rb | Ruby | mit | 9,629 |
# frozen_string_literal: true
FactoryBot.define do
factory :access_procedure, class: "Renalware::Accesses::Procedure" do
type { create(:access_type) }
side { :right }
performed_on { Time.zone.today }
end
end
| airslie/renalware-core | spec/factories/accesses/procedures.rb | Ruby | mit | 225 |
#ifndef _CMDOPTION_STRING_H_
#define _CMDOPTION_STRING_H_
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/**
* ÌØÊâÖ¸Áî×Ö·û´®Àà
*/
#include <string>
#include <algorithm>
namespace copt
{
/**
* ¹¦ÄÜÊÜÏÞµÄ×Ö·û´®ÀàÐÍ´¦ÀíÀà
*/
template<typename Tc>
struct ci... | owt5008137/CmdOption | src/CmdOptionString.h | C | mit | 1,266 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq-quickchick: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.0-2.0.6/released/8.11.2/flocq-quickchick/1.0.0.html | HTML | mit | 6,701 |
---
layout: archive
---
<a style="color:#39383d;" href="{{ site.url }}blog/{{ page.date | date: "%Y" }}/{{ page.date | date: "%m"}}/{{ page.date | date: "%d"}}/">{{ page.date | date: "%d %B %Y" }}</a></h3>
| scumdogsteev/scumdogsteev.github.io | _source/_layouts/day-archive.html | HTML | mit | 221 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TVTC Conference</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="layout" co... | chriscupas/Offline-Events-Registration | resources/app/pages/attendance.html | HTML | mit | 4,711 |
<h1>Load Http get data</h1>
<input md-input placeholder="Search" (keyup)="search(input.value)" #input>
<md-list>
<md-list-item *ngFor="let post of posts | async">
<md-icon md-list-icon>play_arrow</md-icon>
<h3 md-line>{{post.title}}</h3>
<p class="text" md-line> {{post.body}} </p>
<md-divider></md-di... | MichaelWarneke/angular-template | src/app/modules/something/something.component.html | HTML | mit | 357 |
<!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/mi/mindscape.raygun4net.signed.5.0.2/Mindscape.Raygun4Net.Xamarin.iOS-MonoTouch.html | HTML | mit | 54,417 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>LeetCode | Binary Tree Inorder Traversal in Python - Java, Python, Machine Learning, LeetCode</title>
<meta name="keywords" content="Java, Python, Machine Learning, LeetCode">
<meta name="description" content="The personal site of Ala... | Alain-ai/Alain-ai.github.io | _site/markdown-leetcode-binary-tree-inorder-traversal/index.html | HTML | mit | 5,896 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>higman-s: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.05.0-2.0.1/released/8.12.1/higman-s/8.6.0.html | HTML | mit | 7,010 |
module.exports = function (grunt) {
"use strict";
require('matchdep').filterDev("grunt-*").forEach(grunt.loadNpmTasks);
//grunt.option('verbose', true);
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compass: {
prod: {
options: {
... | dbondus/code-samples | js/2015-chat-application/Gruntfile.js | JavaScript | mit | 3,745 |
const fs = require('fs');
const de = require('./locale/de.json');
const en = require('./locale/en.json');
const esMX = require('./locale/esMX.json');
const es = require('./locale/es.json');
const fr = require('./locale/fr.json');
const it = require('./locale/it.json');
const ja = require('./locale/ja.json');
const ko ... | DestinyItemManager/DIM | src/build-browsercheck-utils.js | JavaScript | mit | 1,744 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hardware: 47 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.02.3-2.0.6/released/8.8.0/hardware/8.8.0.html | HTML | mit | 20,515 |
module Omnitest
class Psychic
module Execution
class TokenStrategy < DefaultStrategy
def execute(*extra_args)
template = File.read(absolute_file)
# Default token pattern/replacement (used by php-opencloud) should be configurable
token_handler = Tokens::RegexpTokenHandle... | omnitest/psychic | lib/omnitest/psychic/execution/token_strategy.rb | Ruby | mit | 2,030 |
/*
html2canvas 0.5.0-alpha2 <http://html2canvas.hertzen.com>
Copyright (c) 2015 Niklas von Hertzen
Released under MIT License
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof windo... | ao-dexter/html2canvas | dist/html2canvas.js | JavaScript | mit | 154,883 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>otway-rees: 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.10.2-2.0.6/released/8.11.2/otway-rees/8.8.0.html | HTML | mit | 6,866 |
pub use nalgebra::{Point2, Vector2};
use rand;
use rand::distributions::{IndependentSample, Range};
/// Trait for a 2d ball.
pub trait Circle {
fn origin(&self) -> Point2<f64>;
fn radius(&self) -> f64;
}
/// Checks if a circle c1 collides with a circle c2. Circles must implement the Circle trait.
pub fn colli... | henke1010/snake-ai | src/geometry.rs | Rust | mit | 904 |
<?php
namespace Mtls\ProjectBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* MessageRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class MessageRepository extends EntityRepository
{
public function findOrderedByDate()
{
return $this->g... | tolgap/Project56 | src/Mtls/ProjectBundle/Entity/MessageRepository.php | PHP | mit | 462 |
# OfficeHours
**Team**: Jamaal Sedayao, Artur Lan, and Charles Kang
**OfficeHours** is an iOS app that helps people in underrepresented or minority communities to make finding a mentor easier and better. This app was created during the annual 48-hour Access Code Hackathon.
| Jamaal51/Office_Hours | README.md | Markdown | mit | 276 |
import assert = require('assert');
import { ConnectionPoolTestFactory } from './ConnectionPoolTestFactory';
import { PoolConnection } from 'mysql';
export class DatabaseUtilities {
public static clean(callback:(err:Error)=>void) {
let pool = ConnectionPoolTestFactory.create();
let connection:P... | joefallon/mydal | test/config/DatabaseUtilities.ts | TypeScript | mit | 2,048 |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace VoteApp.Models.AccountViewModels
{
public class RegisterViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public... | GOlssn/VoteApp | Models/AccountViewModels/RegisterViewModel.cs | C# | mit | 861 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>template-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.10.2-2.0.6/extra-dev/dev/template-coq/1.1.0~beta3.html | HTML | mit | 6,724 |
// stdafx.cpp : source file that includes just the standard includes
// AllyTester.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| AndrewAMD/AllyInvestZorroPlugin | AllyTester/stdafx.cpp | C++ | mit | 289 |
# compose
C++14 functor composition (variadic)
I was curious about a clean c++14 solution because I came across a c++11 solution that includes half of the boost library :)
(Here's the other link: https://github.com/bureau14/open_lib)
## MIT LICENSE
Copyright (c) 2017 George M. Tzoumas
Permission is hereby granted, f... | geotz/compose | README.md | Markdown | mit | 1,312 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 1 m 51 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.09.0-2.0.5/released/8.7.1+1/interval/3.4.2.html | HTML | mit | 11,785 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using KojtoCAD.KojtoCAD3D.UtilityClasses;
#if !bcad
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoC... | kojtoLtd/KojtoCAD | KojtoCAD.2012/KojtoCAD3D/Placement.cs | C# | mit | 138,960 |
#include <jni.h>
#include <stdio.h>
#include "coffee_cypher_jvmexamples_NativeMethod.h"
JNIEXPORT void JNICALL Java_coffee_cypher_jvmexamples_NativeMethod_sayHello(JNIEnv *env, jclass myclass) {
printf("Hello World!\n");
return;
}
| Cypher121/CSCodeExamples | src/coffee_cypher_jvmexamples_NativeMethodImp.c | C | mit | 240 |
print ("Hello python world! My first python script!!")
print ("feeling excited!!") | balajithangamani/LearnPy | hello.py | Python | mit | 82 |
<?php
/**
* キーと値の取得サンプル
*/
//キーの取得(連想配列)
//インデックスはいてるでも使用できますが
//あまり意味がないため割愛します。
$array_associat = array(
'blue' => '空',
'yellow' => 'バナナ',
'red' => '血液'
);
$keys = array_keys($array_associat);
var_dump($keys);
//値の取得(連想配列)
//インデックスはいてるでも使用できますが
//あまり意味がないため割愛します。
$values = array_values($... | Kaoru-1127/php | fuel/app/views/array/array_sample5.php | PHP | mit | 568 |
<?php
namespace Application\Modules\Rest;
use \Phalcon\Mvc\Router\Group;
/**
* Routes Rest V1. Api router component
*
* @package Application\Modules\Rest
* @subpackage Routes
* @since PHP >=5.6
* @version 1.0
* @author Stanislav WEB | Lugansk <stanisov@gmail.com>
* @copyright Stanislav WEB
* @f... | stanislav-web/Phalcon-development | Application/Modules/Rest/Routes.php | PHP | mit | 1,560 |
package iso20022
// Choice between a standard code or proprietary code to specify a rate type.
type RateType49Choice struct {
// Standard code to specify the type of gross dividend rate.
Code *GrossDividendRateType2Code `xml:"Cd"`
// Proprietary identification of the type of gross dividend rate.
Proprietary *Gen... | fgrid/iso20022 | RateType49Choice.go | GO | mit | 601 |
# -*- coding: utf-8 -*-
require "spec_helper"
require "date"
describe Date do
describe "Meiji period to Heisei period" do
it "should parse gregorian calendar date correctly" do
Date.parse("2012-02-15").should == Date.new(2012, 2, 15)
Date.parse("2012/02/15").should == Date.new(2012, 2, 15)
end
... | meltedice/wareki | spec/wareki/default_date_spec.rb | Ruby | mit | 2,538 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sjl.mlbapp.gui.util;
import java.awt.GridBagConstraints;
import java.awt.Insets;
/**
*
* @author samlevin
*/
public class GBConstrManager extends GridBagConstraints {
public GBConstrManager... | levinsamuel/rand | java/MLB2012App/src/main/java/sjl/mlbapp/gui/util/GBConstrManager.java | Java | mit | 2,162 |
#br-ba {
background-color: #fff;
background-image: linear-gradient(transparent 25%, #c8140a 25%, #c8140a 50%, transparent 50%, transparent 75%, #c8140a 75%);
width: 22.5em;
height: 15em;
position: relative;
}
#br-ba .square {
top: 0;
left: 0;
width: 7.5em;
... | EduardoNicacio/flags | bra/br-ba.css | CSS | mit | 611 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>SK graph demo</title>
<link rel="stylesheet" href="app.css" type="text/css" />
<script src="http://d3js.org/d3.v3.js"></script>
<script src="app.js"></script>
<style>
path.link {
fill: none;
... | liupeirong/Azure | PowerBIVisual/simpleNetwork/d3src/index.html | HTML | mit | 1,703 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>wCMF 4.0: lib/core/Factory.php Source File</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A MDSD framework for building reliable, maintainable and extendable web applications w... | iherwig/wcmf | docs/api-gen/html/4.0/_factory_8php_source.html | HTML | mit | 17,956 |
module Confluence
class BlogEntry < Record
extend Findable
record_attr_accessor :id => :entry_id
record_attr_accessor :space
record_attr_accessor :title, :content
record_attr_accessor :publishDate
record_attr_accessor :url
def store
# reinitialize blog entry after storing it
... | sspinc/confluencer | lib/confluence/blog_entry.rb | Ruby | mit | 737 |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: AuthorizeMe::Unauthorized</title>
<meta http-equi... | edgecase/authorize_me | rdoc/classes/AuthorizeMe/Unauthorized.html | HTML | mit | 2,358 |