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 |
|---|---|---|---|---|---|
//
// ZLPhotoPickerAssetsViewController.h
// ZLAssetsPickerDemo
//
// Created by 张磊 on 14-11-12.
// Copyright (c) 2014年 com.zixue101.www. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZLPhotoPickerCommon.h"
#import "ZLPhotoPickerGroupViewController.h"
@class ZLPhotoPickerGroup;
@interface ZLPhotoPicke... | BaoSeed/TianFuYun | ios/TianJiCloud/Vender/View/ZLPhotoLib/Classes/ZLPhotoPicker/ViewControllers/ZLPhotoPickerAssetsViewController.h | C | mit | 861 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>push_front</title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../../../index.html" tit... | yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/range/doc/html/range/reference/algorithms/new/push_front.html | HTML | mit | 7,188 |
require 'mspec/runner/filters/match'
# ActionFilter is a base class for actions that are triggered by
# specs that match the filter. The filter may be specified by
# strings that match spec descriptions or by tags for strings
# that match spec descriptions.
#
# Unlike TagFilter and RegexpFilter, ActionFilter instances... | pmq20/ruby-compiler | ruby/spec/mspec/lib/mspec/runner/actions/filter.rb | Ruby | mit | 973 |
package com.udacity.gradle.multidex;
public class Methods19 {
public void method_0() {
}
public void method_1() {
}
public void method_2() {
}
public void method_3() {
}
public void method_4() {
}
public void method_5() {
}
public void method_6() {
}
p... | SethsApps/ud867 | 4.07-Demo-MultidexSupport/app/src/main/java/com/udacity/gradle/multidex/Methods19.java | Java | mit | 26,591 |
/* global suite, test */
'use strict';
var assert = require('assert');
var Table = require(__dirname + '/../lib/table');
var Column = require(__dirname + '/../lib/column');
suite('table', function() {
var table = new Table({
name: 'bang'
});
test('has name', function() {
assert.equal(table.getName(), '... | sanderblue/angular-express-mysql | node_modules/sequelize/node_modules/sql/test/table-tests.js | JavaScript | mit | 4,877 |
// Class for barrier instructions, modelled as a CallInstr.
//
// Copyright (c) 2011 Universidad Rey Juan Carlos
//
// 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, i... | jrprice/pocl | lib/llvmopencl/Barrier.h | C | mit | 4,596 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | matthewshirley/vscode | src/vs/editor/contrib/quickOpen/browser/quickOutline.ts | TypeScript | mit | 9,386 |
(function($) {
/**
* Example module implementation.
*
* @author
* @namespace Tc.Module
* @class Default
* @extends Tc.Module
*/
Tc.Module.Example = Tc.Module.extend({
/**
* Initializes the Example module.
*
* @method init
* @constructor
* @param {jQuery|Zepto} $ctx the jquery context
... | MarcDiethelm/xtc-site | node_modules/xtc/node_modules/generator-xtc/app/templates/frontend-example/modules/example/example.js | JavaScript | mit | 978 |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @constructor
* @extends {WebInspector.TimelineUIUtils}
*/
WebInspector.TimelineUIUtilsImpl = function()
{
WebInspector.TimelineUIUtils.call(t... | tsiry95/openshift-strongloop-cartridge | strongloop/node_modules/strong-arc/devtools/frontend/timeline/TimelineUIUtilsImpl.js | JavaScript | mit | 31,362 |
using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Media.Animation;
namespace Magellan.Behaviors
{
/// <summary>
/// Represents a <see cref="Parameter"/> to a <see cref="NavigateAction"/>.
/// </summary>
public class Parameter : Animatable
{
/... | galendai/magellan-framework | src/Magellan.Behaviors/Parameter.cs | C# | mit | 1,343 |
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
using Mono.Cecil.Metadata;
namespace Mono.Cecil {
public abstract class TypeSystem {
sealed class CoreTypeSystem : TypeSys... | SonicZentropy/TyrannyMod.pw | cecil-0.9.6/Mono.Cecil/TypeSystem.cs | C# | mit | 7,404 |
#!/usr/bin/env
browserify -t babelify -o bundle.js index.js
| mizchi/arda | examples/website-router/build.sh | Shell | mit | 61 |
<?php
namespace Oro\Bundle\WorkflowBundle\Exception;
class AssemblerException extends \Exception
{
}
| Djamy/platform | src/Oro/Bundle/WorkflowBundle/Exception/AssemblerException.php | PHP | mit | 103 |
package com.reactnativenavigation.parse;
import com.reactnativenavigation.parse.params.Fraction;
import com.reactnativenavigation.parse.params.NullNumber;
import com.reactnativenavigation.parse.params.NullText;
import com.reactnativenavigation.parse.params.Number;
import com.reactnativenavigation.parse.params.Text;
im... | Jpoliachik/react-native-navigation | lib/android/app/src/main/java/com/reactnativenavigation/parse/Transition.java | Java | mit | 1,997 |
# [Boost.Any](https://boost.org/libs/any)
Boost.Any is a part of the [Boost C++ Libraries](https://github.com/boostorg). It is a safe, generic container for single values of different value types.
### Test results
@ | Build | Tests coverage | More info
----------------|-------------- | ---------... | davehorton/drachtio-server | deps/boost_1_77_0/libs/any/README.md | Markdown | mit | 1,680 |
src = ../src
services = $(src)/services
favicons = $(src)/favicons
build = .
main = ..
modules = $(src)/core.js $(services)/*.js
service_list = ../download/services.json
jls = $(main)/jquery.lifestream.js
jls_min = $(main)/jquery.lifestream.min.js
jls_css = $(main)/css/lifestream.css
uglifyjs = ../download/js/uglifyjs-... | eldabbagh/jquery-lifestream | build/Makefile | Makefile | mit | 1,525 |
'use strict';
// copied from http://www.broofa.com/Tools/Math.uuid.js
var CHARS = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
.split('');
exports.uuid = function () {
var chars = CHARS, uuid = new Array(36), rnd=0, r;
for (var i = 0; i < 36; i++) {
if (i===8 || i===13 || i===1... | danucalovj/Haraka | utils.js | JavaScript | mit | 7,940 |
"use strict";
/*!
* Copyright 2016 The ANTLR Project. All rights reserved.
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3... | glenngillen/dotfiles | .vscode/extensions/juanblanco.solidity-0.0.120/node_modules/antlr4ts/atn/BasicBlockStartState.js | JavaScript | mit | 1,486 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>lxml.etree.DTD</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<scrip... | bertucho/epic-movie-quotes-quiz | dialogos/build/lxml/doc/html/api/lxml.etree.DTD-class.html | HTML | mit | 15,689 |
/*! jQuery UI - v1.10.3 - 2013-09-04
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"<Predchádzajúci",nextText:"Nasledujúci>",currentText:"Dnes",monthNames:["január","február","marec","... | livingsocial/rearview-engine | public/rearview/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-sk.min.js | JavaScript | mit | 840 |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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,... | Moccine/global-service-plus.com | web/libariries/bootstrap/node_modules/browserify-zlib/test/test-zlib-zero-byte.js | JavaScript | mit | 1,571 |
<?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\Link\Component;
use Chamilo\Application\Weblcms\Tool\Implementation\Link\Manager;
class CategoryMoverComponent extends Manager
{
public function get_additional_parameters()
{
return array(\Chamilo\Application\Weblcms\Tool\Manager::PARAM_... | cosnics/cosnics | src/Chamilo/Application/Weblcms/Tool/Implementation/Link/Component/CategoryMoverComponent.php | PHP | mit | 345 |
/**
* $Id: learning_path_item.js 216 2009-11-13 14:08:06Z kariboe $
* @package application.lib.weblcms.tool.learning_path.javascript
*/
/**
* @author Sven Vanpoucke
*/
(function($) {
$(window).bind('beforeunload', function(e) {
var ajaxUri = getPath('WEB_PATH') + 'index.php';
var parameters = {
... | cosnicsTHLU/cosnics | src/Chamilo/Core/Repository/ContentObject/LearningPath/Display/Resources/Javascript/LearningPathItem.js | JavaScript | mit | 547 |
// Flags: --expose-internals
'use strict';
const common = require('../common');
if (!common.hasCrypto) common.skip('missing crypto');
const fixtures = require('../common/fixtures');
// Test --trace-tls CLI flag.
const assert = require('assert');
const { fork } = require('child_process');
if (process.argv[2] === 'tes... | enclose-io/compiler | lts/test/parallel/test-tls-enable-trace-cli.js | JavaScript | mit | 1,799 |
'use strict';
var fs = require('fs');
var Promise = require('../ext/promise');
var readFile = Promise.denodeify(fs.readFile);
var lstat = Promise.denodeify(fs.stat);
var chalk = require('chalk');
var EditFileDiff = require('./edit-file-diff');
var EOL = require('os').EOL;
var ... | xtian/ember-cli | lib/models/file-info.js | JavaScript | mit | 4,920 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
... | ayeletshpigelman/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/CustomDataSourceLinkedService.Serialization.cs | C# | mit | 6,356 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Simplification;
using System.Collections.Immutable;
using Sy... | veikkoeeva/orleans | src/Orleans.Analyzers/GenerateSerializationAttributesCodeFix.cs | C# | mit | 6,691 |
/** @license React v16.8.2
* react-dom-unstable-fizz.node.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';function d(a,b){var c="<"+a+">";"string"=... | joeyparrish/cdnjs | ajax/libs/react-dom/16.8.2/cjs/react-dom-unstable-fizz.node.production.min.js | JavaScript | mit | 1,122 |
!function(){function t(t){return function(e,i){e=d3.hsl(e),i=d3.hsl(i);var r=(e.h+120)*a,h=(i.h+120)*a-r,s=e.s,l=i.s-s,o=e.l,u=i.l-o;return isNaN(l)&&(l=0,s=isNaN(s)?i.s:s),isNaN(h)&&(h=0,r=isNaN(r)?i.h:r),function(a){var e=r+h*a,i=Math.pow(o+u*a,t),c=(s+l*a)*i*(1-i);return"#"+n(i+c*(-.14861*Math.cos(e)+1.78277*Math.si... | ucsd-ccbb/Oncolist | src/frontEndUI/Prod/js/cubehelix.min.js | JavaScript | mit | 705 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Background Information</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../index.html" title="Bo... | yinchunlong/abelkhan-1 | ext/c++/thirdpart/c++/boost/libs/regex/doc/html/boost_regex/background_information.html | HTML | mit | 6,518 |
<?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\Assignment\Integration\Chamilo\Application\Calendar\Test\Source;
/**
* This test case checks the php syntax for the php files of this package
*
* @author Sven Vanpoucke - Hogeschool Gent
*/
class CheckSourceCodeTest extends \Chamilo\Libraries\Archite... | forelo/cosnics | src/Chamilo/Application/Weblcms/Tool/Implementation/Assignment/Integration/Chamilo/Application/Calendar/Test/Source/CheckSourceCodeTest.php | PHP | mit | 361 |
#include <stdlib.h>
#include "chipmunk_private.h"
void
cpSpatialIndexFree(cpSpatialIndex *index)
{
if(index){
cpSpatialIndexDestroy(index);
cpfree(index);
}
}
cpSpatialIndex *
cpSpatialIndexInit(cpSpatialIndex *index, cpSpatialIndexClass *klass, cpSpatialIndexBBFunc bbfunc, cpSpatialIndex *staticIndex)
{
inde... | gwthomas/sol-framework | external/chipmunk/cpSpatialIndex.c | C | mit | 1,314 |
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:BufferGeometry] →
<h1>立方缓冲几何体([name])</h1>
<p class="desc">[name]是四边形的原始几何类,它通常使用构造函数所提供的“widt... | opensim-org/three.js | docs/api/zh/geometries/BoxGeometry.html | HTML | mit | 2,625 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Bridge\Doctrine\Form\ChoiceList;
use Symfony\Compo... | javieralfaya/tuitty | vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/ChoiceList/EntityChoiceList.php | PHP | mit | 14,704 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | dynamicguy/gpweb | src/vendor/zend/library/Zend/Measure/Energy.php | PHP | mit | 14,331 |
<h2 id="angularjs-requirejs-boilerplate">angularjs-requirejs-boilerplate</h2>
<p>A complete angularjs requirejs boilerplate for node. There are angular and test samples in the project,
you can quick start your new project with angularjs-requirejs-boilerplate.</p>
<h2 id="features">Features</h2>
<h3 id="front-end">Front... | ipluser/nodejs-basicer | views/mobile/templates/markdown/README.html | HTML | mit | 4,190 |
export * as ns from 'mod';
export v from 'mod';
export a, * as b from 'mod';
export c, { foo } from 'mod';
export * as d, { bar } from 'mod';
export { fooooooooooooooooooooooooooooooooooooooooooooooooo } from "fooooooooooooooooooooooooooooo";
export Bar, { barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr } from "barrrrrrr... | rattrayalex/prettier | tests/format/js/export-extension/export.js | JavaScript | mit | 493 |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\ClassLoader\Tests;
use Symfony\Component\ClassLoader\... | bijen/nform | vendor/symfony/symfony/src/Symfony/Component/ClassLoader/Tests/ApcUniversalClassLoaderTest.php | PHP | mit | 7,458 |
# Upgrading Your Syntax Theme
Text editor content is now rendered in the shadow DOM, which shields it from being styled by global style sheets to protect against accidental style pollution. For more background on the shadow DOM, check out the [Shadow DOM 101][shadow-dom-101] on HTML 5 Rocks.
Syntax themes are specifi... | avdg/atom | docs/upgrading/upgrading-your-syntax-theme.md | Markdown | mit | 1,808 |
import * as THREE from 'three';
import { UIRow, UIText, UIInteger, UINumber } from './libs/ui.js';
import { SetGeometryCommand } from './commands/SetGeometryCommand.js';
function GeometryParametersPanel( editor, object ) {
const strings = editor.strings;
const signals = editor.signals;
const container = new UI... | donmccurdy/three.js | editor/js/Sidebar.Geometry.TetrahedronGeometry.js | JavaScript | mit | 1,286 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenProtocolInterpreter.IOInterface;
namespace MIDTesters.IOInterface
{
[TestClass]
public class TestMid0200 : MidTester
{
[TestMethod]
public void Mid0200Revision1()
{
string pac... | Rickedb/OpenProtocolInterpreter | src/MIDTesters/IOInterface/TestMid0200.cs | C# | mit | 1,961 |
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import logging
from devil.android import device_errors
class FlagChanger(object):
"""Changes the flags Chrome runs with.
There are two different ... | Teamxrtc/webrtc-streaming-node | third_party/webrtc/src/chromium/src/build/android/pylib/flag_changer.py | Python | mit | 5,496 |
-- avoid memory leak
collectgarbage("setpause", 100)
collectgarbage("setstepmul", 5000)
----------------
-- run
cc.FileUtils:getInstance():addSearchPath("src")
CC_USE_DEPRECATED_API = true
require "cocos.init"
local director = cc.Director:getInstance()
local glView = director:getOpenGLView()
if nil == glView then... | dios-game/dios-cocos | src/oslibs/cocos/cocos-src/tests/lua-tests/src/controller.lua | Lua | mit | 7,975 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Collections.Tests
{
public static class CollectionBaseTests
{
[Fact]
... | marksmeltzer/corefx | src/System.Collections.NonGeneric/tests/CollectionBaseTests.cs | C# | mit | 26,579 |
/*
* Author: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2015-2016 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limi... | malikabhi05/upm | src/lm35/lm35.hpp | C++ | mit | 3,235 |
/**
* 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.appservice;
import com.fasterxml.jackson.annotat... | jianghaolu/azure-sdk-for-java | azure-mgmt-appservice/src/main/java/com/microsoft/azure/management/appservice/DatabaseBackupSetting.java | Java | mit | 3,336 |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | VirusFree/SharpDX | Source/Toolkit/SharpDX.Toolkit.Graphics/VertexBufferBinding.cs | C# | mit | 1,295 |
var Utils = require("../../utils")
, sqlite3 = require('sqlite3').verbose()
, Query = require("./query")
module.exports = (function() {
var ConnectorManager = function(sequelize) {
this.sequelize = sequelize
this.database = db = new sqlite3.Database(sequelize.options.storage || ':memory:', function(... | szizor/chato | node_modules/sequelize/lib/dialects/sqlite/connector-manager.js | JavaScript | mit | 862 |
# Override the default ActiveRecordHelper behaviour of wrapping the input.
# This gets taken care of semantically by adding an error class to the LI tag
# containing the input.
ActionView::Base.field_error_proc = proc do |html_tag, instance_tag|
html_tag
end
module Formtastic #:nodoc:
class SemanticFormBuilder < ... | getnashty/liftr | vendor/gems/clearance-0.8.8/test/rails_root/vendor/gems/justinfrench-formtastic-0.2.1/lib/formtastic.rb | Ruby | mit | 50,443 |
@echo off
..\..\..\packages\autorest.0.16.0\tools\AutoRest.exe -i Luis-q.json -n Microsoft.Bot.Builder.Luis -Header MICROSOFT_MIT -O . | yakumo/BotBuilder | CSharp/Library/Microsoft.Bot.Builder/Luis/generateLuisModels.bat | Batchfile | mit | 135 |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | Blucky87/Nez | Nez.FarseerPhysics/Farseer/Collision/Shapes/PolygonShape.cs | C# | mit | 13,963 |
require 'rails_helper'
field_name = field_name_from __FILE__
type = type_from __FILE__
describe field_name do
it_behaves_like \
"#{type} partial", field_name,
value: {
'kind' => 'user_renamed',
'change' => %w(jack john)
},
expected_value: "\n{\n \"kind\": \"user_renamed\",\n \"change\":... | reinteractive-open/wallaby | spec/views/wallaby/resources/form/_jsonb.html.erb_spec.rb | Ruby | mit | 1,146 |
package commands
import (
"bytes"
"io"
"os"
"path/filepath"
"github.com/github/git-lfs/lfs"
"github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra"
)
var (
smudgeInfo = false
smudgeCmd = &cobra.Command{
Use: "smudge",
Short: "Implements the Git smudge filter",
Run: smudgeCommand,
}
)
fun... | clareliguori/git-lfs | commands/command_smudge.go | GO | mit | 1,718 |
<?php
namespace Moip\Resource;
use stdClass;
class NotificationPreferencesList extends MoipResource
{
/**
* @const string
*/
const PATH = 'preferences';
public function initialize()
{
$this->data = new stdClass();
}
/**
* Get notifications.
*
* @return array... | caiogaspar/moip-sdk-php | src/Resource/NotificationPreferencesList.php | PHP | mit | 907 |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | Microsoft/ChakraCore | bin/NativeTests/Scripts/arraytest.js | JavaScript | mit | 427 |
//
// CAAnimation+RZBlocks.h
// Raizlabs
//
// Created by Nick Donaldson on 12/6/13.
// Copyright 2014 Raizlabs and other contributors
// http://raizlabs.com/
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"... | fossugn/RZUtils | RZUtils/Categories/CoreAnimation/CAAnimation+RZBlocks.h | C | mit | 1,677 |
-- SETTINGS
SET @iTypeOrder = (SELECT MAX(`order`) FROM `sys_options_types` WHERE `group` = 'modules');
INSERT INTO `sys_options_types`(`group`, `name`, `caption`, `icon`, `order`) VALUES
('modules', 'bx_spaces', '_bx_spaces', 'bx_spaces@modules/boonex/spaces/|std-icon.svg', IF(ISNULL(@iTypeOrder), 1, @iTypeOrder + ... | camperjz/trident | modules/boonex/spaces/updates/9.0.0_9.0.1/source/install/sql/enable.sql | SQL | mit | 57,244 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>BWU Datagrid example: 09 Row Reordering</title>
<link rel="import" href="src/e09_row_reorder... | terrasea/bwu_datagrid | example/e09_row_reordering.html | HTML | mit | 736 |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | ianyh/heroku-buildpack-python-opencv | vendor/.heroku/include/opencv2/core/utility.hpp | C++ | mit | 15,573 |
<?php namespace Laracasts\Utilities\JavaScript\Facades;
use Illuminate\Support\Facades\Facade;
class JavaScript extends Facade {
/**
* Name of the binding in the IoC container
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'JavaScript';
}
} | PavelPolyakov/laravel-demo | vendor/laracasts/utilities/src/Laracasts/Utilities/JavaScript/Facades/JavaScript.php | PHP | mit | 319 |
using System.Collections.Generic;
using System.Linq;
using Baseline;
using Marten.Events;
using Marten.Patching;
namespace Marten.Services
{
public class ChangeSet : IChangeSet
{
public readonly IList<object> Updated = new List<object>();
public readonly IList<object> Inserted = new List<object... | jokokko/marten | src/Marten/Services/ChangeSet.cs | C# | mit | 1,271 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatib... | fsjohnhuang/iPromise | theory/jQuery.deferred/1.8/jquery-1.8.0/test/index.html | HTML | mit | 12,987 |
#!/bin/bash
set -v
function log() {
echo -e "\033[0;33m[INFO] "$@"\033[0m"
}
function logError() {
echo -e 1>&2 "\033[0;31m"$@"\033[0m"
any_errors=1
}
function die() {
logError "$@"
exit 1
}
export -f log
export -f die
if [ -z ${DUB} ]; then
die 'Error: Variable $DUB must be defined to run... | p0nce/dub | test/run-unittest.sh | Shell | mit | 1,936 |
<?php
function smarty_function_styleoption($params, &$smarty)
{
$name = $params['name'];
$value = $params['value'];
if (isset($value))
return "$name: $value; ";
else
return '';
}
?> | Kenovix/san-miguel | web/contabilidad/admin/libs/smartylibs/plugins/function.styleoption.php | PHP | mit | 224 |
<?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 Sylius\Bundle\PayumBundle\Payum\Request;
use Payum\Core\Request\BaseStatusRequest;
use Sylius\Bund... | chuandadexiaoyu/UniversitySylius | src/Sylius/Bundle/PayumBundle/Payum/Request/StatusRequest.php | PHP | mit | 2,730 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 28 14:16:24 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface o... | LeArNalytics/LeArNalytics | neo4j/neo4j-community-2.0.0-M03/doc/java/api/org/neo4j/kernel/class-use/GraphDatabaseAPI.html | HTML | mit | 10,383 |
/*!
* jQuery JavaScript Library v2.0.1 -sizzle,-css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* ht... | michael829/jquery-builder | dist/2.0.1/jquery-ajax-css-event-alias-sizzle.js | JavaScript | mit | 117,313 |
'use strict';
describe('Loading 0202-layers-overlays-simple-example.html', function() {
beforeEach(function() {
browser.get('0202-layers-overlays-simple-example.html');
browser.wait(function() {
return element(by.css('img.leaflet-tile-loaded')).isPresent();
}, 5000);
});
it('should change the... | abdelrahmansaeedhassan/FirstTest | test/e2e/0202-layers-overlays-simple-example.js | JavaScript | mit | 1,191 |
/*
Ractive.js v1.3.0-edge
Build: 3c34b67ed6ee7e3072fccc80bb50bfb9ef90f3bd
Date: Fri Jan 04 2019 18:04:51 GMT+0000 (UTC)
Website: https://ractive.js.org
License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'func... | joeyparrish/cdnjs | ajax/libs/ractive/1.3.0-build-1/ractive.js | JavaScript | mit | 509,632 |
/*!
* OOUI v0.31.3
* https://www.mediawiki.org/wiki/OOUI
*
* Copyright 2011–2019 OOUI Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* Date: 2019-04-04T19:10:54Z
*/
.oo-ui-window {
background: transparent;
}
.oo-ui-window-frame {
-webkit-box-sizing: border-bo... | extend1994/cdnjs | ajax/libs/oojs-ui/0.31.3/oojs-ui-windows-wikimediaui.rtl.css | CSS | mit | 13,348 |
package hudson.cli;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.fail;
import static org.powermock.api.mockito.PowerMockito.mock;
i... | dariver/jenkins | core/src/test/java/hudson/cli/ListJobsCommandTest.java | Java | mit | 8,621 |
require 'spec_helper'
describe OmniAuth::Strategies::Salesforce do
strategy = nil
before do
OmniAuth.config.test_mode = true
rack_app = []
rack_app.stub :call
strategy = OmniAuth::Strategies::Salesforce.new rack_app, 'Consumer Key', 'Consumer Secret'
end
describe "request_phase" do
env = nil
before do
... | Course-Master/omniauth-salesforce | spec/omniauth/strategies/salesforce_spec.rb | Ruby | mit | 7,540 |
<?php
namespace Illuminate\Tests\Integration\Auth;
use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\Gate;
use Illuminate\Tests\Integration\Auth\Fixtures\AuthenticationTestUser;
use Illuminate\Tests\Integration\Auth\Fixtures\Policies\AuthenticationTestUserPolicy;
/**
* @group integration
*/
class Ga... | cviebrock/framework | tests/Integration/Auth/GatePolicyResolutionTest.php | PHP | mit | 1,369 |
<?php
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
require_once('./inc/header.inc.php');
require_once(BX_DIRECTORY_PATH_INC . "design.inc.php");
require_once(BX_DIRECTORY_PATH_INC . "utils.inc.php");
bx_import('BxDolL... | unaio/una | upgrade/files/11.0.4-12.0.0.B1/files/form.php | PHP | mit | 819 |
import HasManyHelper from './has-many-helper';
import {module, test} from 'qunit';
module('Integration | ORM | hasMany #accessor');
/*
#association behavior works regardless of the state of the parent
*/
HasManyHelper.forEachScenario((scenario) => {
test(`the references of a ${scenario.title} are correct`, funct... | lazybensch/ember-cli-mirage | tests/integration/orm/has-many/accessor-test.js | JavaScript | mit | 938 |
/**
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
/**
* Gets fired when the legend item belonging to a point is clicked. The default
* action is to toggle the visibility of the point. This can be prevented by
* returning `false` or calling `event.preventDefault()`.
*
* @callback Hi... | joeyparrish/cdnjs | ajax/libs/highcharts/7.1.0/es-modules/parts/Legend.js | JavaScript | mit | 47,686 |
<?php
namespace SleepingOwl\Admin\Form\Element;
class Radio extends Select
{
}
| Asvae/SleepingOwlAdmin | src/Form/Element/Radio.php | PHP | mit | 81 |
#!/usr/bin/env python
"""
This module contains the :class:`Column` class, which defines a "vertical"
array of tabular data. Whereas :class:`.Row` instances are independent of their
parent :class:`.Table`, columns depend on knowledge of both their position in
the parent (column name, data type) as well as the rows that... | flother/agate | agate/columns.py | Python | mit | 3,731 |
<!DOCTYPE html>
<html>
<head>
<title>Neon</title>
<script src="../neon.js" type="text/javascript"></script>
<script src="../stdlib/node_support.js" type="text/javascript"></script>
<script src="../stdlib/custom_event.js" type="text/javascript"></script>
<script src="../stdlib/custom_event_support.js... | escusado/neon | test/neon_stdlib_browser.html | HTML | mit | 556 |
/*!
* # Semantic UI 2.7.1 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
$.isFunction = $.isFunction || function(obj) {
return typeof obj === "function" && ty... | extend1994/cdnjs | ajax/libs/fomantic-ui/2.7.1/components/checkbox.js | JavaScript | mit | 27,502 |
/* Tabulator v4.2.3 (c) Oliver Folkerd */
/*
* This file is part of the Tabulator package.
*
* (c) Oliver Folkerd <oliver.folkerd@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Full Documentation & Demos can be found... | extend1994/cdnjs | ajax/libs/tabulator/4.2.3/js/jquery_wrapper.js | JavaScript | mit | 1,340 |
package info.bitrich.xchangestream.hitbtc.dto;
import static com.jayway.jsonpath.matchers.JsonPathMatchers.hasJsonPath;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.core.AllOf.allOf;
import com.fasterxml.jackson.databind.DeserializationFe... | stachon/XChange | xchange-stream-hitbtc/src/test/java/info/bitrich/xchangestream/hitbtc/dto/HitbtcMessageTest.java | Java | mit | 6,233 |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static integer c__0 = 0;
static doublereal c_b7 = 1.;
static integer c__1 = 1;
static integer c_n1 = -1;
/* Subroutine */ int dlasd1_(integer *nl, integer *nr, integer *sqre,
doublereal *d__, doublereal *alpha, doublereal *beta, doublereal *u,
... | dacap/loseface | third_party/clapack/SRC/dlasd1.c | C | mit | 9,310 |
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this ... | lg-devs/g2-bootloader | platform/apq8084/include/platform/iomap.h | C | mit | 8,245 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package clases;
/**
*
* @author ANDRES
*/
public class Persona {
protected String nombres;
protected String apellidos;
protected String direccion;
protected String ciudad;
protect... | julio101290/JuliusCaesarERP | JulioCesarERP/src/clases/Persona.java | Java | mit | 1,479 |
'use strict';
module.exports = {
name: 'ember-cli-legacy-blueprints'
};
| gabz75/ember-cli-deploy-redis-publish | node_modules/ember-cli-legacy-blueprints/index.js | JavaScript | mit | 75 |
using System.Data.Entity;
using System.Reflection;
using Abp.EntityFramework;
using Abp.Modules;
using AbpCompanyName.AbpProjectName.EntityFramework;
namespace AbpCompanyName.AbpProjectName
{
[DependsOn(typeof(AbpEntityFrameworkModule), typeof(AbpProjectNameCoreModule))]
public class AbpProjectNameDataModule ... | nicklv/aspnetboilerplate-templates | src/AbpCompanyName.AbpProjectName.EntityFramework/AbpProjectNameDataModule.cs | C# | mit | 699 |
---
url: /security
classes: topic-page
title: Auth0 Security Fundamentals
description: Learn about various topics regarding how to handle sensitive data when using Auth0 services.
---
<div class="topic-page-header">
<div data-name="example" class="topic-page-badge"></div>
<h1>Auth0 Security Fundamentals</h1>
<p>... | hamzawi06/docs | articles/security/index.md | Markdown | mit | 711 |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Bootstrap · Content moved</title>
<link rel="canonical" href="https://martijncuppens.github.io/bootstrap-mixins-documentation/bootstrap-mixins-do... | MartijnCuppens/MartijnCuppens.github.io | bootstrap-mixins-documentation/docs/index.html | HTML | mit | 1,578 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.UI.Composition;
namespace News.Helpers.Composition.ImageLoader
{
public interface IManagedSurface : IDisposable
{
IImage... | josephIDM/josephworkouts | apps/music/Music.UWP/Composition/ImageLoader/ManagedSurface.cs | C# | mit | 3,003 |
<a href='https://github.com/angular/angular.js/edit/v1.3.x/src/ng/directive/ngEventDirs.js?message=docs(ngClick)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.3.8/src/... | ariborneo/Phalcon-development | public/assets/plugins/angular/docs/partials/api/ng/directive/ngClick.html | HTML | mit | 3,032 |
Before you make the config, please upgrade your NexT version to v6.0.6 or greater.
Please note the difference between **site config file** and **theme config file**
---
# Sign up to Leancloud and create an app
- Go to Leancloud website [leancloud.cn](leancloud.cn) and sign up to Leancloud. Then login.
- Click `1` to... | DaddyTrap/daddytrap.github.io | themes/next/docs/LEANCLOUD-COUNTER-SECURITY.md | Markdown | cc0-1.0 | 6,074 |
//>>built
define({"widgets/OverviewMap/setting/nls/strings":{visible:"\u986f\u793a\u9810\u8a2d\u7684\u7e3d\u89bd\u5716",minWidth:"\u6700\u5c0f\u5bec\u5ea6",minHeight:"\u6700\u5c0f\u9ad8\u5ea6",maxWidth:"\u6700\u5927\u5bec\u5ea6",maxHeight:"\u6700\u5927\u9ad8\u5ea6",minText:"\u6700\u5c0f\u503c",maxText:"\u6700\u5927\u50... | pjdohertygis/MapSAROnline | Web Mapping Application/widgets/OverviewMap/setting/nls/Setting_zh-tw.js | JavaScript | cc0-1.0 | 587 |
/*******************************************************************************
* Copyright (c) 2012 David A Carlson.
* 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... | drbgfc/mdht | cts2/plugins/org.openhealthtools.mdht.cts2.core.edit/src/org/openhealthtools/mdht/cts2/entity/provider/EntityListItemProvider.java | Java | epl-1.0 | 5,861 |
/*******************************************************************************
* Copyright (c) 2012 Christian W. Damus 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 i... | drbgfc/mdht | cda/plugins/org.openhealthtools.mdht.uml.cda/src/org/openhealthtools/mdht/uml/cda/util/AnnotationBasedInitializer.java | Java | epl-1.0 | 2,637 |
/**
* Copyright 2005-2010 Noelios Technologies.
*
* The contents of this file are subject to the terms of one of the following
* open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
* "Licenses"). You can select the license that you prefer but you may not use
* this file except in compliance wi... | alastrina123/debrief | org.mwc.asset.comms/docs/restlet_src/org.restlet.test/org/restlet/test/jaxrs/services/tests/DeterminingMediaTypeTest.java | Java | epl-1.0 | 4,002 |
<!--
Copyright (c) 2015-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... | akervern/che | dashboard/src/app/factories/last-factories/last-factories.html | HTML | epl-1.0 | 1,390 |
/*******************************************************************************
* Copyright (c) 2017 Red Hat, Inc and others.
* 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.org/legal/epl-2.0.
*
* SPDX... | jboss-reddeer/reddeer | plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/ui/perspectives/WebPerspective.java | Java | epl-1.0 | 785 |
/*
* Copyright (c) 2012-2017 Red Hat, Inc.
* 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
*
* Contributors:
* Red H... | TypeFox/che | selenium/che-selenium-test/src/test/java/org/eclipse/che/selenium/factory/CheckWelcomePanelOnCodenvyTest.java | Java | epl-1.0 | 3,856 |
/**
* Copyright (c) 2014-2016 by the respective copyright holders.
* 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
*/
pa... | CrackerStealth/smarthome | bundles/io/org.eclipse.smarthome.io.transport.mqtt/src/main/java/org/eclipse/smarthome/io/transport/mqtt/MqttService.java | Java | epl-1.0 | 8,761 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.