code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
#-- # Copyright (c) 2005-2013, John Mettraux, jmettraux@gmail.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...
ConsultingMD/ruote
lib/ruote/exp/condition.rb
Ruby
mit
6,229
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Http; using MultipartFormDataSample.Server.Models; namespace MultipartFormDataSample.Server.Controll...
marcinbudny/MultipartFormDataSample
Server/MultipartFormDataSample.Server/MultipartFormDataSample.Server/Controllers/SendApiController.cs
C#
mit
923
package org.devgateway.ocds.web.rest.controller; import org.devgateway.ocds.persistence.mongo.Address; import org.devgateway.ocds.persistence.mongo.ContactPoint; import org.devgateway.ocds.persistence.mongo.Identifier; import org.devgateway.ocds.persistence.mongo.Organization; import org.devgateway.ocds.persistence.mo...
devgateway/ocua
web/src/test/java/org/devgateway/ocds/web/rest/controller/OrganizationEndpointsTest.java
Java
mit
5,272
/* This file was generated by Dashcode. You may edit this file to customize your widget or web page according to the license.txt file included in the project. */ // // Function: load() // Called by HTML body element's onload event when the widget is ready to start // function load() { dashcode.setupParts()...
sandalsoft/Bitcoin.dcproj
project/widget.wdgt/main.js
JavaScript
mit
2,509
<?php /** * Spoon Library * * This source file is part of the Spoon Library. More information, * documentation and tutorials can be found @ http://www.spoon-library.com * * @package spoon * @subpackage datagrid * * * @author Davy Hellemans <davy@spoon-library.com> * @since 1.0.0 */ /** * This class i...
24thStreet/JH-De-Wauwel
vendor/spoon/library/spoon/datagrid/datagrid.php
PHP
mit
47,971
<?php class WebUser extends CWebUser { /** * @var string */ protected $lang; /** * @var array */ private $availableLanguages = ['ru', 'en']; /** * @return string */ function getRole() { return $this->getState('role', 'guest'); } /** * @return boolean */ public function isAdmin() { ret...
wowtransfer/wowtransfer-php-client
public_html/protected/components/WebUser.php
PHP
mit
1,212
# frozen_string_literal: true # Provides an intuitive way to build has_many associated records in the same form. module Formtastic module Inputs module Base def input_wrapping(&block) html = super template.concat(html) if template.output_buffer && template.assigns[:has_many_block] ht...
javierjulio/activeadmin
lib/active_admin/form_builder.rb
Ruby
mit
6,286
/* * gauge.js * Copyright(c) 2015 Vladimir Rodkin <mail@vovanr.com> * MIT Licensed */ /* global define */ (function (root, factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else { root.Gauge = factory(root.jQuery); } })(this, function ($) { 'use strict'; var tem...
VovanR/gauge.js
src/index.js
JavaScript
mit
6,504
<!DOCTYPE html> <html> <head> <title>Escuela Salesiana María Mazzarello</title> <meta charset="utf-8"/> <link rel="stylesheet" type="text/css" href="../css/bootstrap.css"> <link rel="stylesheet" type="text/css" href="../css/bootstrap-theme.css"> <link rel="stylesheet" type="text/css" href="../css/bootstrap-t...
FicLel/MMSN
pages/Login.php
PHP
mit
1,598
# Modules in this file are included in both specs and cucumber steps. module TestHelpers def create_listing(listing_type, category, share_type) share_types = share_type ? share_type.split(",").collect { |st| Factory(:share_type, :name => st) } : [Factory(:share_type, :name => (listing_type.eql?("offer") ? "se...
comet/Kassi_Desktop
test/helper_modules.rb
Ruby
mit
2,175
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. // namespace Microsoft.Xbox.Services { public partial class XboxLive { public static bool UseMockServices { get { return false; } } ...
MSFT-Heba/xbox-live-api-csharp
Source/Microsoft.Xbox.Services.Test.CSharp/XboxLive.cs
C#
mit
419
package May2021GoogLeetcode; import java.util.Arrays; import java.util.Comparator; public class _1024VideoStitching { // https://www.youtube.com/watch?v=Gg64QXc9K0s public static void main(String[] args) { System.out.println(videoStitching(new int[][] { new int[] { 0, 2 }, new int[] { 4, 6 }, new int[] { 8, 10 },...
darshanhs90/Java-InterviewPrep
src/May2021GoogLeetcode/_1024VideoStitching.java
Java
mit
1,101
using UnityEngine; using System.Collections; public class CameraShake : MonoBehaviour { public static CameraShake instance; public float xShake, yShake, shakeSpeed, shakeCoolRate = 1f; private Vector3 initialPosition; private Vector3 goalPosition; private float initialXShake, initialYShake; void Awake() ...
uulltt/NitoriWare
Assets/Scripts/Generic Microgame Behaviors/Camera/CameraShake.cs
C#
mit
2,216
package com.sentenial.ws.client.dd; import javax.xml.bind.annotation.*; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for RequestCancelDirectDebit complex type. * * <p>The following schema fragment specifies th...
whelanp/sentenial-ws-client
src/main/java/com/sentenial/ws/client/dd/RequestCancelDirectDebit.java
Java
mit
3,860
<?php declare(strict_types=1); /* * Copyright (C) 2013 Mailgun * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ namespace Mailgun\Api; use Mailgun\Api\Suppression\Bounce; use Mailgun\Api\Suppression\Complaint; use Mailgun\Api\Suppressi...
michabbb-backup/mailgun-php
src/Api/Suppression.php
PHP
mit
1,660
<?php declare(strict_types=1); $metadata->mapField( [ 'type' => 'integer', 'name' => 'fixPrice', 'fieldName' => 'fixPrice', ] );
bigfoot90/doctrine2
tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.Company.CompanyFixContract.php
PHP
mit
173
require 'erubis' module Skeleton def self.common_playbook input = File.read 'templates/playbook.eruby' template_file = Erubis::Eruby.new input File.write "playbook-#{$project_name}/playbook.yml", template_file.result end def self.required_system_playbook input = File.read 'templates/playbook.erub...
noqcks/playbook-skeleton
lib/skeleton/playbook.rb
Ruby
mit
637
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; using SharpDX.Mathematics.Interop; using D3D = SharpDX.Direct3D; using D3D11 = SharpDX.Direct3D11; using D2D1 = SharpDX.Direct2D1; using DXGI = SharpDX.DXGI; using WIC = SharpDX.WIC; usin...
jomar/NGraphics
Platforms/NGraphics.UWP/Direct2DCanvas.cs
C#
mit
15,250
import { CrossFade } from "../component/channel/CrossFade"; import { Gain } from "../core/context/Gain"; import { ToneAudioNode, ToneAudioNodeOptions } from "../core/context/ToneAudioNode"; import { NormalRange } from "../core/type/Units"; import { readOnly } from "../core/util/Interface"; import { Signal } from "../si...
TONEnoTONE/Tone.js
Tone/effect/Effect.ts
TypeScript
mit
2,380
<?php // MyCompanyMyProjectAppBundle:PamAnnee:pam_annee.html.twig return array ( '57785d6' => array ( 0 => array ( 0 => '@MyCompanyMyProjectAppBundle/Resources/public/css/*', ), 1 => array ( ), 2 => array ( 'output' => '_controller/css/57785d6.css', 'name' => '...
ithone/pam
app/cache/test/assetic/config/8/893ed526d3434cba6346aea7f89bd4c1.php
PHP
mit
393
require 'shellwords' require 'travis/build/script/shared/bundler' require 'travis/build/script/shared/chruby' require 'travis/build/script/shared/rvm' module Travis module Build class Script class ObjectiveC < Script DEFAULTS = { rvm: 'default', gemfile: 'Gemfile', ...
jhass/travis-build
lib/travis/build/script/objective_c.rb
Ruby
mit
3,999
import React, { Component } from 'react'; import NavLink from './NavLink'; import './Menu.css'; class Menu extends Component { componentDidMount() { this.hideMenu = this.hideMenu.bind(this); this.menuIcon = document.querySelector('.menu__icon'); this.menu = document.querySelector('.menu'); this.menuO...
gufsky/react-native-workshop
src/Menu.js
JavaScript
mit
7,711
var HelloComponent = React.createClass( { render: function() { var el = ( <div> Hello <ChildrenComponent/> </div> ); return el; } }); var ChildrenComponent = React.createClass( { render: function() { var elArray = [<ChildComponent/>,<ChildComponen...
kenokabe/react-abc
www/react01-2.js
JavaScript
mit
607
module Fudge module Tasks # Allow use of Flay complexity analyser # # task :flay # # runs flay with max score of 0 # # task :flay, :exclude => 'subpath/' # # excludes files matching :exclude from run # # task :flay, :max => 20 # # sets max score to 20 #...
Sage/fudge
lib/fudge/tasks/flay.rb
Ruby
mit
1,214
/** * EmailController * @namespace kalendr.email.controllers */ (function () { 'use strict'; angular .module('kalendr.email.controllers') .controller('EmailController', EmailController); EmailController.$inject = ['$rootScope', '$scope', 'Authentication', 'Snackbar', 'Email']; /**...
bewallyt/Kalendr
static/javascripts/email/controllers/new-email.controller.js
JavaScript
mit
1,102
// @flow import URLSearchParams from 'url-search-params'; // a polyfill for IE type LocationType = { hash: string, pathname: string, search: Object }; export function getLocationParts(loc: LocationType) { return { hash: loc.hash.substring(1), path: loc.pathname, query: new URLSearchParams(loc.sea...
mvolkmann/starter
src/util/hash-route.js
JavaScript
mit
333
<? defined('C5_EXECUTE') or die("Access Denied."); class Concrete5_Model_AttributeKeyCategory extends Object { const ASET_ALLOW_NONE = 0; const ASET_ALLOW_SINGLE = 1; const ASET_ALLOW_MULTIPLE = 2; public static function getByID($akCategoryID) { $db = Loader::db(); $row = $db->GetRow('select akCategoryID, ak...
RogerKok/concrete5.6.3
concrete/core/models/attribute/category.php
PHP
mit
8,316
using System; using MongoDB.Driver; using NetDevPL.Infrastructure.MongoDB; namespace NetDevPL.Features.NetGroups { public class Repository { readonly MongoDBProvider<NetGroupDataSnapshot> provider = new MongoDBProvider<NetGroupDataSnapshot>("netdevpl", "netGroupsSnapshot"); public NetGroupDat...
soltys/NetDevPLWebsite
src/Features/NetDevPL.Features.NetGroups/Repository.cs
C#
mit
653
package net.fortytwo.smsn.brain.rdf.classes; import net.fortytwo.smsn.brain.rdf.SimpleAtomClass; import java.util.regex.Pattern; public class AKAReference extends SimpleAtomClass { public AKAReference() { super( "aka", // TODO: the foaf:nick mapping is not quite appropria...
joshsh/extendo
brain/src/main/java/net/fortytwo/smsn/brain/rdf/classes/AKAReference.java
Java
mit
738
FCKLang.InsertCodeBtn = 'Insert Code' ;
poppastring/dasblog
source/newtelligence.DasBlog.Contrib.FCKeditor/FCKeditor/editor/plugins/insertcode/lang/en.js
JavaScript
mit
45
'use strict'; var grunt = require('grunt'); var jshint = require('../tasks/lib/jshint').init(grunt); // In case the grunt being used to test is different than the grunt being // tested, initialize the task and config subsystems. if (grunt.task.searchDirs.length === 0) { grunt.task.init([]); grunt.config.init({});...
jadedsurfer/genx
node_modules/grunt/node_modules/grunt-contrib-jshint/test/jshint_test.js
JavaScript
mit
584
from ..output import outputfile, outputstr from ..utils import multiple_index, limit_text from ..utils import _index_function_gen, asciireplace, generate_func, generate_func_any, ROW_OBJ from ..exceptions.messages import ApiObjectMsg as msg from types import FunctionType from tabulate import tabulate from threading i...
Dolphman/PSV
psv/core/objects/selections.py
Python
mit
15,237
<?php /* $Id: StockCostUpdate.php 6945 2014-10-27 07:20:48Z daintree $*/ $UpdateSecurity =10; include('includes/session.inc'); $Title = _('Stock Cost Update'); include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); if (isset($_GET['StockID'])){ $StockID = trim(mb_strtoupper($_GET['StockID']))...
whp0011/weberp
StockCostUpdate.php
PHP
mit
8,383
<?php> echo HelloWorld; phpinfo(); <?>
cappetta/SecDevOps-Toolkit
tooling/terraform/Armor_test/index.php
PHP
mit
40
require 'rails_helper' RSpec.describe Archived::EmailConstituenciesJob, type: :job do let!(:petition) { FactoryBot.create(:archived_petition) } let!(:mailshot) { FactoryBot.create(:archived_petition_mailshot, petition: petition) } let!(:constituency_ids) { %w[3427 3320 3703] } let!(:requested_at) { Time.now } ...
unboxed/e-petitions
spec/jobs/archived/email_constituencies_job_spec.rb
Ruby
mit
1,329
<?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\Bundle\TwigBundle\Extension; use Symfony\Bundle\TwigBundle\Toke...
sof1105/symfony
src/Symfony/Bundle/TwigBundle/Extension/ActionsExtension.php
PHP
mit
2,550
import heapq # Wrapper class around heapq so that we can directly pass the key and dont have to make tuples class Heap( object ): def __init__( self, initial = None, key = lambda x : x ): self.key = key if initial: self._data = [ ( key( item ), item ) for item in initial ] h...
cvquant/trade-analysis
cdefs/heap.py
Python
mit
754
<?php /** * Test case for container class for dependecy injection. * * @copyright 2015 Fernando Val * @author Allan Marques <allan.marques@ymail.com> * @author Fernando Val <fernando.val@gmail.com> * * @version 1.0.0.6 */ use PHPUnit\Framework\TestCase; use Springy\Container\DIContainer; /** * Test c...
fernandoval/FVAL-PHP-Framework
tests/Container/DIContainerTest.php
PHP
mit
5,165
package com.example.tom.HushText; import android.util.Base64; import java.security.PrivateKey; import java.security.PublicKey; import javax.crypto.Cipher; import javax.crypto.SecretKey; /** * Created by tom on 3/22/2015. * Class created for testing purposes, performs a series of simply crypto tests by encrypting ...
tommyp1ckles/HushText
SecureText/app/src/main/java/com/example/tom/HushText/CryptoTest.java
Java
mit
3,731
var ImageDialog = { preInit : function() { var url; tinyMCEPopup.requireLangPack(); if (url = tinyMCEPopup.getParam("external_image_list_url")) document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>'); }, ...
irony-rust/nickel-cms
static/themes/admin/components/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js
JavaScript
mit
13,170
SOCIAL_AUTH_VK_LOGIN_URL = 'https://oauth.vk.com/authorize' SOCIAL_AUTH_VK_OAUTH2_KEY = '3911688' SOCIAL_AUTH_VK_OAUTH2_SECRET = '2Y5FYZB3cqDsPteHXBBO' SOCIAL_AUTH_VK_OAUTH2_SCOPE = ['friends'] AUTHENTICATION_BACKENDS = ( 'social.backends.vk.VKOAuth2', 'django.contrib.auth.backends.ModelBackend', ) SOCIAL_AUT...
ox1omon/movement_fefu
movement/settings/social.py
Python
mit
2,521
import { IGenerator } from "./IGenerator"; export class CachingGenerator implements IGenerator { private cache: { [i: number]: number }; public constructor() { this.cache = {}; } public generate(index: number): number { if (index < 2) { return index; } let...
general-language-syntax/GLS
test/end-to-end/Fibonacci/TypeScript/Generation/CachingGenerator.ts
TypeScript
mit
633
version https://git-lfs.github.com/spec/v1 oid sha256:2c3adeeb6c0341f0567979d93b5aceef7ac52df657743c63d840e686dd82e9cd size 24839
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.15.0/model-sync-rest/model-sync-rest.js
JavaScript
mit
130
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. using DataFactory.Tests.Utils; namespace DataFactory.Tests.JsonSamples { public class PipelineJsonSamples : JsonSampleCollection<PipelineJsonSamples> ...
yaakoviyun/azure-sdk-for-net
src/SDKs/DataFactory/DataFactory.Tests/JsonSamples/PipelineJsonSamples.cs
C#
mit
98,956
Package.describe({ name: 'violet:test-support', version: '0.1.0', summary: 'libraries and helpers that are used to run tests', documentation: 'README.md' }); Package.onUse(function(api) { api.versionsFrom('1.1.0.2'); var packages =[ 'mike:mocha-package@0.5.8', 'practicalmeteor:sinon@1.14.1_2', ...
violetjs/violet
packages/test-support/package.js
JavaScript
mit
490
module Moysklad::Resources class Products < Base private def entity_class Moysklad::Entities::Product end end end
BrandyMint/moysklad
lib/moysklad/resources/products.rb
Ruby
mit
138
using System; using System.Globalization; namespace DateDifference { class DateDifference { /* 16. Write a program that reads two dates in the format: day.month.year and calculates the number of days between them. */ static void Main() { Console.WriteLine("Input two dates i...
d-georgiev-91/TelerikAcademy
Programming/CSharp/CSharpPart2/StringsAndTextProcessing/DateDifference/DateDifference.cs
C#
mit
1,017
namespace Post_Publisher.Models.PostCommentModels { public class DeleteModel { public string Id { get; set; } public string ReturnUrl { get; set; } public bool IsDeleted { get; set; } } }
interopbyt/postpublisher
Post Publisher.Web/Models/PostCommentModels/DeleteModel.cs
C#
mit
198
Fabricator :backtrace do lines(count: 99) do { number: rand(999), file: "[PROJECT_ROOT]/path/to/file/#{SecureRandom.hex(4)}.rb", method: ActiveSupport.methods.sample } end end
bonanza-market/errbit
spec/fabricators/backtrace_fabricator.rb
Ruby
mit
206
$(document).ready(function() { $('rulang').click(function() { alert( "Handler for .click() called." ); }); $('enlang').click(function() { alert( "Handler for .click() called." ); }); $('pllang').click(function() { alert( "Handler for .click() called." ); }); });
4johndoe/sh
tmpl/js/my.js
JavaScript
mit
278
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitsend developers // Copyright (c) 2014-2015 The bitsend developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "primitives/...
madzebra/BitSend
src/rpcrawtransaction.cpp
C++
mit
32,225
require 'tempfile' require 'openssl' require_relative 'helper' module FastlaneCore # This class checks if a specific certificate is installed on the current mac class CertChecker def self.installed?(path, in_keychain: nil) UI.user_error!("Could not find file '#{path}'") unless File.exist?(path) i...
revile/fastlane
fastlane_core/lib/fastlane_core/cert_checker.rb
Ruby
mit
4,042
package com.github.nettybook.ch3; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.EventLoopGroup; import io.netty.channel.oio.OioEventLoopGroup; import io.netty.channel...
krisjey/netty.book.kor
example/src/java/com/github/nettybook/ch3/BlockingEchoServer.java
Java
mit
1,344
//Dependencies import React, {PropTypes, PureComponent} from 'react'; import {getConfig} from '../config'; function translateDate(date) { const {translateDate} = getConfig(); return translateDate(date); } class Notification extends PureComponent { constructor(props) { super(props); th...
KleeGroup/focus-notifications
src/component/notification.js
JavaScript
mit
2,185
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; using System.Globalization; using Azure.Core.Amqp; using Microsoft.Azure.Amqp.Framing; namespace Azure.Messaging.EventHubs.Amqp { /// <summary> /// Pro...
AsrOneSdk/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/src/Amqp/AmqpSystemProperties.cs
C#
mit
13,517
using System.Collections.Generic; using UnityEngine; using ExitGames.Client.Photon; namespace Photon.Pun.Demo.Procedural { /// <summary> /// The Cluster component has references to all Blocks that are part of this Cluster. /// It provides functions for modifying single Blocks inside this Clust...
yumemi-inc/vr-studies
vol2/VR-studies/Assets/Photon/PhotonUnityNetworking/Demos/DemoProcedural/Scripts/Cluster.cs
C#
mit
6,408
package eu.hangar.watcher.ac; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; import org.bukkit.potion.PotionEffectType; public class Fly implements Listener { @Eve...
Hangar555/HatrexWatcherF
src/src/eu/hangar/watcher/ac/Fly.java
Java
mit
1,263
var levelsState = { create: function(){ game.add.image(0,0,'back2'); game.world.setBounds(1,1, 1500, 500);//-1000,-10000 cursors = game.input.keyboard.createCursorKeys(); //player this.player = game.add.sprite(game.width/8, game.height/2, 'player'); this.player.anchor.setTo(0.5, 0.5); game.physics.arca...
nickchulani99/ITE-445
final/alien/js/levels.js
JavaScript
mit
10,651
using System; using System.Collections.Generic; namespace Microsoft.binutils.elflib { public class SectionReference { public class SymbolReference { public uint Offset; public RelocationEntry RelocationRef; public SectionReference Owner; public ...
x335/llilum
Zelig/ext-tools/binutils/elflib/SectionReference.cs
C#
mit
1,803
import Dispatcher from 'core/dispatcher.js'; import ActionTypes from 'const/actions.js'; import Action from 'core/action.js'; import { API } from 'lib/api.js'; let defaultAction = Action.create(function(argument) { API.prototype.formRawSubmit.apply(this, arguments); }) export default { shouldDefaultActi...
proxyfabio/modx-shopmodx-frontend
src/actions/appViewActions.js
JavaScript
mit
779
/// //////////////////////////////////////// // GOOGLE BOOKS /// //////////////////////////////////////// console.log('google books connector loading...') /// //////////////////////////////////////// // GOOGLEBOOKS VARIABLES /// //////////////////////////////////////// var url = '' var key = '' /// //////////////////...
LibrariesHacked/catalogues-librarydata
connectors/googlebooks.js
JavaScript
mit
457
using System; using Com.Aspose.Imaging.Api; using Com.Aspose.Imaging.Model; using Com.Aspose.Storage.Api; namespace Images { class UpdatePngProperties { public static void Run() { // ExStart:1 ImagingApi imagingApi = new ImagingApi(Common.APP_KEY, Common.APP_SID, Common...
aspose-imaging/Aspose.Imaging-for-Cloud
Examples/DotNET/CSharp/Images/UpdatePngProperties.cs
C#
mit
1,618
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
sharpdx/Toolkit
Source/Toolkit/SharpDX.Toolkit/Graphics/SpriteFontData.cs
C#
mit
6,860
require 'spec_helper' RSpec.describe Vpsa::Api::Receipts do let(:header) {{"Content-Type" => "application/json", "Accept" => "application/json"}} describe "listing" do before(:each) do stub_request(:get, "#{Vpsa::API_ADDRESS}/contas-receber/").to_return(:status => 200) end it "should iss...
coyosoftware/vpsa
spec/vpsa/api/receipts_spec.rb
Ruby
mit
1,646
require './spec/spec_helper.rb' describe "Oxcelix module" do describe 'Workbook' do context 'normal' do it "should open the excel file and return a Workbook object" do file = 'spec/fixtures/test.xlsx' w=Oxcelix::Workbook.new(file) w.sheets.size.should == 2 w.sheets[0].nam...
Orphist/oxcelix_xlsx
spec/oxcelix_spec.rb
Ruby
mit
1,061
/* * Copyright (c) 2005, the JUNG Project and the Regents of the University of * California All rights reserved. * * This software is open-source under the BSD license; see either "license.txt" * or http://jung.sourceforge.net/license.txt for a description. * * Created on Jul 21, 2005 */ package edu.uci.ics.ju...
pdeboer/wikilanguage
lib/jung2/jung-jai/src/main/java/edu/uci/ics/jung/visualization/jai/HyperbolicImageLensSupport.java
Java
mit
5,311
<?xml version="1.0" ?><!DOCTYPE TS><TS language="lt" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About GoldCoin</source> <translation>Apie GoldCoiną</translation> </mes...
goldcoin/gldcoin
src/qt/locale/bitcoin_lt.ts
TypeScript
mit
108,593
'use strict'; var virtualbox = require('../../lib/virtualbox'), async = require('async'), args = process.argv.slice(2), vm = 'node-virtualbox-test-machine', key = args.length > 1 && args[1], delay = 250, sequence; var SCAN_CODES = virtualbox.SCAN_CODES; var fns = []; /** * * Uncomment the following if...
Node-Virtualization/node-virtualbox
test/integration/keyboardputscancode.js
JavaScript
mit
1,713
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
2947721120/vscode
src/vs/workbench/parts/git/browser/views/changes/changesViewer.ts
TypeScript
mit
31,679
import React from 'react'; import { Alert } from 'react-bootstrap'; export const NotFound = () => ( <Alert bsStyle="danger"> <p><strong>Error [404]</strong>: { window.location.pathname } does not exist.</p> </Alert> );
irvinlim/free4all
imports/ui/pages/not-found.js
JavaScript
mit
228
using System; using System.Collections.Generic; using System.Text; namespace Lite.ExcelLibrary.CompoundDocumentFormat { /// <summary> /// The master sector allocation table (MSAT) is an array of SecIDs of all sectors /// used by the sector allocation table (SAT). /// </summary> public class MasterS...
YHTechnology/ProjectManager
ProductManager/LiteExcelLibrary/CompoundDocumentFormat/MasterSectorAllocation.cs
C#
mit
4,421
using System.Composition; using System.Threading.Tasks; using OmniSharp.Cake.Extensions; using OmniSharp.Mef; using OmniSharp.Models.MembersTree; using OmniSharp.Models.Rename; namespace OmniSharp.Cake.Services.RequestHandlers.Refactoring { [OmniSharpHandler(OmniSharpEndpoints.Rename, Constants.LanguageNames.Cake...
OmniSharp/omnisharp-roslyn
src/OmniSharp.Cake/Services/RequestHandlers/Refactoring/RenameHandler.cs
C#
mit
757
import { KeysPipePipe } from './keys-pipe.pipe'; describe('KeysPipePipe', () => { it('create an instance', () => { const pipe = new KeysPipePipe(); expect(pipe).toBeTruthy(); }); });
friendsofagape/mt2414ui
src/app/keys-pipe.pipe.spec.ts
TypeScript
mit
196
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; using Approve.RuleCenter; using System....
coojee2012/pm3
SurveyDesign/ErrorPage.aspx.cs
C#
mit
1,037
using System; using System.Collections; using System.IO; using System.Text; using BigMath; using Raksha.Asn1; using Raksha.Asn1.CryptoPro; using Raksha.Asn1.Oiw; using Raksha.Asn1.Pkcs; using Raksha.Asn1.Sec; using Raksha.Asn1.X509; using Raksha.Asn1.X9; using Raksha.Crypto; using Raksha.Crypto.Generators; using Raksha...
Taggersoft/Raksha
src/Raksha.Shared/Security/PrivateKeyFactory.cs
C#
mit
6,643
(function () { 'use strict'; var module = angular.module('fim.base'); module.config(function($routeProvider) { $routeProvider .when('/activity/:engine/:section/:period', { templateUrl: 'partials/activity.html', controller: 'ActivityController' }); }); module.controller('ActivityController', fun...
aliasgherlakkadshaw/mofowallet-fork
app/scripts/controllers/activity.js
JavaScript
mit
5,627
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
lunastorm/wissbi
3rd_party/libcxx/test/containers/unord/unord.multiset/max_size.pass.cpp
C++
mit
711
(function($) { var cultures = $.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["sr-Latn-BA"] = $.extend(true, {}, en, { name: "sr-Latn-BA", englishName: "Serbian (Latin, Bosnia and Herzegovina)", nativeName: "srpski (Bosna i Hercegovi...
Leandro-b-03/SmartBracelet
public/library/javascripts/jquery.GlobalMoneyInput/globinfo/jQuery.glob.sr-Latn-BA.js
JavaScript
mit
1,973
<?php /** * This file is automatically @generated by {@link GeneratePhonePrefixData}. * Please don't modify it directly. */ return array ( 2272020 => 'Niamey', 2272031 => 'Niamey', 2272032 => 'Niamey', 2272033 => 'Niamey', 2272034 => 'Niamey', 2272035 => 'Niamey', 2272036 => 'Niamey', 2272037 => 'Ni...
odooo/design
vendor/giggsey/libphonenumber-for-php/src/geocoding/data/en/227.php
PHP
mit
696
<?php namespace Testing\BDDBundle\Features\Context; use Behat\Symfony2Extension\Context\KernelAwareInterface; use Symfony\Component\HttpKernel\KernelInterface; use Behat\MinkExtension\Context\MinkContext; /** * Feature context. */ class FeatureContext extends MinkContext implements KernelAwareInterface { priva...
IgniteYourProject/symfony-fast-start
src/Testing/BDDBundle/Features/Context/FeatureContext.php
PHP
mit
1,398
class Blog < ActiveRecord::Base attr_accessible :body, :title end
masao/enju_blog_plugin
app/models/blog.rb
Ruby
mit
68
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity */ class MemberRegistrationExtra { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Members...
PeteLawrence/EagleWebsite
src/AppBundle/Entity/MemberRegistrationExtra.php
PHP
mit
2,141
import {Routes} from '@angular/router'; import {CubeExistsGuard} from './guards/cube-exists'; import {FindCubePageComponent} from './containers/cube/find-cube-page'; import {NotFoundPageComponent} from './containers/not-found-page'; import {CubeAnalyticsPage} from './containers/cube/cube-analytics'; import {CubeAnalyt...
okgreece/indigo
src/app/routes.ts
TypeScript
mit
1,944
// Chunk.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2007 Novell, Inc (http://www.novell.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 res...
luiscubal/XwtPlus.TextEditor
XwtPlus.TextEditor/Mono.TextEditor.Highlighting/Chunk.cs
C#
mit
2,185
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2014-2017 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person...
Aakash1312/appleseed
src/appleseed/renderer/kernel/shading/closures.cpp
C++
mit
58,655
'use strict'; var express = require('express') , router = express.Router(); import * as ctrl from './controller'; router.get('/contact', ctrl.contact); export default router;
calebgregory/portfolio
app/home/routes.js
JavaScript
mit
182
// Copyright 2012 the V8 project authors. 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 list of ...
x684867/nemesis
src/node/deps/v8/src/mips/disasm-mips.cc
C++
mit
30,634
#!/usr/bin/env python3 # # linearize-data.py: Construct a linear, no-fork version of the chain. # # Copyright (c) 2013-2019 The Starwels developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # from __future__ import print_fun...
starwels/starwels
contrib/linearize/linearize-data.py
Python
mit
10,077
package gappsockets.server.jwt; import java.io.UnsupportedEncodingException; import java.util.List; import gappsockets.server.json.JsonObject; public final class Header { public static final class ParameterNames { public static final String ALG = "alg"; public static final String CRIT = "crit"; publ...
jh3nd3rs0n/gappsockets.remoteserver
src/main/java/gappsockets/server/jwt/Header.java
Java
mit
2,863
package cn.edu.gdut.zaoying.Option.legend; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface BottomString { String value() ...
zaoying/EChartsAnnotation
src/cn/edu/gdut/zaoying/Option/legend/BottomString.java
Java
mit
333
<?php if (!class_exists('PHPUnit_Framework_TestCase')) { class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {} } require __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
keradus/php-coveralls
tests/bootstrap.php
PHP
mit
255
using System; namespace StackExchange.Opserver.Models { [Flags] public enum Roles { None = 0, Anonymous = 1 << 1, Authenticated = 1 << 2, Exceptions = 1 << 3, ExceptionsAdmin = 1 << 4, HAProxy = 1 << 5, HAProxyAdmin = 1 << 6, SQL = 1 << 7,...
navone/Opserver
Opserver/Models/Roles.cs
C#
mit
669
using System; namespace SharpFileSystem { public class FileSystemEntity: IEquatable<FileSystemEntity> { public IFileSystem FileSystem { get; private set; } public FileSystemPath Path { get; private set; } public string Name { get { return Path.EntityName; } } public FileSystemE...
bobvanderlinden/sharpfilesystem
SharpFileSystem/FileSystemEntity.cs
C#
mit
1,241
<?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\Bundle\FrameworkBundle\CacheWarmer; use Doctrine\Common\Annotat...
vincentaubert/symfony
src/Symfony/Bundle/FrameworkBundle/CacheWarmer/AnnotationsCacheWarmer.php
PHP
mit
3,230
// The MIT License (MIT) // // Copyright (c) 2015 Microsoft // // 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, co...
doubleyewdee/Microsoft.Diagnostics.Tracing.Logging
src/Assert.cs
C#
mit
3,860
/*! @file @copyright The code is licensed under the MIT License <http://opensource.org/licenses/MIT>, Copyright (c) 2013-2015 Niels Lohmann. @author Niels Lohmann <http://nlohmann.me> @see https://github.com/nlohmann/json */ #include "json.h" #include <cctype> // std::isdigit, std::isspace...
julienlopez/QTacitGame
externals/json.cc
C++
mit
67,378
/* @flow */ import {Seat} from "../core/seat"; import {Bid, BidType, BidSuit} from "../core/bid"; import {Card} from "../core/card"; import {validateBid} from "./validators"; /** * Helper class for analysing board-state. */ export class BoardQuery { constructor(boardState) { this.boardState = boardState; } g...
frankwallis/redouble
src/model/game/board-query.js
JavaScript
mit
5,929
/* * @(#)Builder.java 2.0 11/01/11 * * Copyright 2011, Pontificia Universidad Javeriana, All rights reserved. * Takina and SIDRe PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package Control.Builder; import Abstraction.DEF; import Abstraction.Game; import Abstraction.WorldModel; import BESA.Except...
Coregraph/Ayllu
JigSaw - AYPUY - CS/BESA3/BESA-EXAM/PingPong/src/Control/Builder/Builder.java
Java
mit
3,932
<?php /* FOSUserBundle:Group:edit.html.twig */ class __TwigTemplate_5bdd3b40502a41310ed443a6c728c2375dea32069ae17151dfb34ad2c3e1855f extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("FOSUserBundle::...
Joomlamaster/connectionru
app/cache/prod/twig/5b/dd/3b40502a41310ed443a6c728c2375dea32069ae17151dfb34ad2c3e1855f.php
PHP
mit
1,233
<?php /* * This file is part of the BenGorUser package. * * (c) Beñat Espiña <benatespina@gmail.com> * (c) Gorka Laucirica <gorka.lauzirika@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\BenGorUser\Use...
BenGor/User
spec/BenGorUser/User/Application/Command/ChangePassword/ChangeUserPasswordCommandSpec.php
PHP
mit
1,053