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
import os.path from django.conf import settings from django.test.utils import override_settings import mock from celery.result import AsyncResult from olympia import amo from olympia.amo.tests import TestCase, addon_factory, version_factory from olympia.devhub import tasks, utils from olympia.files.models import Fi...
lavish205/olympia
src/olympia/devhub/tests/test_utils.py
Python
bsd-3-clause
10,323
""" Test data sources """ from nose.tools import ok_, eq_ from carousel.tests import logging from carousel.core import UREG from carousel.core.data_sources import DataSource, DataParameter from carousel.core.data_readers import XLRDReader from carousel.tests import PROJ_PATH, TESTS_DIR import os LOGGER = logging.getL...
mikofski/Carousel
carousel/tests/test_data.py
Python
bsd-3-clause
5,322
// 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. #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_CONTAINER_H_ #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_CONTAINER_H_ #includ...
keishi/chromium
chrome/browser/ui/views/location_bar/location_bar_container.h
C
bsd-3-clause
3,070
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
5452/durex
includes/src/Mage_Core_Model_Resource_Flag.php
PHP
bsd-3-clause
1,322
Google Cloud Vision API for Ruby ================================================= Google Cloud Vision API uses [Google API extensions][google-gax] to provide an easy-to-use client library for the [Google Cloud Vision API][] (v1) defined in the [googleapis][] git repository [googleapis]: https://github.com/googleapi...
landrito/api-client-staging
generated/ruby/google-cloud-ruby/google-cloud-vision/README.md
Markdown
bsd-3-clause
1,498
############################################################################### # Copyright (c) 2013 Potential Ventures Ltd # Copyright (c) 2013 SolarFlare Communications Inc # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the fol...
stuarthodgson/cocotb
examples/endian_swapper/tests/Makefile
Makefile
bsd-3-clause
3,008
/* Copyright (c) 2015, Apple 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
jianwoo/ResearchKit
ResearchKit/Consent/ORKConsentSection+AssetLoading.h
C
bsd-3-clause
1,919
{-# LANGUAGE Haskell2010 #-} {-# LINE 1 "System/Process/Common.hs" #-} {-# LANGUAGE CPP #-} {-# LANGUAGE RecordWildCards #-} module System.Process.Common ( CreateProcess (..) , CmdSpec (..) , StdStream (..) , ProcessHandle(..) , ProcessHandle...
phischu/fragnix
tests/packages/scotty/System.Process.Common.hs
Haskell
bsd-3-clause
9,966
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
mfem/PyMFEM
mfem/_ser/stable3d.py
Python
bsd-3-clause
5,714
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
5452/durex
includes/src/Mage_Payment_Model_Method_Purchaseorder.php
PHP
bsd-3-clause
1,620
<?php defined('SYSPATH') or die ('no tiene acceso'); //descripcion del modelo productos class Model_Users extends ORM{ protected $_table_names_plural = false; //un usuario genera varios documentos protected $_has_many=array( 'documentos'=>array( 'model'=>'documentos', ...
fredd-for/codice.v.1.1
application/classes/model/users.php
PHP
bsd-3-clause
1,887
/* * Texas Instruments DA8xx/OMAP-L1x "glue layer" * * Copyright (c) 2008-2009 MontaVista Software, Inc. <source@mvista.com> * * Based on the DaVinci "glue layer" code. * Copyright (C) 2005-2006 by Texas Instruments * * This file is part of the Inventra Controller Driver for Linux. * * The Inventra Controller...
chaoling/test123
linux-2.6.39/drivers/usb/musb/da8xx.c
C
gpl-2.0
16,317
package org.ripple.bouncycastle.asn1; /** * @deprecated use ASN1Boolean */ public class DERBoolean extends ASN1Boolean { /** * @deprecated use getInstance(boolean) method. * @param value */ public DERBoolean(boolean value) { super(value); } DERBoolean(byte[] value) ...
ripple/ripple-lib-java
ripple-bouncycastle/src/main/java/org/ripple/bouncycastle/asn1/DERBoolean.java
Java
isc
353
package org.alljoyn.ioe.controlpaneladapter; /****************************************************************************** * Copyright AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provide...
octoblu/alljoyn
alljoyn/services/controlpanel/java/ControlPanelAdapter/src/org/alljoyn/ioe/controlpaneladapter/ControlPanelAdapter.java
Java
isc
106,823
/* * Copyright (c) 2018 Erik Nordstrøm <erik@nordstroem.no> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS...
en90/klondike
server/src/klondike.rs
Rust
isc
1,308
--- title: la unidad del evangelio date: 08/07/2017 --- **Lee para el estudio de esta semana** Gálatas 2:1-14; 1 Corintios 1:10-13; Génesis 17:1-21; Juan 8:31-36; Colosenses 3:11. ><p>Para memorizar</p> >“Completad mi gozo, sintiendo lo mismo, teniendo el mismo amor, unánimes, sintiendo una misma cosa” (Fil. 2:2)....
Adventech/sabbath-school-lessons
src/es/2017-03/03/01.md
Markdown
mit
1,523
using System; using System.Linq; using System.Reflection; using NUnit.Framework; using Should; namespace AutoMapper.UnitTests.Tests { public abstract class using_generic_configuration : AutoMapperSpecBase { protected override void Establish_context() { Mapper.CreateMap<S...
IanYates83/AutoMapper
src/UnitTests/Tests/PropertyMapSpecs.cs
C#
mit
10,237
namespace GridDesktop.Examples.WorkingWithWorksheet { partial class ExportDataToDataTable { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being us...
aspose-cells/Aspose.Cells-for-.NET
Examples_GridDesktop/CSharp/GridDesktop.Examples/WorkingWithWorksheet/ExportDataToDataTable.Designer.cs
C#
mit
4,283
import leon.annotation._ import leon.lang._ import leon.lang.synthesis._ object Complete { sealed abstract class List case class Cons(head: Int, tail: List) extends List case object Nil extends List def size(l: List) : Int = (l match { case Nil => 0 case Cons(_, t) => 1 + size(t) }) ensuring(res...
ericpony/scala-examples
testcases/synthesis/oopsla2013/StrictSortedList/Union.scala
Scala
mit
1,903
/** * Solarized Light theme for reveal.js. * Author: Achim Staebler */ @import url(../../lib/font/league-gothic/league-gothic.css); @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); /** * Solarized colors by Ethan Schoonover */ html * { color-profile: sRGB; rendering-intent...
loumontano/sassconf-maps
css/theme/solarized.css
CSS
mit
6,303
package org.multibit.hd.ui.views.wizards.welcome.create_wallet; import com.google.common.base.Optional; import net.miginfocom.swing.MigLayout; import org.multibit.hd.brit.core.seed_phrase.SeedPhraseGenerator; import org.multibit.hd.ui.MultiBitUI; import org.multibit.hd.ui.events.view.ViewEvents; import org.multibit.hd...
bitcoin-solutions/multibit-hd
mbhd-swing/src/main/java/org/multibit/hd/ui/views/wizards/welcome/create_wallet/CreateWalletSeedPhrasePanelView.java
Java
mit
4,231
<div id="HeadContent"> <meta name="description" content="View all career opportunities with MAQ Software's engineering centers in Redmond, Hyderabad and Mumbai. Contact the recruitment team today!" /> <meta name="keywords" content="MAQ Software, Jobs, .NET, Windows Phone 7, Windows Phone 8, iPhone, iPad, iPa...
maqgunupurum/maqgunupurum.github.io
CareerinUS.html
HTML
mit
27,422
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * Json library * @class Logs_controller * @version 07/05/2015 12:18:00 */ class Logs_controller { function read() { $page = getVarClean('page','int',1); $limit = getVarClean('rows','int',5); $sidx = ...
wiliamdecosta/captrack
application/libraries/administration/Logs_controller.php
PHP
mit
2,803
# coding: utf-8 # pylint: disable = invalid-name, W0105, C0301 from __future__ import absolute_import import collections from operator import gt, lt from .compat import range_ class EarlyStopException(Exception): """Exception of early stopping. Parameters ---------- best_iteration : int The...
Allardvm/LightGBM
python-package/lightgbm/callback.py
Python
mit
6,890
/* Part of libhgfs - (c) 2009, D.C. van Moolenbroek */ /* Various macros used here and there */ #define MAKELONG(a,b) ((a) | ((b) << 16)) #define HIWORD(d) ((d) >> 16) #define LOWORD(d) ((d) & 0xffff) #define BYTES(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24)) /* Valid channel types for channel_open...
ducis/operating-system-labs
src.clean/lib/libhgfs/const.h
C
mit
1,916
/*global require, module*/ var webpack = require('webpack'); var webpackConfig = require('./webpack.config.js'); webpackConfig.plugins = webpackConfig.plugins || []; webpackConfig.plugins.push(new webpack.DefinePlugin({ 'process.env': { 'NODE_ENV': JSON.stringify('production') } })); module.exports = functio...
tf/pageflow-dependabot-test
node_package/Gruntfile.js
JavaScript
mit
769
'''Todo: * Add multiple thread support for async_process functions * Potentially thread each handler function? idk ''' import sys import socket import re import threading import logging import time if sys.hexversion < 0x03000000: #Python 2 import Queue as queue BlockingIOError = socket.error else: imp...
codetalkio/TelegramIRCImageProxy
asyncirc/ircbot.py
Python
mit
5,983
/** * 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.v2018_04_01.implementation; import co...
navalev/azure-sdk-for-java
sdk/network/mgmt-v2018_04_01/src/main/java/com/microsoft/azure/management/network/v2018_04_01/implementation/UsagesImpl.java
Java
mit
1,596
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import {accumulateEnterLeaveDispatches} from 'events/EventPropagators'; import { TOP_MOUSE_OUT, TOP_MOUSE_OVER, TOP_POINTER_OUT, ...
krasimir/react
packages/react-dom/src/events/EnterLeaveEventPlugin.js
JavaScript
mit
4,240
using Mono.Cecil; using System; using System.Collections.Generic; using System.Linq; namespace Pumpkin { public class Signature { public string ClassName { get; set; } public string MethodName { get; set; } public bool IsStatic { get; set; } public IList<ParameterDefinition> Pa...
ldematte/ManagedPumpkin
Pumpkin/Signature.cs
C#
mit
1,124
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
Safewhere/kombit-web-java
kombit-opensaml-2.5.1/src/org/opensaml/saml2/core/validator/AuthnContextClassRefSchemaValidator.java
Java
mit
1,953
--- layout: base sitemap: false --- <div class="illustration"> <div class="container"> <img src="{{ site.github.url | replace: 'http://', '//' }}/images/illustration-full.png" alt="Tech Blog"> </div> </div> <article class="container"> {% for post in paginator.posts %} {% unless post.draft %} <se...
Coveo/coveo.github.io
index.html
HTML
mit
1,968
<?php /* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a...
klebercode/prestashop
rm-install/upgrade/php/add_new_groups.php
PHP
mit
3,162
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>Beri...
victorespnt/v-eshop
prestashop/mails/nl/payment_error.html
HTML
mit
6,442
For the Changelog, please see [Releases](https://github.com/phusion/baseimage-docker/releases) on GitHub
remeeting/baseimage-docker
Changelog.md
Markdown
mit
105
FROM electronuserland/builder:wine RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \ echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \ apt-get update -y && apt-get install -y --no-install-recommends xvfb google-chrome-...
mastergberry/electron-builder
docker/wine-chrome/Dockerfile
Dockerfile
mit
401
import { platformBrowser } from '@angular/platform-browser'; import { enableProdMode } from '@angular/core'; import { AppModuleNgFactory } from '../../../temp/app/navigationbar/keyboardnavigation/app.module.ngfactory'; enableProdMode(); platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);
luissancheza/sice
js/jqwidgets/demos/angular/app/navigationbar/keyboardnavigation/main.ts
TypeScript
mit
306
/* * Copyright 2009 The Closure Compiler Authors. * * 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...
110035/kissy
tools/module-compiler/tests/com/google/javascript/jscomp/CommandLineRunnerTest.java
Java
mit
25,263
/** * Tools.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class contains various utlity functions. These are also exposed * directly on the tinymce nam...
pvskand/addictionRemoval
tinymce/src/core/src/main/js/util/Tools.js
JavaScript
mit
12,608
<div id="main-container" class="main-container jqx-rc-all"> <div style="float: left"> <div id="catalogue" class="catalogue jqx-rc-all"> </div> </div> <div id="options" class="options jqx-rc-all"> <div id="options-container" class="options-container"> <div class="label"> Price </di...
luissancheza/sice
js/jqwidgets/demos/angular/app/slider/rangeslider/app.component.html
HTML
mit
3,029
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ 'use strict'; const glob = require('glob'); const path = require('path'); /** * Find the main file for the C# project * * @param {String} folder Name of the folder where to seek * @return {String} */ module.ex...
bluejeans/react-native-windows
local-cli/core/windows/findMainFile.js
JavaScript
mit
811
-- Copyright 2013 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
milos-korenciak/heroku-buildpack-tex
buildpack/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/SplitHeuristic.lua
Lua
mit
848
<!doctype html> <html> <title>npm-help</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-help.html"> <script async=true src="../../static/toc.js"></script> <bod...
usmanantharikta/workshop_bekup
node-v4.6.1-linux-x64/lib/node_modules/npm/html/doc/cli/npm-help.html
HTML
mit
4,062
<a href="https://travis-ci.org/kataras/go-fs"><img src="https://img.shields.io/travis/kataras/go-fs.svg?style=flat-square" alt="Build Status"></a> <a href="https://github.com/kataras/go-fs/blob/master/LICENSE"><img src="https://img.shields.io/badge/%20license-MIT%20%20License%20-E91E63.svg?style=flat-square" alt="Licen...
bjwschaap/copper-caple
vendor/src/github.com/kataras/go-fs/README.md
Markdown
mit
15,564
/** * Copyright MaDgIK Group 2010 - 2015. */ package madgik.exareme.master.streamClient; import madgik.exareme.master.client.AdpDBClientProperties; import madgik.exareme.master.engine.AdpDBManager; import madgik.exareme.master.streamClient.rmi.RmiOptiqueStreamAdpDBClient; import java.rmi.RemoteException; /** * @a...
XristosMallios/cache
exareme-master/src/main/java/madgik/exareme/master/streamClient/AdpStreamDBClientFactory.java
Java
mit
623
module Appsignal class Aggregator class PostProcessor attr_reader :transactions def initialize(transactions) @transactions = transactions end def post_processed_queue! transactions.map do |transaction| transaction.events.each do |event| Appsignal.pos...
q-m/appsignal
lib/appsignal/aggregator/post_processor.rb
Ruby
mit
866
module.exports = { settings: { }, commands: { }, };
vgno/roc-config
test/configuration/fixtures/roc.complex.config.js
JavaScript
mit
68
import os def get_html_theme_path(): theme_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) return theme_dir
iktakahiro/sphinx_theme_pd
sphinx_theme_pd/__init__.py
Python
mit
136
--- title: ტაძრის განწმედა date: 14/08/2019 --- როცა სახარებებში ვკითხულობთ ისტორიებს ქრისტეს შესახებ, ხშირად გვიზიდავს მისი მზრუნველობა სნეულთა და ბავშვთა მიმართ, მისი ისტორიები დაკარგულის ძებნისა და საუბრები ღვთის სასუფევლის შესახებ. შესაძლებელია, ამიტომაც სხვა ისტორიები, რომლებშიც იგი მტკიცედ და მძაფრად მოქმედებს, ...
PrJared/sabbath-school-lessons
src/ka/2019-03/07/05.md
Markdown
mit
5,266
/** * \file * \brief Local descriptor table (LDT) management */ /* * Copyright (c) 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, Haldeneggsteig 4, CH-80...
daleooo/barrelfish
lib/barrelfish/arch/x86_64/ldt.c
C
mit
6,346
var fs = require('fs'); var pkg = require('../package.json'); console.log('Creating dist/js-data-debug.js...'); var file = fs.readFileSync('dist/js-data-debug.js', { encoding: 'utf-8' }); var lines = file.split('\n'); var newLines = []; lines.forEach(function (line) { if (line.indexOf('logFn(') === -1) { new...
davincho/js-data
scripts/debug.js
JavaScript
mit
480
// "Borrowed" from node-inspector var CallbackHandler = { /** * Create a callback container * @return {Object} that wraps callbacks and returns a one-time id. */ create: function () { var lastId = 1, callbacks = {} return Object.create({}, { wrap: { value: function (callback)...
codydaig/guvnor
test/integration/fixtures/continueProcess.js
JavaScript
mit
4,878
using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Http; using Microsoft.AspNet.Mvc; using AllReady.Security; using AllReady.Models; using AllReady.Services; using AllReady.ViewModels; using System.Linq; using System.Threading.Tasks; using MediatR; using AllReady.Areas.Admin.Models; using Syst...
aliiftikhar/allReady
AllReadyApp/Web-App/AllReady/Areas/Admin/Controllers/ActivityAdminController.cs
C#
mit
11,630
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../../libc/constant.ETH_P_TEB.html"> </head> <body> <p>Redirecting to <a href="../../../../libc/constant.ETH_P_TEB.html">../../../../libc/constant.ETH_P_TEB.html</a>...</p> <script>location.replace("../../../../libc/cons...
malept/guardhaus
main/libc/unix/linux_like/linux/constant.ETH_P_TEB.html
HTML
mit
401
import { ConfigManager } from './configuration/configManager'; void ConfigManager.removeSettings();
vscode-icons/vscode-icons
src/uninstall.ts
TypeScript
mit
101
/* SPDX-License-Identifier: BSD-3-Clause * * Copyright(c) 2019-2021 Xilinx, Inc. * Copyright(c) 2019 Solarflare Communications Inc. * * This software was jointly developed between OKTET Labs (under contract * for Solarflare) and Solarflare Communications, Inc. */ #ifndef _SFC_MAE_H #define _SFC_MAE_H #include ...
john-mcnamara-intel/dpdk
drivers/net/sfc/sfc_mae.h
C
mit
12,044
version https://git-lfs.github.com/spec/v1 oid sha256:a5b63c6dfd15dccd31cce53e9713057b4a280de478598a0046a6b1221e6564d0 size 42396
yogeshsaroya/new-cdnjs
ajax/libs/insightjs/0.1.4/insight.min.js
JavaScript
mit
130
<!doctype html> <html> <title>npm-whoami</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/api/npm-whoami.html"> <script async=true src="../../static/toc.js"></script> ...
michaljach/ember-cli-xpagination
node_modules/ember-cli/node_modules/npm/html/doc/api/npm-whoami.html
HTML
mit
2,975
// -*- c++ -*- /* * Copyright (c) 2010-2012, Jim Bosch * All rights reserved. * * ndarray is distributed under a simple BSD-like license; * see the LICENSE file that should be present in the root * of the source distribution, or alternately available at: * https://github.com/ndarray/ndarray */ #ifndef NDARRAY_E...
rnavier/rnavier
ndarray/ndarray/eigen/bp/EigenView.h
C
mit
2,686
/** * 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.v2016_03_01; import java.util.Collect...
navalev/azure-sdk-for-java
sdk/appservice/mgmt-v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/InAvailabilityReasonType.java
Java
mit
1,444
<?php # -*- coding: utf-8 -*- /** * Class Mlp_Language_Manager_Page_View * * @version 2014.07.16 * @author Inpsyde GmbH, toscho * @license GPL */ class Mlp_Language_Manager_Page_View { /** * @var Mlp_Options_Page_Data */ private $page_data; /** * @var Mlp_Browsable */ private $pagination_data; /*...
inpsyde/multilingual-press
src/inc/language-manager/Mlp_Language_Manager_Page_View.php
PHP
mit
1,993
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
radshit/vscode
src/vs/workbench/electron-browser/main.contribution.ts
TypeScript
mit
23,948
using System; using System.Drawing; namespace Gwen.Control.Layout { /// <summary> /// Single table row. /// </summary> public class TableRow : Base { // [omeg] todo: get rid of this public const int MaxColumns = 5; private int m_ColumnCount; private bool m_EvenRow;...
BreyerW/Sharp.Engine
Gwen/Control/Layout/TableRow.cs
C#
mit
7,144
package mcjty.rftools.items.dimlets; import java.util.HashMap; import java.util.Map; public class DimletCosts { static final Map<DimletKey,Integer> dimletBuiltinRfCreate = new HashMap<DimletKey, Integer>(); static final Map<DimletKey,Integer> dimletBuiltinRfMaintain = new HashMap<DimletKey, Integer>(); st...
Elecs-Mods/RFTools
src/main/java/mcjty/rftools/items/dimlets/DimletCosts.java
Java
mit
580
package com.example.conami.dokimemo; public final class UserModel { private static int id = 1; private static String name = "user1"; private static int coupleId = 1; private static int partnarId = 3; private UserModel() {} private void setId(int id) { this.id = id; } private ...
shimomo/dokidoki-memorial
client/app/src/main/java/com/example/conami/dokimemo/UserModel.java
Java
mit
823
import baseCallback from '../internal/baseCallback'; import basePullAt from '../internal/basePullAt'; /** * Removes all elements from `array` that `predicate` returns truthy for * and returns an array of the removed elements. The predicate is bound to * `thisArg` and invoked with three arguments: (value, index, arr...
heavyk/affinaty
src/lib/lodash/array/remove.js
JavaScript
mit
1,892
<?php session_start(); header('Access-Control-Allow-Origin: *'); if (isset($_SESSION['token'])) { $token=$_SESSION['token']; $servername = "localhost"; $username = "root"; $password = "sAhArAnTech1Kriti16"; $conn = new mysqli($servername, $username, $password); if ($conn->connect_error) { die("Connection failed...
subhdeep/Techkriti-17-Beta
zonals_old/profile.php
PHP
mit
1,673
# coding: utf-8 require 'spec_helper' describe ActiveInteraction::TimeFilter, :filter do include_context 'filters' it_behaves_like 'a filter' shared_context 'with format' do let(:format) { '%d/%m/%Y %H:%M:%S %z' } before do options.merge!(format: format) end end describe '#initialize' d...
JasOXIII/active_interaction
spec/active_interaction/filters/time_filter_spec.rb
Ruby
mit
3,726
var roundTrip = module.exports = require('azure-mobile-apps').table(); roundTrip.update(function (context) { return context.execute() .catch(function (error) { if(context.req.query.conflictPolicy === 'clientWins') { context.item.version = error.item.version; retu...
shrishrirang/azure-mobile-apps-node
e2etest/tables/roundTripTable.js
JavaScript
mit
675
module Timeline { declare var vis; export interface ITimelineScope extends ng.IScope { vm: TimelineCtrl; numberOfItems: number; timeline: any; datePickerOptions: any; datePickerDate: Date; } /** Interface for the timeline configuration, may be part of the {csCom...
indodutch/csWeb
csComp/directives/Timeline/TimelineCtrl.ts
TypeScript
mit
30,558
import unittest import chainer from chainer import testing from chainer.testing import attr from chainercv.links.model.deeplab import SeparableASPP class TestSeparableASPP(unittest.TestCase): def setUp(self): self.in_channels = 128 self.out_channels = 32 self.link = SeparableASPP( ...
chainer/chainercv
tests/links_tests/model_tests/deeplab_tests/test_aspp.py
Python
mit
975
<?php /* * * (c) Sergi Tur Badenas <sergiturbadenas@gmail.com> * * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. * */ namespace Acacha\AdminLTETemplateLaravel\app\Providers; use Illuminate\Support\ServiceProvider; /** * Class AdminLT...
SatoshiDark/adminlte-laravel
src/app/Providers/AdminLTETemplateServiceProvider.php
PHP
mit
2,684
<?php namespace Rad\Core; use Composer\Autoload\ClassLoader; use InvalidArgumentException; use Rad\Core\Exception\MissingBundleException; use Rad\Utility\Inflection; /** * Bundles Loader * * @package Rad\Core */ class Bundles { /** * @var ClassLoader */ protected static $classLoader; /** ...
radphp/radphp
src/Core/Bundles.php
PHP
mit
3,011
<!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 (1.8.0_112-release) on Mon Apr 03 15:13:53 MDT 2017 --> <title>ElasticSearchUserController.UpdateUserTask</title> <meta name="date" content="2017-04-0...
bfleyshe/ProjectAttitude
doc/com/projectattitude/projectattitude/Controllers/ElasticSearchUserController.UpdateUserTask.html
HTML
mit
12,892
/** * @fileoverview This option sets a specific tab width for your code * @author Dmitriy Shekhovtsov * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------...
DavidAnson/eslint
tests/lib/rules/indent.js
JavaScript
mit
328,533
<?php /** * Dns * * êëàññ DNS */ class Dns extends Model { private $ref_domain; private $ref_ns; }
AlmazKo/Brill
Brill/Modules/Settings/Models/Dns.php
PHP
mit
113
<div role="columnheader" ng-class="{ 'sortable': sortable }" ui-grid-one-bind-aria-labelledby-grid="col.uid + '-header-text ' + col.uid + '-sortdir-text'" aria-sort="{{col.sort.direction == asc ? 'ascending' : ( col.sort.direction == desc ? 'descending' : (!col.sort.direction ? 'none' : 'other'))}}"> <...
genome/civic-client
src/app/views/events/variantGroups/summary/variantGridTooltipHeader.tpl.html
HTML
mit
1,931
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace spec\Sylius\Bundle\MoneyBundle\Templating\Helper; use PhpSpec\Obj...
psren/Sylius
src/Sylius/Bundle/MoneyBundle/spec/Templating/Helper/ConvertMoneyHelperSpec.php
PHP
mit
1,557
app.service('programmingLandingService', function ($http) { //get user profile information this.getGymObj = function (gymId) { return $http({ method: 'GET', url: 'api/gyms/pathway/' + gymId, }) .then(function (response) { return response.data;...
blundercode/logosShit
client/app/admin/gym/programming/programmingLanding/programmingLandingService.js
JavaScript
mit
1,973
"""tests/test_output_format.py. Tests the output format handlers included with Hug Copyright (C) 2015 Timothy Edmund Crosley 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, ...
janusnic/hug
tests/test_output_format.py
Python
mit
2,987
// <auto-generated> // 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 // re...
yaakoviyun/azure-sdk-for-net
src/AzureStack/Admin/BackupAdmin/Backup.Admin/Generated/BackupAdminClient.cs
C#
mit
13,055
// This file implements the IProvideTaskPage Interface for Python. // Generated by makegw.py #include "PyIProvideTaskPage.h" #include "PyWinObjects.h" // @doc - This file contains autoduck documentation // --------------------------------------------------- // // Interface Implementation PyIProvideTaskPage::PyIProvi...
DavidGuben/rcbplayspokemon
app/pywin32-220/com/win32comext/taskscheduler/src/PyIProvideTaskPage.cpp
C++
mit
2,049
module Doorkeeper class Application < ActiveRecord::Base self.table_name = "#{table_name_prefix}oauth_applications#{table_name_suffix}".to_sym include ApplicationMixin has_many :authorized_tokens, -> { where(revoked_at: nil) }, class_name: 'AccessToken' has_many :authorized_applications, through: :a...
EasterAndJay/doorkeeper
lib/doorkeeper/orm/active_record/application.rb
Ruby
mit
895
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NBitcoin.BuilderExtensions; using NBitcoin.Crypto; using NBitcoin.OpenAsset; using NBitcoin.Policy; using NBitcoin.Stealth; using Builder = System.Func<NBitcoin.TransactionBuilder.TransactionBuildingContext, NBitcoin.IMoney>; ...
stratisproject/StratisBitcoinFullNode
src/NBitcoin/TransactionBuilder.cs
C#
mit
77,539
use uuid::Uuid; use std::str::FromStr; use std::fmt; use version; #[derive(Clone,Debug)] pub struct SessionConfig { pub user_agent: String, pub device_id: String, } impl Default for SessionConfig { fn default() -> SessionConfig { let device_id = Uuid::new_v4().hyphenated().to_string(); Se...
XDjackieXD/librespot
core/src/config.rs
Rust
mit
2,856
define({ "add": "Κάντε κλικ για προσθήκη νέου", "title": "Τίτλος", "placeholderBookmarkName": "Όνομα σελιδοδείκτη", "ok": "ΟΚ", "cancel": "Ακύρωση", "warning": "Ολοκληρώστε την επεξεργασία!", "edit": "Επεξεργασία σελιδοδείκτη", "errorNameExist": "Ο σελιδοδείκτης υπάρχει!", "errorNameNull": "Μη έγκυρο ...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/Bookmark/setting/nls/el/strings.js
JavaScript
mit
2,733
module Fastlane module Actions # will make sure a gem is installed. If it's not an appropriate error message is shown # this will *not* 'require' the gem def self.verify_gem!(gem_name) begin Gem::Specification.find_by_name(gem_name) # We don't import this by default, as it's not alwa...
pubuim/fastlane
lib/fastlane/helper/gem_helper.rb
Ruby
mit
1,074
# react-router-native [React Native](https://facebook.github.io/react-native/) bindings for [React Router](https://reacttraining.com/react-router). ## Installation Using [npm](https://www.npmjs.com/): $ npm install --save react-router-native Then `import` or `require` as you would anything else: ```js // usin...
rackt/react-router
packages/react-router-native/README.md
Markdown
mit
830
const DrawCard = require('../../drawcard.js'); class BrothersRobes extends DrawCard { setupCardAbilities() { this.attachmentRestriction({ trait: 'The Seven' }); this.reaction({ when: { onCardKneeled: event => event.card === this.parent }, target: ...
DukeTax/throneteki
server/game/cards/10-SoD/BrothersRobes.js
JavaScript
mit
1,020
module.exports = { tests: { unit: ['test/unit/helpers/**/*.coffee', 'test/unit/**/*.coffee'], integration: ['test/integration/**/*.coffee'] }, helpers: ['test/unit/helpers/**/*.coffee'], lib: ['lib/**/*.js'] };
tandrewnichols/file-manifest
gulp/config.js
JavaScript
mit
227
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'paste', function( editor ) { var lang = editor.lang.clipboard; var isCustomDomain = CKEDITOR.env.isCustomDomain(); function onPasteFrameLo...
evansd-archive/kohana-module--ckeditor
vendor/ckeditor/_source/plugins/clipboard/dialogs/paste.js
JavaScript
mit
6,348
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
fabiensebban/magento
app/code/core/Mage/Dataflow/sql/dataflow_setup/mysql4-upgrade-0.7.3-0.7.4.php
PHP
mit
1,213
var Tape = function() { var pos = 0, tape = [0]; this.inc = function() { tape[pos]++; } this.dec = function() { tape[pos]--; } this.advance = function() { pos++; if (tape.length <= pos) tape.push(0); } this.devance = function() { if (pos > 0) pos--; } this.get = function() { return tape[pos]; } } var Brainfuck ...
erickt/benchmarks
brainfuck/brainfuck.js
JavaScript
mit
1,429
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>mac close crash</title> </head> <body> <button id="winclose" onclick="winclose()">close</button> <script> function out(id, msg) { var h1 = document.createElement('h1'); h1.setAttribute('...
nwjs/nw.js
test/sanity/issue4056-mac-close-crash/index.html
HTML
mit
531
var Image = require('./image'); var imageFields = ["fieldname", "originalname", "encoding", "mimetype", "destination", "filename", "path", "size"]; module.exports = { create: function (req, cb) { var newImage = new Image(); //go through array fields which are the fields that are //given from mutler...
TAMUSHPE/goalAppServer
models/images/index.js
JavaScript
mit
2,109
/** * @desc notify() * - http://notifyjs.com/ for examples / docs * * @param {Function} fn - the function to curry * @param {Number} [len] - specifies the number of arguments needed to call the function * * @return {Function} - the curried function */ const url = '//rawgit.com/clearhead/clearhead/master/bower_...
clearhead/clearhead
src/notify.js
JavaScript
mit
794
## Solving The CPU Hog Problem Sometimes a handler has a lot of CPU intensive work to do, and getting through it will take a while. When a handler hogs the CPU, nothing else can happen. Browsers only give us one thread of execution and that CPU-hogging handler owns it, and it isn't giving it up. The UI will be ...
chpill/re-frankenstein
docs/Solve-the-CPU-hog-problem.md
Markdown
mit
9,201
#ifndef __GETPASS_H #define __GETPASS_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |_...
jjimenezg93/ai-pathfinding
moai/3rdparty/curl-7.19.7/src/getpass.h
C
mit
1,412
using System.Runtime.InteropServices; namespace SharpShell.Interop { /// <summary> /// Exposes methods that the Shell uses to retrieve flags and info tip information /// for an item that resides in an IShellFolder implementation. Info tips are usually /// displayed inside a tooltip control. /// </...
umutozel/sharpshell
SharpShell/SharpShell/Interop/IQueryInfo.cs
C#
mit
1,901
<!--$Id: db_set_msgfile.so,v 1.1 2004/07/14 19:30:39 bostic Exp $--> <!--$Id: env_set_msgfile.so,v 10.7 2006/02/10 22:54:59 bostic Exp $--> <!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> <!--See the file LICENSE for redistribution information.--> <html> <head> <title>Berkeley DB: Db::set_msgfile</title> <...
djsedulous/namecoind
libs/db-4.7.25.NC/docs/api_cxx/db_set_msgfile.html
HTML
mit
3,997