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
package com.alexstyl.specialdates.events.peopleevents; import android.content.ContentValues; import com.alexstyl.specialdates.Optional; import com.alexstyl.specialdates.contact.Contact; import com.alexstyl.specialdates.date.ContactEvent; import com.alexstyl.specialdates.events.database.DatabaseContract.AnnualEventsCo...
alexstyl/Memento-Calendar
android_mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/ContactEventsMarshaller.java
Java
mit
2,165
module.exports = require('./consistent_hashing');
shawnvan/coffee-server-demo
node_modules/consistent-hashing/lib/index.js
JavaScript
mit
50
var express = require('express'); var path = require('path'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var index = require('./routes/index'); var users = require('./routes/users'); var app = express(); // view engine setup app.set('views', ...
lagerjs/lager
demo/express-app/app.js
JavaScript
mit
1,216
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bitcoinrpc.h" #include "base58.h" #include "init.h" #include "main.h" #inclu...
csae1152/bitcoin
src/bitcoinrpc.cpp
C++
mit
51,032
class Solution: # @param s, a string # @param dict, a set of string # @return a boolean def wordBreak(self, s, dict): solved = [False for i in range(len(s) + 1)] solved[0] = True for i in range(len(s)): for j in range(i + 1): if s[j : i + 1] in dict: ...
happylixue/LeetCodeSol
problems/word-break/sol.py
Python
mit
396
/* ========================================================== * autocomplete.js * Deal with the Typeahead.js/Bloodhound library to build the search field autocomplete * * Author: Yann, yann@antistatique.net * Date: 2014-05-01 14:23:18 * * Copyright 2014 Federal Chancellery of Switzerland * Licensed under MIT ...
eonum/drg-search
vendor/assets/javascripts/styleguide.js
JavaScript
mit
24,803
import { platformBrowser } from '@angular/platform-browser'; import { enableProdMode } from '@angular/core'; import { AppModuleNgFactory } from '../../../temp/app/textarea/multiplevalues/app.module.ngfactory'; enableProdMode(); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
luissancheza/sice
js/jqwidgets/demos/angular/app/textarea/multiplevalues/main.ts
TypeScript
mit
297
<?php /** * @author Alex Bilbie <hello@alexbilbie.com> * @copyright Copyright (c) Alex Bilbie * @license http://mit-license.org/ * * @link https://github.com/thephpleague/oauth2-server */ namespace League\OAuth2\Server\Entities\Traits; trait AuthCodeTrait { /** * @var null|string ...
nusendra/nusendra-blog
vendor/league/oauth2-server/src/Entities/Traits/AuthCodeTrait.php
PHP
mit
613
// ******************************************************************************************************** // Product Name: DotSpatial.Forms.LayoutForm // Description: A form that shows the mapwindow layout // ********************************************************************************************************...
swsglobal/DotSpatial
Source/DotSpatial.Controls/LayoutForm.cs
C#
mit
3,537
# mako/codegen.py # Copyright 2006-2019 the Mako authors and contributors <see AUTHORS file> # # This module is part of Mako and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """provides functionality for rendering a parsetree constructing into module source code.""" import j...
wujuguang/mako
mako/codegen.py
Python
mit
47,892
Xktta.I18n = function(locale, translations){ this.translations[locale] = translations || {}; return this; } Xktta.afterInit.push(function(){ var __this__ = Xktta; eval.call(__this__.window, "var I18n;"); I18n = { locale: 'en', translate: function(path, params){ var translation = path; v...
juniormesquitadandao/xikitita
app/models/i18n.js
JavaScript
mit
3,738
#!/usr/bin/env python from circuits.web import Server, JSONController class Root(JSONController): def index(self): return {"success": True, "message": "Hello World!"} app = Server(("0.0.0.0", 8000)) Root().register(app) app.run()
nizox/circuits
examples/web/jsoncontroller.py
Python
mit
247
// // Copyright (C) 2014, 2015 Ableton AG, Berlin. 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 rights t...
dodheim/atria
src/atria/funken/detail/access.hpp
C++
mit
2,682
import Ember from 'ember'; export default Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpressi...
alicht/buddybuddy
public/tmp/tree_merger-tmp_dest_dir-KPkHvOkI.tmp/buddybuddy/templates/users/index.js
JavaScript
mit
1,413
exports.defaultType = require('ot-json0').type; exports.map = {}; exports.register = function(type) { if (type.name) exports.map[type.name] = type; if (type.uri) exports.map[type.uri] = type; }; exports.register(exports.defaultType);
share/livedb
lib/types.js
JavaScript
mit
242
using System; using System.Threading; using Titanium.Web.Proxy.Helpers; using Titanium.Web.Proxy.Http; using Titanium.Web.Proxy.Models; using Titanium.Web.Proxy.StreamExtended.Network; namespace Titanium.Web.Proxy.EventArguments { /// <summary> /// A class that wraps the state when a tunnel connect event ...
titanium007/Titanium
src/Titanium.Web.Proxy/EventArguments/TunnelConnectEventArgs.cs
C#
mit
2,809
from __future__ import print_function import time import pickle import time import numpy as np import scipy.optimize, scipy.ndimage from acq4.util import Qt import acq4.pyqtgraph as pg from acq4.Manager import getManager class PipetteTracker(object): """Provides functionality for automated tracking and recalibrat...
campagnola/acq4
acq4/devices/Pipette/tracker.py
Python
mit
28,251
<?php return [ 'symlink_created_text' => '我们刚刚为您创建了缺失的软连接。', 'symlink_created_title' => '丢失的存储软连接已被重新创建', 'symlink_failed_text' => '我们未能为您的应用程序生成缺失的软连接,似乎您的主机提供商不支持它。', 'symlink_failed_title' => '无法创建丢失的存储软连接', 'symlink_missing_button' => '修复', 'symlink_missing_text' => '我们找不到一个存储软连接,...
handiwijoyo/voyager
publishable/lang/zh_CN/error.php
PHP
mit
628
/** * Copyright 2012-2017, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = require('../src/traces/heatmapgl');
chethanjjj/gentelella
vendors/plotlyjs/lib/heatmapgl.js
JavaScript
mit
261
<?php namespace Tiga\Framework\Response; /** * HTTP Header class. */ class Header { /** * HTTP status code. * * @var int */ protected $statusCode; /** * Response. */ protected $response; /** * Create header class and init the hook. */ public function...
todiadiyatmo/tiga-framework
src/Response/Header.php
PHP
mit
1,011
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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...
BclEx/AdamsyncEx
src/System.CoreEx/ComponentModel/DataAnnotations/DataAnnotationsResources.cs
C#
mit
1,841
#Your application starts here require_relative 'config/application' puts "Put your application code in #{File.expand_path(__FILE__)}"
thedanpan/toilets_directory_nyc
ar-skeleton/app.rb
Ruby
mit
136
/*************************************************************************/ /* editor_run.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Paulloz/godot
editor/editor_run.cpp
C++
mit
9,100
/******************************************************************************* Copyright (C) 2015 Dario Oliveri See copyright notice in LICENSE.md *******************************************************************************/ #pragma once #include <list> #include <typeindex> #include <unordered_map> #include ...
Darelbi/Infectorpp
include/Infectorpp/priv/DependencyDAG.hpp
C++
mit
1,969
/* * Copyright (c) 2006-2015 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.internal.expectations.argumentMatching; import java.lang.reflect.Array; import javax.annotation.*; public class EqualityMatcher implements ArgumentMatcher<EqualityMatcher> { ...
beluchin/jmockit1
main/src/mockit/internal/expectations/argumentMatching/EqualityMatcher.java
Java
mit
1,866
<?php namespace YOOtheme\Widgetkit\Framework\Database; interface DatabaseInterface { /** * Fetches all rows of the result as an associative array. * * @param string $statement * @param array $params * @return array */ public function fetchAll($statement, array $params = array(...
yaelduckwen/libriastore
joomla/administrator/components/com_widgetkit/src/Framework/src/Database/DatabaseInterface.php
PHP
mit
2,712
import COMMAND from '../../../session/command'; import FileListWrapper from './file-list-wrapper'; import nativeMethods from '../native-methods'; import transport from '../../transport'; import settings from '../../settings'; import * as Browser from '../../utils/browser'; import * as HiddenInfo from './hidden-info'; i...
georgiy-abbasov/testcafe-hammerhead
src/client/sandbox/upload/info-manager.js
JavaScript
mit
7,469
import pyrox.filtering as filtering class EmptyFilter(filtering.HttpFilter): pass
akatrevorjay/pyrox
pyrox/stock_filters/empty.py
Python
mit
88
import subprocess import os li = [i for i in os.walk(os.getcwd())] print(li) for di in li: root = di[0] for fi in di[2]: lent = len(fi) if fi[lent-4:lent] == ".jpg": fi_path = os.path.join(root, fi) output_file = fi[:lent-4] + "_output" print(output_file) ...
wonkishtofu/Tesseract-OCR-Tessa
tessa/orbiturary/pictures/get_text.py
Python
mit
380
// Package languages provides language rules to use with the inflect package. package languages import ( "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/chuckpreslar/inflect/types" ) // Defines irregular words, uncountables words, and pluralization/singularization rules for the English language. // // FIXM...
david415/go-ipfs
Godeps/_workspace/src/github.com/chuckpreslar/inflect/languages/english.go
GO
mit
1,943
# frozen_string_literal: true require 'sprockets_test' $file_stat_calls = nil class << File alias_method :original_stat, :stat def stat(filename) if $file_stat_calls $file_stat_calls[filename.to_s] ||= [] $file_stat_calls[filename.to_s] << caller end original_stat(filename) end end $dir_...
eileencodes/sprockets
test/test_performance.rb
Ruby
mit
14,649
/* Get Programming with JavaScript * Listing 12.04 * Guess the random number */ var getGuesser = function () { var secret = Math.floor(Math.random() * 10 + 1); return function (userNumber) { if (userNumber === secret) { return "Well done!"; } else { return "Unlucky, try again."; } }; ...
jrlarsen/GetProgramming
Ch12_Conditions/listing12.04.js
JavaScript
mit
829
import math FREQ = 3000 V = 13.3 REALRPM = 305.6 LIMIT = 2 PWM_IN_MIN = 1100 PWM_IN_MAX = 2000 RPM_MAX = 2000.0 # rpm RPM_MIN = 300.0 # rpm # GT: Changed constants? RPM_SLEW = 10000.0 # rpm/s DT_LOOP = 0.001 # seconds per slow loop KP_RPM_UP = 0.3 # mA/rpm KI_RPM = 0.002 # mA/rpm/s I_SAT_R...
gtoonstra/foc_esc
escsim/constants.py
Python
mit
918
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
Lab603/PicEncyclopedias
jni-build/jni/include/tensorflow/python/ops/functional_ops.py
Python
mit
23,180
(function () { var totalFactory =   function ($resource)  { return $resource("/api/priv/total/"); }; controlCajaApp.factory('totalFactory', ['$resource', totalFactory]); }());
froilanq/CursoAngularJS
10-Configuracion-Cache/client/totalFactory.js
JavaScript
mit
198
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/futex-emulation.h" #include <limits> #include "src/base/macros.h" #include "src/base/platform/time.h" #include "src/conversions.h" #incl...
hoho/dosido
nodejs/deps/v8/src/futex-emulation.cc
C++
mit
7,269
// Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; usin...
adamdriscoll/TfsIntegrationPlatform
IntegrationPlatform/Shell/EditorFoundation/Source/Extensibility/PluginManager.cs
C#
mit
11,472
/* ** delay_deny ** ** This plugin delays all pre-DATA 'deny' results until the recipients are sent ** and all post-DATA commands until all hook_data_post plugins have run. ** This allows relays and authenticated users to bypass pre-DATA rejections. */ exports.hook_deny = function (next, connection, params) { /* p...
Synchro/Haraka
plugins/delay_deny.js
JavaScript
mit
5,266
module Fastlane module Actions class EnsureNoDebugCodeAction < Action def self.run(params) command = "grep -RE '#{params[:text]}' '#{File.absolute_path(params[:path])}'" extensions = [] extensions << params[:extension] unless params[:extension].nil? if params[:extensions] ...
fastlane/fastlane
fastlane/lib/fastlane/actions/ensure_no_debug_code.rb
Ruby
mit
5,274
module ResultsHelper def remark_result_unsubmitted_or_released(remark_result) remark_result.marking_state == Result::MARKING_STATES[:unmarked] or remark_result.released_to_students end def can_show_remark_request_tab_in_student_pane(assignment, current_user, submission) if assignment.allow_r...
Lysette/Markus
app/helpers/results_helper.rb
Ruby
mit
838
<?php /* * This file is part of the puli/repository package. * * (c) Bernhard Schussek <bschussek@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Puli\Repository; use Puli\Repository\Api\Resource\FilesystemR...
stof/repository
src/AbstractPathMappingRepository.php
PHP
mit
6,028
/* [auto_generated] boost/numeric/odeint/algebra/range_algebra.hpp [begin_description] Default algebra, which works with the most state types, like vector< double >, boost::array< double >, boost::range. Internally is uses boost::range to obtain the begin and end iterator of the according sequence. [end_descript...
gt-ros-pkg/humans
src/videoray/catkin_ws/src/videoray/include/boost/numeric/odeint/algebra/range_algebra.hpp
C++
mit
8,358
/** * 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.eventgrid.models; import com.fasterxml.jackson.annotation.J...
Azure/azure-sdk-for-java
sdk/eventgrid/microsoft-azure-eventgrid/src/main/java/com/microsoft/azure/eventgrid/models/ResourceActionSuccessData.java
Java
mit
7,681
using Kliva.Models; namespace Kliva.Services.Interfaces { public interface IApplicationInfoService { AppVersion AppVersion { get; } } }
timheuer/Kliva-1
src/Kliva/Services/Interfaces/IApplicationInfoService.cs
C#
mit
159
<div class="row"> <div class="mainvcontainer" style="background-image:url('<?php echo base_url('img/bg.jpg'); ?>'); min-height:900px;"> <div class="col-sm-3"></div> <div class="animated bounceInDown col-sm-6"> <section class="panel" style="margin-top:90px;padding:50px; box-s...
freeztime/ignitedcms
application/views/admin/404/404.php
PHP
mit
894
module.exports = { entry: './client/index.js', output: { path: __dirname + '/public', filename: 'bundle.js' }, module: { loaders: [{ test: /\.jsx?$/, loader: 'babel-loader', exclude: /node_modules/ }] }, resolve: { extensions: ['.js', '.jsx'] }, devtool: 'source-map...
kelly-keating/kelly-keating.github.io
webpack.config.js
JavaScript
mit
324
FactoryBot.define do factory :category_node_base, class: Category::Node::Base, traits: [:cms_node] do route { "category/base" } end factory :category_node_node, class: Category::Node::Node, traits: [:cms_node] do route { "category/node" } end factory :category_node_page, class: Category::Node::Page,...
ShinjiTanimoto/shirasagi
spec/factories/category/nodes.rb
Ruby
mit
384
import { ServiceMessage } from './proxy'; export interface FileInfo { name: string; type: string; data: string; } export interface FileInputInfo { name: string; files: FileInfo[]; value: string; } export interface GetUploadedFilesServiceMessage extends ServiceMessage { filePaths: string[]...
miherlosev/testcafe-hammerhead
src/typings/upload.d.ts
TypeScript
mit
447
from PyQt4 import QtCore, QtGui import acq4.Manager import acq4.pyqtgraph as pg import acq4.pyqtgraph.opengl as gl import numpy as np import acq4.util.functions as fn import re man = acq4.Manager.getManager() ## update DB field to reflect dir meta info #for i in db.select('Cell', ['rowid']): ...
hiuwo/acq4
acq4/analysis/scripts/eventExplorer.py
Python
mit
15,462
import React, { PureComponent } from 'react'; class ProgressBar extends PureComponent { render() { const { progress, className, percent = 100 } = this.props; return ( <div className={className}> {progress && <div className="progress"> <div className="progress-bar progress...
Apozhidaev/terminal.mobi
src/components/ProgressBar/index.js
JavaScript
mit
517
var DEFAULT_HANDEDNESS = require('../constants').DEFAULT_HANDEDNESS; var AXIS_LABELS = ['x', 'y', 'z', 'w']; var NUM_HANDS = 2; // Number of hands in a pair. Should always be 2. /** * Called on controller component `.play` handlers. * Check if controller matches parameters and inject tracked-controls component. * ...
RSpace/aframe
src/utils/tracked-controls.js
JavaScript
mit
6,862
const prettyBytes = require("pretty-bytes"); (prettyBytes(123): string); // $ExpectError prettyBytes("123"); // $ExpectError prettyBytes(true);
mwalkerwells/flow-typed
definitions/npm/pretty-bytes_v4.x.x/test_pretty-bytes_v4.x.x.js
JavaScript
mit
147
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any per...
bhlzlx/ogre
Samples/Browser/src/SampleBrowser.cpp
C++
mit
3,418
<?php /** * PHPExcel * * Copyright (c) 2006 - 2008 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later v...
ALTELMA/OfficeEquipmentManager
application/libraries/PHPExcel/branches/v1.6.3/Classes/PHPExcel/Shared/Date.php
PHP
mit
8,411
from settings.common import * DATABASES = { 'default': { "ENGINE": "django.db.backends.mysql", "NAME": "mhfowler", "USER": "root", "PASSWORD": "", "HOST": "localhost", "PORT": "" } }
mhfowler/mhfowler
settings/local.py
Python
mit
239
import React from 'react' import UiValidate from '../../../../components/forms/validation/UiValidate' import MaskedInput from '../../../../components/forms/inputs/MaskedInput' import UiDatepicker from '../../../../components/forms/inputs/UiDatepicker' const validationOptions = { // Rules for form validation rule...
backpackcoder/world-in-flames
src/app/routes/forms/components/layouts/ReviewForm.js
JavaScript
mit
5,184
<?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\Bundle\AdminBundle\EmailManager; use Sylius\Bundle\CoreBun...
SyliusBot/Sylius
src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManager.php
PHP
mit
992
#!/usr/bin/env python3 # # Copyright (c) 2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # # Lint format strings: This program checks that the number of arguments passed # to a variadic format strin...
dashpay/dash
test/lint/lint-format-strings.py
Python
mit
10,365
using System; namespace Starscream.Web.Api.Responses { public class SuccessfulLoginResponse<T> { public SuccessfulLoginResponse() { } public SuccessfulLoginResponse(T token, string name, DateTime expires, string[] claims) { Token = token; Name =...
AcklenAvenue/Starscream
src/Starscream.Web/Api/Responses/SuccessfulLoginResponse.cs
C#
mit
574
package ij.plugin; import ij.*; import ij.gui.GenericDialog; import ij.process.*; import ij.measure.Calibration; /** This plugin implements the Image/Stacks/Tools/Grouped Z Project command. */ public class GroupedZProjector implements PlugIn { private static int method = ZProjector.AVG_METHOD; private int groupSize...
steliann/objectj
src/ij/plugin/GroupedZProjector.java
Java
mit
2,033
import type { NextPage } from 'next' import Link from 'next/link' import Layout from '../components/Layout' const AboutPage: NextPage = () => ( <Layout title="About | Next.js + Temporal Example"> <h1>About</h1> <p>This is the about page</p> <p> <Link href="/"> <a>Go home</a> </Link> ...
zeit/next.js
examples/with-temporal/pages/about.tsx
TypeScript
mit
368
class TodoListsController < ApplicationController before_action :require_user before_action :set_todo_list, only: %i[edit update destroy email] before_action :set_back_link, except: %i[index show] def index @todo_lists = current_user.todo_lists end def show; end def new @todo_list = current_use...
kirbrown/od-ot
app/controllers/todo_lists_controller.rb
Ruby
mit
1,619
jQuery(document).ready(function($) { var $start_date = $("#podlove_season_start_date") $start_date.datepicker({ dateFormat: $.datepicker.ISO_8601, changeMonth: true, changeYear: true }); $start_date.closest("div").on("click", function() { $start_date.datepicker("show"); }); });
katrinleinweber/podlove-publisher
lib/modules/seasons/js/admin.js
JavaScript
mit
311
<?php /* * This file is part of the Elcodi package. * * Copyright (c) 2014-2015 Elcodi.com * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * Feel free to edit as you please, and have fun. * * @author Marc Morera <yuhu@mmoreram.c...
shopery/elcodi
src/Elcodi/Component/Tax/Factory/TaxFactory.php
PHP
mit
1,124
/** * The MIT License (MIT) * * Copyright (c) 2014-2016 Yegor Bugayenko * * 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 ...
dalifreire/takes
src/main/java/org/takes/facets/fork/TkMethods.java
Java
mit
1,835
<div> <div id="dashboard-main"> <!-- <form id="create_note" class="form-horizontal" method="post" action="<?= site_url('api/create_note') ?>"> <div class="input-append"> <input tabindex="1" type="text" name="title" placeholder="Note Title" /> <input tabindex="3" ty...
digimark1/trackngo-dash
application/views/customer/customer_view.php
PHP
mit
8,679
namespace PlugInDemo { public class PlugInDemoConsts { public const string LocalizationSourceName = "PlugInDemo"; } }
s-takatsu/aspnetboilerplate-samples
PlugInDemo/PlugInDemo.Core/PlugInDemoConsts.cs
C#
mit
140
/*jshint laxbreak:true */ var assert = require('assert'); var metadata = require('./index'); describe('metadata.cmd()', function() { it('returns command without exif data', function() { var cmd = 'identify -format "name=\nsize=%[size]\nformat=%m\n' + 'colorspace=%[colorspace]\nheight=%[height]\nwidt...
Turistforeningen/node-im-metadata
test.js
JavaScript
mit
4,447
<?php use miloschuman\highcharts\Highcharts; use yii\web\JsExpression; use yii\data\SqlDataProvider; use yii\grid\GridView; use app\models\Cashbook; $this->title = 'Economizzer'; $this->title = Yii::t('app', 'Overview'); ?> <div class="dashboard-index"> <div class="row"> <div class="col-md-6"><?php echo $this->...
squatteur/economizzer
views/dashboard/overview.php
PHP
mit
7,769
// *********************************************************************** // Copyright (c) 2009 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 restr...
jadarnel27/nunit
src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs
C#
mit
4,211
module.exports = { "sha": "6d1fd68d5d273f6c46113f5843731131ad226d64", "name": "numenta/experiments", "target_url": "https://travis-ci.org/numenta/experiments", "description": "NuPIC Status: Travis CI build has not started.", "state": "pending", "branches": [], "commit": { "sha": "6d1...
brev/nupic.tools
test/github_payloads/status_nupic_pending.js
JavaScript
mit
10,928
<?php declare(strict_types=1); /** * This file is part of the Zephir. * * (c) Phalcon Team <team@zephir-lang.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Extension; use PHPUnit\Framework\TestCase; use Stub\Oo\...
phalcon/zephir
tests/Extension/DynamicPropTest.php
PHP
mit
1,941
export interface Point { left: number top: number } export interface Rect { left: number right: number top: number bottom: number } export function pointInsideRect(point: Point, rect: Rect): boolean { return point.left >= rect.left && point.left < rect.right && point.top >= rect.top && point...
fullcalendar/fullcalendar
packages/common/src/util/geom.ts
TypeScript
mit
1,786
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('./chunk-14c82365.js'); require('./helpers.js'); require('./chunk-cd0dcc1d.js'); require('./chunk-d7fda995.js'); var __chunk_5 = require('./chunk-13e039f5.js'); var __chunk_19 = require('./chunk-3b860353.js'); // var script = { na...
cdnjs/cdnjs
ajax/libs/buefy/0.8.20/cjs/message.js
JavaScript
mit
2,270
/// <reference path="./subject.ts" /> var Rx; (function (Rx) { })(Rx || (Rx = {})); (function () { var s = new Rx.AnonymousSubject(); }); //# sourceMappingURL=anonymoussubject.js.map
cyberpuffin/remanddel
node_modules/lite-server/node_modules/browser-sync/node_modules/rx/ts/core/subjects/anonymoussubject.js
JavaScript
mit
186
/** * @license Highcharts JS v8.2.2 (2020-10-22) * * Marker clusters module for Highcharts * * (c) 2010-2019 Wojciech Chmiel * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module...
cdnjs/cdnjs
ajax/libs/highcharts/8.2.2/modules/marker-clusters.src.js
JavaScript
mit
81,899
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
openhab/openhab2
bundles/org.openhab.binding.milight/src/main/java/org/openhab/binding/milight/internal/handler/AbstractLedV3Handler.java
Java
epl-1.0
2,556
package de.desy.language.snl.parser.parser; import java.util.regex.Matcher; import de.desy.language.snl.codeElements.PredefinedTypes; import de.desy.language.snl.parser.Interval; import de.desy.language.snl.parser.nodes.VariableNode; public class VariableParser extends AbstractOptimizedStatementParser<Variab...
ControlSystemStudio/cs-studio
applications/snl/snl-plugins/de.desy.language.snl/src/de/desy/language/snl/parser/parser/VariableParser.java
Java
epl-1.0
1,943
/* * Copyright (c) 2013 Cisco Systems, Inc. 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, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
yuyf10/opendaylight-controller
opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/notify/NotificationPublishService.java
Java
epl-1.0
1,374
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
sistanlp/banner
src/main/java/edu/umass/cs/mallet/base/types/RankedFeatureVector.java
Java
epl-1.0
6,418
/***************************************************************************** * Copyright (c) 2011-2012 CEA LIST. * * 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, and is available at ...
bmaggi/Papyrus-SysML11
tests/org.eclipse.papyrus.sysml.diagram.blockdefinition.tests/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/tests/creation/custom/TestNodeCreationOnPrimitiveType.java
Java
epl-1.0
6,518
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
davidfestal/che
wsmaster/che-core-api-factory/src/main/java/org/eclipse/che/api/factory/server/urlfactory/DefaultFactoryUrl.java
Java
epl-1.0
1,696
/** */ package org.dawnsci.marketplace; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Platform</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> *...
Itema-as/eclipse-marketplace-server
org.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/Platform.java
Java
epl-1.0
1,303
/* * Copyright (c) 2015 Cisco Systems, Inc. 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, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org...
Johnson-Chou/test
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RemoveServer.java
Java
epl-1.0
941
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
openhab/openhab2
bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/conformity/negate/NegateBitParser.java
Java
epl-1.0
2,138
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
clulab/banner
src/main/java/edu/umass/cs/mallet/base/pipe/Directory2FileIterator.java
Java
epl-1.0
2,241
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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, and i...
css-iter/cs-studio
applications/display/display-plugins/org.csstudio.display.pace/src/org/csstudio/display/pace/model/ModelListener.java
Java
epl-1.0
889
package edu.umass.cs.mallet.base.types; import edu.umass.cs.mallet.base.util.PropertyList; /** * Author: saunders Created Nov 15, 2005 Copyright (C) Univ. of Massachusetts Amherst, Computer Science Dept. */ public interface PropertyHolder { public void setProperty(String key, Object value); public Object getProp...
clulab/banner
src/main/java/edu/umass/cs/mallet/base/types/PropertyHolder.java
Java
epl-1.0
846
/*************************************************************************\ * Copyright (c) 2010 UChicago Argonne, LLC * This file is distributed subject to a Software License Agreement found * in the file LICENSE that is included with this distribution. /***************************************************************...
ControlSystemStudio/cs-studio
applications/opibuilder/opibuilder-plugins/org.csstudio.opibuilder.adl2boy/src/org/csstudio/opibuilder/adl2boy/translator/StripChart2Model.java
Java
epl-1.0
1,045
/******************************************************************************* * Copyright (c) 2004, 2008 Actuate Corporation. * 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, and is a...
sguan-actuate/birt
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/MergedAggregationResultSet.java
Java
epl-1.0
7,888
<?php /* Plugin Name: Olark for WP Plugin URI: http://www.burningpony.com/blog/portfolio/olark-for-wp/ Description: A plugin that allows website authors to easily place a <a href="http://www.olark.com/">Olark</a> live help widget on their wpwebsite. Version: 2.5.1 Author: Russell Osborne Author URI: http://www.burningp...
rku4er/equinoxe-wordpress
wp-content/plugins/olark-for-wp/olark-for-wp.php
PHP
gpl-2.0
11,747
<h4 class="calp-section-title"><?php _e( 'Organizer contact info', CALP_PLUGIN_NAME ); ?></h4> <table class="calp-form"> <tbody> <tr> <td class="calp-first"> <label for="calp_contact_name"> <?php _e( 'Contact name:', CALP_PLUGIN_NAME ); ?> </label> </td> <td> <input type="text" name="calp_c...
SergL/aboutttango
wp-content/plugins/calpress-event-calendar/app/view/box_event_contact.php
PHP
gpl-2.0
955
<?php /** * Render plugin about Page. * */ class BackWPup_Page_About { /** * Enqueue style. * * @return void */ public static function admin_print_styles() { ?> <style type="text/css" media="screen"> #backwpup-page { background: #fff; margin-top: 22px; padding: 0 20px; } #backwpu...
kuzovkov/wp1
wp-content/plugins/backwpup/inc/class-page-about.php
PHP
gpl-2.0
24,971
/*PGR Copyright (c) 2015 Celia Virginia Vergara Castillo vicky_vergara@hotmail.com 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 vers...
Zia-/pgrouting
src/ksp/src/ksp_driver.cpp
C++
gpl-2.0
4,199
import sys, os if os.path.isfile("/usr/lib/enigma2/python/enigma.zip"): sys.path.append("/usr/lib/enigma2/python/enigma.zip") from Tools.Profile import profile, profile_final profile("PYTHON_START") import Tools.RedirectOutput import enigma import eConsoleImpl import eBaseImpl from boxbranding import getBoxType enig...
popazerty/test
mytest.py
Python
gpl-2.0
17,270
#include "mpi.h" #include "petsc.h" #include "sys.h" #include "parUtils.h" #include "TreeNode.h" #include "oda.h" #include <cstdlib> #include "colors.h" #include "externVars.h" #include "dendro.h" //Don't want time to be synchronized. Need to check load imbalance. #ifdef MPI_WTIME_IS_GLOBAL #undef MPI_WTIME_IS_GLOBAL...
hsundar/dendro
examples/src/drivers/dumpMesh.C
C++
gpl-2.0
8,933
/** ******************************************************************************* * Copyright (C) 1996-2006, International Business Machines Corporation and * * others. All Rights Reserved. * **************************************************************************...
AdmireTheDistance/android_libcore
luni/src/main/java/java/nio/charset/CharsetEncoderICU.java
Java
gpl-2.0
9,977
<?php /** * * @package phpBB Extension - tas2580 Social Media Buttons * @copyright (c) 2014 tas2580 (https://tas2580.net) * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * Perisan Translator: Meis@M noubari from php-bb.ir * */ /** * DO NOT CHANGE */ if (!defined('IN_PHPBB')) { exit;...
sukutforum/phpBB-3.1-Social-Media-Buttons
language/fa/info_acp_socialmedia.php
PHP
gpl-2.0
1,196
<?php if(!is_singular()) : ?> <?php $post_image_size = of_get_option('post_image_size'); ?> <?php if($post_image_size=='' || $post_image_size=='normal'){ ?> <?php if(has_post_thumbnail()) { ?> <div class="featured-thumbnail thumbnail norm"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('medium'); ...
FelixNong1990/andy
wp-content/themes/BUZZBLOG-theme/includes/post-formats/post-thumb.php
PHP
gpl-2.0
1,297
/* * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
kldxzzhc2/KLDXZZHC_TRINITY_CORE
src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp
C++
gpl-2.0
6,405