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
#!/usr/bin/env python # coding=utf-8 """ The full documentation is at https://python_hangman.readthedocs.org. """ try: from setuptools import setup except ImportError: from distutils.core import setup from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options...
bionikspoon/python_hangman
setup.py
Python
mit
2,404
require 'rack/streaming_proxy' Theoj::Application.configure do # Will be inserted at the end of the middleware stack by default. config.middleware.use Rack::StreamingProxy::Proxy do |request| # Inside the request block, return the full URI to redirect the request to, # or nil/false if the request should c...
erferf/DD
config/initializers/streaming_proxy.rb
Ruby
mit
446
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * This file is part of the PWAK (PHP Web Application Kit) framework. * * PWAK is a php framework initially developed for the * {@link http://onlogistics.googlecode.com Onlogistics} ERP/Supply Chain * management web application. * It provid...
danilo-cesar/pwak
lib/Grid/Columns/GridColumnCallBack.php
PHP
mit
2,315
# NOTE: run bin/format-filters after changing this file opal_unsupported_filter "Struct" do fails "Struct#initialize is private" fails "Struct.new does not create a constant with symbol as first argument" fails "Struct.new fails with invalid constant name as first argument" # this invalid name gets interpreted as...
opal/opal
spec/filters/unsupported/struct.rb
Ruby
mit
407
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBSHARINGAudienceExceptionContentInfo; @class DBSHARINGAudienceExceptions; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object ...
wtanuw/WTLibrary-iOS
Example/Pods/ObjectiveDropboxOfficial/Source/ObjectiveDropboxOfficial/Shared/Generated/ApiObjects/Sharing/Headers/DBSHARINGAudienceExceptions.h
C
mit
2,672
# encoding: utf-8 from mongoengine.fields import BaseField from marrow.package.canonical import name from marrow.package.loader import load class PythonReferenceField(BaseField): """A field that transforms a callable into a string reference using marrow.package on assignment, then back to the callable when accessi...
deKross/task
marrow/task/field.py
Python
mit
717
import { moduleFor, test } from 'ember-qunit'; moduleFor('controller:articles/index', { // Specify the other units that are required for this test. // needs: ['controller:foo'] }); // Replace this with your real tests. test('it exists', function(assert) { var controller = this.subject(); assert.ok(control...
BigGillyStyle/borrowers
tests/unit/controllers/articles/index-test.js
JavaScript
mit
330
<!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>Overview: module code &mdash; petl v0.3 documentat...
obsoleter/petl
docstage/0.3/_modules/index.html
HTML
mit
3,076
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; using System.Collections.Generic; using System.IO; using Mono.Cecil.Cil; using Mono.Collections.Generic; using Mono.CompilerServ...
mono/cecil
symbols/mdb/Mono.Cecil.Mdb/MdbWriter.cs
C#
mit
5,363
<?php namespace Gites\GitesBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class SlidesControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
davidgerard66/galte
src/Gites/GitesBundle/Tests/Controller/SlidesControllerTest.php
PHP
mit
1,944
<h3>Off Canvas</h3> <nav class="offCanvas" id="offCanvas"> <ul> <li><a href="#">Item 1</a></li> <li><a href="#">Item 2</a></li> <li><a href="#">Item 3</a></li> <li><a href="#">Item 4</a></li> <li><a href="#">Item 5</a></li> </ul> </nav> <div class="offC...
WhatsNewSaes/Sherpa
_input/includes/navigation/offCanvas.html
HTML
mit
531
// // STDemoRootViewControllerEnum.h // CJStandardProjectDemo // // Created by 李超前 on 10/29/18. // Copyright © 2018 devlproad. All rights reserved. // #ifndef STDemoRootViewControllerEnum_h #define STDemoRootViewControllerEnum_h /** * 启动页类型 */ typedef NS_ENUM(NSUInteger, STDemoRootViewControllerType) { STD...
dvlproad/CJFoundation
CJStandardProjectDemo/CJStandardProjectDemo/AppDelegate/LogicControl(将AppDelegate的所有Logic放在一起)/STDemoRootViewControllerEnum.h
C
mit
599
/* Copyright (C) 1996-1997 Id Software, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in th...
khonkhortisan/blinky
engine/NQ/sv_main.c
C
mit
34,514
import {CardClass, CardSet, CardType, MultiClassGroup, Race, Rarity} from "./Enums"; import {cleanEnum} from "./helpers"; export default class CardDef { public attack: number; public armor: number; public cardClass: CardClass; public cardSet: CardSet; public collectionText: string; public cost: number; public c...
Paratron/sunwell
src/CardDef.ts
TypeScript
mit
1,730
#### 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/player/shared_player_city_bank_corellia_style_01.iff" result.attrib...
anhstudios/swganh
data/scripts/templates/object/building/player/shared_player_city_bank_corellia_style_01.py
Python
mit
446
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.storage.file.share.implementation.models; import com.azure.core.http.HttpHeaders; import com.azure.core.http.HttpRequest; import com.azure.core....
selvasingh/azure-sdk-for-java
sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/models/SharesSetAccessPolicyResponse.java
Java
mit
1,182
/** * 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.netapp.v2017_08_15; import com.fasterxml.jackson...
selvasingh/azure-sdk-for-java
sdk/netapp/mgmt-v2017_08_15/src/main/java/com/microsoft/azure/management/netapp/v2017_08_15/ActiveDirectory.java
Java
mit
5,867
@extends('include.head') @section('content') <div id="content"> <section class="job padding-top-15 padding-bottom-70"> <div class="container"> <div class="coupen"> <p class="h3 text-bold"><span>{{ $project[0]->title }}</span> 캠페인의 지원자 목록</p> ...
ost500/cloudM
resources/views/mypage/applicant.blade.php
PHP
mit
7,818
/*----------------------------------------------------------------------------- * File: sr_router.h * Date: ? * Authors: Guido Apenzeller, Martin Casado, Virkam V. * Contact: casado@stanford.edu * *---------------------------------------------------------------------------*/ #ifndef SR_ROUTER_H #define SR_ROUTER...
somethingnew2-0/CS640-PA3
router/sr_router.h
C
mit
2,350
/* * Phusion Passenger - https://www.phusionpassenger.com/ * Copyright (c) 2010-2015 Phusion * * "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"...
antek-drzewiecki/passenger
ext/common/agent/UstRouter/UstRouterMain.cpp
C++
mit
16,359
// CookieManager.cs namespace Twin.Tools { using System; using System.IO; using System.Text; using System.Net; using System.Runtime.Serialization.Formatters.Binary; using Twin.Util; using CSharpSamples; /// <summary> /// Œfަ”‚ɏ‘‚«ž‚ލۂɕK—v‚ȃNƒbƒL[‚ðŠÇ— /// </summary> public class CookieManager { ...
hirotakagi/Ponytail
Twintail Project/ch2Solution/twin/Tools/CookieManager.cs
C#
mit
3,621
package com.github.onsdigital.api; import com.github.davidcarboni.restolino.framework.Api; import com.github.davidcarboni.restolino.helpers.Path; import com.github.onsdigital.data.TimeSeriesObject; import com.github.onsdigital.generators.Sample; import com.github.onsdigital.writers.DataSetWriterJSON; import com.githu...
Carboni/project-brian
src/main/java/com/github/onsdigital/api/Data.java
Java
mit
3,257
(function() { var checkVersion = Dagaz.Model.checkVersion; Dagaz.Model.checkVersion = function(design, name, value) { if (name != "pilare-restrictions") { checkVersion(design, name, value); } } var CheckInvariants = Dagaz.Model.CheckInvariants; Dagaz.Model.CheckInvariants = function(board) { ...
GlukKazan/GlukKazan.github.io
stalemate/scripts/pilare-restrictions.js
JavaScript
mit
1,070
package com.raizlabs.android.dbflow.runtime; import com.raizlabs.android.dbflow.runtime.transaction.BaseTransaction; import java.util.UUID; /** * Created by andrewgrosner * Date: 2/2/14 * Contributors: * Description: Holds information related to a {@link com.raizlabs.android.dbflow.runtime.transaction.BaseTransa...
omegasoft7/DBFlow
library/src/main/java/com/raizlabs/android/dbflow/runtime/DBTransactionInfo.java
Java
mit
3,321
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * State * * @ORM\Table(name="state") * @ORM\Entity */ class State { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * @ORM\GeneratedValue(strategy="IDENTITY") */ p...
WeDevBrasil/guia-comercial
src/AppBundle/Entity/State.php
PHP
mit
1,369
{% load typogrify_tags %} <h1>{{ video.title }}</h1> {% if video.embed_src %} {{ video.embed_src|safe }} {{ video.summary_formatted|typogrify }} {% else %} <h2>This video can not be shown here.</h2> <h3>It can be <a href="{{ video.url }}">seen at {{ video.source|capfirst }}</a></h3> {% endif %}
tBaxter/Tango
video/templates/video/includes/show_video.html
HTML
mit
306
using BEPUphysics.Constraints.TwoEntity; using BEPUphysics.Constraints.TwoEntity.JointLimits; using BEPUphysics.Constraints.TwoEntity.Joints; using BEPUphysics.Constraints.TwoEntity.Motors; using BEPUphysics.Entities; using BEPUutilities; namespace BEPUphysics.Constraints.SolverGroups { /// <summary> /// Re...
mayermatt/coms-437-trashdroids
Trashdroids/BEPUphysics/Constraints/SolverGroups/LineSliderJoint.cs
C#
mit
3,797
__author__ = 'leif' from django.contrib import admin from models import * admin.site.register(GameExperiment) admin.site.register(UserProfile) admin.site.register(MaxHighScore)
leifos/boxes
treasure-houses/asg/admin.py
Python
mit
178
class Mailbot < ActionMailer::Base def registration_mail(conference, user) mail(to: user.email, from: conference.contact.email, subject: conference.email_settings.registration_subject, body: conference.email_settings.generate_email_on_conf_updates(conference, ...
namangupta01/osem
app/mailers/mailbot.rb
Ruby
mit
5,842
// Package misc defines miscellaneous useful functions package misc import ( "reflect" "strconv" "strings" "time" ) // NVL is null value logic func NVL(str string, def string) string { if len(str) == 0 { return def } return str } // ZeroOrNil checks if the argument is zero or null func ZeroOrNil(obj interfa...
supinf/reinvent-sessions-api
app/misc/functions.go
GO
mit
2,318
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2016 // by DotNetNuke Corporation // // 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 restrict...
yiji/Dnn.Platform
DNN Platform/Library/Entities/Content/Workflow/Exceptions/WorkflowStateNameAlreadyExistsException.cs
C#
mit
1,616
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; namespace Microsoft.Diagnostics.Runtime.Interop { [StructLayout(LayoutKi...
cshung/clrmd
src/Microsoft.Diagnostics.Runtime.Utilities/Debugger/Structs/ImageCor20HeaderEntryPoint.cs
C#
mit
526
package com.udacity.gamedev.gigagal; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector2; import com.badlogic.gdx.utils.Array; import com.udacity.gamedev.gigagal.entities.GigaGal; import com.udacity.gamedev.gigagal.entities.Platform; public class Level { GigaGal gigaGal; Ar...
udacity/ud406
2.4.05-Solution-DebugCameraControls/core/src/com/udacity/gamedev/gigagal/Level.java
Java
mit
1,383
namespace EntityFrameworkPerformanceTests.CodeFirst { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Production.ProductModelProductDescriptionCulture")] ...
hanssens/bucket
experiments/EntityFramework Performance/EntityFrameworkPerformanceTests/CodeFirst/ProductModelProductDescriptionCulture.cs
C#
mit
1,059
/** * Controller for single index detail */ import _ from 'lodash'; import uiRoutes from 'ui/routes'; import uiModules from 'ui/modules'; import routeInitProvider from 'plugins/monitoring/lib/route_init'; import ajaxErrorHandlersProvider from 'plugins/monitoring/lib/ajax_error_handler'; import template from 'plugins/...
ashnewport/elasticsearch
kibana-5.0.2-linux-x86_64/plugins/x-pack/plugins/monitoring/public/views/elasticsearch/index/index_controller.js
JavaScript
mit
2,600
<!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="author" content="SemiColonWeb" /> <!-- Stylesheets ============================================= --> <link href="http://fonts.googleapis.com/css?family=Lato:300,400,400i...
darrylivan/marcojscalise.com
reference/HTML/both-right-sidebar.html
HTML
mit
64,395
#include <stdbool.h> #include "malloc.h" #include "lists.h" #include "stringBuffers.h" #include "sockets.h" //#include "threading.h" int main() //@ : main //@ requires true; //@ ensures true; { struct socket *s = create_client_socket(12345); struct reader *r = socket_get_reader(s); str...
willempx/verifast
examples/bot.c
C
mit
1,806
%w(xfonts-base xfonts-75dpi xfonts-100dpi xfonts-scalable xfonts-cyrillic).each do |font| package font do action :install end end
pivotal/lobot
chef/cookbooks/pivotal_ci/recipes/fonts.rb
Ruby
mit
138
<?php namespace RMA; use RMA\Interfaces\FormElementInterface; class Input implements FormElementInterface { private $validTypes = array("text","email","number"); private $type; private $id; private $name; private $class; private $value; private $placeholder; private $required = false; ...
ronaldomarinsa/patterns2
src/RMA/Input.php
PHP
mit
2,359
/** * 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.apimanagement.v2018_06_01_preview.implementation;...
navalev/azure-sdk-for-java
sdk/apimanagement/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/apimanagement/v2018_06_01_preview/implementation/PortalSigninSettingsInner.java
Java
mit
1,243
// *********************************************************************** // Copyright (c) 2015 Charlie Poole, Rob Prouse // // 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 restri...
JustinRChou/nunit
src/NUnitFramework/testdata/RetryFixture.cs
C#
mit
6,124
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.0" language="en"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Talant</source> <translation>About Talant</transla...
talantdev/talant-wallet
src/qt/locale/talant_en.ts
TypeScript
mit
115,073
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\MIECamera; use JMS\Serializer\Annotation\ExclusionPol...
bburnichon/PHPExiftool
lib/PHPExiftool/Driver/Tag/MIECamera/ColorBalance.php
PHP
mit
844
import { BaseComponent, setRef } from './vdom-util' import { ComponentChildren, Ref, createElement } from './vdom' import { CssDimValue } from './scrollgrid/util' export interface ViewContainerProps { labeledById: string liquid?: boolean height?: CssDimValue aspectRatio?: number elRef?: Ref<HTMLDivElement> ...
fullcalendar/fullcalendar
packages/common/src/ViewContainer.tsx
TypeScript
mit
2,446
/** * http://gruntjs.com/configuring-tasks */ module.exports = function (grunt) { var path = require('path'); var DIST_PATH = 'demo/dist'; var SRC_PATH = 'demo/sample'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), connect: { options: { host...
egjs/egjs-jsdoc-template
Gruntfile.js
JavaScript
mit
4,415
# Be sure to restart your server when you modify this file. Rails.application.config.session_store :cookie_store, key: '_rails-saml_session'
yardstick/ruby-saml-example
config/initializers/session_store.rb
Ruby
mit
142
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm 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/li...
weatherfordmat/YorViewReactNative
node_modules/realm/src/object-store/src/parser/query_builder.cpp
C++
mit
23,947
<?php /* * This file is part of the Slack API library. * * (c) Cas Leentfaar <info@casleentfaar.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CL\Slack\Payload; /** * @author Cas Leentfaar <info@casleentfaar.com...
piotrpasich/slack
src/CL/Slack/Payload/EmojiListPayload.php
PHP
mit
567
export * from "./logic" export * from "./strategies" export * from "./defaults" export * from "./dragndrop"
elbywan/bosket
src/core/index.d.ts
TypeScript
mit
107
// // NSWorkspaceHelper.h // Enormego Helpers // // Created by Shaun Harrison on 11/18/09. // Copyright (c) 2009 enormego // // 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 ...
chamerling/RatatamApp
RatatamApp/NSWorkspaceHelper.h
C
mit
1,464
#region Copyright // // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restric...
RichardHowells/Dnn.Platform
Dnn.AdminExperience/Extensions/Content/Dnn.PersonaBar.Extensions/Components/Extensions/Dto/AvailablePackagesDto.cs
C#
mit
1,552
var searchData= [ ['friendstatuschangeevent',['FriendStatusChangeEvent',['../class_cotc_sdk_1_1_friend_status_change_event.html',1,'CotcSdk']]] ];
xtralifecloud/unity-sdk
Docs/DoxygenGenerated/html/search/classes_5.js
JavaScript
mit
149
package user import ( "errors" "github.com/ungerik/go-start/view" ) // The confirmation code will be passed in the GET parameter "code" func EmailConfirmationView(profileURL view.URL) view.View { return view.DynamicView( func(ctx *view.Context) (view.View, error) { confirmationCode, ok := ctx.Request.Params...
prinsmike/go-start
user/views.go
GO
mit
4,099
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using UsageSampleMvc.AspNetCore.Models; namespace UsageSampleMvc.AspNetCore.Controllers { public class HomeController : Controller { public IAction...
billbogaiv/stuntman
samples/UsageSampleMvc.AspNetCore/Controllers/HomeController.cs
C#
mit
865
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
lordmos/blink
Source/platform/Theme.cpp
C++
mit
2,103
<?php session_start(session_id()); if ($_SESSION["user"]) { //get the pet name from ajax if (isset($_GET['petname'])) { $petname = htmlentities($_GET['petname']); } //include libraries require_once('../bin/lib/security.php'); include "../bin/lib/validation-functions.php"; include "../bin...
samuelcolburn/cs142
assignment7/mailadoptmessage.php
PHP
mit
3,457
<?php return unserialize('a:3:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Entity":2:{s:15:"repositoryClass";s:53:"Prueba\\InicialBundle\\Entity\\Repository\\BlogRepository";s:8:"readOnly";b:0;}i:1;O:26:"Doctrine\\ORM\\Mapping\\Table":5:{s:4:"name";s:4:"blog";s:6:"schema";N;s:7:"indexes";N;s:17:"uniqueConstraints";N;s:7:"options...
Derasten/symfony2
app/cache/prod/annotations/fa7e82ce172c56a61d73ea930fe8865e0f0986b7.cache.php
PHP
mit
394
module DataFilesHelper end
vekelly09/metaboflo
app/helpers/data_files_helper.rb
Ruby
mit
27
#!/bin/bash cd /root wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.12/src/hdf5-1.8.12.tar.gz tar xvfz ./hdf5-1.8.12.tar.gz; cd hdf5-1.8.12/ ./configure --prefix=/usr/local make; make install rm -r -f /root/hdf5*
leoncamel/docker-brew-datacanvas-base
sci-python/3.3/scripts/hdf5_install.sh
Shell
mit
222
<?php /** * PHP VIN Utility Library * * 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, including without limitation the rights * to use, copy, modify, ...
cs278/libphp-vin
src/libphpvin/Vin/CheckDigitCalculator.php
PHP
mit
1,795
#! coding:utf-8 """ compiler tests. These tests are among the very first that were written when SQLAlchemy began in 2005. As a result the testing style here is very dense; it's an ongoing job to break these into much smaller tests with correct pep8 styling and coherent test organization. """ from sqlalchemy.testin...
sandan/sqlalchemy
test/sql/test_compiler.py
Python
mit
148,745
<?php /** * Webiny Framework (http://www.webiny.com/framework) * * @copyright Copyright Webiny LTD */ namespace Webiny\Component\Router\Route; use Webiny\Component\StdLib\StdLibTrait; /** * Route is an object that defines a route and its options. * * @package Webiny\Component\Router\Route */ class Ro...
Webiny/Framework
src/Webiny/Component/Router/Route/Route.php
PHP
mit
6,931
<div class="row section"> <h2>Chancecoin Web casino</h2> <p>The Web casino is a single HTML file that you can <a href="https://github.com/chancecoin/chancecoinj/blob/master/index.html">download to your desktop</a> or run from <a href="http://chancecoin.github.io/">GitHub</a>.</p> <h2>Chancecoin desktop software &#8...
chancecoin/chancecoin.github.io
templates/participate.html
HTML
mit
1,925
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>serial_port_service::serial_port_service</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../...
rkq/cxxexp
third-party/src/boost_1_56_0/doc/html/boost_asio/reference/serial_port_service/serial_port_service.html
HTML
mit
3,703
/* jshint node: true */ 'use strict'; module.exports = { name: 'ember-models-table' };
bmac/ember-models-table
index.js
JavaScript
mit
90
// // Copyright 2016 Intel Corporation // // 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 agre...
otcshare/iotivity-node
Gruntfile.js
JavaScript
mit
1,253
#!/bin/bash # # Script to launch the CarND Unity simulator USER_PROFILE="profile.tmp" if [ ! -f "$USER_PROFILE" ]; then echo "What is the full path to your Unity simulator?" read unity_path # write to the file echo "$unity_path" > $USER_PROFILE else unity_path=$(cat "$USER_PROFILE") fi $unit...
shernshiou/CarND
Term3/03-CarND-Capstone/ros/src/styx/unity_simulator_launcher.sh
Shell
mit
327
<?php /* Whois.php PHP classes to conduct whois queries Copyright (C)1999,2005 easyDNS Technologies Inc. & Mark Jeftovic Maintained by David Saez (david@ols.es) For the most recent version of this package visit: http://www.phpwhois.org This program is free software; you can redistribute it and/or modify it ...
maastermedia/sfWhoisPlugin
lib/phpwhois/whois.biz.php
PHP
mit
5,383
local conf = { sailor = { app_name = 'Sailor! A Lua MVC Framework', default_static = nil, -- If defined, default page will be a rendered lp as defined. -- Example: 'maintenance' will render /views/maintenance.lp default_controller = 'main', default_action = 'index', theme = 'default', layout = '...
baiwenlu/sailor
test/dev-app/conf/conf.lua
Lua
mit
859
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"> <title>Demo: Copy to Canvas</title> <script type="module" src="../ccwc-glvideo.js"></script> <style> ccwc-glvideo { ...
creativecode-webcomponents/ccwc-videoplayer
demo/videogl-texture-offset.html
HTML
mit
904
// package bitswap implements the IPFS Exchange interface with the BitSwap // bilateral exchange protocol. package bitswap import ( "errors" "math" "sync" "time" process "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/goprocess" procctx "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/...
sroerick/go-ipfs
exchange/bitswap/bitswap.go
GO
mit
10,821
# coding: utf-8 from django.views.generic import CreateView, UpdateView, DeleteView from django.http import HttpResponse, HttpResponseRedirect from django.template.loader import render_to_string from django.template import RequestContext from django.core.serializers.json import DjangoJSONEncoder from django.conf import...
kobox/achilles.pl
src/static/fm/views.py
Python
mit
4,377
<?php class UserHelper { /** * Verify that the logged in user is an administrator. * * @example UserHelper::verifyAdministrator($db, $_SESSION['userid'], $_SESSION["key"]) * * @param $db * @param $user_id * @param $key * @return bool */ public static f...
KevinJDurant/PVT-OpenTorrentSite
php/libs/UserHelper.php
PHP
mit
2,703
%////////////////////////////////////////////////////////////////////////////// % % Copyright (c) 2007,2009 Daniel Adler <dadler@uni-goettingen.de>, % Tassilo Philipp <tphilipp@potion-studios.com> % % Permission to use, copy, modify, and distribute this software for any % purpose with or ...
atsushieno/jenoa
jni/dyncall/doc/callconvs/callconv_x86.tex
TeX
mit
30,321
require File.dirname(__FILE__) + '/spec_helper' describe SuperExport do end
Aissac/radiant-super-export-extension
spec/super_export_spec.rb
Ruby
mit
79
# Copyright (c) 2015 Boocock James <james.boocock@otago.ac.nz> # Author: Boocock James <james.boocock@otago.ac.nz> # # 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, incl...
theboocock/fine_mapping_pipeline
tests/test_run_finemap.py
Python
mit
1,755
package remoteio.common.core.compat; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import remoteio.common.block.BlockRemoteInterface; import remoteio.common.block.BlockRemoteInventory; import remoteio.common.lib.VisualState; import remotei...
s0cks/RemoteIO
src/main/java/remoteio/common/core/compat/WailaProvider.java
Java
mit
3,919
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <link rel="shortcut icon" href="ico/fav...
ProZachJ/appsensor
appsensor-dot-org/site-contents/overview.html
HTML
mit
10,321
<div class="title clearfix"> <h3>{{post.category.title}}</h3> <div class="location">当前位置&nbsp;>&nbsp;<a href="/kyc">本站首页&nbsp;>&nbsp;</a><span>{{post.category.title}}</span></div> </div> <style type="text/css"> .detail-share .jiathis_style { display: inline-block; vertical-align: middle; } .detail-shar...
xLeonard/ahtvu.ah.cn
themes/kyc/widgets/kyc_post/view.html
HTML
mit
1,609
import RecordArray from "./record_array"; /** @module ember-data */ var get = Ember.get; /** Represents a list of records whose membership is determined by the store. As records are created, loaded, or modified, the store evaluates them to determine if they should be part of the record array. @class Fil...
slindberg/data
packages/ember-data/lib/system/record_arrays/filtered_record_array.js
JavaScript
mit
1,724
<!DOCTYPE html> <html lang="en"> <head> <title>DataDecoder Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <meta name="viewport" content="width=device-width, viewport-fit=cover,...
FitnessKit/DataDecoder
docs/index.html
HTML
mit
10,842
{% comment %} Adds inline media queries to optimize hero-full-screen image size. Partial has 2 arguments: required id and optional path to an image source. When image is missing, use bg-dots pattern and blue background. Original image sources are replaced by Imgix-optimized versions in production. Example: {% inclu...
metroideas/beta.metroideas.org
_includes/inline-css/hero-full-screen.html
HTML
mit
3,191
require 'rails_helper' feature 'Zonefile settings', type: :feature do before :all do @user = Fabricate(:admin_user) end context 'as unknown user' do it 'should redirect to login path' do visit admin_zonefile_settings_url current_path.should == '/admin/login' end end context 'as log...
domify/registry
spec/features/admin/zonefile_setting_spec.rb
Ruby
mit
2,880
<?php /** * Webiny Framework (http://www.webiny.com/framework) * * @copyright Copyright Webiny LTD */ namespace Webiny\Component\Image\Bridge; use Webiny\Component\StdLib\Exception\AbstractException; /** * Exception for image bridge library. * * @package Webiny\Component\Image\Bridge */ class ImageEx...
Webiny/Framework
src/Webiny/Component/Image/Bridge/ImageException.php
PHP
mit
357
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace AppBundle\Command; use AppBundle\Entity\User; use AppBundle\Utils\Valid...
dzuelke/symfony-demo
src/AppBundle/Command/DeleteUserCommand.php
PHP
mit
4,351
const findMatchingPermission = (permissions, action, subject) => permissions.find(perm => perm.action === action && perm.subject === subject); export default findMatchingPermission;
wistityhq/strapi
packages/core/admin/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/Permissions/utils/findMatchingPermissions.js
JavaScript
mit
185
module.exports = { development: { options: { paths: ['<%= src %>/less'], cleancss: false, compress: false, modifyVars: { 'fa-font-path' : '"//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"' } }, files: { '<%= public %>/css/kc-theme-default.css': '<%= src %>/l...
kcwebteam/kcdev
grunt/less.js
JavaScript
mit
1,892
<?php /* freepost * http://freepo.st * * Copyright © 2014-2015 zPlus * * This file is part of freepost. * freepost is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
razzaghi/MessageCenter
src/AppBundle/Entity/CommentRepository.php
PHP
mit
4,082
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M14 6h3v7.88l2 2V4h-5V3H6.12L14 10.88zm-2 5.71V13h-2v-2h1.29L2.41 2.13 1 3.54l4 4V19H3v2h11v-4.46L20.46 23l1.41-1.41z" /> , 'NoMeetingRoomSharp');
callemall/material-ui
packages/material-ui-icons/src/NoMeetingRoomSharp.js
JavaScript
mit
272
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.8/esri/copyright.txt for details. //>>built define({widgetLabel:"\u8a66_Locate___\u9a57",title:"\u8a66_Find my location______\u9a57"});
ycabon/presentations
2018-user-conference/arcgis-js-api-road-ahead/demos/gamepad/api-snapshot/esri/widgets/Locate/nls/zh-tw/Locate.js
JavaScript
mit
247
require 'helper' describe Surveygizmo::API do let(:client) { Surveygizmo::Client.new } describe "#formatted_filters" do context "no filters" do context "empty hash" do let(:input) { Hash.new } it "returns a empty hash" do client.formatted_filters(input).should == {} end...
whereisciao/surveygizmo
spec/surveygizmo/client/filter_spec.rb
Ruby
mit
1,647
<html> <META HTTP-EQUIV=Content-Type Content="text/html; charset=big5"> <!-- Mirrored from lis.ly.gov.tw/lghtml/lawstat/version2/01119/0111923032300.htm by HTTrack Website Copier/3.x [XR&CO'2010], Sun, 24 Mar 2013 09:07:11 GMT --> <head><title>ªk½s¸¹:01119 ª©¥»:023032300</title> <link rel="stylesheet" type="text/css" ...
g0v/laweasyread-data
rawdata/lawstat/version2/01119/0111923032300.html
HTML
mit
63,327
define([], function(){ // module: // dojo/aspect "use strict"; var undefined; function advise(dispatcher, type, advice, receiveArguments){ var previous = dispatcher[type]; var around = type == "around"; var signal; if(around){ var advised = advice(function(){ return previous.advice(t...
synico/springframework
lobtool/src/main/webapp/resources/javascript/dojo/aspect.js
JavaScript
mit
8,451
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class CI_Test extends PHPUnit_Framework_TestCase{ /** * Constructor * * @access public */ function __construct($name = NULL,$data = array(), $dataName = '') { parent::__construct($name, $data, $dataName); $class = new Reflection...
milkbobo/FishCI
system/core/Test.php
PHP
mit
704
// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System; namespac...
acken/AutoTest.Net
lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/framework/Attributes/DescriptionAttribute.cs
C#
mit
1,044
// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directl...
chepri/engine
app/assets/javascripts/locomotive.js
JavaScript
mit
842
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
yyc-git/DYReactive
dist/commonjs/stream/RepeatStream.js
JavaScript
mit
2,739
<?php use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputArgument; class ImportBooksISBNCommand extends Command { /** * The console command name. * * @var string */ protected $name = 'books:import'; /** * The...
hsed/eesoc-website
app/commands/ImportBooksISBNCommand.php
PHP
mit
14,253
package com.common.example; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import com.common.utils.Common; import com.common.utils.R; public class BlurEffectActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCre...
androidroadies/AndroidUtils
app/src/main/java/com/common/example/BlurEffectActivity.java
Java
mit
586
<!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>CMakeGraphVizOptions &mdash; CMake 3.8.1 Documentatio...
pipou/rae
builder/cmake/windows/doc/cmake/html/module/CMakeGraphVizOptions.html
HTML
mit
11,863