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 |
|---|---|---|---|---|---|
// 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.
#include "ui/aura/root_window_host_linux.h"
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
#include <X11/extensions/XInput2.h>
#include <X11/exte... | ropik/chromium | ui/aura/root_window_host_linux.cc | C++ | bsd-3-clause | 28,419 |
import numpy as np
from menpo.image import Image, BooleanImage, MaskedImage
from menpo.shape import PointCloud
from menpo.testing import is_same_array
def test_image_copy():
pixels = np.ones([1, 10, 10])
landmarks = PointCloud(np.ones([3, 2]), copy=False)
im = Image(pixels, copy=False)
im.landmarks['... | grigorisg9gr/menpo | menpo/image/test/image_copy_test.py | Python | bsd-3-clause | 1,372 |
<header>Dies d'avís</header>
El nombre de dies abans que es forci l'usuari a canviar la seva contrasenya
durant els quals s'avisa l'usuari en entrar al sistema.
<hr>
| xtso520ok/webmin | useradmin/help/warn.ca.UTF-8.html | HTML | bsd-3-clause | 171 |
/*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma once... | joelgarciajr84/proxygen | proxygen/lib/services/WorkerThread.h | C | bsd-3-clause | 3,774 |
#!/usr/bin/env python
from __future__ import print_function
from builtins import input
import sys
import pmagpy.pmag as pmag
def main():
"""
NAME
gofish.py
DESCRIPTION
calculates fisher parameters from dec inc data
INPUT FORMAT
takes dec/inc as first two columns in space delimite... | Caoimhinmg/PmagPy | programs/gofish.py | Python | bsd-3-clause | 1,976 |
// Copyright 2013 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.
#include "ui/views/controls/button/blue_button.h"
#include "grit/ui_resources.h"
#include "ui/base/accessibility/accessible_view_state.h"
#include "ui/ba... | pozdnyakov/chromium-crosswalk | ui/views/controls/button/blue_button.cc | C++ | bsd-3-clause | 2,999 |
// Copyright 2010-2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | takahashikenichi/mozc | src/base/win_util_test.cc | C++ | bsd-3-clause | 11,295 |
package com.dslplatform.json.generated.types.Double;
import com.dslplatform.json.generated.types.StaticJson;
import com.dslplatform.json.generated.ocd.javaasserts.DoubleAsserts;
import java.io.IOException;
public class NullableSetOfOneDoublesDefaultValueTurtle {
private static StaticJson.JsonSerialization jsonSer... | ngs-doo/dsl-json | library/src/test/java/com/dslplatform/json/generated/types/Double/NullableSetOfOneDoublesDefaultValueTurtle.java | Java | bsd-3-clause | 3,353 |
<?php
$p = new Phar(dirname(__FILE__) . '/brandnewphar.phar', 0, 'brandnewphar.phar');
$p['file1.txt'] = 'hi';
$p->stopBuffering();
var_dump(strlen($p->getStub()));
$p->setStub("<?php
function __autoload(\$class)
{
include 'phar://' . str_replace('_', '/', \$class);
}
Phar::mapPhar('brandnewphar.phar');
include 'ph... | JSchwehn/php | testdata/fuzzdir/corpus/ext_phar_tests_phar_commitwrite.php | PHP | bsd-3-clause | 421 |
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
S03_OPTS=$(TEST_HC_OPTS) -outputdir tmp_sigof03 -i -itmp_sigof03
sigof03:
rm -rf tmp_sigof03
mkdir tmp_sigof03
'$(TEST_HC)' $(S03_OPTS) -c A.hs
'$(TEST_HC)' $(S03_OPTS) -c ASig1.hsig -sig-of "ASig1 is main:A, ASig2 is main:A"
'$(TEST_HC)' $(S... | vTurbine/ghc | testsuite/tests/driver/sigof03/Makefile | Makefile | bsd-3-clause | 981 |
Behaviors
=========
Behaviors are instances of [[yii\base\Behavior]], or of a child class. Behaviors, also known
as [mixins](http://en.wikipedia.org/wiki/Mixin), allow you to enhance the functionality
of an existing [[yii\base\Component|component]] class without needing to change the class's inheritance.
Attaching a b... | rob006/yii2-dev | docs/guide/concept-behaviors.md | Markdown | bsd-3-clause | 12,847 |
# frozen_string_literal: true
# == Schema Information
#
# Table name: alchemy_folded_pages
#
# id :integer not null, primary key
# page_id :integer not null
# user_id :integer not null
# folded :boolean default(FALSE)
#
module Alchemy
class FoldedPage < ActiveRecord::Ba... | mtomov/alchemy_cms | app/models/alchemy/folded_page.rb | Ruby | bsd-3-clause | 450 |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkData.h"
#include "inclu... | endlessm/chromium-browser | third_party/skia/gm/image_shader.cpp | C++ | bsd-3-clause | 4,501 |
using System;
namespace AggregateSource.Testing
{
static class Catch
{
public static Optional<Exception> Exception(Action action)
{
var result = Optional<Exception>.Empty;
try
{
action();
}
catch (Exception exception)
... | yreynhout/AggregateSource | src/Testing/AggregateSource.Testing/Catch.cs | C# | bsd-3-clause | 455 |
/**
******************************************************************************
* @file stm32f4xx_can.c
* @author MCD Application Team
* @version V1.6.0
* @date 10-July-2015
* @brief This file provides firmware functions to manage the following
* functionalities of the Control... | nobk/oh-my-keyboard | ref/hidapp/src/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c | C | bsd-3-clause | 60,113 |
/*
*
* Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | ofrobots/grpc | src/core/profiling/stap_timers.c | C | bsd-3-clause | 2,479 |
#ifndef FT_SOCK_STREAM_H_
#define FT_SOCK_STREAM_H_
struct ft_stream;
extern const char * ft_stream_class;
struct ft_stream_delegate
{
struct ft_frame * (*get_read_frame)(struct ft_stream *); // If NULL, then simple frame will be used
bool (*read)(struct ft_stream *, struct ft_frame * frame); // True as a return v... | TeskaLabs/Frame_Transporter | include/ft/sock/stream.h | C | bsd-3-clause | 5,974 |
/*
* Copyright (c) 2015, Oracle America, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - Redistributions of source code must retain the above copyright notice,
* this list of con... | Distrotech/libtirpc | tirpc/rpc/svc_auth_gss.h | C | bsd-3-clause | 1,945 |
#!/usr/bin/env python
"""
fs.tests: testcases for the fs module
"""
from __future__ import with_statement
# Send any output from the logging module to stdout, so it will
# be captured by nose and reported appropriately
import sys
import logging
logging.basicConfig(level=logging.ERROR, stream=sys.stdout)
from ... | duedil-ltd/pyfilesystem | fs/tests/__init__.py | Python | bsd-3-clause | 46,382 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//RU">
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007,2008,2009 Josh Coalson -->
<!-- Permission is granted to copy, distribute and/or modify this document -->
<!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
<!-- or any lat... | jeeb/flac | doc/html/ru/index.html | HTML | bsd-3-clause | 6,342 |
<?php
/*
Template Name: Welcome
*/
?>
<?php get_header(); ?>
<!-- welcome.php -->
<div id="wrapper">
<div id="main_wrapper" class="clearfix">
<div id="page_wrapper">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post<?php echo commentpress_get_post_cs... | wiratama/rama-yii2 | wp/wp-content/plugins/commentpress-core/themes/commentpress-theme/welcome.php | PHP | bsd-3-clause | 1,868 |
<?php
/*
* This file is part of the Ariadne Component Library.
*
* (c) Muze <info@muze.nl>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace arc\url;
/**
* Query parses any valid url query part and generates array acce... | mjrider/arc-web | src/url/Query.php | PHP | bsd-3-clause | 4,760 |
/* LibMemcached
* Copyright (C) 2011-2012 Data Differential, http://datadifferential.com/
* Copyright (C) 2006-2009 Brian Aker
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*
* Summary:
*
* Authors:
* B... | zzak/libmemcached | clients/memstat.cc | C++ | bsd-3-clause | 12,766 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>YUIDoc Syntax Reference</title>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Maven+Pro:400,700">
<link rel="stylesheet" href="http://yui.yahooapis.com/3.4.1/build/cssgrids/grids-min.css">
<link rel="styleshe... | naver/auidoc | output/syntax/index.html | HTML | bsd-3-clause | 43,256 |
package net.dongliu.apk.parser.bean;
import java.io.Serializable;
/**
* Android adaptive icon, from android 8.0
*/
public class AdaptiveIcon implements IconFace, Serializable {
private static final long serialVersionUID = 4185750290211529320L;
private final Icon foreground;
private final Icon background... | CaoQianLi/apk-parser | src/main/java/net/dongliu/apk/parser/bean/AdaptiveIcon.java | Java | bsd-3-clause | 1,151 |
/**
* 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.
*
* @format
* @flow
*/
'use strict';
const invariant = require('invariant');
import type EventSubscription from './_EventSubscri... | hoangpham95/react-native | Libraries/vendor/emitter/_EventSubscriptionVendor.js | JavaScript | bsd-3-clause | 2,725 |
/*
* Copyright 2003-2006 Rick Knowles <winstone-devel at lists sourceforge net>
* Distributed under the terms of either:
* - the common development and distribution license (CDDL), v1.0; or
* - the GNU Lesser General Public License, v2.1 or later
*/
package javax.servlet.http;
import java.util.Enumeration;
impor... | KingBowser/hatter-source-code | tools/winstone/src/java/javax/servlet/http/HttpSession.java | Java | bsd-3-clause | 1,988 |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | amelmquist/chrono | src/chrono_cascade/ChCascadeDoc.h | C | bsd-3-clause | 4,996 |
DIRS=$(wildcard *_tests)
DIRS_TEST=$(addsuffix .test,$(DIRS))
DIRS_CLEAN=$(addsuffix .clean,$(DIRS))
SHELL=/bin/bash
test: $(DIRS_TEST)
clean: $(DIRS_CLEAN)
$(DIRS_TEST): %.test:
@echo -n "Testing $* "
@$(MAKE) -s -C $* test
@echo
$(DIRS_CLEAN): %.clean:
$(MAKE) -C $* clean
.PHONY: test $(DIRS_TEST) clean $(DI... | MatkoBotincan/corestar-old | unit_tests/Makefile | Makefile | bsd-3-clause | 344 |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.egl;
import java.nio.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.JNI.*;
import static org.lwjgl.system.Mem... | LWJGL-CI/lwjgl3 | modules/lwjgl/egl/src/generated/java/org/lwjgl/egl/ANGLESyncControlRate.java | Java | bsd-3-clause | 2,975 |
<?php
new SoapClient(dirname(__FILE__) . '/bug50698_4.wsdl');
echo "ok\n";
?>
| JSchwehn/php | testdata/fuzzdir/corpus/ext_soap_tests_bugs_bug50698_4.php | PHP | bsd-3-clause | 78 |
/*
* Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... | jens-maus/amissl | openssl/test/modes_internal_test.c | C | bsd-3-clause | 29,892 |
<?php
/**
* @package ElkArte Forum
* @copyright ElkArte Forum contributors
* @license BSD http://opensource.org/licenses/BSD-3-Clause (see accompanying LICENSE.txt file)
*
* This file contains code covered by:
* copyright: 2011 Simple Machines (http://www.simplemachines.org)
*
* @version 2.0 dev
*
*/
/*... | elkarte/Elkarte | themes/default/ManageSearch.template.php | PHP | bsd-3-clause | 25,261 |
// Copyright 2015 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.
#ifndef CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_DISPATCHER_IMPL_H_
#define CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_DISPATCHER_IMPL_H_
#include ... | CapOM/ChromiumGStreamerBackend | content/child/navigator_connect/service_port_dispatcher_impl.h | C | bsd-3-clause | 2,105 |
<!DOCTYPE html>
<html dir="ltr" lang="de">
<head>
<title>Alte Generation - Rubinius</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content='de' http-equiv='content-language'>
<meta content='Rubinius is an implementation of the Ruby programming l... | slawosz/rubinius | web/_site/doc/de/garbage-collector/mature-generation/index.html | HTML | bsd-3-clause | 6,722 |
/*
* Copyright 2009 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
* Copyright 2009, Google Inc.
*/
#include "native_client/src/trusted/validator_arm/address_set.h"
#include <stdio.h>
#include <string.h>
namesp... | sbc100/native_client | src/trusted/validator_arm/address_set.cc | C++ | bsd-3-clause | 2,431 |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == "hel... | carljm/django-secure | doc/make.bat | Batchfile | bsd-3-clause | 4,525 |
/*
* vfh_estimator.h
*
* Created on: Mar 22, 2012
* Author: aitor
*/
#ifndef REC_FRAMEWORK_VFH_ESTIMATOR_H_
#define REC_FRAMEWORK_VFH_ESTIMATOR_H_
#include <pcl/apps/3d_rec_framework/feature_wrapper/global/global_estimator.h>
#include <pcl/apps/3d_rec_framework/feature_wrapper/normal_estimator.h>
#include ... | daviddoria/PCLMirror | apps/3d_rec_framework/include/pcl/apps/3d_rec_framework/feature_wrapper/global/vfh_estimator.h | C | bsd-3-clause | 2,191 |
<?php
class ExtendedGenerator extends Generator { }
?>
| evnix/go-php-parser | testdata/fuzzdir/corpus/Zend_tests_generators_errors_generator_extend_error.php | PHP | bsd-3-clause | 57 |
// Copyright 2019 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.
#include "chrome/browser/ui/webui/settings/chromeos/kerberos_accounts_handler.h"
#include <string>
#include <utility>
#include "base/bind.h"
#include "b... | ric2b/Vivaldi-browser | chromium/chrome/browser/ui/webui/settings/chromeos/kerberos_accounts_handler.cc | C++ | bsd-3-clause | 16,834 |
"""Integration test for Notifications."""
import github3
from .helper import IntegrationHelper
class TestThread(IntegrationHelper):
"""Integration test for methods on Test class"""
def test_subscription(self):
"""Show that a user can retrieve notifications for repository"""
self.token_login(... | christophelec/github3.py | tests/integration/test_notifications.py | Python | bsd-3-clause | 1,512 |
// Copyright (c) 2006-2008 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.
#ifndef PRINTING_UNITS_H_
#define PRINTING_UNITS_H_
namespace printing {
// Length of a thousanth of inches in 0.01mm unit.
const int kHundreth... | rwatson/chromium-capsicum | printing/units.h | C | bsd-3-clause | 876 |
/*
* Copyright (c) 2009-2013, United States Government, as represented by the Secretary of Health and Human Services.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributi... | sailajaa/CONNECT | Product/Production/Services/DocRegistryCore/src/test/java/gov/hhs/fha/nhinc/docregistry/WSAddressingTest.java | Java | bsd-3-clause | 1,929 |
/*
* SEGS - Super Entity Game Server
* http://www.segs.dev/
* Copyright (c) 2006 - 2019 SEGS Team (see AUTHORS.md)
* This software is licensed under the terms of the 3-clause BSD License. See LICENSE.md for details.
*/
#ifndef SLAVLOGIC_H
#define SLAVLOGIC_H
#include <QObject>
class AppVersionManifest;
struct S... | broxen/Segs | Utilities/slav/SLAVLogic.h | C | bsd-3-clause | 1,206 |
/*
* /MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* 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://ww... | AndrewSyktyvkar/Math | wysivig/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js | JavaScript | bsd-3-clause | 980 |
<?php
namespace Chamilo\Core\Repository\ContentObject\Matterhorn\Common;
use Chamilo\Core\Repository\Common\Import\ContentObjectImportImplementation;
class ImportImplementation extends ContentObjectImportImplementation
{
}
| forelo/cosnics | src/Chamilo/Core/Repository/ContentObject/Matterhorn/Common/ImportImplementation.php | PHP | mit | 225 |
// Next-generation ES6 module bundler
var gulp = require('gulp'),
paths = require('./config/paths'),
plumber = require('gulp-plumber'),
rollup = require('gulp-rollup'),
babel = require('rollup-plugin-babel'),
rename = require('gulp-rename');
// Bundle ES6 modules.
gulp.task('rollup:main', function... | website-templates/webstudio_responsive-template | gulp_tasks/rollup.js | JavaScript | mit | 767 |
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <fenv.h>
#if !(defined(_ARM_) || defined(__arm__) || defined(_ARM64_) || defined(__aarch64__))... | zig-lang/zig | lib/libc/mingw/misc/fesetexceptflag.c | C | mit | 2,014 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function
from builtins import zip
import pycrfsuite
def compareTaggers(model1, model2, string_list, module_name):
"""
Compare two models. Given a list of strings, prints out tokens & tags
whenever the two taggers parse a string differe... | et-al-Health/parserator | parserator/spotcheck.py | Python | mit | 3,434 |
#XMind SDK for python
**XMind SDK for python** to help Python developers to easily work with XMind files and build XMind extensions.
##Install XMind SDK for python
Clone the repository to a local working directory
git clone https://github.com/xmindltd/xmind-sdk-python.git
Now there will be a directory named `xmi... | nacerix/xmind-sdk-python | README.md | Markdown | mit | 2,085 |
//Copyright (c) Microsoft Corporation. All rights reserved.
#pragma once
namespace Microsoft { namespace WindowsAPICodePack { namespace DirectX { namespace Direct3D11 {
using namespace System;
// REVIEW: is a ColorRgba really the correct abstraction for the blend factors?
// It's true that it maps data-wis... | devkimchi/Windows-API-Code-Pack-1.1 | source/WindowsAPICodePack/DirectX/DirectX/Direct3D11/D3D11OutputMergerBlendState.h | C | mit | 2,157 |
<!DOCTYPE html><html lang="ru"><head>
<meta charset="utf-8">
<title>- Камера</title>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@threejs">
... | mrdoob/three.js | manual/ru/cameras.html | HTML | mit | 39,411 |
package server;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Classe Java pour sendNewsResponse complex type.
*
* <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
*
* ... | wanngyue/Projet-MailBoxMananger | MailBoxD/src/server/SendNewsResponse.java | Java | mit | 720 |
// 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | Jiayili1/corefx | src/System.Runtime.Extensions/ref/System.Runtime.Extensions.cs | C# | mit | 119,441 |
/* Copyright (c) 2012-2013, 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 ... | thornbirdblue/8064_project_lk | platform/msm8226/gpio.c | C | mit | 2,568 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Weibull Distribution</title>
<link rel="stylesheet" href="../../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../../index.html" title="Math Toolkit 2.2.... | TyRoXx/cdm | original_sources/boost_1_59_0/libs/math/doc/html/math_toolkit/dist_ref/dists/weibull_dist.html | HTML | mit | 19,882 |
<div id="test-template-div" style="display: block;">{{viewModel.placeholder}}</div> | guillaume317/elink-port | www/lib/ion-autocomplete/test/templates/test-template.html | HTML | mit | 83 |
using System;
using System.Text;
using System.Runtime.InteropServices;
#pragma warning disable 1591
namespace Microsoft.Diagnostics.Runtime.Interop
{
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("e391bbd8-9d8c-4418-840b-c006592a1752")]
public interface IDebugSymbols4 : IDebugSymbols3... | weltkante/dotnetsamples | Microsoft.Diagnostics.Runtime/CLRMD/ClrMemDiag/Debugger/IDebugSymbols4.cs | C# | mit | 30,253 |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.text.CharacterIterator
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPL... | hyEvans/ph-open | proj.android/jni/puzzleHero/platforms/android-8/java/text/CharacterIterator.hpp | C++ | mit | 6,355 |
import {Component} from 'angular2/core';
@Component({
selector: 'home',
templateUrl: 'app/components/home/home.html',
styleUrls: ['app/components/home/home.css'],
providers: [],
directives: [],
pipes: []
})
export class Home {
constructor() {}
ngOnInit() {
}
}
| deostroll/ang2routing | src/app/components/home/home.ts | TypeScript | mit | 284 |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | labdogg1003/Xamarin.Plugins | Media/Component/MediaPlugin/samples/MediaSample/MediaSample/MediaSample.Droid/Resources/Resource.Designer.cs | C# | mit | 1,316 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('statmaps', '0026_populate_cogatlas'),
]
operations = [
migrations.AddField(
model_name='statisticmap',
... | chrisfilo/NeuroVault | neurovault/apps/statmaps/migrations/0027_auto_20150220_0305.py | Python | mit | 1,314 |
package net.minecraft.block;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.util.EnumFacing;
public abstract class BlockRotatedPillar extends Block
{
public static final PropertyEnum<EnumFacing.Ax... | TorchPowered/CraftBloom | src/net/minecraft/block/BlockRotatedPillar.java | Java | mit | 661 |
/*
* 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 may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
... | smithab/azure-sdk-for-node | lib/services/networkManagement2/lib/models/applicationGatewaySslPolicy.js | JavaScript | mit | 1,482 |
<?php
namespace Grav\Common;
/**
* The URI object provides information about the current URL
*
* @author RocketTheme
* @license MIT
*/
class Uri
{
public $url;
protected $base;
protected $root;
protected $bits;
protected $extension;
protected $host;
protected $content_path;
protec... | nakagaw/grav | system/src/Grav/Common/Uri.php | PHP | mit | 10,952 |
<?php
namespace Braintree;
use InvalidArgumentException;
/**
* Braintree PaymentMethodGateway module
*
* @package Braintree
* @category Resources
*/
/**
* Creates and manages Braintree PaymentMethods
*
* <b>== More information ==</b>
*
*
* @package Braintree
* @category Resources
*/
class Paym... | cmaciasg/test | application/vendor/braintree/braintree_php/lib/Braintree/PaymentMethodGateway.php | PHP | mit | 12,507 |
(function(){$(function(){return console.log("hello")})}).call(this); | tiy-hou-q1-2016-rails/tiy-hou-q1-2016-rails.github.io | javascripts/script-b9af7cd9.js | JavaScript | mit | 68 |
/*!
* Bootstrap-select v1.13.9 (https://developer.snapappointments.com/bootstrap-select)
*
* Copyright 2012-2019 SnapAppointments, LLC
* Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (root === undefined && window !== undef... | extend1994/cdnjs | ajax/libs/bootstrap-select/1.13.9/js/i18n/defaults-vi_VN.js | JavaScript | mit | 1,504 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure;
using Azure.Core;
namespace Azure.Storage.Blobs.Batch
{
internal partial class ContainerSubmitBatchHeaders
{
private readonly Response _response;
... | ayeletshpigelman/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs.Batch/src/Generated/ContainerSubmitBatchHeaders.cs | C# | mit | 1,003 |
import numpy as np
import cudarray as ca
from .base import PickleMixin
_FLT_MIN = np.finfo(ca.float_).tiny
class Loss(PickleMixin):
# abll: I suspect that this interface is not ideal. It would be more
# elegant if Loss only provided loss() and grad(). However, where should
# we place the logic from fpro... | lre/deeppy | deeppy/loss.py | Python | mit | 3,134 |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup TridentStudio Trident Studio
* @{
*/
class BxDolStudioPolyglotEtemplates extends BxTemplStudioGrid
{
public function _... | camperjz/trident | upgrade/files/8.0.1-9.0.0.B1/files/studio/classes/BxDolStudioPolyglotEtemplates.php | PHP | mit | 986 |
/**
* Created by patricepaquette on 12/17/2013.
*/
angular.module("common")
.directive('lazyLoad', ['$window', '$q', function ($window, $q) {
function load_script(src) {
var s = document.createElement('script'); // use global document since Angular's $document is weak
s.src = src;... | patpaquette/CampCarolinas | src/app/directives/lazyload.js | JavaScript | mit | 1,911 |
require 'rubygems'
require 'json'
require 'time'
require 'net/http'
=begin
= Class: Kelastic
- Performs an elastic search request
- Adds Kibana specific object for JS communication
== Parameters:
query:: The query object to send to ES
index:: The index to query
=end
class Kelastic
attr_accessor :response,:u... | CSGOpenSource/Kibana2 | lib/kelastic.rb | Ruby | mit | 12,156 |
SRC_DIR = src
BUILD_DIR = build
DIST_DIR = dist
DEMOS_DIR = demos
OTHER_FILES = \
changelog.txt \
MIT-LICENSE.txt \
GPL-LICENSE.txt
VER = $$(cat version.txt)
VER_SED = sed s/@VERSION/"${VER}"/
DATE = $$(git log -1 --pretty=format:%ad)
DATE_SED = sed s/@DATE/"${DATE}"/
JQ = $$(sed -n "s/.*JQUERY\s*=\s*[\"']\(.*\)[... | PofMagicfingers/fullcalendar | Makefile | Makefile | mit | 3,373 |
<!DOCTYPE html>
<html lang="en-US" ng-app="Northwind">
<head>
<base href="/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Northwind</title>
<link rel="stylesheet" href="lib/build.css">
<link rel="stylesheet" href="lib/foundation-icons/fo... | mattfili/node-postgres-testing | public/index.html | HTML | mit | 942 |
<?php
namespace Kendo\Dataviz\UI;
class StockChartCategoryAxisItemSelect extends \Kendo\SerializableObject {
//>> Properties
/**
* The lower boundary of the selected range.
* @param $value
* @return \Kendo\Dataviz\UI\StockChartCategoryAxisItemSelect
*/
public function from($value) {
... | xuman3288/kui | src/Kendo/Dataviz/UI/StockChartCategoryAxisItemSelect.php | PHP | mit | 1,872 |
<!-- GENERATED FROM SOURCE -->
# vjs.VolumeHandle
__EXTENDS__: [vjs.SliderHandle](vjs.SliderHandle.md)
__DEFINED IN__: [src/js/control-bar/volume-control.js#L131](https://github.com/videojs/video.js/blob/master/src/js/control-bar/volume-control.js#L131)
The volume handle can be dragged to adjust the volume level... | scimusmn/sd-oak-tree | js/vendor/video-js/docs/api/vjs.VolumeHandle.md | Markdown | mit | 17,770 |
/**
******************************************************************************
* @file stm32f7xx_hal_can.h
* @author MCD Application Team
* @version V1.2.2
* @date 14-April-2017
* @brief Header file of CAN HAL module.
********************************************************************... | ChangsoonKim/STM32F7DiscTutor | UART_TEST/Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_can.h | C | mit | 36,914 |
<?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
* CC-BY License - http://creativecommons.org/licenses/by/3.0/
*
* @defgroup Convos Convos
* @ingroup TridentModules
*
* @{
*/
/*
* Module database queries
*/
class BxCnvDb extends BxBaseModT... | camperjz/trident | modules/boonex/convos/updates/8.0.4_8.0.5/source/classes/BxCnvDb.php | PHP | mit | 5,576 |
/**
* $Id: editor_plugin_src.js,v 1.1 2012/11/16 23:22:25 delara Exp $
*
* @author Moxiecode
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
(function() {
tinymce.create('tinymce.plugins.Preview', {
init : function(ed, url) {
var t = this;
t.editor = ed;
ed.addComma... | StevenDao/Storefront-Calendar | website/js/tiny_mce/plugins/preview/editor_plugin_src.js | JavaScript | mit | 5,686 |
# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Message.updated'
db.alter_column(u'mailer_message', 'u... | zamazaljiri/django-mailer | mailer/migrations/0002_auto__chg_field_message_updated.py | Python | mit | 1,493 |
<div class="form-group {{options.col}}" ng-class="{'has-error': $invalid, 'has-success': !$invalid && $dirty}" style="position:relative" ng-hide="options.hidden">
<label for="{{id}}">
{{options.label}}
{{options.required ? '*' : ''}}
</label>
<div class="input-group">
<span class="input-group-btn">
<b... | educarm/edu-field | src/directives/edu-field-nifniecif-tpl.html | HTML | mit | 1,640 |
// jsonCall: a jQuery plugin that makes it easy to make an API
// request to a URL with JSON in BOTH directions.
//
// Copyright 2013 P'unk Avenue LLC
//
// Please see:
//
// https://github.com/punkave/jquery-json-call
//
// For complete documentation.
(function( $ ) {
// This is correct - we're adding a function ca... | koeppel/apocms | public/modules/apostrophe-assets/js/vendor/jquery.json-call.js | JavaScript | mit | 1,033 |
// # ngReact
// ### Use React Components inside of your Angular applications
//
// Composed of
// - reactComponent (generic directive for delegating off to React Components)
// - reactDirective (factory for creating specific directives that correspond to reactComponent directives)
(function(React, angular) {
'use st... | krunalifuturz/ngReact | ngReact.js | JavaScript | mit | 6,266 |
<?php
namespace Faker\Provider\de_AT;
class Company extends \Faker\Provider\Company
{
protected static $formats = [
'{{lastName}} {{companySuffix}}',
'{{lastName}}',
];
protected static $companySuffix = ['AG', 'EWIV', 'Ges.m.b.H.', 'GmbH', 'KEG', 'KG', 'OEG', 'OG', 'OHG', 'SE'];
}
| drakakisgeo/mailtester | vendor/fakerphp/faker/src/Faker/Provider/de_AT/Company.php | PHP | mit | 313 |
<?php
namespace Trello\Api\Board;
use Trello\Api\AbstractApi;
/**
* Trello Board Memberships API
* @link https://trello.com/docs/api/board
*
* Not implemented:
* - https://trello.com/docs/api/board/#get-1-boards-board-id-memberships
* - https://trello.com/docs/api/board/#get-1-boards-board-id-memberships-idmem... | hoangnghia/API-Trello | lib/Trello/Api/Board/Memberships.php | PHP | mit | 585 |
#region License
/*---------------------------------------------------------------------------------*\
Distributed under the terms of an MIT-style license:
The MIT License
Copyright (c) 2006-2010 Stephen M. McKamey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this so... | jsonfx/jsonfx | src/JsonFx/Html/HtmlTaxonomy.cs | C# | mit | 3,849 |
<a href='https://github.com/angular/angular.js/edit/v1.2.x/src/ngMock/angular-mocks.js?message=docs($log)%3A%20describe%20your%20change...#L277' 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.2.27/src/ngMo... | viral810/ngSimpleCMS | web/bundles/sunraangular/js/angular/angular-1.2.27/docs/partials/api/ngMock/service/$log.html | HTML | mit | 3,037 |
registerTest ('Has a UTF-8 meta tag', function () {
this
.test('Do we have a UTF8 meta tag?', function($) {
var sourceCode = this.page.source.toLowerCase();
// do we have an utf8 metatag ?
notEqual(sourceCode.indexOf('<meta charset="utf-8">'),-1,'Has UTF-8 meta tag');
});
});
| tunong/monkeytestjs | tests/tests/global/has_utf8_metatag.js | JavaScript | mit | 313 |
<?php
namespace Chamilo\Core\User;
use Chamilo\Core\User\Storage\DataClass\User;
/**
* Helper object to prevent constructing a complete user object from the database when only an id is used in the end;
* use with care.
*/
class UserIDWrapper extends User
{
private $wrapper_id;
public function __construct... | forelo/cosnics | src/Chamilo/Core/User/UserIDWrapper.php | PHP | mit | 538 |
---
title: Docs - Using Yeoman
layout: docs
tags: ['docs', 'build']
---
# Using Yeoman
####
> Complete [Yeoman](http://yeoman.io) generator for [Durandal](http://durandaljs.com/) with subgenerators.
### Install Yeoman
This generator needs Yeoman to be installed.
```
$ npm install -g yo
```
### Install Generator
... | Craga89/Durandal | docs/2.x/Yeoman.html.md | Markdown | mit | 2,075 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Prygan/IMTA-cordova | www/css/index.css | CSS | mit | 3,718 |
angular.module('ngCordova.plugins.deviceOrientation', [])
.factory('$cordovaDeviceOrientation', ['$q', function($q) {
return {
getCurrentHeading: function() {
var q = $q.defer();
navigator.compass.getCurrentHeading(function(heading) {
q.resolve(heading);
}, function(err) {
q.r... | Prasanthmv/ngCordova | src/plugins/deviceOrientation.js | JavaScript | mit | 775 |
# Azure Container Instances

 Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Behat\Context\Api\Admin;
use Behat\Behat\Context\Context;
... | GSadee/Sylius | src/Sylius/Behat/Context/Api/Admin/ManagingShippingCategoriesContext.php | PHP | mit | 7,896 |
# Copyright (c) 2012-2013 Paul Tagliamonte <paultag@debian.org>
# Copyright (c) 2013 Leo Cavaille <leo@cavaille.net>
#
# 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, inc... | lucaskanashiro/debile | debile/slave/runners/pep8.py | Python | mit | 1,811 |
/*
* modified version of https://github.com/valor-software/prismjs-loader
*
* The MIT License (MIT)
*
* Copyright (c) 2015-2016 Valor Software
* Copyright (c) 2015-2016 Dmitriy Shekhovtsov<valorkin@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software an... | rackt/react-router | website/webpack/prismjs-loader.js | JavaScript | mit | 1,864 |
{% extends 'templates/nhs_transaction_layout.html' %}
{% import 'includes/form_macros.html' as form_macros %}
{% block afterHeader %}
{% include "includes/service-headers/low-income.html" %}
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-th... | nhsbsa/nhslis | app/views/lis/7/assets/shares.html | HTML | mit | 1,466 |
#!/bin/bash
set -e
set -x
sudo yum -y install https://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo sed -i -e 's/^enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
| matsumana/packer-templates-2 | scripts/centos-7.1/repo.sh | Shell | mit | 199 |
package com.reactnativenavigation.views.element.animators;
import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.widget.TextView;
import com.facebook.react.views.text.ReactTextView;
import com.reactnativenavigation.utils.TextViewUtils;
import com.reactnativenavigation.views.elemen... | Jpoliachik/react-native-navigation | lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/TextSizeAnimator.java | Java | mit | 1,042 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.