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
FROM ubuntu:14.04 MAINTAINER Johannes Wettinger, http://github.com/jojow ENV ENGINE_BRANCH maven ENV ENGINE_REV HEAD ENV MAVEN_VERSION 3.3.9 ENV MAVEN_URL http://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz ENV HOME /root WORKDIR ${HOME} ENV DEBIAN_FRONTE...
jojow/opentosca-dockerfiles
engine/Dockerfile
Dockerfile
mit
2,100
flask-dogstatsd =============== [![PyPI version](https://badge.fury.io/py/Flask-DogStatsd.png)](http://badge.fury.io/py/Flask-DogStatsd) [![Build Status](https://travis-ci.org/xsleonard/flask-dogstatsd.png)](https://travis-ci.org/xsleonard/flask-dogstatsd) [![Coverage Status](https://coveralls.io/repos/xsleonard/flask...
xsleonard/flask-dogstatsd
README.md
Markdown
mit
1,318
<h1> FOOTBALL </h1> </body> Since the beginning of school we have been analyzing our opponents data for our football team. Since I do not obtain any mathematical skills, it was a challenge. All I could and did offer to the table was what appeared the most important out of the data. Such as, certain number of time...
carlistew24/carlistew
project1.html
HTML
mit
474
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>java枚举类型的使用,查一下</title> <meta name="author" content="盒子"> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> <!--[if lt IE 9]> <script s...
feiyan35488/feiyan35488.github.io
2012/290.html
HTML
mit
4,346
<!doctype html> <!-- Minimal Mistakes Jekyll Theme 4.13.0 by Michael Rose Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes Free for personal and commercial use under the MIT license https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt --> <html lang="en" class="no-js"> <head> ...
preslavrachev/preslavrachev.github.io
tags/swift/index.html
HTML
mit
7,715
--- title: "Tagging and Sample Data" --- Use the [`Appsignal.Transaction.set_sample_data`](https://hexdocs.pm/appsignal/Appsignal.Transaction.html#set_sample_data/2) function to supply extra context on errors and performance issues. This can help to add information that is not already part of the request, session or e...
appsignal/appsignal-docs
source/elixir/1.x/instrumentation/tagging.html.md
Markdown
mit
3,700
/** * 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.network.v2020_04_01; import com.fasterxml.jackso...
selvasingh/azure-sdk-for-java
sdk/network/mgmt-v2020_04_01/src/main/java/com/microsoft/azure/management/network/v2020_04_01/ExpressRouteCircuitSku.java
Java
mit
2,518
class JudgePolicy < ApplicationPolicy def create_scores? record.competition.unlocked? && (user_match? || director?(record.event) || super_admin?) end def view_scores? (user_match? || director?(record.event) || super_admin?) end def index? director?(record.event) || super_admin? end def togg...
rdunlop/unicycling-registration
app/policies/judge_policy.rb
Ruby
mit
827
const path = require('path'); const webpack = require('webpack'); const webpackMerge = require('webpack-merge'); const commonConfig = require('./webpack.common.config.js'); module.exports = function () { return webpackMerge(commonConfig, { watch: true, devtool: 'cheap-module-source-map', /...
LilyaSidorenko/jsmp-project2
webpack.dev.config.js
JavaScript
mit
598
<!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/by/bytescout.barcode.4.31.0.784/Bytescout.BarCode.WPF-net45.html
HTML
mit
131,046
--- layout: page title: "James Kates" comments: true description: "blanks" keywords: "James Kates,CU,Boulder" --- <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://dl.dropboxusercontent.com/s/pc42nxpaw1ea4o9/highcharts.js?dl=0"></script> <!-- <script s...
nikhilrajaram/nikhilrajaram.github.io
instructors/James_Kates.md
Markdown
mit
1,413
const Nodelist = artifacts.require("./Nodelist.sol"); const BiathlonNode = artifacts.require("./BiathlonNode.sol"); const SecondNode = artifacts.require("./SecondNode.sol"); const BiathlonToken = artifacts.require("./BiathlonToken.sol"); const Ownable = artifacts.require('../contracts/ownership/Ownable.sol'); // const...
BiathlonHelsinki/BiathlonContract
test/3_biathlontoken.js
JavaScript
mit
7,223
package classfile import "encoding/binary" type ClassReader struct { data []byte } func (self *ClassReader) readUint8() uint8 { val := self.data[0] self.data = self.data[1:] return val } func (self *ClassReader) readUint16() uint16 { val := binary.BigEndian.Uint16(self.data) self.data = self.data[2:] return...
wonghoifung/tips
goworkspace/src/jvmgo/classfile/class_reader.go
GO
mit
874
import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.HashMap; import java.util.LinkedList; //this code contains the output assembly code that the program outputs. //will have at least three functions: //add(string, string, string, string) <- adds an assembly code line /...
mjsmith707/KSPCompiler
src/ASMCode.java
Java
mit
4,329
import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core'; import { Filter, FilterType } from 'lib/filter'; @Component({ selector: 'iw-filter-input', templateUrl: './filter-input.component.html', styleUrls: ['./filter-input.component.css'] }) export class FilterInputComponent implements OnIn...
zorec/ng2-pack
src/app/filter-input/filter-input.component.ts
TypeScript
mit
1,320
var express = require('express'); var bodyParser = require('body-parser'); var fs = require('fs') var app = express(); var lostStolen = require('mastercard-lost-stolen'); var MasterCardAPI = lostStolen.MasterCardAPI; var dummyData = []; var dummyDataFiles = ['www/data/menu.json', 'www/data/account-number.json']; dumm...
perusworld/mcdevapi-lostandstolen-refimpl-web
index.js
JavaScript
mit
2,903
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { title: 'Express' }); }); router.get('/about', function(req, res, next) { res.render('about', { title: 'About' }); }); module.exports = router;
Studio39/node-snapclone
routes/index.js
JavaScript
mit
301
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("10....
NikolaySpasov/Softuni
C# Advanced/10. Advanced Retake Exam - 22 August 2016/10. Advanced Retake Exam - 22 August 2016/Properties/AssemblyInfo.cs
C#
mit
1,453
<!-- Copyright 2005-2008 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) Some files are held under additional license. Please see "http://stlab.adobe.com/licenses.html" for more information. -->...
brycelelbach/asl
documentation/html/structadobe_1_1unary__compose-members.html
HTML
mit
7,661
# Stomp example ## How to use ### Using `create-next-app` Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example: ```bash npx create-next-app --e...
BlancheXu/test
examples/with-stomp/README.md
Markdown
mit
1,312
// <auto-generated /> namespace Surplus.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class EstVa...
chrisjsherm/SurplusMvc
Surplus/Migrations/201504291914587_EstValueMaxMin.Designer.cs
C#
mit
821
''' salt.utils ~~~~~~~~~~ ''' class lazy_property(object): ''' meant to be used for lazy evaluation of an object attribute. property should represent non-mutable data, as it replaces itself. http://stackoverflow.com/a/6849299/564003 ''' def __init__(self, fget): self.fget = fget ...
johnnoone/salt-targeting
src/salt/utils/__init__.py
Python
mit
537
/* File: Reachability.h Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. Version: 2.1 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, mo...
hejunbinlan/iOSStarterTemplate
Classes/Service/Reachability.h
C
mit
3,955
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module FlashFinalProject class Application < Rails::Application # Settings in config/environments/* ...
YushengLi/MultimediaDesignProject
config/application.rb
Ruby
mit
1,124
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Leap; namespace LeapMIDI { class LeapStuff { private Controller controller = new Controller(); public float posX { get; private set; } public float posY { get; pr...
LeifBloomquist/LeapMotion
C#/LeapMIDI/LeapStuff.cs
C#
mit
2,374
// // Created by Aman LaChapelle on 5/26/17. // // pytorch_inference // Copyright (c) 2017 Aman LaChapelle // Full license at pytorch_inference/LICENSE.txt // #include "../include/layers.hpp" #include "utils.hpp" int main(){ std::vector<pytorch::tensor> tests = test_setup({1, 1, 1}, ...
bzcheeseman/pytorch-inference
test/test_product.cpp
C++
mit
1,213
package com.github.weeniearms.graffiti; import com.github.weeniearms.graffiti.config.CacheConfiguration; import com.github.weeniearms.graffiti.generator.GraphGenerator; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cache.annotation.Cacheable; import org.springframework.stere...
weeniearms/graffiti
src/main/java/com/github/weeniearms/graffiti/GraphService.java
Java
mit
1,097
//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class UnityEngine_SkinnedMeshRendererWrap { public static void Register(LuaState L) { L.BeginClass(typeof(UnityEngine.SkinnedMeshRenderer), typeof(UnityEngine.Renderer)); L.RegFunction("BakeMesh",...
amostalong/SSFS
Assets/LuaFramework/ToLua/Source/Generate/UnityEngine_SkinnedMeshRendererWrap.cs
C#
mit
10,657
<!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>modelY() \ Language (API) \ Processing 2+</title> <link rel="icon" href="/favicon.ico" type="image/x-icon" /> <meta htt...
sylviawan/oop_assignment1
Desktop/Processing.app/Contents/Java/modes/java/reference/modelY_.html
HTML
mit
8,356
<?php /** * This file is part of the [n]core framework * * Copyright (c) 2014 Sascha Seewald / novael.de * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace nCore\Core\Router\Exception; use nCore\Core\Exception\DefaultExcep...
sSeewald/nCore
src/nCore/Core/Router/Exception/RouterException.php
PHP
mit
572
<?php namespace App\Test\Fixture; use Cake\TestSuite\Fixture\TestFixture; /** * ParametersFixture * */ class ParametersFixture extends TestFixture { /** * Fields * * @var array */ // @codingStandardsIgnoreStart public $fields = [ 'id' => ['type' => 'integer', 'length' => 11...
jimolina/bakeangular
tests/Fixture/ParametersFixture.php
PHP
mit
1,636
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </meta> <meta content="width=device-width, initial-scale=1" name="viewport"> </meta> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> </link> <link href="../../resources/stof-style.css" rel="stylesheet"> </link> <s...
mulhod/bob_dylan_lyrics
songs/html/lay_lady_lay_3.html
HTML
mit
12,400
mod message_set; use std; use std::fmt; use linked_hash_map::{Iter, LinkedHashMap}; use uuid::Uuid; pub mod message; #[derive(Debug, PartialEq)] pub struct Message { properties: Map, body: Option<Value>, } impl Message { pub fn new() -> MessageBuilder { MessageBuilder::new() } pub fn w...
heil-hydra/hydramq
src/message/mod.rs
Rust
mit
12,795
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Typeset.Domain.Configuration { public interface IConfigurationRepository { IConfiguration Read(string path); } }
typeset/typeset
Typeset.Domain.Configuration/IConfigurationRepository.cs
C#
mit
233
'use strict'; // Projects controller angular.module('about').controller('AboutUsController', ['$scope', '$stateParams', '$state', '$location', 'Authentication', function($scope, $stateParams, $state, $location, Authentication) { $scope.authentication = Authentication; } ]);
spiridonov-oa/people-ma
public/modules/about/controllers/about.client.controller.js
JavaScript
mit
281
<?php /** * AbstractField class file */ namespace Graviton\DocumentBundle\DependencyInjection\Compiler\Utils; /** * Base document field * * @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors> * @license https://opensource.org/licenses/MIT MIT License * @link http:/...
libgraviton/graviton
src/Graviton/DocumentBundle/DependencyInjection/Compiler/Utils/AbstractField.php
PHP
mit
2,983
-- MySQL dump 10.13 Distrib 5.5.49, for debian-linux-gnu (x86_64) -- -- Host: localhost Database: warmup -- ------------------------------------------------------ -- Server version 5.5.49-0ubuntu0.14.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CH...
layheng/pog
doc/warmup.sql
SQL
mit
6,079
<?php namespace Abe\FileUploadBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Confi...
Dabea/BasicLogin
src/Abe/FileUploadBundle/Controller/UploadController.php
PHP
mit
3,780
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- 選舉資料查詢 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>中選會選舉資料庫網站</title> <link rel="stylesheet" type="text/css" href="http://db.cec.gov.tw/votehist.css"> <script typ...
g0v/projectV
mirror/prvCode_07/cityCode_000-areaCode_06-deptCode_032/voteCode_20120101T1A2-qryType_ctks-prvCode_05-cityCode_000-areaCode_06-deptCode_032-liCode_0587.html
HTML
mit
6,086
import { Dimensions, PixelRatio } from 'react-native'; const Utils = { ratio: PixelRatio.get(), pixel: 1 / PixelRatio.get(), size: { width: Dimensions.get('window').width, height: Dimensions.get('window').height, }, post(url, data, callback) { const fetchOptions = { ...
zhiyuanMA/ReactNativeShowcase
components/utils.js
JavaScript
mit
765
import re from setuptools import setup def find_version(filename): _version_re = re.compile(r"__version__ = '(.*)'") for line in open(filename): version_match = _version_re.match(line) if version_match: return version_match.group(1) __version__ = find_version('librdflib/__init__....
tgbugs/pyontutils
librdflib/setup.py
Python
mit
1,448
--- --- <!doctype html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Photo - A History of UCSF</title> <link href='https://fonts.googleapis.com/css?family=...
ucsf-ckm/ucsf-history-website
theme_photo21.html
HTML
mit
1,709
using Humanizer.Localisation; using Xunit; using Xunit.Extensions; namespace Humanizer.Tests.Localisation.ptBR { public class DateHumanizeTests : AmbientCulture { public DateHumanizeTests() : base("pt-BR") { } [Theory] [InlineData(-2, "2 segundos atrás")] [InlineData(-1, "um s...
hhariri/Humanizer
src/Humanizer.Tests/Localisation/pt-BR/DateHumanizeTests.cs
C#
mit
3,481
package com.github.aselab.activerecord import scala.language.experimental.macros import scala.reflect.macros._ trait Deprecations { def unsupportedInTransaction[A](c: Context)(a: c.Expr[A]): c.Expr[A] = { import c.universe._ c.error(c.enclosingPosition, "dsl#inTransaction is deprecated. use ActiveRecordComp...
xdougx/scala-activerecord
macro/src/main/scala/Deprecations.scala
Scala
mit
377
<div class="form main-form" ng-controller="AuthCtrl" ng-class="($state.is('auth.register')) ? 'register-form' : ''"> <div class="row login-form__left" ui-view></div> </div>
hdl881127/mean_io
packages/core/users/public/views/index.html
HTML
mit
177
"""This module contains examples of the op() function where: op(f,x) returns a stream where x is a stream, and f is an operator on lists, i.e., f is a function from a list to a list. These lists are of lists of arbitrary objects other than streams and agents. Function f must be stateless, i.e., for any lists u, v: f(u...
zatricion/Streams
ExamplesElementaryOperations/ExamplesOpNoState.py
Python
mit
4,241
<?php /* * This file is part of the Black package. * * (c) Alexandre Balmes <albalmes@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Black\Bundle\MenuBundle\Model; /** * Class MenuInterface * * @package ...
pocky/MenuBundle
Model/MenuInterface.php
PHP
mit
845
{% extends 'base.html' %} {% load staticfiles %} {% block content %} <div class="container"> <div class="row"> <div class="col-lg-9"> <div class="post-header"> <h2>{{page.page_title}}</h2> </div> {% if page.image %} <div class="video-wrapper"> <img cl...
GoWebyCMS/goweby-core-dev
pages/templates/page/page_detail.html
HTML
mit
1,375
#ifndef LIBFEEDKIT_CONSTANTS_H #define LIBFEEDKIT_CONSTANTS_H #include <String.h> #include <vector> namespace FeedKit { class Channel; class Content; class Enclosure; class Feed; class Item; extern const char *ServerSignature; typedef std::vector<BString> uuid_list_t; typedef std::vector<Content *> conte...
HaikuArchives/FeedKit
libfeedkit/FeedKitConstants.h
C
mit
2,663
<?php /** * Response Already Send Exception * * @author Tom Valk <tomvalk@lt-box.info> * @copyright 2017 Tom Valk */ namespace Arvici\Exception; class ResponseAlreadySendException extends ArviciException { /** * ResponseAlreadySendException constructor. * @param string $message * @param ...
arvici/framework
src/Arvici/Exception/ResponseAlreadySendException.php
PHP
mit
640
#include <stdio.h> struct Employee { unsigned int id; char name[256]; char gender; float salary; }; void addEmployee(FILE *f) { struct Employee emp; printf("Adding a new employee, please type his id \n"); int id; scanf("%d", &id); if (id > 0) { while (1) { //search if id already in use struct Employee t...
Macelai/operating-systems
system-call/main.c
C
mit
4,505
--- layout: post date: 2016-05-17 title: "WEDDING DRESSES Jersey Cap Sleeve Bridal Dress JB98629" category: WEDDING DRESSES tags: [WEDDING DRESSES] --- ### WEDDING DRESSES Jersey Cap Sleeve Bridal Dress JB98629 Just **$279.99** ### <a href="https://www.readybrides.com/en/wedding-dresses/40561-jersey-cap-sleeve-bridal...
novstylessee/novstylessee.github.io
_posts/2016-05-17-WEDDING-DRESSES-Jersey-Cap-Sleeve-Bridal-Dress-JB98629.md
Markdown
mit
1,759
#!/usr/bin/env node // // cli.js // // Copyright (c) 2016-2017 Junpei Kawamoto // // This software is released under the MIT License. // // http://opensource.org/licenses/mit-license.php // const { start, crawl } = require("../lib/crawler"); const argv = require("yargs") .option("lang", { describe...
itslab-kyushu/youtube-comment-crawler
bin/cli.js
JavaScript
mit
867
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CollegeFbsRankings.Domain.Games; using CollegeFbsRankings.Domain.Rankings; using CollegeFbsRankings.Domain.Teams; namespace CollegeFbsRankings.Domain.Validations { public class ValidationServ...
mikee385/CollegeFbsRankings
Domain/Validations/ValidationService.cs
C#
mit
1,400
/* ---------------------------------------------------------------------------- * Copyright (C) 2013 Arne F. Claassen * geekblog [at] claassen [dot] net * http://github.com/sdether/Calculon * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated d...
sdether/Calculon
Calculon.Tests/BuilderTests.cs
C#
mit
2,235
<div class="container" > <div class="row page-title"> <div class="col-xs-12 text-center"> <span>Consultation</span> </div> </div> </div> <script type="text/javascript"> /** * Created by Kupletsky Sergey on 05.11.14. * * Material Design Responsive Table * Tested on Win8.1 with browsers: Chrome 37, Fire...
r45r54r45/simplewe
application/views/consultation.php
PHP
mit
26,096
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("De...
StoikoNeykov/Telerik
CSharp1/Loops/DecimalToHex/Properties/AssemblyInfo.cs
C#
mit
1,400
const AppError = require('../../../lib/errors/app') const assert = require('assert') function doSomethingBad () { throw new AppError('app error message') } it('Error details', function () { try { doSomethingBad() } catch (err) { assert.strictEqual( err.name, 'AppError', "Name property ...
notmessenger/poker-analysis
test/lib/errors/app.js
JavaScript
mit
1,211
require 'spec_helper' describe Blogitr::Document do def parse text, filter=:html @doc = Blogitr::Document.new :text => text, :filter => filter end def should_parse_as headers, body, extended=nil @doc.headers.should == headers @doc.body.should == body @doc.extended.should == extended end it ...
emk/blogitr
spec/document_spec.rb
Ruby
mit
3,231
<?php namespace Grupo3TallerUNLP\ConfiguracionBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class ConfiguracionControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static...
Grupo3-TallerUNLP/InfoSquid
src/Grupo3TallerUNLP/ConfiguracionBundle/Tests/Controller/ConfiguracionControllerTest.php
PHP
mit
2,024
## iScript 包含项目: > *[L]* *[W]* *[LW]* 分别表示,在linux, windows, linux和windows 下通过测试。 > ***windows用户可在babun (https://github.com/babun/babun) 下运行。*** - *[L]* [xiami.py](#xiami.py) - 下载或播放高品质虾米音乐(xiami.com) - *[L]* [pan.baidu.com.py](#pan.baidu.com.py) - 百度网盘的下载、离线下载、上传、播放、转存、文件操作 - *[L]* [bt.py](#bt.py) - magnet torren...
linpan/iScript
README.md
Markdown
mit
36,263
export default { cache: function (state, payload) { state.apiCache[payload.api_url] = payload.api_response; }, addConfiguredType: function (state, type) { state.configuredTypes.push(type); }, removeConfiguredType: function (state, index) { state.configuredTypes.splice(index, 1); }, update...
IDCI-Consulting/ExtraFormBundle
Resources/public/js/editor/src/store/mutations.js
JavaScript
mit
854
FROM gliderlabs/alpine:latest MAINTAINER Carlos León <mail@carlosleon.info> RUN apk-install darkhttpd EXPOSE 80 ENTRYPOINT ["/usr/bin/darkhttpd"] CMD ["/var/www", "--chroot"]
mongrelion/di-darkhttpd
Dockerfile
Dockerfile
mit
181
### 实现元素拖拽功能: - EventUtil 封装跨浏览器时间处理对象 - EventTarget 自定义事件对象 - dragdrop 在其中实现元素拖拽 关键点: **被拖拽元素使用 绝对定位absolute 或 相对定位relative**,在mousemove事件中,重新设置left 及 top值 添加mousedown/mouseup事件 修缮拖动:鼠标点击位置与元素顶端位置差异
7986LiChang/MyLearnDemos
js/DragDrop/README.md
Markdown
mit
388
'-------------------------------------------------------------------------------------------' ' Inicio del codigo '-------------------------------------------------------------------------------------------' ' Importando librerias '--------------------------------------------------------------------------------------...
kodeitsolutions/ef-reports
PAS_fNotas_Credito.aspx.vb
Visual Basic
mit
10,260
.PHONY: build clean build: .obj/chilon_sql_to_source clean: rm -rf .obj .obj/%: %.cpp @mkdir -p .obj ${CXX} -std=c++0x $^ -o $@ -I ../.. ifeq ($(wildcard .obj/*),) install: else install: @mkdir -p ${DESTDIR}/${prefix}/bin @strip .obj/* @cp .obj/* ${DESTDIR}/${prefix}/bin endif
ohjames/chilon
bin/Makefile
Makefile
mit
288
package com.korpisystems.SimpleANN import org.scalatest.FunSuite class ANNTest extends FunSuite { test("ANN learns non-linear XOR properly") { val inputs: ExpectedValues = List( List(1, 1) , List(0, 1) , List(1, 0) , List(0, 0) ) val expected_out: ExpectedValues = List( List(0)...
rdtaylor/SimpleANN
src/test/scala/com/korpisystems/ANN/ANNTest.scala
Scala
mit
3,200
// This file is required by karma.conf.js and loads recursively all the .spec and framework files import 'zone.js/testing'; import { getTestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; declare const ...
alxhub/angular
aio/src/test.ts
TypeScript
mit
640
/**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /* @author Axel Anceau - 2014 Package api contains general tools */ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ package api import ( "fmt" "github.com/revel/revel" "runtime/debug" ) /**/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ /...
Peekmo/RPGit
api/filters.go
GO
mit
953
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Tree View</title> <link href="01.tree-view.css" rel="stylesheet" /> </head> <body> <nav> <ul class="first"> <li> <a href="#">List Item</a> <ul> <li> <a href="#">Sublis...
zhenyaracheva/TelerikAcademy
CSS/CSSLayout/01.tree-view.html
HTML
mit
1,546
--- layout: post author: nurahill title: "Nura's Clicky turtle excercise" --- Here is my code for option 1: <iframe src="https://trinket.io/embed/python/3c8744a1ac" width="100%" height="600" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe> On option one, as usual, it took me a bit to come u...
silshack/summer2017
_posts/nurahill/2017-05-30-nurahill-clicky-turtle.md
Markdown
mit
1,910
<?php namespace SCL\ZF2\Currency\Form\Fieldset; use Zend\Form\Fieldset; class TaxedPrice extends Fieldset { const AMOUNT_LABEL = 'Amount'; const TAX_LABEL = 'Tax'; public function init() { $this->add([ 'name' => 'amount', 'type' => 'text', 'options' => ...
SCLInternet/SclZfCurrency
src/SCL/ZF2/Currency/Form/Fieldset/TaxedPrice.php
PHP
mit
581
var indexController = require('./controllers/cIndex'); var usuarioController = require('./controllers/cUsuario'); var clientesController = require('./controllers/cCliente'); var adminController = require('./controllers/cAdmin'); var umedController = require('./controllers/cUmed'); var matepController = require('./contr...
IsaacMiguel/ProchemBio
routes.js
JavaScript
mit
12,314
<?php /** * Created by PhpStorm. * User: tfg * Date: 25/08/15 * Time: 20:03 */ namespace AppBundle\Behat; use Sylius\Bundle\ResourceBundle\Behat\DefaultContext; class BrowserContext extends DefaultContext { /** * @Given estoy autenticado como :username con :password */ public function iAmAuth...
sergiormb/ritsiga
src/AppBundle/Behat/BrowserContext.php
PHP
mit
1,153
## Close ### What is the value of the first triangle number to have over five hundred divisors? print max([len(m) for m in map(lambda k: [n for n in range(1,(k+1)) if k%n == 0], [sum(range(n)) for n in range(1,1000)])])
jacksarick/My-Code
Python/python challenges/euler/012_divisable_tri_nums.py
Python
mit
219
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Aut...
shopOFF/Autos4Sale
Autos4Sale/Data/Autos4Sale.Data.Models/Properties/AssemblyInfo.cs
C#
mit
1,415
from errors import * from manager import SchemaManager
Livefyre/pseudonym
pseudonym/__init__.py
Python
mit
55
<?php namespace Syrma\WebContainer; /** * */ interface ServerInterface { /** * Start the server. * * @param ServerContextInterface $context * @param RequestHandlerInterface $requestHandler */ public function start(ServerContextInterface $context, RequestHandlerInterface $requestHan...
syrma-php/web-container
src/Syrma/WebContainer/ServerInterface.php
PHP
mit
552
# Architecture When you are developing a new feature that requires architectural design, or if you are changing the fundamental design of an existing feature, make sure it is discussed with one of the Frontend Architecture Experts. A Frontend Architect is an expert who makes high-level Frontend design decisions and d...
iiet/iiet-git
doc/development/fe_guide/architecture.md
Markdown
mit
792
module Mailchimp class API include HTTParty format :plain default_timeout 30 attr_accessor :api_key, :timeout, :throws_exceptions def initialize(api_key = nil, extra_params = {}) @api_key = api_key || ENV['MAILCHIMP_API_KEY'] || self.class.api_key @default_params = {:apikey => @api_k...
herimedia/mailchimp-gem
lib/mailchimp/api.rb
Ruby
mit
1,894
Ti=Ownership sec=All {_Confidential_Information} furnished to {_the_Consultant} by {_the_Client} is the sole and exclusive property of {_the_Client} or its suppliers or customers. =[G/Z/ol/0]
CommonAccord/Cmacc-Org
Doc/Wx/com/cooleygo/US/Consult/Sec/Confidentiality_Ownership_v01.md
Markdown
mit
194
/* Print.cpp - Base class that provides print() and println() Copyright (c) 2008 David A. Mellis. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1...
gokr/ardunimo
wrapper/src/cores/arduino/Print.cpp
C++
mit
5,552
import { Injectable } from '@angular/core'; /** * Created by AAAA on 3/21/2017. */ //http://stackoverflow.com/questions/9671995/javascript-custom-event-listener //http://www.typescriptlang.org/play/ class MyEvent{ private context:Object; private cbs: Function[] = []; constructor(context: Object){ this.c...
caohonghiep/lkth
src/app/services/events.service.ts
TypeScript
mit
1,639
import random from datetime import datetime from multiprocessing import Pool import numpy as np from scipy.optimize import minimize def worker_func(args): self = args[0] m = args[1] k = args[2] r = args[3] return (self.eval_func(m, k, r) - self.eval_func(m, k, self.rt) - ...
ndt93/tetris
scripts/agent3.py
Python
mit
5,234
RSpec.describe Porch::ProcStepDecorator do describe ".decorates?" do it "returns true if the step is a proc" do expect(described_class).to be_decorates Proc.new {} end it "returns true if the step is a lambda" do expect(described_class).to be_decorates lambda {} end it "returns false...
jwright/porch
spec/porch/step_decorators/proc_step_decorator_spec.rb
Ruby
mit
747
<?php declare(strict_types=1); namespace Symplify\MultiCodingStandard\Tests\PhpCsFixer\Factory; use PhpCsFixer\Fixer\FixerInterface; use PHPUnit\Framework\TestCase; use Symplify\MultiCodingStandard\PhpCsFixer\Factory\FixerFactory; final class FixerFactoryTest extends TestCase { /** * @var FixerFactory ...
Symplify/MultiCodingStandard
tests/PhpCsFixer/Factory/FixerFactoryTest.php
PHP
mit
1,399
# -*- coding: utf-8 -*- """" ProjectName: pydemi Repo: https://github.com/chrisenytc/pydemi Copyright (c) 2014 Christopher EnyTC Licensed under the MIT license. """ # Dependencies import uuid from api import app from hashlib import sha1 from flask import request from flask import jsonify as JSON from api.models.user ...
chrisenytc/pydemi
api/controllers/users.py
Python
mit
1,151
'use strict'; const buildType = process.config.target_defaults.default_configuration; const assert = require('assert'); if (process.argv[2] === 'fatal') { const binding = require(process.argv[3]); binding.error.throwFatalError(); return; } test(`./build/${buildType}/binding.node`); test(`./build/${buildType}/bi...
MTASZTAKI/ApertusVR
plugins/languageAPI/jsAPI/3rdParty/node-addon-api/test/error.js
JavaScript
mit
2,328
using System.Web; using System.Web.Optimization; namespace WebAPI.Boilerplate.Api { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Ad...
Manoj-Bisht/WebAPI-Boilerplate
WebAPI.Boilerplate.Api/App_Start/BundleConfig.cs
C#
mit
1,123
// // YYBaseLib.h // YYBaseLib // // Created by 银羽网络 on 16/7/19. // Copyright © 2016年 银羽网络. All rights reserved. // #import <UIKit/UIKit.h> #import "AppConfig.h" #import "BaseViewController.h" #import "CommonTool.h" #import "DataVerify.h" #import "FSMediaPicker.h" #import "MBProgressHUD+MBProgressHUD_Category.h" ...
chuanxiaoshi/YYBaseLib
YYBaseLib.framework/Headers/YYBaseLib.h
C
mit
1,471
<table id="member_table" class="mainTable padTable" style="width:100%;" cellspacing="0" cellpadding="0" border="0"> <thead> <tr> <th style="width:3%;" ><?=$lang_id?></th> <th style="width:22%;"><?=$lang_name?></th> <th style="width:15%;"><?=$lang_total_friends?></th> <th style="width:15%;"><...
ProJobless/nyus
nyusocial/expressionengine/third_party/friends/views/members_friends.html
HTML
mit
3,351
package redes3.proyecto.nagiosalert; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.TextView; public class InfoServiceActivity extends Activity { String nom...
caat91/NagiosAlert
NagiosAlert-App/src/redes3/proyecto/nagiosalert/InfoServiceActivity.java
Java
mit
2,141
--- layout: post title: !binary |- Rm9vbOKAmXMgV29ybGQgTWFw tags: - micrographic --- Hoy me he encontrado en Microsiervos y en Halón disparado una cosa realmente curiosa, una revisión freakie del mapa del mundo! Se trata de un mapa donde los países están colocados donde la gente (yanquis, claro) cree que están. El re...
cuellarfr/cuellarfr.github.io
_posts/2004-08-13-fool-s-world-map.md
Markdown
mit
358
#include "MultiSelection.h" #include "ofxCogEngine.h" #include "EnumConverter.h" #include "Node.h" namespace Cog { void MultiSelection::Load(Setting& setting) { string group = setting.GetItemVal("selection_group"); if (group.empty()) CogLogError("MultiSelection", "Error while loading MultiSelection behavior: e...
dormantor/ofxCogEngine
COGengine/src/Behaviors/MultiSelection.cpp
C++
mit
2,863
// The MIT License (MIT) // // Copyright (c) 2016 Tim Jones // // 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,...
jonestimd/finances
src/main/java/io/github/jonestimd/finance/file/Reconciler.java
Java
mit
3,250
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class AddTemplatesToEvents extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('events', function (Blueprint $table) { $t...
ayimdomnic/Qicksite
src/PublishedAssets/Migrations/2016_03_20_186046_add_templates_to_events.php
PHP
mit
605
package plugin_test import ( "path/filepath" "code.cloudfoundry.org/cli/utils/testhelpers/pluginbuilder" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "testing" ) func TestPlugin(t *testing.T) { RegisterFailHandler(Fail) pluginbuilder.BuildTestBinary(filepath.Join("..", "fixtures", "plugins"), "test_...
jabley/cf-metrics
vendor/src/code.cloudfoundry.org/cli/plugin/plugin_suite_test.go
GO
mit
355
var express = require('express'), compression = require('compression'), path = require('path'), favicon = require('serve-favicon'), logger = require('morgan'), cookieParser = require('cookie-parser'), bodyParser = require('body-parser'), session = require('express-session'), session = re...
EdmonJiang/FA_Inventory
app.js
JavaScript
mit
2,979
/** * CircularLinkedList implementation * @author Tyler Smith * @version 1.0 */ public class CircularLinkedList<T> implements LinkedListInterface<T> { private Node<T> head = null, tail = head; private int size = 0; @Override public void addAtIndex(int index, T data) { if (index < 0 || ind...
tsmith328/Homework
Java/CS 1332/Homework 01/CircularLinkedList.java
Java
mit
4,722
--- name: Bug上报 about: 提交Bug让框架更加健壮 title: '' labels: bug assignees: '' --- 🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶 😁为了能够更好地复现问题和修复问题, 请提供 Demo 和详细的 bug 重现步骤😭 🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶🥶 > 记得删除以上内容 **描述bug** 清晰简单地描述这个bug是啥 **必现/偶发?** 必现 **怎么样重现这个bug** 1. 显示哪个页面...
CoderMJLee/MJRefresh
.github/ISSUE_TEMPLATE/bug--.md
Markdown
mit
942