repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
SpongeHistory/SpongeAPI-History | src/main/java/org/spongepowered/api/entity/living/golem/IronGolem.java | 1920 | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | mit |
MentorSoftwareLtdTemp/courses | javascript/angularapp/public/javascripts/directives/app-version.js | 228 | define(['./module'], function (directives) {
'use strict';
directives.directive('appVersion', ['version', function (version) {
return function (scope, elm) {
elm.text(version);
};
}]);
}); | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb | 4579 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2017_10_01
module Models
#
# VpnClientConfiguration for P2S client.
#
class VpnClientConfiguration
in... | mit |
JoseHerminioCollas/octogoat-client | src/goatstone/octogoat/services/message.service.ts | 1006 | import { Injectable } from '@angular/core'
import { Http, Response } from '@angular/http'
import { Headers, RequestOptions } from '@angular/http'
import { Observable } from 'rxjs'
import 'rxjs/add/operator/map'
import 'rxjs/add/operator/toPromise'
@Injectable()
export class MessageService {
constructor(private htt... | mit |
sav007/apollo-android | apollo-runtime/src/main/java/com/apollographql/apollo/cache/normalized/RecordSet.java | 749 | package com.apollographql.apollo.cache.normalized;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
public final class RecordSet {
private final Map<String, Record> recordMap = new LinkedHashMap<>();
public Record get(String k... | mit |
terzerm/mmap | mmap-region/src/main/java/org/tools4j/mmap/region/impl/AsyncAtomicStateMachineRegion.java | 8082 | /**
* The MIT License (MIT)
*
* Copyright (c) 2016-2018 mmap (tools4j), Marco Terzer, Anton Anufriev
*
* 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 wi... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-08-01/generated/azure_mgmt_network/models/vpn_server_config_radius_server_root_certificate.rb | 1605 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2019_08_01
module Models
#
# Properties of Radius Server root certificate of VpnServerConfiguration.
#
class... | mit |
NirBenTalLab/proorigami-cde-package | cde-root/usr/local/apps/inkscape/share/inkscape/extensions/webbrowser_commandline.py | 102 | #!/usr/bin/env python
import webbrowser
webbrowser.open("http://inkscape.org/doc/inkscape-man.html")
| mit |
mondora/asteroid-redux-mixin | src/handlers/subscriptions.js | 506 | import AsteroidError from "../common/asteroid-error";
import {start, ready, stop, fail} from "../private-actions/subscriptions";
export function subscribe (asteroid, dispatch, [name, ...args]) {
dispatch(start(name));
asteroid.subscribe(name, ...args)
.on("ready", () => dispatch(
ready(name... | mit |
gdpelican/babble | app/models/notification.rb | 241 | class ::Notification
@@visible_scope = method(:visible).clone
scope :visible, -> { @@visible_scope.call.where('topics.archetype <> ?', Archetype.chat) }
scope :babble, -> { joins(:topic).where("topics.archetype": Archetype.chat) }
end
| mit |
MinexAutomation/Public | Source/Experiments/CSharp/ExaminingClasses/ExaminingClasses.Lib/Code/Classes/DefaultConstructorClass.cs | 410 | using System;
namespace ExaminingClasses.Lib
{
/// <summary>
/// A class with a default constructor.
/// </summary>
public class DefaultConstructorClass
{
public int Value1 { get; set; }
public int Value2 { get; set; }
public DefaultConstructorClass()
... | mit |
Superbalist/laravel-zendesk | src/ZendeskServiceProvider.php | 843 | <?php
namespace Superbalist\Zendesk;
use Illuminate\Support\ServiceProvider;
use Zendesk\API\HttpClient as ZendeskAPI;
class ZendeskServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
*/
public function register()
{
$this->app->bind('zendesk', function () {
... | mit |
ndoit/fenrir | app/jobs/serialize_jobs/serialize_collections_job.rb | 148 | require "#{Rails.root}/app/jobs/serialize_job.rb"
class SerializeCollectionsJob < SerializeJob
def self.serialize_model
Collection
end
end
| mit |
xiaotie/GebImage | src/Geb.Image/UnmanagedImage/Utils/ImageReader.cs | 2077 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Geb.Image
{
using Geb.Image.Formats.Jpeg;
using Geb.Image.Formats.Png;
using Geb.Image.Formats.Bmp;
using Geb.Image.Formats;
public class UnsupportedImageFormatException: Exception
{
public U... | mit |
maurodelazeri/shiva-server | docs/conf.py | 8216 | # -*- coding: utf-8 -*-
#
# Shiva documentation build configuration file, created by
# sphinx-quickstart on Thu Aug 28 20:44:26 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All... | mit |
emoon/ProDBG | src/addons/amiga/vamiga/Emulator/Agnus/Agnus.cpp | 33682 | // -----------------------------------------------------------------------------
// This file is part of vAmiga
//
// Copyright (C) Dirk W. Hoffmann. www.dirkwhoffmann.de
// Licensed under the GNU General Public License v3
//
// See https://www.gnu.org for license information
// ----------------------------------------... | mit |
sportsbet/Jobbie | Src/Jobbie.Sample.Scheduler.Host/Infrastructure/Hypermedia/JobAppender.cs | 1477 | using System.Collections.Generic;
using System.Linq;
using Jobbie.Sample.Scheduler.Contracts.Api;
using Jobbie.Sample.Scheduler.Host.Infrastructure.Versioning;
using WebApi.Hal;
namespace Jobbie.Sample.Scheduler.Host.Infrastructure.Hypermedia
{
internal sealed class JobAppender : IHypermediaAppender<Job>
{
... | mit |
GenePeeks/biorest | biorest/basespace.py | 8698 | try:
from urllib.parse import urlencode
except ImportError:
from urllib import urlencode
from .client import RestClient
class BasespaceRestClient(RestClient):
def __init__(self, api_key=None, api_host=None, api_root=None, requests_per_sec=15):
super(BasespaceRestClient, self).__init__(api_host=a... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb | 111424 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::EventHub::Mgmt::V2018_01_01_preview
#
# Azure Event Hubs client for managing Event Hubs Cluster, IPFilter Rules and
# VirtualNetworkRule... | mit |
allanfish/facetime | facetime-utils/src/main/java/com/facetime/core/coercion/CompondCoercionTuple.java | 1216 | package com.facetime.core.coercion;
/**
* 可以结合两个coercion元组创建一个媒介 coercion元组<>p</>
* 就是说如果存在 A->B B->C 那么 自动存在 A->C
* TODO: 因为转换框架调整 暂未没实现 有需求时候再说
*
* @param <S> The source (input) type
* @param <I> The intermediate type
* @param <T> The target (output) type
* @author dzb2k9
*/
public class CompondCoercionTup... | mit |
David-Brown1234/powcoin | src/qt/splashscreen.cpp | 2046 | // Copyright (c) 2011-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 "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QPainter>
#undef loop /* ugh, remove this wh... | mit |
MobleyLab/alchemical-analysis | alchemical_analysis/alchemical_analysis.py | 62295 | #!/usr/bin/env python
######################################################################
# Alchemical Analysis: An open tool implementing some recommended practices for analyzing alchemical free energy calculations
# Copyright 2011-2015 UC Irvine and the Authors
#
# Authors: Pavel Klimovich, Michael Shirts and Dav... | mit |
SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/IFundingPeriod.cs | 232 | using System;
namespace SFA.DAS.CommitmentsV2.Models
{
public interface IFundingPeriod
{
DateTime? EffectiveFrom { get; set; }
DateTime? EffectiveTo { get; set; }
int FundingCap { get; set; }
}
} | mit |
murex/murex-coding-dojo | Paris/2015/2015-03-26-Countdown-Randori-Ruby-Python/test_hiker.py | 1077 | import hiker
import operator
#def test_acceptance_test():
# '''Acceptance test'''
# numbers = [100, 5, 5, 2, 6, 8]
# target = 522
# result, calc = hiker.countdown(numbers, target)
# assert result == target
def test_one_plus_two():
numbers = [100, 1, 5, 2, 6, 8]
target = 3
calc = hiker.countd... | mit |
scottwernervt/ember-cli-group-by | tests/dummy/app/controllers/application.js | 1084 | import { A as emberA } from '@ember/array';
import Controller from '@ember/controller';
import { groupByPath } from 'ember-cli-group-by/macros';
export default Controller.extend({
single: emberA([
{ name: '1', category: new Date(2018, 3, 7), },
{ name: '2', category: new Date(2018, 11, 23), },
{ name: ... | mit |
jdrda/olapus | resources/views/admin/modules/pagecategory/create_edit.blade.php | 3816 | @extends('admin.master')
@section('page-name', trans($moduleNameBlade . '.name') )
@section('page-icon', 'fa fa-object-group')
@section('page-description', trans($moduleNameBlade . '.description'))
@section('delete_confirmation_text', trans($moduleNameBlade . '.delete_row_confirmation'))
@section('menu-class-publ... | mit |
samurai-fw/samurai | src/Onikiri/Criteria/WhereConditionValue.php | 2993 | <?php
/**
* The MIT License
*
* Copyright (c) 2007-2013, Samurai Framework Project, 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, includin... | mit |
mohlendo/mohlendo.github.com | jangaroo/lsystem/joo/classes/flashx/textLayout/elements/ContainerFormattedElement.js | 604 | joo.classLoader.prepare("package flashx.textLayout.elements",/* {*/
/**
* ContainerFormattedElement is the root class for all container-level block elements, such as DivElement and TextFlow objects. Container-level block elements are grouping elements for other FlowElement objects.
* <p>Default MXML Property<code>m... | mit |
Oiawesome/Final-OM-Serv | mods/kalos2beta3/abilities.js | 5984 | exports.BattleAbilities = {
"corrosivepoison": {
desc: "This Pokemon has the ability to hit Steel-type Pokemon super effectively with Poison-type moves. Effectiveness of these moves takes into account the Steel-type Pokemon's other weaknesses and resistances.",
shortDesc: "This P... | mit |
david942j/one_gadget | lib/one_gadget/builds/libc-2.19-5a7a0413044f37bc4096c7bc4c33d1ea6880d856.rb | 2244 | require 'one_gadget/gadget'
# https://gitlab.com/david942j/libcdb/blob/master/libc/libc6-amd64-2.19-20/lib64/libc-2.19.so
#
# Advanced Micro Devices X86-64
#
# GNU C Library (Debian GLIBC 2.19-20) stable release version 2.19, by Roland McGrath et al.
# Copyright (C) 2014 Free Software Foundation, Inc.
# This is free ... | mit |
moodmosaic/Fare | Src/Fare/ListEqualityComparer.cs | 2444 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Fare
{
internal sealed class ListEqualityComparer<T> : IEqualityComparer<List<T>>, IEquatable<ListEqualityComparer<T>>
{
/// <summary>
/// Implements the operator ==.
/// </summary>
/// <param name="l... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/object_type.rb | 457 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::DataMigration::Mgmt::V2018_03_31_preview
module Models
#
# Defines values for ObjectType
#
module ObjectType
StoredPro... | mit |
geekan/psu | psu/__init__.py | 19 |
from psu import *
| mit |
djp952/build-tools | mkversion/TemplateVBCode.cs | 1800 | //-----------------------------------------------------------------------------
// Copyright (c) 2019 Michael G. Brehm
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrict... | mit |
singram/cucumber_rake_runner | features/support/env.rb | 31 | require 'cucumber_rake_runner'
| mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_kusto/lib/2019-09-07/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb | 1773 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Kusto::Mgmt::V2019_09_07
module Models
#
# The result returned from a data connections check name availability
# request.
#
... | mit |
hemerajs/hemera | packages/hemera/lib/configScheme.js | 3301 | const Joi = require('joi')
const Os = require('os')
const { Stream } = require('stream')
const Util = require('./util')
module.exports = Joi.object().keys({
// Max execution time of a request
timeout: Joi.number()
.integer()
.default(2000),
// The number of millis to wait a plugin to load after which it ... | mit |
kmc7468/Luce | Include/Luce/Configuration/Platform/Linux-Header.hh | 267 | #ifndef LUCE_HEADER_CONFIGURATION_PLATFORM_LINUX_HEADER_HH
#define LUCE_HEADER_CONFIGURATION_PLATFORM_LINUX_HEADER_HH
#if !defined(LUCE_CONFIG_PLATFORM) || LUCE_CONFIG_PLATFORM != LUCE_CONFIG_LINUX
#error It can be included only on the Linux platform.
#endif
#endif | mit |
david942j/one_gadget | lib/one_gadget/builds/libc-2.19-33adc3316a61d4db3e78e167be8f2d1c8b4a0474.rb | 2218 | require 'one_gadget/gadget'
# https://gitlab.com/david942j/libcdb/blob/master/libc/libc6-i686-2.19-1/lib/i386-linux-gnu/i686/cmov/libc-2.19.so
#
# Intel 80386
#
# GNU C Library (Debian EGLIBC 2.19-1) stable release version 2.19, by Roland McGrath et al.
# Copyright (C) 2014 Free Software Foundation, Inc.
# This is fr... | mit |
meedan/check-api | app/graph/mutations/account_mutations.rb | 184 | module AccountMutations
update_fields = {
refresh_account: 'int'
}
Create, Update, Destroy = GraphqlCrudOperations.define_crud_operations('account', {}, update_fields)
end
| mit |
ToTypeScriptD/ToTypeScriptD | src/ToTypeScriptD.Core/DotNet/TypeWriterBase.cs | 6349 | using Mono.Cecil;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ToTypeScriptD.Core.TypeWriters;
namespace ToTypeScriptD.Core.DotNet
{
public abstract class TypeWriterBase : ITypeWriter
{
public TypeDefinition TypeDefinition { get; set; }
... | mit |
mytholog/aimage | thumbnail.php | 1942 | <?php
include __DIR__ . '/common.php';
// Create worker class and bind the inbound address to 'THUMBNAIL_ADDR' and connect outbound to 'COLLECTOR_ADDR'
$worker = new Worker (THUMBNAIL_ADDR, COLLECTOR_ADDR);
// Register our thumbnail callback, nothing special here
$worker->register ('thumbnail', function ($filename, $... | mit |
indigophp/hydra | src/Hydrator/Generated/PropertyAccessor.php | 1440 | <?php
/*
* This file is part of the Indigo Hydra package.
*
* (c) Indigo Development Team
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Indigo\Hydra\Hydrator\Generated;
use CodeGenerationUtils\Inflector\Util\UniqueId... | mit |
vkolova/bgscena | wp-content/themes/Activello-master/inc/js/new-posts.js | 683 | /* New posts */
(function($) {
$( "#have_seen" ).live( "click", function() {
var last_date_recorded = 0,
inputs = {}, post_data;
/* Default POST values */
object = '';
item_id = 87123;
content = "VIDQNA E";
firstrow = "HELLO";
activity_row = firstrow;
timestamp = null;
post_data = $.extend( {
action: 'p... | mit |
docker-client/docker-engine | engine/src/main/java/de/gesellix/docker/engine/DockerEnv.java | 5189 | package de.gesellix.docker.engine;
import java.io.File;
/**
* Configuration via environment variables should work like
* described in the official <a href="https://docs.docker.com/engine/reference/commandline/cli/#environment-variables">cli docs</a>.
*/
public class DockerEnv {
private String dockerHost;
pri... | mit |
live-js/drum | archive/helpers.js | 533 | //region Imports
const fs = require('fs')
const glob = require('glob')
const flatten = require('flat')
//const mock = require('mock-fs')
//const cwd = require('cwd')
//endregion
function dir(obj) {
return Object.keys(flatten(obj, {delimiter: '/'}))
}
export async function checkOutputFiles(expectedTree) {
const ex... | mit |
SciMed/viewy | spec/models/view_dependency_spec.rb | 308 | require 'rails_helper'
describe Viewy::Models::ViewDependency do
describe 'columns' do
it { is_expected.to have_db_column(:view_name).of_type(:text) }
it { is_expected.to have_db_column(:materialized_view).of_type(:boolean) }
it { is_expected.to have_db_column(:view_dependencies) }
end
end
| mit |
5orenso/node-express-boilerplate | app/routes/get-markdown.js | 869 | /*
* https://github.com/5orenso
*
* Copyright (c) 2018 Øistein Sørensen
* Licensed under the MIT license.
*/
'use strict';
const fs = require('fs');
const util = require('../../lib/utilities');
const Markdown = require('../../lib/markdown');
function readFile(file) {
return new Promise((resolve, reject) => {
... | mit |
bcoe/karait | examples/benchmark/writer.rb | 435 | require 'rubygems'
require 'karait'
puts 'Starting ruby writer.'
messages_written = 0
start = Time.new.to_f
queue = Karait::Queue.new
while true
queue.write({
'messages_written' => messages_written,
'sender' => 'writer.rb',
'started_running' => start,
'messages_written_per_second'... | mit |
JumpMaster/SparkSofa | SofaFirmware/src/DiagnosticsHelperRK.cpp | 1583 | #include "DiagnosticsHelperRK.h"
// Location: https://github.com/rickkas7/DiagnosticsHelperRK
// License: MIT
// [static]
int32_t DiagnosticsHelper::getValue(uint16_t id) {
// Only available in system firmware 0.8.0 and later!
struct Data {
union {
struct __attribute__((packed)) {
uint16_t idSize;
... | mit |
alanflorendo/oscaria | app/controllers/ballots_controller.rb | 923 | class BallotsController < ApplicationController
def index
@ballots = Ballot.all.sort_by(&:score).reverse
end
def show
@ballot = Ballot.find(params[:id])
@categories = @ballot.categories
end
def new
@ballot = Ballot.new(contest_id: current_contest_id)
@categories = @ballot.contest.categor... | mit |
jeff-tassin/locker | src/main/java/com/jeta/locker/config/AppProperties.java | 3194 | package com.jeta.locker.config;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import com.jeta.locker.common.FileUtils;
import com.jeta.locker.common.LockerException;
imp... | mit |
ShinyLeee/meteor-album-app | imports/api/api/accounts.js | 2407 | import includes from 'lodash/includes';
import { Meteor } from 'meteor/meteor';
import { Accounts } from 'meteor/accounts-base';
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
import { DDPRateLimiter } from 'meteor/ddp-rate-limiter';
if (Meteor.isServer) {
Meteor.methods({
'Accounts.createUser': fun... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2020-08-01/generated/azure_mgmt_network/models/vpn_packet_capture_start_parameters.rb | 1223 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2020_08_01
module Models
#
# Start packet capture parameters on virtual network gateway.
#
class VpnPacketCa... | mit |
ikr/composer | src/Composer/Repository/Vcs/GitDriver.php | 7486 | <?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Repository\Vcs;
use Composer\Js... | mit |
kaliberjs/build | example/src/test.mjml.js | 164 | export default (
<mjml>
<mj-head />
<mj-body>
<mj-container>
<mj-section>Text</mj-section>
</mj-container>
</mj-body>
</mjml>
)
| mit |
zertico/softlayer | lib/softlayer/account/link/bluemix.rb | 738 | module Softlayer
class Account
class Link
class Bluemix < Softlayer::Account::Link
SERVICE = 'SoftLayer_Account_Link_Bluemix'
def get_account
request(:get_account, Softlayer::Account)
end
def get_object
request(:get_object, Softlayer::Account::Link::Blue... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-11-01/generated/azure_mgmt_network/models/express_route_gateway.rb | 5124 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Network::Mgmt::V2019_11_01
module Models
#
# ExpressRoute gateway resource.
#
class ExpressRouteGateway < Resource
in... | mit |
tsechingho/authlogic_bundle | config/initializers/config_loader.rb | 738 | def load_yaml_file(file, &block)
if File.exist? file
config = YAML::load_file(file)
if config.is_a?(Hash) && config.has_key?(Rails.env)
setting = config[Rails.env].each do |k, v|
v.symbolize_keys! if v.respond_to? :symbolize_keys!
end
yield setting if block_given?
end
end
end
... | mit |
tooleks/photo-blog | app/resources/js/directives/Focus.js | 76 | export default {
inserted(element) {
element.focus();
},
};
| mit |
iammordaty/assistant | src/Assistant/Module/Collection/Extension/Finder.php | 4042 | <?php
namespace Assistant\Module\Collection\Extension;
use Countable;
use IteratorAggregate;
use SplFileInfo;
use Symfony\Component\Finder\Finder as Service;
use Symfony\Component\Finder\Iterator\FileTypeFilterIterator;
final class Finder implements IteratorAggregate, Countable
{
public const MODE_DI... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/9.2.1/es-modules/masters/modules/funnel3d.src.js | 549 | /**
* @license Highcharts JS v9.2.1 (2021-08-19)
* @module highcharts/modules/funnel3d
* @requires highcharts
* @requires highcharts/highcharts-3d
* @requires highcharts/modules/cylinder
*
* Highcharts funnel module
*
* (c) 2010-2021 Kacper Madej
*
* License: www.highcharts.com/license
*/
'use strict';
impo... | mit |
typewriter/Asn1PKCS | Asn1PKCSTest/Properties/AssemblyInfo.cs | 621 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから
// 参照できなくなります。このアセンブリ内で COM から型にアクセスする必要がある場合は、
// その型の ComVisible 属性を true に設定してください。
[assembly: ComVisible(false)]
// このプロジェクトが COM に公開される場合、次の GUID が typ... | mit |
meedan/check-api | data/ar-TD/plurals.rb | 71 | { :'ar_TD' => { :i18n => { :plural => { :keys => nil, :rule => } } } } | mit |
vanncho/SoftUni-Entrance-Exam-Prepare | 076.Budget/Properties/AssemblyInfo.cs | 1396 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("07... | mit |
h2r/great-ardrones | scripts/go_up.py | 281 | from rospy import init_node, Subscriber, spin, Publisher, Time
from geometry_msgs.msg import Twist, PoseStamped
init_node('go_up')
TWIST_PUB = Publisher('/cmd_vel', Twist, queue_size=1)
while True:
message = Twist()
message.linear.z = 5.0
TWIST_PUB.publish(message)
| mit |
shigemk2/haskell_abc | merge.rb | 1334 | # -*- coding: utf-8 -*-
def mergesort lst
return _mergesort_ lst.dup # 副作用で配列が壊れるので、複製を渡す
end
def _mergesort_ lst
if (len = lst.size) <= 1 then
return lst
end
# pop メソッドの返す値と副作用の両方を利用して、lst を二分する
lst2 = lst.pop(len >> 1)
return _merge_(_mergesort_(lst), _mergesort_(lst2))
end
de... | mit |
gillett-hernandez/project-euler | C++/problem15.cpp | 536 | /*
* @Author: Gillett Hernandez
* @Date: 2016-10-09 00:46:59
* @File name: problem15.cpp
* @Last Modified by: Gillett Hernandez
* @Last Modified time: 2016-10-09 18:01:38
*/
#include <iostream>
using namespace std;
long count_paths(int n) {
long p = 1;
for (int i = 1; i <= n; i++) {
p = ((n+i)*p)... | mit |
cdnjs/cdnjs | ajax/libs/highcharts/8.0.0/modules/sunburst.src.js | 131546 | /**
* @license Highcharts JS v8.0.0 (2019-12-10)
*
* (c) 2016-2019 Highsoft AS
* Authors: Jon Arild Nygard
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;... | mit |
cdnjs/cdnjs | ajax/libs/vue-meta/2.1.1/vue-meta.js | 42603 | /**
* vue-meta v2.1.0
* (c) 2019
* - Declan de Wet
* - Sébastien Chopin (@Atinux)
* - All the amazing contributors
* @license MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(... | mit |
cdnjs/cdnjs | ajax/libs/jqwidgets/10.1.2/jqwidgets-ts/angular_jqxdockpanel.ts | 5453 | /*
jQWidgets v10.1.2 (2020-Sep)
Copyright (c) 2011-2020 jQWidgets.
License: https://jqwidgets.com/license/
*/
/* eslint-disable */
/// <reference path="jqwidgets.d.ts" />
import '../jqwidgets/jqxcore.js';
import '../jqwidgets/jqxdockpanel.js';
import { Component, Input, Output, EventEmitter, ElementRef, OnChan... | mit |
cdnjs/cdnjs | ajax/libs/hls.js/1.0.0-beta.2.0.canary.6658/hls.js | 945865 | typeof window !== "undefined" &&
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Hls"] = f... | mit |
cdnjs/cdnjs | ajax/libs/material-ui/4.11.0/esm/ExpansionPanel/ExpansionPanelContext.js | 379 | import * as React from 'react';
/**
* @ignore - internal component.
* @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
*/
var ExpansionPanelContext = /*#__PURE__*/React.createContext({});
if (process.env.NODE_ENV !== 'production') {
ExpansionPanelContext.displayName = 'Expan... | mit |
cdnjs/cdnjs | ajax/libs/numl/1.0.0-beta.19/dev/svg-96f59ea9.min.js | 688 | import{B as Behavior,S as Svg,E as svgElement,u as error}from"./index-6a06a0ad.js";import{f as fixSafariInvisibleContents}from"./browser-fixes-ad0e4ba1.js";class SvgBehavior extends Behavior{connected(){const t=this.host.getAttribute("src");t&&this.inject(t)}changed(t,e){this.isConnected&&"src"===t&&this.inject(e)}inje... | mit |
cdnjs/cdnjs | ajax/libs/hls.js/0.14.0-rc.2.0.alpha.5718/hls.js | 710256 | typeof window !== "undefined" &&
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Hls"] = f... | mit |
cdnjs/cdnjs | ajax/libs/numl/1.0.0-beta.14/dev/menu-8a505a82.js | 2540 | import { B as Behavior, d as deepQueryAll } from './index-c8e86d4d.js';
class MenuBehavior extends Behavior {
init() {
this.setContext('menu', this, true);
this._items = [];
this.on('keydown', this.onKeyDown.bind(this));
}
addItem(item) {
const items = this._items;
if (!items.includes(item... | mit |
cdnjs/cdnjs | ajax/libs/single-spa/5.9.2/es2015/single-spa.dev.js | 55270 | /* single-spa@5.9.2 - ES2015 - dev */
import { LOAD_ERROR as LOAD_ERROR$1 } from 'single-spa';
var singleSpa = /*#__PURE__*/Object.freeze({
__proto__: null,
get start () { return start; },
get ensureJQuerySupport () { return ensureJQuerySupport; },
get setBootstrapMaxTime () { return setBootstrapMaxTime; },
get s... | mit |
cdnjs/cdnjs | ajax/libs/gsap/3.9.1/ScrollToPlugin.js | 7900 | (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.window = global.window || {}));
}(this, (function (exports) { 'use strict';
/*!
* Sc... | mit |
lfreneda/cepdb | api/v1/03571160.jsonp.js | 155 | jsonp({"cep":"03571160","logradouro":"Rua J\u00falio Pontes","bairro":"Parque Savoy City","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/09230790.jsonp.js | 154 | jsonp({"cep":"09230790","logradouro":"Rua Te\u00f3filo Otoni","bairro":"Jardim Utinga","cidade":"Santo Andr\u00e9","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/30220345.jsonp.js | 138 | jsonp({"cep":"30220345","logradouro":"Beco Jacira","bairro":"Mar\u00e7ola","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/59070110.jsonp.js | 151 | jsonp({"cep":"59070110","logradouro":"Rua Belo Monte","bairro":"Cidade da Esperan\u00e7a","cidade":"Natal","uf":"RN","estado":"Rio Grande do Norte"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/17523680.jsonp.js | 146 | jsonp({"cep":"17523680","logradouro":"Rua Paula Brand\u00e3o","bairro":"Vila Real","cidade":"Mar\u00edlia","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/29314655.jsonp.js | 188 | jsonp({"cep":"29314655","logradouro":"Rua \u00c2ngela Maria Quinelato Sant' Ana","bairro":"S\u00e3o Geraldo","cidade":"Cachoeiro de Itapemirim","uf":"ES","estado":"Esp\u00edrito Santo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/66020800.jsonp.js | 146 | jsonp({"cep":"66020800","logradouro":"Alameda Ant\u00f4nio Neves","bairro":"Cidade Velha","cidade":"Bel\u00e9m","uf":"PA","estado":"Par\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/59628490.jsonp.js | 166 | jsonp({"cep":"59628490","logradouro":"Rua Vicente Eufr\u00e1sio","bairro":"Dom Jaime C\u00e2mara","cidade":"Mossor\u00f3","uf":"RN","estado":"Rio Grande do Norte"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/59088140.jsonp.js | 138 | jsonp({"cep":"59088140","logradouro":"Rua Itaguara","bairro":"Ne\u00f3polis","cidade":"Natal","uf":"RN","estado":"Rio Grande do Norte"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/02121000.jsonp.js | 143 | jsonp({"cep":"02121000","logradouro":"Rua Santo Eliseu","bairro":"Vila Maria","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/30230050.jsonp.js | 162 | jsonp({"cep":"30230050","logradouro":"Beco Eucal\u00edpto","bairro":"Nossa Senhora de F\u00e1tima","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/69050050.jsonp.js | 124 | jsonp({"cep":"69050050","logradouro":"Rua Cear\u00e1","bairro":"Chapada","cidade":"Manaus","uf":"AM","estado":"Amazonas"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/09015520.jsonp.js | 147 | jsonp({"cep":"09015520","logradouro":"Rua Onze de Junho","bairro":"Casa Branca","cidade":"Santo Andr\u00e9","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/06413140.jsonp.js | 134 | jsonp({"cep":"06413140","logradouro":"Rua Tamoio","bairro":"Vila Pindorama","cidade":"Barueri","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/31110340.jsonp.js | 134 | jsonp({"cep":"31110340","logradouro":"Rua Itabira","bairro":"Lagoinha","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/30640130.jsonp.js | 147 | jsonp({"cep":"30640130","logradouro":"Rua Cipriano de Carvalho","bairro":"Barreiro","cidade":"Belo Horizonte","uf":"MG","estado":"Minas Gerais"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/58417406.jsonp.js | 140 | jsonp({"cep":"58417406","logradouro":"Rua Raul Farias","bairro":"Santa Cruz","cidade":"Campina Grande","uf":"PB","estado":"Para\u00edba"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/78155638.jsonp.js | 139 | jsonp({"cep":"78155638","logradouro":"Rua Vit\u00f3ria","bairro":"Mapim","cidade":"V\u00e1rzea Grande","uf":"MT","estado":"Mato Grosso"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/80820250.jsonp.js | 141 | jsonp({"cep":"80820250","logradouro":"Rua Fauser Abdo Calil","bairro":"Vista Alegre","cidade":"Curitiba","uf":"PR","estado":"Paran\u00e1"});
| cc0-1.0 |
lfreneda/cepdb | api/v1/08122480.jsonp.js | 173 | jsonp({"cep":"08122480","logradouro":"Rua Diogo de Gouveia Os\u00f3rio","bairro":"Parque Santa Am\u00e9lia","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |
batoure/epargne | withdraw.php | 4748 | <?php
if ($_POST['submit']){
session_start();
include "class_lib.php";
include "classes/page.php";
}
include'classes/my_customers.php';
$List=new client();
if ($_POST['submit']){
$cid=$_POST['cid'];
$m=date(n,$_POST['date']);
$y=date(Y,$_POST['date']);
$List->query("SELE... | cc0-1.0 |
lfreneda/cepdb | api/v1/12215770.jsonp.js | 173 | jsonp({"cep":"12215770","logradouro":"Rua Jaspe","bairro":"Jardim S\u00e3o Jos\u00e9 Centro","cidade":"S\u00e3o Jos\u00e9 dos Campos","uf":"SP","estado":"S\u00e3o Paulo"});
| cc0-1.0 |