code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/** * @class elFinder command "places" * Regist to Places * * @author Naoki Sawada **/ elFinder.prototype.commands.places = function() { "use strict"; var self = this, fm = this.fm, filter = function(hashes) { return $.grep(self.files(hashes), function(f) { return f.mime == 'directory' ? true : false;...
TeamSPoon/logicmoo_workspace
docker/rootfs/var/www/html/ef/js/commands/places.js
JavaScript
mit
714
describe Appsignal::EventFormatter::Moped::QueryFormatter do let(:klass) { Appsignal::EventFormatter::Moped::QueryFormatter } let(:formatter) { klass.new } it "should register query.moped" do expect(Appsignal::EventFormatter.registered?("query.moped", klass)).to be_truthy end describe "#format" do l...
appsignal/appsignal
spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb
Ruby
mit
3,798
<a href='/admin'>Back</a> <hr/> <form action='/admin/update_contact' method='post'> <p>Name</p> <input type='text' name='ol_name' value='<?php echo $site->name ?>' class='form-control' required /> <p>Contact</p> <textarea class='form-control' name='ol_contact' rows=20 required><?php echo $site->contact ...
howtomakeaturn/design
application/views/admin/edit_contact.php
PHP
mit
402
import Ember from 'ember'; import TableBlock from '../views/table-block'; export default TableBlock.extend({ classNames: ['ember-table-header-block'], // TODO(new-api): Eliminate view alias itemView: 'header-row', itemViewClass: Ember.computed.alias('itemView'), content: Ember.computed(function() { retu...
Addepar/ember-table-addon
addon/views/header-block.js
JavaScript
mit
375
RSpec.describe StackMaster::PagedResponseAccumulator do let(:cf) { Aws::CloudFormation::Client.new } subject(:accumulator) { described_class.new(cf, :describe_stack_events, { stack_name: 'blah' }, :stack_events) } context 'with one page' do let(:page_one_events) { [ { event_id: '1', stack_id: '1', stac...
bulletproofnetworks/stack_master
spec/stack_master/paged_response_accumulator_spec.rb
Ruby
mit
1,354
package f5 import ( "encoding/json" "strings" ) type LBServerSsl struct { Name string `json:"name"` Partition string `json:"partition"` FullPath string `json:"fullPath"` Generation int `json:"generation"` UntrustedCertR...
ExpressenAB/bigip_exporter
vendor/github.com/pr8kerl/f5er/f5/server-ssl.go
GO
mit
4,187
<?php namespace Github\Tests\Integration; use Github\ResultPager; /** * @group integration */ class ResultPagerTest extends TestCase { /** * @test * * response in a search api has different format: * * { * "total_count": 1, * "incomplete_results": false, * "items": []...
KnpLabs/php-github-api
test/Github/Tests/Integration/ResultPagerTest.php
PHP
mit
757
from .models import Project,Member,Contact,Technology,Contributor from rest_framework import serializers class ContactSerializer(serializers.ModelSerializer): class Meta: model = Contact fields = ('name', 'link') class MemberSerializer(serializers.ModelSerializer): contacts = ContactSerializer...
o-d-i-n/HelloWorld
api/serializers.py
Python
mit
778
// Copyright (C) 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
moduloproject/massage-app
bower_components/google-code-prettify/src/lang-scala.js
JavaScript
mit
2,563
'use strict'; angular.module('myApp.viewPopular', ['ngRoute', 'movieApi']) .config(['$routeProvider', function ($routeProvider) { $routeProvider.when('/popular', { templateUrl: 'viewPopular/view1.html', controller: 'ViewPopularCtrl' }); }]) .c...
realalgorithmer/movies
app/viewPopular/view1.js
JavaScript
mit
3,803
fn main() { let moo = foo().bar().baz() <caret> }
d9n/intellij-rust
src/test/resources/org/rust/ide/formatter/fixtures/auto_indent/chain_call_after.rs
Rust
mit
58
#### Integrations ##### BMC Helix Remedyforce - Updated the Docker image to: *demisto/python3:3.9.7.24076*.
VirusTotal/content
Packs/BmcHelixRemedyForce/ReleaseNotes/1_0_8.md
Markdown
mit
108
E2.p = E2.plugins["assets_started_generator"] = function(core, node) { this.desc = 'Emits the current number of assets that have begun loading.'; this.input_slots = []; this.output_slots = [ { name: 'count', dt: core.datatypes.FLOAT, desc: 'Number of assets that have begun loading.' } ]; this.core = core; ...
engijs/engi
browser/plugins/assets_started_generator.plugin.js
JavaScript
mit
742
/* * Copyright (c) 2009, 2010, 2011, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. */ #include <stdl...
kishoredbn/barrelfish
usr/tests/bomptest/sync.c
C
mit
4,408
package org.ccci.gto.android.common.util; import android.os.Looper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.collection.LongSparseArray; import java.util.Map; public final class ThreadUtils { private ThreadUtils() {} public static void assertNotOnUiThread() { ...
CruGlobal/android-gto-support
gto-support-core/src/main/java/org/ccci/gto/android/common/util/ThreadUtils.java
Java
mit
1,565
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.keyvault.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import ja...
Azure/azure-sdk-for-java
sdk/resourcemanagerhybrid/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/models/KeyPermissions.java
Java
mit
3,010
package socks import ( _ "bufio" "errors" "io" "net" "strconv" "github.com/v2ray/v2ray-core" "github.com/v2ray/v2ray-core/common/log" v2net "github.com/v2ray/v2ray-core/common/net" protocol "github.com/v2ray/v2ray-core/proxy/socks/protocol" ) var ( ErrorAuthenticationFailed = errors.New("None of the authen...
larryeee/v2ray-core
proxy/socks/socks.go
GO
mit
5,558
import {createItemSelector} from 'collections'; import {memoizedSelector} from 'utils'; const selector = createItemSelector('widgets'); export function widgetAttributes({role}) { return memoizedSelector( selector({id: role}), widget => widget ); }
tf/pageflow-dependabot-test
node_package/src/widgets/selectors.js
JavaScript
mit
263
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sourc...
pvpgn/pvpgn-magic-builder
module/include/atlmfc/afxdockablepaneadapter.h
C
mit
1,588
RSpec.configure do |config| config.add_setting :infer_base_class_for_anonymous_controllers, :default => false end module RSpec::Rails module ControllerExampleGroup extend ActiveSupport::Concern include RSpec::Rails::RailsExampleGroup include ActionController::TestCase::Behavior include RSpec::Rails...
Jarob22/sc2_app_fyp_backend
vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.11.0/lib/rspec/rails/example/controller_example_group.rb
Ruby
mit
4,140
# Lamppost [![Gem Version](http://img.shields.io/gem/v/lamppost.svg)](https://rubygems.org/gems/lamppost) [![Dependency Status](https://gemnasium.com/scour/lamppost.svg)](https://gemnasium.com/scour/lamppost) [![Build Status](https://travis-ci.org/scour/lamppost.svg)](https://travis-ci.org/scour/lamppost) [![Code Clim...
farski/lamppost
README.md
Markdown
mit
1,751
package spire.math import scala.annotation.tailrec import scala.math.{ScalaNumber, ScalaNumericConversions} import java.math.{ BigDecimal => JBigDecimal, MathContext, RoundingMode } import spire.algebra.{Field, IsRational, NRoot, Sign} import spire.algebra.Sign.{ Positive, Zero, Negative } import spire.macros.Checke...
woparry/spire
core/src/main/scala/spire/math/Rational.scala
Scala
mit
30,582
package skin.support.utils; import android.content.Context; import android.content.SharedPreferences; import skin.support.SkinCompatManager; /** * Created by ximsfei on 2017/1/10. */ public class SkinPreference { private static final String FILE_NAME = "meta-data"; private static final String KEY_SKIN_NA...
ximsfei/Android-skin-support
androidx/skin-support/src/main/java/skin/support/utils/SkinPreference.java
Java
mit
2,066
from . animation import Animation from .. layout import strip class Strip(Animation): LAYOUT_CLASS = strip.Strip LAYOUT_ARGS = 'num', def __init__(self, layout, start=0, end=-1, **kwds): super().__init__(layout, **kwds) self._start = max(start, 0) self._end = end if self....
ManiacalLabs/BiblioPixel
bibliopixel/animation/strip.py
Python
mit
543
/* dso_lib.c */ /* * Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL project * 2000. */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * ...
NickAger/elm-slider
ServerSlider/HTTPServer/Packages/COpenSSL-0.14.0/Sources/dso_lib.c
C
mit
13,102
Vedeu.interface :chat do visible false # cursor needs to be enabled to scroll cursor true background SpicedRumby::GUI::Colorer::BACKGROUND foreground SpicedRumby::GUI::Colorer::FOREGROUND group :main border do title "#{SpicedRumby::NAME}: v#{SpicedRumby::VERSION}" background SpicedRumby::GUI::Col...
NullVoxPopuli/spiced_gracken
lib/spiced_rumby/gui/views/interfaces/chat.rb
Ruby
mit
459
<?php return unserialize('a:1:{i:0;O:27:"Doctrine\\ORM\\Mapping\\Column":9:{s:4:"name";s:17:"naturemarchandise";s:4:"type";s:6:"string";s:6:"length";i:255;s:9:"precision";i:0;s:5:"scale";i:0;s:6:"unique";b:0;s:8:"nullable";b:1;s:7:"options";a:0:{}s:16:"columnDefinition";N;}}');
ingetat2014/www
app/cache/prod/annotations/008eac84e85085c602f8f91e85c141c65a12cdef$naturemarchandise.cache.php
PHP
mit
278
require 'test_helper' class RemoteStripeTest < Test::Unit::TestCase def setup @gateway = StripeGateway.new(fixtures(:stripe)) @amount = 100 @credit_card = credit_card('4242424242424242') @declined_card = credit_card('4000000000000002') @new_credit_card = credit_card('5105105105105100') @opt...
hps/active_merchant
test/remote/gateways/remote_stripe_test.rb
Ruby
mit
14,185
// // CTimeHierarchy.h // CMIDI // // Created by CHARLES GILLINGHAM on 9/8/15. // Copyright (c) 2015 CharlesGillingham. All rights reserved. // #import <Foundation/Foundation.h> #import "CTime.h" @interface CTimeHierarchy : NSObject <NSCopying, NSCoding> @property (readonly) NSArray * branchCounts; // Not needed....
CharlesGillingham/CMusic
CMusic/Headers/CTimeHierarchy.h
C
mit
3,410
<?php namespace AdButler; /** * @property-read int id * @property-read string object * @property-read string self * @property-read string created_date * @property-read string|null last_modified * @property string name * @property int width * @property int height * @property strin...
sparklit/adbutler-php
lib/Resource/S2SBanner.php
PHP
mit
5,419
'use strict'; let path = require('path'); let defaultSettings = require('./defaults'); // Additional npm or bower modules to include in builds // Add all foreign plugins you may need into this array // @example: // let npmBase = path.join(__dirname, '../node_modules'); // let additionalPaths = [ path.join(npmBase, 're...
C3-TKO/gaiyo
cfg/base.js
JavaScript
mit
1,355
{ "name": "Chillin.js", "url": "https://github.com/frantzmiccoli/Chillin.js.git" }
jduncanator/components
packages/c/Chillin.js
JavaScript
mit
87
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Search.Documents.Indexes.Models { public partial class CustomEntityLookupSkill : IUtf...
ayeletshpigelman/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Models/CustomEntityLookupSkill.Serialization.cs
C#
mit
10,349
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2016.06....
gobiiproject/GOBii-System
loaderui/distribution/config/generated/App.20160616.java
Java
mit
10,196
# conda-peachpy This package is a conda-ed ``PeachPy``. One can install ``PeachPy`` with anaconda by ``` conda build opcodes peachpy --python 27 conda install peachy ```
GaZ3ll3/conda-peachpy-recipe
README.md
Markdown
mit
176
# JSON Web Token / AngularJS / Spring Boot example [Blog post on this subject](http://niels.nu/blog/2015/json-web-tokens.html) This is an example project where a Spring REST API is secured using JSON Web Tokens. Since there are relatively few examples available for Java and there are some pitfalls (such as most sourc...
akimirka/gnr_back
README.md
Markdown
mit
3,022
{% extends 'cdc/base.html' %} {% load staticfiles %} {% block content %} <div id="contact"> <form action="{% url 'cdc:form' %}" method="post"> <p>Comments:</p><p>{{ form.text }}</p> <p>Your name: {{ form.postedby}}</p> <p>Email: {{ form.email }}</p> <input type="submit" value="Submit...
ISEAGE-ISU/cdc2-2015-www
cdc/templates/cdc/form.html
HTML
mit
362
package io.sponges.bot.api.entities.channel; import io.sponges.bot.api.entities.User; import java.util.Map; public interface GroupChannel extends Channel { Map<String, User> getUsers(); boolean isUser(String id); User getUser(String id); }
SpongyBot/ModuleAPI
src/main/java/io/sponges/bot/api/entities/channel/GroupChannel.java
Java
mit
259
/**************************************************************************//** * @file efr32fg1p_i2c.h * @brief EFR32FG1P_I2C register and bit field definitions * @version 5.4.0 ****************************************************************************** * # License * <b>Copyright 2017 Silicon Laboratories, In...
basilfx/EFM2Riot
dist/cpu/efm32/families/efr32fg1p/include/vendor/efr32fg1p_i2c.h
C
mit
96,253
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: AssemblyTi...
ktos/BasicRestServer
BasicRestServer/Properties/AssemblyInfo.template.cs
C#
mit
1,274
# coding=utf-8 # -------------------------------------------------------------------------- # 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. # Changes ...
v-iam/azure-sdk-for-python
azure-mgmt-resource/azure/mgmt/resource/resources/v2016_02_01/models/deployment_properties.py
Python
mit
2,606
/* * Copyright 2017 Dgraph Labs, Inc. and Contributors * * 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 appli...
hoffmabc/openbazaar-go
vendor/gx/ipfs/QmdKhi5wUQyV9i3GcTyfUmpfTntWjXu8DcyT9HyNbznYrn/badger/y/y.go
GO
mit
5,386
// // CreditCardInputViewController.h // BitStore // // Created by Dylan Marriott on 26.07.14. // Copyright (c) 2014 Dylan Marriott. All rights reserved. // #import <Foundation/Foundation.h> @class Order; @interface CreditCardInputViewController : UITableViewController - (id)init UNAVAILABLE_ATTRIBUTE; - (id)in...
BitStore/BitStore-iOS
BitStore/Controller/Buy/CreditCardInputViewController.h
C
mit
421
<?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. */ namespace spec\Sylius\Bundle\OrderBundle\StateMachineCallback; use PhpSpec\ObjectBehavior; use Sylius...
patrick-mcdougle/Sylius
src/Sylius/Bundle/OrderBundle/spec/StateMachineCallback/CompleteOrderCallbackSpec.php
PHP
mit
765
//! Bindings for [netfilter_queue](http://netfilter.org/projects/libnetfilter_queue/doxygen/index.html) //! //! These bindings allow you to have access to the `QUEUE` and `NFQUEUE`, set in `iptables`, //! and write your own userspace programs to process these queues. #![deny(missing_docs)] extern crate libc; extern cr...
steveklabnik/libnetfilter_queue
src/lib.rs
Rust
mit
487
using System; namespace Core { }
BclEx/GpuStructs
src/SystemL.Data.net/Opcodes.cs
C#
mit
37
<section data-ng-controller="GeosController" data-ng-init="findOne()"> <div class="page-header"> <h1>Edit Geo</h1> </div> <div class="col-md-12"> <form class="form-horizontal" data-ng-submit="update()" novalidate> <fieldset> <div class="form-group"> ...
dpxxdp/floo-server
public/modules/geos/views/edit-geo.client.view.html
HTML
mit
912
import * as m from './model' import * as f from './factories' export function filterModules(moduleNames: string[]|((moduleName: string) => boolean), modules: m.KeyValue<f.ModuleFactory>): m.KeyValue<f.ModuleFactory> { // TODO: Temporary hack to get a demo ready return modules // let filteredModules: m.KeyValue<f...
christyharagan/ts-schema
src/lib/filter.ts
TypeScript
mit
11,311
require_relative "../spec_helper_lite.rb" require_relative "../helpers/shared_specs_helper" module DisplayCase shared_examples_for 'a class comparator' do describe "DisplayCase Class Comparators" do it 'identifies when an object is of a given class' do object = TestClass.new comparator.call...
objects-on-rails/display-case
spec/display_case/class_comparator_shared_examples.rb
Ruby
mit
1,661
package net.ontrack.extension.git.client.impl; import net.ontrack.extension.git.client.GitClient; import net.ontrack.extension.git.client.GitClientFactory; import net.ontrack.extension.git.model.GitConfiguration; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Compo...
joansmith/ontrack
ontrack-extension/ontrack-extension-git/src/main/java/net/ontrack/extension/git/client/impl/DefaultGitClientFactory.java
Java
mit
975
module Enumerable def all?(&block) %x{ var result = true; if (block !== nil) { self.$each.$$p = function() { var value = Opal.yieldX(block, arguments); if (value === $breaker) { result = $breaker.$v; return $breaker; } if (#{Op...
Ajedi32/opal
opal/corelib/enumerable.rb
Ruby
mit
22,803
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>specification (Gem::SourceIndex)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859...
michaelsync/Giles
tools/Rake/lib/ruby/gems/1.8/doc/rubygems-1.5.2/rdoc/classes/Gem/SourceIndex.src/M000488.html
HTML
mit
853
namespace HaloOnline.Server.Core.Log.Messages { public class UpdateConnectionMessageVisitor : MessageVisitor { private readonly IConnection _connection; public UpdateConnectionMessageVisitor(IConnection connection) { _connection = connection; } public overr...
Atvaark/Emurado
HaloOnline.Server.Core.Log/Messages/UpdateConnectionMessageVisitor.cs
C#
mit
573
/** * \file RandomCoverage.cpp * \brief Coverage test for %RandomLib * * Compile/link with, e.g.,\n * g++ -I../include -O2 -funroll-loops * -o RandomCoverage RandomCoverage.cpp ../src/Random.cpp\n * ./RandomCoverage * * This executes nearly all of the public functions in %RandomLib. This is * important, si...
eiimage/randomlib
examples/RandomCoverage.cpp
C++
mit
14,113
#module Applicat::Mvc::Controller module Applicat module Mvc module Controller def self.included(base) base.class_eval do include ErrorHandling include TransitionActions protect_from_forgery layout proc { |controller| controller.reques...
volontariat/voluntary
lib/applicat/mvc/controller.rb
Ruby
mit
5,757
/** <!-- Minimal Markup --> <div class="layout-wrapper"> <div class="layout-header"> <div class="layout-header-wrapper">Header</div> </div> <div class="layout-body"> <div class="layout-content-wrapper"> Content <div data-lorem="4p"></div> <div data-lorem="4p"></div> </div> <div clas...
tilleps/devstack
static/_/styles/layout.css
CSS
mit
1,516
#include "EnginePCH.hpp" using namespace Poly; //----------------------------------------------------------------------------- TransformComponent::~TransformComponent() { if (Parent != nullptr) { Parent->Children.Remove(this); } } //----------------------------------------------------------------------------- v...
Althiena/PolyEngine
PolyEngine/Engine/Src/TransformComponent.cpp
C++
mit
4,456
/** * 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. * abc */ package com.microsoft.azure.management.policyinsights.v2018_07_01_preview.impleme...
selvasingh/azure-sdk-for-java
sdk/policyinsights/mgmt-v2018_07_01_preview/src/main/java/com/microsoft/azure/management/policyinsights/v2018_07_01_preview/implementation/PolicyTrackedResourcesImpl.java
Java
mit
4,515
/* * $Id: om-combo.css,v 1.5 2012/06/27 07:38:03 linxiaomin Exp $ * operamasks-ui combo 2.1 * * Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about) * Dual licensed under the MIT or LGPL Version 2 licenses. * http://ui.operamasks.org/license * * http://ui.operamasks.org/docs/ */ .om-combo {white-space:...
ali322/operamasks-ui
themes/elegant/om-combo.css
CSS
mit
1,043
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConfiguringUnity { public class ComplexGenericInterfaceImplementation : IComplexGenericInterface<ComplexGenericClass<GenericClass>> { } }
rahulpnath/Blog
ConfiguringUnity/ConfiguringUnity/ComplexGenericInterfaceImplementation.cs
C#
mit
250
'use strict'; describe('portfolio.version module', function() { beforeEach(module('portfolio.version')); describe('app-version directive', function() { it('should print current version', function() { module(function($provide) { $provide.value('version', 'TEST_VER'); }); inject(functi...
pmfarnsw/portfolioWebsite
app/components/version/version-directive_test.js
JavaScript
mit
500
<?php namespace Propel\Tests\Generator\Migration; use Propel\Generator\Config\QuickGeneratorConfig; use Propel\Generator\Exception\BuildException; use Propel\Generator\Model\Database; use Propel\Generator\Model\Diff\DatabaseComparator; use Propel\Generator\Util\QuickBuilder; use Propel\Generator\Util\SqlParser; use P...
TonnyORG/ScioTest1
vendor/propel/propel/tests/Propel/Tests/Generator/Migration/MigrationTestCase.php
PHP
mit
5,897
package lnwire import ( "fmt" "net" "github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/wire" ) // NetAddress represents information pertaining to the identity and network // reachability of a peer. Information stored includes the node's identity // public key for establishing a confidential+authenticated...
LightningNetwork/lnd
lnwire/netaddress.go
GO
mit
1,777
<?php if(!isset($_SESSION)) { session_start(); } include_once("acl.php"); include_once("db.php"); // Connects to your Database $data = mysqli_query($db,"SELECT * FROM vwdashboardactuators WHERE tbNode_id = '" . $_SESSION["nid"] . "' order by 1") or die(mysqli_error()); require 'includegetactuators.php'; ?> ...
theflorianmaas/dh
webapp/Live/dh/php/getactuators.php
PHP
mit
406
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; namespace o...
NeoAdonis/osu
osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBackground.cs
C#
mit
1,493
<?php namespace Grav\Plugin; use Grav\Common\Plugin; use WyriHaximus\HtmlCompress\Factory; /** * Class MinifyHtmlPlugin * @package Grav\Plugin */ class MinifyHtmlPlugin extends Plugin { /** * @return array * * The getSubscribedEvents() gives the core a list of events * that the plugin wants to li...
gregorykelleher/gregorykelleher_website
user/plugins/minify-html/minify-html.php
PHP
mit
2,872
// ========================================================================== // Mason - A Read Simulator // ========================================================================== // Copyright (c) 2006-2013, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use in sour...
bkahlert/seqan-research
raw/workshop13/workshop2013-data-20130926/trunk/extras/apps/mason2/methylation_levels.h
C
mit
10,977
<?php /** * Custom Panel for https://github.com/cakephp/debug_kit */ App::uses('DebugPanel', 'DebugKit.Lib'); /** * Provides XHProf link and infos. * */ class XHProfPanel extends DebugPanel { /** * Defines which plugin this panel is from so the element can be located. * * @var string */ public $plugin...
renan/CakePHP-XHProf
Lib/Panel/XHProfPanel.php
PHP
mit
512
module Fog module Compute class AWS class Real require 'fog/aws/parsers/compute/describe_network_interfaces' # Describe all or specified network interfaces # # ==== Parameters # * filters<~Hash> - List of filters to limit results with # # === Returns...
suhongrui/gitlab
vendor/bundle/ruby/2.1.0/gems/fog-1.21.0/lib/fog/aws/requests/compute/describe_network_interfaces.rb
Ruby
mit
4,133
{% extends "survey/base.html" %} {% block content %} <ul class="breadcrumbs"> <li><a href="{% url 'survey:index' %}">Home</a></li> <li class="current">Pick an Instrument</li> </ul> <div class="row"> <div class="large-12 small-12 columns"> <h1>Instruments</h1> <p><strong>Step 1: </strong...
tndatacommons/tndata_backend
tndata_backend/survey/templates/survey/take_survey.html
HTML
mit
628
.mainDivChatBoxClass{ background-color:white; height: 275px; width: 325px; -moz-box-shadow: 10px 10px 5px #888; -webkit-box-shadow: 10px 10px 5px #888; box-shadow: 10px 10px 5px #888; } .chatBoxCloseClass{ background-color: #FFD700; font-size: 22px; height: 26px; ...
bixsolutions/elchat
client/styles/defaultChatBox.css
CSS
mit
1,503
/** * Main application file */ 'use strict'; // Set default node environment to development process.env.NODE_ENV = process.env.NODE_ENV || 'development'; var express = require('express'); var mongoose = require('mongoose'); var config = require('./config/environment'); // Connect to database mongoose.connect(conf...
rb7373/pets-rescue
src/server/app.js
JavaScript
mit
976
/* * WARNING: do not edit! * Generated by Makefile from include/openssl/opensslconf.h.in * * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * ...
dmilith/SublimeText3-dmilith
Package Storage/lsp_utils/node-runtime/12.20.2/node/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslconf.h
C
mit
4,834
<html> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <title>React and Flux Example</title> <!-- Just some stylesheets to make the app look...
danilotorrisi/a-modern-web-with-react-and-flux
Sample Code/05-immutable/index.html
HTML
mit
566
pageflow.AudioPlayer.getMediaElementMethod = function(player) { player.getMediaElement = function() { return player.audio.audio; }; };
tf/pageflow-dependabot-test
app/assets/javascripts/pageflow/audio_player/get_media_element_method.js
JavaScript
mit
143
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.resourcehealth.v2015_01_01; import com.fasterxml...
selvasingh/azure-sdk-for-java
sdk/resourcehealth/mgmt-v2015_01_01/src/main/java/com/microsoft/azure/management/resourcehealth/v2015_01_01/ServiceImpactingEventIncidentProperties.java
Java
mit
2,857
<div class="body-content bg-1"> <div class="col-sm-12 col-xs-12" ng-controller="DashboardCtrl"> <div class="container"> <div class="center"> <h1>My Dashboard</h1> </div> <!-- alert messages --> <div> <alert ng-repeat="alert in...
ffariasdev/angular-login
app/views/dashboard.html
HTML
mit
679
using System; using System.Linq; using System.Collections.Generic; // Toolkit namespace using SimpleMvvmToolkit; using System.ServiceModel.DomainServices.Client; using System.ComponentModel; namespace SimpleMvvm { // Add ServiceAgentExport attribute, setting AgentType to Mock public class ItemListServiceAgen...
tonysneed/SimpleMvvmToolkit
Extensions/VS2013/Project Templates/Source/RiaServices/SimpleMvvm/Services/ItemListServiceAgent.cs
C#
mit
2,701
module Neo4j module ActiveRel class ActiveRelQueryProxy def initialize(model, starting_query = nil) @model = model @chain = [] @starting_query = starting_query end METHODS = %w(where order skip limit) METHODS.each do |method| define_method(method) { |*arg...
ernestoe/rails_admin
lib/rails_admin/adapters/neo4j/active_rel_ext.rb
Ruby
mit
1,726
var http = require('http'), browserify = require('browserify'), literalify = require('literalify'), React = require('react'); var App = require('./app'); http.createServer(function(req, res) { if (req.url == '/') { res.setHeader('Content-Type', 'text/html'); var props = { items: [ ...
410675629/common_use
react-demos/demo11/src/server.js
JavaScript
mit
1,191
package com.microsoft.bingads.campaignmanagement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymo...
shyTNT/BingAds-Java-SDK
proxies/com/microsoft/bingads/campaignmanagement/AddCampaignsResponse.java
Java
mit
1,621
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateGeonamesNames extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('geonames_names', function(Blueprint $table) { $table->increments('id'); ...
nrich2010/geonames
src/migrations/2013_11_28_170337_create_geonames_names.php
PHP
mit
1,146
import Ember from 'ember'; import layout from '../../templates/components/one-way-select/option'; const { Component } = Ember; export default Component.extend({ layout, tagName: '' });
dockyard/ember-one-way-input
addon/components/one-way-select/option.js
JavaScript
mit
193
require 'rubygems' require 'bundler/setup' require 'plist' require 'parse-ruby-client' require_relative 'paths.rb' def generatePlist (settings) puts "--> Creation du plist" buildConfiguration = settings[:buildConfiguration] buildDirectory = settings[:buildDirectory] buildNumber = setting...
teriiehina/mercure
lib/mercure/plist.rb
Ruby
mit
1,538
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\OpenEXR; use JMS\Serializer\Annotation\ExclusionPolic...
bburnichon/PHPExiftool
lib/PHPExiftool/Driver/Tag/OpenEXR/Aperture.php
PHP
mit
784
const gulp = require('gulp'); const babel = require('gulp-babel'); const gdt = require('gulp-dev-tasks'); const eslintrc = require('./.eslintrc.json'); gdt.setRules(eslintrc.rules); gulp.task('build', () => gulp.src('src/**/*.js') .pipe(babel({ presets: ['es2015', 'stage-2'] })) .pipe(gulp.dest('build/')) ); ...
zoover/hodlog
gulpfile.js
JavaScript
mit
421
<?php declare(strict_types=1); namespace TestApp\Controller; use Cake\Controller\Controller; use Cake\Http\Response; use TestApp\Controller\Component\TestSecurityComponent; class SecurityTestController extends Controller { /** * failed property * * @var bool */ public $failed = false; ...
cakephp/cakephp
tests/test_app/TestApp/Controller/SecurityTestController.php
PHP
mit
1,046
<?php /** * Database Configure */ Rtfd_Helper_Database::init_server(array( 'host' => 'localhost', 'port' => 3306, 'username' => 'root', 'password' => 'root', 'database' => 'rtfd' ));
JShadowMan/package
php/rtfd-server/Service/Rtfd/Config/Database.php
PHP
mit
218
// // ScottShowAlertView.h // QQLive // // Created by Scott_Mr on 2016/12/3. // Copyright © 2016年 Scott. All rights reserved. // #import <UIKit/UIKit.h> @interface ScottShowAlertView : UIView @property (nonatomic, weak, readonly) UIView *alertView; @property (nonatomic, strong) UIView *backgroundView; // 是否可以点击...
LZAscott/ScottAlertController
ScottAlertViewDemo/ScottAlertViewDemo/ScottAlertController/ScottAlertView/ScottShowAlertView.h
C
mit
1,062
<h1> comments </h1> <div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES * * */ var disqus_shortname = 'charliedrage'; /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src ...
charliedrage/charliedrage
_includes/disqus.html
HTML
mit
1,080
import peek42 from './browser/peek42'; export default peek42;
rpeev/konsole
src/index.browser.js
JavaScript
mit
63
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <title>Couchdbkit - Couchdbkit version 0.2.4 released </title> <!--[if IE]> <script> // allow IE to recognize HTMl5 elements document.createElement('section'); document.createElement('article'); documen...
arnaudsj/couchdbkit
doc/couchdbkit.org/htdocs/blog/2009-11-22-Couchdbkit-0.2.4.html
HTML
mit
6,115
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2019_07_01; import com.fasterxml.jackso...
selvasingh/azure-sdk-for-java
sdk/network/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/network/v2019_07_01/NetworkIntentPolicy.java
Java
mit
1,678
<?php namespace Admin\AgenciaBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class AgenciaHojadevidaType extends AbstractType { /** * @param FormBuilderInterface $builder * @param arra...
luisk262/fk
src/Admin/AgenciaBundle/Form/AgenciaHojadevidaType.php
PHP
mit
2,761
var favicon = require('./includes/favicon.js'); var feed = require('./includes/feed.js'); var retrofitIcon = function (f, callback) { console.log("Checking ", f.htmlUrl); favicon.find(f.htmlUrl, function (favicon_url) { f.icon = favicon_url; feed.update(f, function (err, data) { callback(err, data); ...
glynnbird/birdreader
retrofit_favicons.js
JavaScript
mit
733
#if !defined (_win_clip_h_) #define _win_clip_h_ /* * Copyright 1999 by Abacus Research and Development, Inc. * All rights reserved. */ #if defined (SDL) extern void write_pict_as_dib_to_clipboard (void); extern void write_surfp_to_clipboard (SDL_Surface *surfp); extern unsigned long ROMlib_executor_format (LONGIN...
ctm/executor
src/config/os/cygwin32/win_clip.h
C
mit
447
<!DOCTYPE html> <html lang="en"> <head> <title>DemoExpandingCollection Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <scr...
Ramotion/expanding-collection
docs/index.html
HTML
mit
16,620
/** * Zepernick jQuery plugins */ (function($) { $.fn.dataTableSearch = function(delay) { //console.log("data table search plugin..."); var dt = this; this.find("thead input").on( 'keyup', function (event) { getInput = function() { return $(event.target); }; ...
rickyalex/cts
assets/js/jQuery.dtplugin.js
JavaScript
mit
816
using Exercism.CSharp.Output; namespace Exercism.CSharp.Exercises.Generators { public class Poker : GeneratorExercise { protected override void UpdateTestMethod(TestMethod testMethod) { testMethod.UseVariablesForInput = true; testMethod.UseVariableForExpected = true; ...
ErikSchierboom/xcsharp
generators/Exercises/Generators/Poker.cs
C#
mit
390
<!-- nav bar --> <ng-include src="'app/views/foNavbar.view.html'"></ng-include> <div class="fo-edit-main-div" data-ng-init="getFarmOwner()"> <div class="fo-edit-block"> <h4>Edit Profile</h4> <div class="alert alert-danger collapse" id="error"> <strong>{{error}}</strong> </div> <form role="form"...
andela-ayusuf/farmplace
public/app/views/foEditProfile.view.html
HTML
mit
4,296