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
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file exists to aggregate all of the javascript used by the // settings page into a single file which will be flattened and served // as a si...
sencha/chromium-spacewalk
chrome/browser/resources/options/options_bundle.js
JavaScript
bsd-3-clause
5,299
//@HEADER // *************************************************** // // HPCG: High Performance Conjugate Gradient Benchmark // // Contact: // Michael A. Heroux ( maherou@sandia.gov) // Jack Dongarra (dongarra@eecs.utk.edu) // Piotr Luszczek (luszczek@eecs.utk.edu) // // ******************************************...
minyee/sst-macro
skeletons/hpcg-3.0/src/ComputeSYMGS.cpp
C++
bsd-3-clause
1,885
<?php /** * Copyright (c) 2013, Esendex Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this lis...
zazoomauro/esendex-php-sdk
src/Esendex/Model/ResultItem.php
PHP
bsd-3-clause
2,303
<div class="col-15 center pad-l-sm"> <input type="text" name="attr_recharge" class="center"> <div class="small-label" data-i18n="RECHARGE"></div> </div>
senatorhatty/roll20-character-sheets
5eShaped/precompiled/components/actionComponents/recharge.html
HTML
mit
156
package spvwallet // Copyright (c) 2016 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. /* Copied here from a btcd internal package*/ import ( "github.com/btcsuite/btcd/wire" ) // Worst case script and input/output size estimates. const ( ...
hoffmabc/openbazaar-go
vendor/github.com/OpenBazaar/spvwallet/txsizes.go
GO
mit
8,280
GLOBAL.DEBUG = true; sys = require("sys"); test = require("assert"); var Db = require('../lib/mongodb').Db, Connection = require('../lib/mongodb').Connection, Server = require('../lib/mongodb').Server; var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost';...
zencephalon/deftdraftjs
node_modules/mongoose/node_modules/mongodb/examples/cursor.js
JavaScript
mit
2,622
package spittr; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.hibernate.validator.constraints.Email; public class Spitter { private Long id; @Not...
tcnf2008/HelloWorld
springMVC-spittr/spittr.Server/src/main/java/spittr/Spitter.java
Java
mit
2,195
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { return queryInterface.bulkInsert('UserMeetings', [ { user_id: 1, meeting_id: 2 }, { user_id: 2, meeting_id: 2 }, { user_id: 3, meeting_id: 2 }, { ...
Riski24/interviewer.dc
server/database/old_seeders/usermeeting.js
JavaScript
mit
1,213
<html> <head> <style type="text/css"> p { color: red; } </style> <style> strong { font-weight: bold; } p { text-decoration: underline; } </style> <link rel="stylesheet" href="Test.css"> </head> <body> <p>hello, you are my <strong>...
proofme/juice
test/html/two_styles.in.html
HTML
mit
367
require_relative '../../../../spec_helper' require 'stringio' require 'zlib' describe :gzipreader_each, shared: true do before :each do @data = "firstline\nsecondline\n\nforthline" @zip = [31, 139, 8, 0, 244, 125, 128, 88, 2, 255, 75, 203, 44, 42, 46, 201, 201, 204, 75, 229, 42, 78, 77, 206, 207,...
pmq20/ruby-compiler
ruby/spec/ruby/library/zlib/gzipreader/shared/each.rb
Ruby
mit
1,352
--- layout: news title: EGI-Mobrain SLA for 75 millions CPU hours date: 2016-02-25 excerpt: EGI-MoBrain collaboration - a service level agreement for better research tags: [HADDOCK, EGI, WeNMR, grid computing, Utrecht University, Alexandre Bonvin, Docking] image: feature: --- An agreement has been made between a gro...
haddocking/haddocking.github.io
news/_posts/2016-02-25-EGI-Mobrain-SLA-for-75-millions-CPU-hours.md
Markdown
mit
3,085
--- seo: title: Track Index description: How to track your email. keywords: title: Track Index weight: 100 layout: page navigation: show: true --- <div class="row"> <div class="col-md-4"> <h2><a href="#Introduction-to-Tracking">Introduction to Tracking</a></h2> <h2><a href="#Collecting-Data...
hardikjain29/docs
source/Classroom/Track/index.html
HTML
mit
4,858
/* hashids http://www.hashids.org/node-js/ (c) 2013 Ivan Akimov https://github.com/ivanakimov/hashids.node.js hashids may be freely distributed under the MIT license. */ /*jslint node: true, white: true, plusplus: true */ "use strict"; function Hashids(salt, minHashLength, alphabet) { var uniqueAlphabet, i...
fitosegrera/mfadt_api
node_modules/phant/node_modules/phant-keychain-hex/node_modules/hashids/lib/hashids.js
JavaScript
mit
7,436
#!/usr/bin/env python # # __COPYRIGHT__ # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, ...
timj/scons
test/QT/installed.py
Python
mit
5,726
using System; using System.Collections; using System.Collections.Generic; class LinkedList<T> : IEnumerable<T> { public T Value { get; set; } public LinkedList<T> NextNode { get; private set; } public LinkedList(T value, LinkedList<T> nextNode = null) { this.Value = value; this.NextNode = nextNode; } IEnu...
DimitarDKirov/Object-Oriented-Programming-2016
Topics/06. Common-Type-System/demos/ImplementingIEnumerable/LinkedList.cs
C#
mit
635
<?php namespace Oro\Bundle\CalendarBundle\Provider; use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarEventRepository; use Oro\Bundle\CalendarBundle\Entity\Repository\SystemCalendarRepository; use Oro\Bundle\CalendarBundle\Entity\SystemCalendar; use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; use Oro\Bundle\Sec...
northdakota/platform
src/Oro/Bundle/CalendarBundle/Provider/PublicCalendarProvider.php
PHP
mit
3,987
# s = Onetime::Session.load '' class Onetime::Session < Familia::HashKey @values = Familia::SortedSet.new name.to_s.downcase.gsub('::', Familia.delim).to_sym, :db => 1 class << self attr_reader :values def add sess self.values.add OT.now.to_i, sess.identifier self.values.remrangebyscore 0, OT...
10xEngineer/onetimesecret
lib/onetime/models/session.rb
Ruby
mit
5,401
class Roda module RodaPlugins # The not_found plugin adds a +not_found+ class method which sets # a block that is called whenever a 404 response with an empty body # would be returned. The usual use case for this is the desire for # nice error pages if the page is not found. # # You can provi...
Freaky/roda
lib/roda/plugins/not_found.rb
Ruby
mit
1,524
// ------------------------------------------------------------------------------ // Copyright (c) 2014 Microsoft 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 ...
arashkeivan/LiveSDK-for-Windows
src/WP8/Source/Public/LiveConnectClient.cs
C#
mit
19,879
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "gameinterface.h" #include "mapentities.h" #include "hl2mp_gameinterface.h" // memdbgon must be the...
scen/ionlib
src/sdk/hl2_ob/game/server/hl2mp/hl2mp_gameinterface.cpp
C++
mit
1,131
<?php namespace Codeception\Util\Connector; use Symfony\Component\BrowserKit\Request; use Symfony\Component\BrowserKit\Response; class Kohana extends \Symfony\Component\BrowserKit\Client { public function setIndex($index) { $this->index = $index; } public function doRequest($request) { $_COOKIE = $request-...
octopoda/aiga-design-week-2013
vendor/codeception/codeception/src/Codeception/Util/Connector/Kohana.php
PHP
mit
1,511
"""Support functions for working with wheel files. """ from __future__ import absolute_import import logging from email.parser import Parser from zipfile import ZipFile from pip._vendor.packaging.utils import canonicalize_name from pip._vendor.pkg_resources import DistInfoDistribution from pip._vendor.six import PY2...
xavfernandez/pip
src/pip/_internal/utils/wheel.py
Python
mit
7,302
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restr...
greenfire27/Torque2D
engine/source/platformEmscripten/menus/popupMenu.cpp
C++
mit
2,419
// // SocketFactory.cs: Creates bound sockets of various types to use. // // Author: // Brian Nickel (brian.nickel@gmail.com) // // Copyright (C) 2007 Brian Nickel // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Softwa...
directhex/xamarin-xsp
src/Mono.WebServer.FastCgi/Obsolete/SocketFactory.cs
C#
mit
2,345
module Asposebarcodejava module HideCodeText def initialize() data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' # Instantiate barcode object builder = Rjb::import('com.aspose.barcode.BarCodeBuilder').new builder.setSymbologyTyp...
asposebarcode/Aspose_BarCode_Java
Plugins/Aspose_Barcode_Java_for_Ruby/lib/asposebarcodejava/2DBarcode/hidecodetext.rb
Ruby
mit
888
<?php namespace Oro\Bundle\EntityConfigBundle\Event; use Oro\Bundle\EntityConfigBundle\Entity\ConfigModel; use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; class PostFlushConfigEvent extends Event { /** @var ConfigModel[] */ protected $models; /** * @param ConfigModel[] $models Flushe...
Djamy/platform
src/Oro/Bundle/EntityConfigBundle/Event/PostFlushConfigEvent.php
PHP
mit
728
module VagrantPlugins module Cachier module Cap module Linux module PipCacheDir def self.pip_cache_dir(machine) pip_cache_dir = nil machine.communicate.tap do |comm| return unless comm.test('which pip') comm.execute 'echo $HOME' do |buffe...
aaray/vagrant-cachier
lib/vagrant-cachier/cap/linux/pip_cache_dir.rb
Ruby
mit
534
package ngSpring.demo.exceptions; import ngSpring.demo.errorhandling.ValidationMessage; import java.util.List; /** * Indicate validation errors which are not handled via bean validation, * e.g. during file parsing * * @author hypery2k */ @SuppressWarnings("serial") public class ValidationException extends Busin...
holisticon/continous-delivery-demo
angular-spring-boot-webapp/src/main/java/ngSpring/demo/exceptions/ValidationException.java
Java
mit
755
#include "board.h" #include "mw.h" // we unset this on 'exit' extern uint8_t cliMode; static void cliAux(char *cmdline); static void cliCMix(char *cmdline); static void cliDefaults(char *cmdline); static void cliDump(char *cmdLine); static void cliExit(char *cmdline); static void cliFeature(char *cmdline); static void...
whdlgp/Cupdrone_flip_test
src/cli.c
C
mit
34,622
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AllReady.Features.Notifications; using AllReady.Models; using MediatR; using Microsoft.EntityFrameworkCore; namespace AllReady.Areas.Admin.Features.Tasks { public class MessageTaskVolunteersCommandHandlerAsync : AsyncRequestH...
auroraocciduusadmin/allReady
AllReadyApp/Web-App/AllReady/Areas/Admin/Features/Tasks/MessageTaskVolunteersCommandHandlerAsync.cs
C#
mit
2,097
using System; using System.Collections.Generic; using Cake.Core.Diagnostics; using Cake.Core.Scripting; using Cake.Scripting.Roslyn.Nightly; using Cake.Scripting.Roslyn.Stable; namespace Cake.Scripting.Roslyn { internal sealed class RoslynScriptEngine : IScriptEngine { private readonly RoslynScriptSes...
os-alan/cake
src/Cake/Scripting/Roslyn/RoslynScriptEngine.cs
C#
mit
1,525
<!doctype html> <html> <head> <script src="js/jquery.min.js"></script> <script src="../jspsych.js"></script> <script src="../plugins/jspsych-multi-stim-multi-response.js"></script> <link rel="stylesheet" href="../css/jspsych.css"></link> <style> img { width: 300px; } </style> </head> ...
Scienthusiast/jsPsych
tests&examples/jspsych-multi-stim-multi-response.html
HTML
mit
1,240
/* TimerManager.js KC3改 Sortie Manager Container object for timers for expedition, construction, and repair */ (function(){ "use strict"; window.KC3TimerManager = { _exped: [], _repair: [], _build: [], init :function(eMap, rMap, bMap){ this._exped = [ new KC3Timer(eMap[0], 0, 0), ...
Slayers148/KC3Kai
src/library/managers/TimerManager.js
JavaScript
mit
1,793
//Copyright (c) Microsoft Corporation. All rights reserved. namespace Microsoft.WindowsAPICodePack.Dialogs { /// <summary> /// Defines a common class for all task dialog bar controls, such as the progress and marquee bars. /// </summary> public class TaskDialogBar : TaskDialogControl { //...
xinmyname/pytestmon
src/packages/Microsoft.WindowsAPICodePack.lib.1.1.0.1/src/Dialogs/TaskDialogs/TaskDialogBar.cs
C#
mit
1,346
# Access Control and Page Security There is a fairly comprehensive security mechanism in place for SilverStripe. If you want to add premium content to your site you have to figure this stuff out, and it's not entirely obvious. ## Ways to restrict access There are a number of ways to restrict access in SilverStripe....
jcasner/cyclesmc
php_old/framework/docs/en/02_Developer_Guides/09_Security/01_Access_Control.md
Markdown
mit
2,265
<?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>Imple...
djsedulous/namecoind
libs/db-4.7.25.NC/docs/gsg/JAVA/keyCreator.html
HTML
mit
12,074
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import { expect } from 'chai'; import { Hello } from 'client/components/Hello'; const setup = () => { const props = { message: 'hello' }; const renderer = TestUtils.createRenderer(); renderer.render(<Hello {...props} />); const o...
toomastahves/node-red-starter
test/client/components/Hello.spec.js
JavaScript
mit
590
/*! * Font Awesome 4.0.3 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) */ /* FONT PATH * -------------------------- */ @font-face { font-family: 'FontAwesome'; src: url('../fonts/fontawesome-webfont.eot?v=4.0.3'); src: ur...
calebodemus/Movibe
src/Movibe/BackendBundle/Resources/public/css/font-awesome.css
CSS
mit
25,197
# frozen_string_literal: true require 'spec_helper' describe RuboCop::Cop::Performance::CompareWithBlock do subject(:cop) { described_class.new } shared_examples 'compare with block' do |method| it "registers an offense for #{method}" do inspect_source(cop, "array.#{method} { |a, b| a.foo <=> b.foo }")...
alexdowad/rubocop
spec/rubocop/cop/performance/compare_with_block_spec.rb
Ruby
mit
2,150
/*************************************************************************/ /* texture_rect.h */ /*************************************************************************/ /* This file is part of: */ /* ...
Paulloz/godot
scene/gui/texture_rect.h
C
mit
3,335
<?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 Symfony\Bridge\Propel1\Form\Type; use Symfony\Bridge\Propel1\Form\Choic...
ttsuru/ecx
vendor/symfony/src/Symfony/Bridge/Propel1/Form/Type/ModelType.php
PHP
mit
2,027
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Dynamic; using System.Linq.Expressions; namespace System.Management.Automation.ComInterop { internal interface IPseudoComObject { DynamicMetaObject GetM...
TravisEz13/PowerShell
src/System.Management.Automation/engine/ComInterop/IPseudoComObject.cs
C#
mit
362
#!/bin/bash -e readonly SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" readonly SERVICE_IMAGE="$2" readonly SERVICE_NAME="$1" readonly REPLICAS=1 export ENV_LIST="" parse_env() { ##TODO: from the file <service name>.env, parse a string in format ## -e key=value -e key1=value1 ... local env_file...
himanshu0503/base
scripts/remote/provisionService.sh
Shell
mit
674
// // DateTimeFormatter.h // // $Id: //poco/1.4/Foundation/include/Poco/DateTimeFormatter.h#2 $ // // Library: Foundation // Package: DateTime // Module: DateTimeFormatter // // Definition of the DateTimeFormatter class. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and C...
Patrick-Bay/SocialCastr
third party/openRTMFP-Cumulus/CumulusServer/sources/Poco/DateTimeFormatter.h
C
mit
9,024
<!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/xhtml;charset=UTF-8"/> <title>_swizzle.hpp Source File</title> <link href="tabs.css" rel="stylesheet"...
sholloway/Jitterbug
ext/vendor/glm-0.9.2.3/doc/html/a00025_source.html
HTML
mit
153,176
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Tests\Api\Shop; use Sylius\Tests\Api\JsonApiTestCase; use ...
loic425/Sylius
tests/Api/Shop/PaymentsTest.php
PHP
mit
1,659
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syst...
bartdesmet/roslyn
src/VisualStudio/Core/Def/Preview/FileChange.cs
C#
mit
10,260
# Load the rails application require File.expand_path('../application', __FILE__) # Initialize the rails application Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 City72::Application.initialize!
openoakland/oak72
config/environment.rb
Ruby
mit
238
#region License // Copyright (c) 2007 James Newton-King // // 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,...
PKRoma/Newtonsoft.Json
Src/Newtonsoft.Json/Serialization/DynamicValueProvider.cs
C#
mit
4,596
/******************************************************************************* * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
brunyuriy/quick-fix-scout
org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/ui/actions/FindReferencesInWorkingSetAction.java
Java
mit
4,536
<a href="http://github.com/angular/angular.js/tree/v1.2.0-rc.3/src/ng/directive/input.js#L300" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/input.js" class="improve-docs btn btn-primary"><i class="icon-edit"> <...
lucian303/symfony2-angular-skeleton
web/assets/js/angular/docs/partials/api/ng.directive:input.radio.html
HTML
mit
3,828
def task_compute(): def comp(): return {'x':5,'y':10, 'z': 20} return {'actions': [(comp,)]} def show_getargs(values): print(values) def task_args_dict(): return {'actions': [show_getargs], 'getargs': {'values': ('compute', None)}, 'verbosity': 2, }
agustinhenze/doit.debian
doc/tutorial/getargs_dict.py
Python
mit
301
""" Demo platform for the cover component. For more details about this platform, please refer to the documentation https://home-assistant.io/components/demo/ """ from homeassistant.components.cover import CoverDevice from homeassistant.helpers.event import track_utc_time_change def setup_platform(hass, config, add_d...
Smart-Torvy/torvy-home-assistant
homeassistant/components/cover/demo.py
Python
mit
5,159
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Flipsnap Sample</title> <link rel="stylesheet" href="style.css"> <script src="../flipsnap.js"></script> <script src="../test/li...
hokaccha/js-flipsnap
example/index.html
HTML
mit
5,644
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Scoping; using Umbraco.Tests.TestHelpers; namespace Umbraco.T...
hfloyd/Umbraco-CMS
src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
C#
mit
39,371
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { public sealed class TrackDescription { public int ID { get; private set; } public string Name { get; private set; } internal Tra...
raydtang/Vlc.DotNet
src/Vlc.DotNet.Core/TrackDescription.cs
C#
mit
1,069
import { rebind } from '@d3fc/d3fc-rebind'; import _slidingWindow from './slidingWindow'; import exponentialMovingAverage from './exponentialMovingAverage'; import { convertNaN } from './fn'; export default function() { let volumeValue = (d, i) => d.volume; let closeValue = (d, i) => d.close; const emaCo...
chrisprice/d3fc
packages/d3fc-technical-indicator/src/forceIndex.js
JavaScript
mit
1,175
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; using Umbraco.Core; using Umbraco.Core.Configuration; using Umbraco.Core.IO; using Umbraco.Web.Security; namespace Umbraco.Web.Install.Controllers { /// <summary> /// The M...
gavinfaux/Umbraco-CMS
src/Umbraco.Web/Install/Controllers/InstallController.cs
C#
mit
2,483
/* Copyright (c) 2015-2016 topameng(topameng@qq.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
GarfieldJiang/UGFWithToLua
Assets/ToLua/ToLua/Core/LuaEvent.cs
C#
mit
3,783
// (C) Copyright Jeremy Siek 1999. Permission to copy, use, modify, // sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #ifndef...
Ezeer/VegaStrike_win32FR
vegastrike/boost/1_28/boost/pending/detail/int_iterator.hpp
C++
mit
2,618
moves-ios-sdk ============= [Moves App](http://moves-app.com) SDK For iOS. ![Moves App Integration](https://apps.moves-app.com/assets/images/moves-connected-apps-logo-2.png) #Getting Started ##Installing the moves-ios-sdk **Use CocoaPods** - Add the ``pod 'moves-ios-sdk', '~> 0.2.3'`` pod to your **Podfile**. - ...
kinra115/MovesSDK-TEST
README.md
Markdown
mit
3,812
package darwin import ( "github.com/currantlabs/ble" "github.com/raff/goble/xpc" ) type msg xpc.Dict func (m msg) id() int { return xpc.Dict(m).MustGetInt("kCBMsgId") } func (m msg) args() xpc.Dict { return xpc.Dict(m).MustGetDict("kCBMsgArgs") } func (m msg) advertisementData() xpc.Dict { return xpc.Dict(...
tolleiv/nuimo
vendor/github.com/currantlabs/ble/darwin/msg.go
GO
mit
3,116
class PSD class Renderer class Mask attr_accessor :mask_data def initialize(canvas, mask_layer = nil) @canvas = canvas @layer = canvas.node @mask_layer = mask_layer || @layer @mask_data = @mask_layer.image.mask_data @mask = @mask_layer.mask @mask_widt...
jamesbeat/psd.rb
lib/psd/renderer/mask.rb
Ruby
mit
1,473
var format = require('util').format; var hl = require('highlight.js'); var escape = function(html) { return html. replace(/</g, '&lt;'). replace(/>/g, '&gt;'). replace(/"/g, '&quot;'). replace(/'/g, '&#39;'); }; try { var rs = require('robotskirt'); escape = rs.houdini.escapeHTML; } catch (e) { }...
jeakey/grunt-markdown-extend
tasks/lib/highlight.js
JavaScript
mit
1,176
<?php namespace Concrete\Core\File\Tracker; use Concrete\Core\Page\Collection\Collection; use Concrete\Core\Statistics\UsageTracker\TrackableInterface; interface FileTrackableInterface extends TrackableInterface { /** * @return array An array of file IDs or file objects */ public function getUsedF...
mlocati/concrete5
concrete/src/File/Tracker/FileTrackableInterface.php
PHP
mit
331
require 'spec_helper' describe Delayed::Worker do describe "backend=" do before do @clazz = Class.new Delayed::Worker.backend = @clazz end it "should set the Delayed::Job constant to the backend" do Delayed::Job.should == @clazz end it "should set backend with a symbol" do ...
GrouponRussia/delayed_job
spec/worker_spec.rb
Ruby
mit
441
/* * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
bglassy/brackets
src/extensions/default/StaticServer/unittests.js
JavaScript
mit
28,972
# explicit mock object class due to this issue - https://github.com/btakita/rr/issues/44 class MockObject def to_ary nil end end
bezugen/mongoid_alize
spec/app/models/mock_object.rb
Ruby
mit
137
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Examples of Root-Finding (with and without derivatives)</title> <link rel="stylesheet" href="../math.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" t...
nawawi/poedit
deps/boost/libs/math/doc/html/math_toolkit/root_finding_examples.html
HTML
mit
6,184
--- layout: default --- <a class="btn" href= "{{ site.url }}/" > Home </a> {% if page.image.feature %} <div class="post-image-feature"> <img class="feature-image" src= {% if page.image.feature contains 'https' or page.image.feature contains 'http' %} "{{ page.image.feature }}" {% else %} "{{ site.url }}/im...
karan-kapoor90/karankapoor.in
_layouts/post.html
HTML
mit
2,266
import BasePlugin from './../_base'; import {arrayEach} from './../../helpers/array'; import {CommandExecutor} from './commandExecutor'; import {EventManager} from './../../eventManager'; import {hasClass} from './../../helpers/dom/element'; import {ItemsFactory} from './itemsFactory'; import {Menu} from './menu'; imp...
anandmehrotra/handsontable
src/plugins/contextMenu/contextMenu.js
JavaScript
mit
8,370
/* * The MIT License * * Copyright (c) 2015, Sebastian Sdorra * * 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, ...
ugbandula/angular-dashboard-framework
src/scripts/widget.js
JavaScript
mit
6,909
.cm-s-eclipse span.cm-meta { color: #FF1717; } .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } .cm-s-eclipse span.cm-atom { color: #219; } .cm-s-eclipse span.cm-number { color: #164; } .cm-s-eclipse span.cm-def { color: #00f; } .cm-s-eclipse span.cm-variable { color: black; } .cm-...
axter/CodeMirror
theme/eclipse.css
CSS
mit
1,170
package org.knowm.xchange.cryptonit2.test; import static org.assertj.core.api.Assertions.assertThat; import java.io.IOException; import java.io.InputStream; import java.math.BigDecimal; import org.junit.Test; import org.knowm.xchange.cryptonit2.CryptonitAdapters; import org.knowm.xchange.cryptonit2.dto.trade.Crypton...
chrisrico/XChange
xchange-cryptonit/test/java/org/knowm/xchange/cryptonit/test/CryptonitAdapterTests.java
Java
mit
1,373
--- title: 第一届中国R语言会议 date: '2009-12-21T09:01:24+00:00' author: COS管理员 forum_id: 418708 --- 时间:2008年12月13日~14日 地点:中国人民大学 会议通知及纪要: * [第一届中国R语言会议将于12月中旬在中国人民大学召开](/2008/11/r-conference-notice/) * [第一届中国R语言会议纪要](/2008/12/1st-chinese-r-conference-summary/) 主办:中国人民大学应用统计科学研究中心、中国人民大学统计学院 协办:统计之都
Lchiffon/cosx.org
content/chinar/chinar-2008.md
Markdown
mit
516
<?php /* * This file is apart of the DiscordPHP project. * * Copyright (c) 2016 David Cole <david@team-reflex.com> * * This source file is subject to the MIT license that is bundled * with this source code in the LICENSE.md file. */ namespace Discord\WebSockets\Events; use Discord\Parts\Channel\Channel; use D...
TrekkerStudios/AnswerBot
vendor/team-reflex/discord-php/src/Discord/WebSockets/Events/ChannelUpdate.php
PHP
mit
1,024
module OpenStack module Image class Connection attr_accessor :connection def initialize(connection) @connection = connection OpenStack::Authentication.init(@connection) end end end end
tiwillia/ruby-openstack
lib/openstack/image/connection.rb
Ruby
mit
220
# The MIT License (MIT) Copyright (c) 2014 [Michael A. Smith](mailto:michael@smith-li.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ri...
omusico/docker-magento
LICENSE.md
Markdown
mit
1,116
#!/usr/bin/env python3 from python_utility.command_process import CommandProcess def main(): process = CommandProcess( arguments=[ 'flake8', '--exclude', '.git,.idea,.tox', '--verbose', '--max-complexity', '5' ], ) process.print_output() i...
FunTimeCoding/jenkins-job-manager
script/python/flake8.py
Python
mit
357
/* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/C++ is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is applied to...
cloudpbl-senrigan/combinator
third_party/mysql-connector-c++-1.1.4/test/CJUnitTestsPort/BaseTestFixture.h
C
mit
10,685
<!-- Copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) --> <!-- boost-no-inspect --> <!-- HTML header for doxygen 1.8.9.1--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www...
vslavik/poedit
deps/boost/libs/hana/doc/html/group__group-concepts.html
HTML
mit
17,505
'use strict'; // Check that main thread handles an unknown message type from a worker thread // as expected. require('../common'); const assert = require('assert'); const { spawnSync } = require('child_process'); const { Worker } = require('worker_threads'); if (process.argv[2] !== 'spawned') { const result = spa...
enclose-io/compiler
lts/test/parallel/test-worker-message-type-unknown.js
JavaScript
mit
883
package com.laytonsmith.abstraction.bukkit.entities; import com.laytonsmith.abstraction.entities.MCArrow; import org.bukkit.entity.Arrow; import org.bukkit.entity.Entity; import org.bukkit.entity.Projectile; /** * * @author Veyyn */ public class BukkitMCArrow extends BukkitMCProjectile implements MCArrow { priva...
dbuxo/CommandHelper
src/main/java/com/laytonsmith/abstraction/bukkit/entities/BukkitMCArrow.java
Java
mit
807
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
aykutyaman/meteor1.3-react-flowrouter-demo
node_modules/material-ui/lib/svg-icons/places/smoking-rooms.js
JavaScript
mit
1,318
CHANGELOG for 2.8.x =================== This changelog references the relevant changes (bug and security fixes) done in 2.8 minor versions. To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash To get the diff between two versions, go to https://github...
firestorm23/gyrolab-ste
vendor/symfony/symfony/CHANGELOG-2.8.md
Markdown
mit
48,420
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Ploeh.AutoFixture.Dsl; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixtureUnitTest.Kernel; using Ploeh.TestTypeFoundation; using Xunit.Extensions; namespace Ploeh.AutoFixtureUnitTest.Dsl { pub...
StevenJiang2015/AutoFixture
Src/AutoFixtureUnitTest/Dsl/NodeComposerTest.cs
C#
mit
32,001
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <base href="../../../" /> <script src="list.js"></script> <script src="page.js"></script> <link type="text/css" rel="stylesheet" href="page.css" /> </head> <body> [page:Material] &rarr; <h1>[name]</h1> <p class="desc"> TODO </p> ...
sherousee/three.js
docs/api/zh/materials/MeshDistanceMaterial.html
HTML
mit
3,587
'use strict'; var angular = require('angular'); angular .module('mwl.calendar') .controller('MwlDragSelectCtrl', function($scope, $element, $parse, $attrs) { function handleMouseEvent(callbackName) { return function(event) { if (callbackName) { $parse(callbackName)($scope); ...
pakino/calendar-viewer-angular
src/directives/mwlDragSelect.js
JavaScript
mit
1,342
package com.laytonsmith.core.functions; import com.laytonsmith.PureUtilities.Common.StringUtils; import com.laytonsmith.PureUtilities.Version; import com.laytonsmith.annotations.api; import com.laytonsmith.annotations.hide; import com.laytonsmith.core.ArgumentValidation; import com.laytonsmith.core.MSVersion; import c...
sk89q/CommandHelper
src/main/java/com/laytonsmith/core/functions/TaskHandling.java
Java
mit
5,062
import { BuildContext, ChangedFile } from './util/interfaces'; import * as ts from 'typescript'; export declare function transpile(context: BuildContext): Promise<void>; export declare function transpileUpdate(changedFiles: ChangedFile[], context: BuildContext): Promise<void>; /** * The full TS build for all app files...
fernandofraga109/ionic-2-course
node_modules/@ionic/app-scripts/dist/transpile.d.ts
TypeScript
mit
1,220
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.gwoptics.testing; import org.gwoptics.graphics.GWColour; import org.gwoptics.graphics.graph2D.Graph2D; import org.gwoptics.graphics.graph2D.traces.ILine2DEquation; import org.gwoptics.graphics.graph2D.traces...
OpenBCI/OpenBCI_Processing
libraries/gwoptics/src/org/gwoptics/testing/ScatterTraceTest.java
Java
mit
2,067
export default class BatchDeleteController { constructor($scope, $state, WriteQueries, notification, view) { this.$scope = $scope; this.$state = $state; this.WriteQueries = WriteQueries; this.notification = notification; this.view = view; this.entity = view.getEntity(...
vasiakorobkin/ng-admin
src/javascripts/ng-admin/Crud/delete/BatchDeleteController.js
JavaScript
mit
1,922
alias vi='vi -u /usr/share/vim/vimrc'
WideEyeLabs/wel-station
wel_station/templates/default/vim-alias_vi_to_minimal_vim.bash
Shell
mit
38
body { background-color: <color specification>; } .selector { color: <color specification>; background-color: <color specification>; font-weight: bold; /* this is a comment */ font-family: monospace; font-style: italic; text-decoration: underline; }
nilrog/High-Light
externals/source-highlight/doc/css_example.css
CSS
mit
268
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt SVG module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees...
imzcy/JavaScriptExecutable
thirdparty/qt53/include/QtSvg/qsvgrenderer.h
C
mit
3,893
require 'test_helper' module Elasticsearch module Test class SearchShardsTest < ::Test::Unit::TestCase context "Search shards" do subject { FakeClient.new } should "perform correct request" do subject.expects(:perform_request).with do |method, url, params, body| asse...
aamin005/Firdowsspace
vendor/bundle/ruby/2.3.0/gems/elasticsearch-api-1.0.15/test/unit/search_shards_test.rb
Ruby
mit
594
# encoding: utf-8 # frozen_string_literal: true require 'spec_helper' describe RuboCop::Cop::Lint::StringConversionInInterpolation do subject(:cop) { described_class.new } it 'registers an offense for #to_s in interpolation' do inspect_source(cop, '"this is the #{result.to_s}"') expect(cop.offenses.size)...
legendetm/rubocop
spec/rubocop/cop/lint/string_conversion_in_interpolation_spec.rb
Ruby
mit
1,640
import com.twitter.finagle.{Http, Service} import com.twitter.util.{Await, Future} import com.twitter.finagle.http.Response import java.net.InetSocketAddress import org.jboss.netty.handler.codec.http._ import util.Properties object Web { def main(args: Array[String]) { val port = Properties.envOrElse("PORT", "80...
damirv/herokuish
buildpacks/buildpack-scala/tests/scala/src/main/scala/web.scala
Scala
mit
695
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2008 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
leoliew/fanwe_p2p
update/ThinkPHP/Common/alias.php
PHP
mit
1,902
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="QuantityExtensions.cs" company="QuantityTypes"> // Copyright (c) 2014 QuantityTypes contributors // </copyright> // <summary> // Provides extension methods for quantities...
objorke/QuantityTypes
Source/QuantityTypes/Extensions/QuantityExtensions.cs
C#
mit
4,141