repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
kjmkznr/terraform-provider-aws | aws/resource_aws_ebs_snapshot_copy_test.go | 11780 | package aws
import (
"fmt"
"regexp"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)
func TestAccAWSEb... | mpl-2.0 |
tmhorne/celtx | security/nss/lib/ssl/ssl3ext.c | 42898 | /*
* SSL3 Protocol
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://w... | mpl-2.0 |
seedstack/business | core/src/test/java/org/seedstack/business/fixtures/identity/GuiceIdentityGenerator.java | 678 | /*
* Copyright © 2013-2021, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.fixtur... | mpl-2.0 |
Ninir/terraform-provider-aws | aws/resource_aws_licensemanager_license_configuration_test.go | 6973 | package aws
import (
"fmt"
"log"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/licensemanager"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func init() {
resource.AddTestSweepers("aws_licensemanager_license_configuration", &resou... | mpl-2.0 |
Txuritan/tki-wiki | dist/css/findcond.css | 1498 | body {
padding-top: 70px;
}
nav.navbar-findcond {
background: #fff;
border-color: #ccc;
box-shadow: 0 0 2px 0 #ccc;
}
nav.navbar-findcond a {
color: #f14444;
}
nav.navbar-findcond ul.navbar-nav a {
color: #f14444;
border-style: solid;
border-width: 0 0 2px 0;
border-co... | mpl-2.0 |
mil-oss/fgsms | fgsms-netagent/Tests/services/HelloWorldASPNETClient/Form1.cs | 1522 | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* If it is not possible or desirable to put the notice in a particular
* file, then You may include the noti... | mpl-2.0 |
ludei/atomic-plugins-ads | doc_template/doxygen/stylesheet.css | 25785 | /* The standard CSS for doxygen 1.8.9.1 */
body, table, div, p, dl {
font: 400 14px/22px Roboto, sans-serif;
}
/* @group Heading Levels */
h1.groupheader {
font-size: 150%;
}
.title {
font: 400 14px/28px Roboto, sans-serif;
font-size: 150%;
font-weight: bold;
margin: 10px 2px;
}
h2.grouphea... | mpl-2.0 |
Appverse/appverse-server | framework/modules/backend/core/enterprise-converters/src/main/java/org/appverse/web/framework/backend/core/enterprise/converters/AbstractDozerB2IBeanConverter.java | 10846 | /*
Copyright (c) 2012 GFT Appverse, S.L., Sociedad Unipersonal.
This Source Code Form is subject to the terms of the Appverse Public License
Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this
file, You can obtain one at http://www.appverse.mobi/licenses/apl_v2.0.pdf. [^]
Redistributio... | mpl-2.0 |
Devexperts/QD | dxfeed-samples/files/ui_quotetable_ondemand.sh | 134 | #!/bin/bash
java -cp .:lib/dxfeed-samples.jar:lib/qds.jar:lib/dxfeed-ondemand.jar com.dxfeed.sample.ui.swing.DXFeedQuoteTableOnDemand | mpl-2.0 |
yungtechboy1/MiNET | src/MiNET/MiNET/Items/ItemSaddle.cs | 1266 | #region LICENSE
// The contents of this file are subject to the Common Public Attribution
// License Version 1.0. (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// https://github.com/NiclasOlofsson/MiNET/blob/master/LICENSE.
// The License ... | mpl-2.0 |
echocat/jomon | resources/src/main/java/org/echocat/jomon/resources/UriEnabledResource.java | 707 | /*****************************************************************************************
* *** BEGIN LICENSE BLOCK *****
*
* Version: MPL 2.0
*
* echocat Jomon, Copyright (c) 2012-2013 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was n... | mpl-2.0 |
DominoTree/servo | tests/wpt/web-platform-tests/offscreen-canvas/fill-and-stroke-styles/2d.fillStyle.parse.hsl-clamp-4.worker.js | 702 | // DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.fillStyle.parse.hsl-clamp-4
// Description:
// Note:<p class="notes">
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done.... | mpl-2.0 |
mozilla/rhino | testsrc/tests/js1_5/Scope/regress-208496-001.js | 2507 | /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
*
* Date: 05 June 2... | mpl-2.0 |
servo/doc.servo.org | x11/xlib/constant.CWX.html | 4165 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `CWX` constant in crate `x11`.">
<meta name="keywords" cont... | mpl-2.0 |
susaing/doc.servo.org | compositing/compositor/enum.CompositingReason.html | 7814 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `CompositingReason` enum in crate `compositing`.">
<meta na... | mpl-2.0 |
SmartSearch/Mashups | Event_Billboard-portlet/docroot/js/pretty-json-master/src/leaf.js | 2216 | /**
* @class PrettyJSON.view.Leaf
* @extends Backbone.View
*
* @author #rbarriga
* @version 0.1
*
*/
PrettyJSON.view.Leaf = Backbone.View.extend({
tagName:'span',
data:null,
level:0,
path:'',
type:'string',
isLast: true,
events: {
"mouseover .leaf-container": "mouseover",
"m... | mpl-2.0 |
GreenDelta/olca-converter | src/main/java/org/openlca/olcatdb/ecospold2/ES2ChildDataset.java | 386 | package org.openlca.olcatdb.ecospold2;
import org.openlca.olcatdb.parsing.Context;
/**
* @Element childActivityDataset
* @ContentModel (activityDescription, flowData, modellingAndValidation,
* administrativeInformation, namespace:uri="##other")
*/
@Context(name = "childActivityDataset", parentName =... | mpl-2.0 |
susaing/doc.servo.org | net/fetch/request/enum.Referer.html | 4417 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Referer` enum in crate `net`.">
<meta name="keywords" cont... | mpl-2.0 |
davepacheco/sdc-manta | test/CollectorStream.js | 799 | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2015, Joyent, Inc.
*/
/*
* CollectorStream: transform that collects all input and makes... | mpl-2.0 |
digidotcom/DCRabbit_9 | Samples/SmrtStar/dac/SSDAC1.C | 3624 | /*
Copyright (c) 2015, Digi International Inc.
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" AND TH... | mpl-2.0 |
scala-search/scaps | webserviceUI/src/main/scala/scaps/webservice/ui/Main.scala | 2534 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package scaps.webservice.ui
import scala.scalajs.js.annotation.JSExport
import org.scalajs.dom
import org.scalajs... | mpl-2.0 |
sirlag/AesirSpring | README.md | 703 | Aesir
=========
[](https://travis-ci.org/sirlag/AesirSpring)
Named after the norse council of gods, Aesir is a tool designed to allow users to quickly and easily find groups to work
on time sensitive projects with.
Aesir is also designed to a... | mpl-2.0 |
servo/doc.servo.org | libc/unix/other/constant.ENOTNAM.html | 4506 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `ENOTNAM` constant in crate `libc`.">
<meta name="keywords"... | mpl-2.0 |
DeadSix27/python_cross_compile_script | tools/split.py | 1806 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os,re,sys,pprint,shutil
from pathlib import Path
PACKAGES_DIR = "../packages"
def errorExit(msg):
print(msg)
sys.exit(1)
def isPathDisabled(path):
for part in path.parts:
if part.lower().startswith("_disabled"):
return True
return False
depsFolder = P... | mpl-2.0 |
mstange/cleopatra | src/test/components/CallNodeContextMenu.test.js | 6012 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// @flow
import * as React from 'react';
import { Provider } from 'react-redux';
import copy from 'copy-to-clipboa... | mpl-2.0 |
tautvilas/lingu | examples/todomvc/README.md | 5056 | # TodoMVC implementation with [Lingu](https://github.com/tautvilas/lingu)
The idea of Lingu programming language is to separate pure domain logic from implementation details and make program code as clear and simple as possible. If there is something that programmer lacks in default language syntax set he can easily e... | mpl-2.0 |
mcnulty/udi | libudi/src/thread.rs | 3825 | //
// Copyright (c) 2011-2017, UDI Contributors
// All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
#![deny(warnings)]
#![allow(unused_varia... | mpl-2.0 |
mdn/webextensions-examples | google-userinfo/background/main.js | 541 | /*global getAccessToken*/
function notifyUser(user) {
browser.notifications.create({
"type": "basic",
"title": "Google info",
"message": `Hi ${user.name}`
});}
function logError(error) {
console.error(`Error: ${error}`);
}
/**
When the button's clicked:
- get an access token using the identity API
... | mpl-2.0 |
mozilla/addons-frontend | src/amo/components/App/index.js | 6317 | /* @flow */
/* global Navigator, navigator */
import config from 'config';
import * as React from 'react';
import { Helmet } from 'react-helmet';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import NestedStatus from 'react-nested-status';
import { compose } from 'redux';
// We ... | mpl-2.0 |
MapWindow/MapWinGIS | src/Grid/fip/ret_dv.cpp | 15098 | # include "stdafx.h"
/***************************************************************************
**
** INVOCATION NAME: RET123DV
**
** PURPOSE: TO RETURN DELIMITED DATA VALUES STORED IN STRUCTURE
**
** INVOCATION METHOD: RET123DV(B_PTR,PRIM_DMS)
**
** ARGUMENT LIST:
** NAME TYPE U... | mpl-2.0 |
tmhorne/celtx | content/xml/document/test/test_bug392338.html | 2845 | <!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=392338
-->
<head>
<title>Test for Bug 392338</title>
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css"... | mpl-2.0 |
tmhorne/celtx | widget/src/gtk2/nsPrintDialogGTK.h | 2300 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | mpl-2.0 |
susaing/doc.servo.org | script/dom/bindings/codegen/Bindings/NodeIteratorBinding/static.sNativePropertyHooks.html | 4838 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `sNativePropertyHooks` static in crate `script`.">
<meta na... | mpl-2.0 |
CPardi/Doctran | Documentation/doc/version-catalogue/base/Shared/Search/tipuesearch/tipuesearch_content.js | 269 | var tipuesearch={"pages": [{"title":"Changelog","text":"","tags":"","category":"","url":globals.prefix+"changelog.html"},{"title":"Version Catalogue","text":"\nPrevious versions of Doctran are listed below.","tags":"","category":"","url":globals.prefix+"index.html"}]}; | mpl-2.0 |
legatoproject/legato-docs | 18_03/le__ri_pin__interface_8h.html | 15788 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>le_riPin_interface.h File Reference - Legato ... | mpl-2.0 |
MonkeysAndDogs/banana | tree/src/main/resources/static/css/layout.css | 1721 | blockquote, body, dd, dl, figure, form, h1, h2, h3, h4, h5, h6, ol, p, ul {
margin: 0; }
ol, ul {
padding: 0;
list-style: none; }
a {
text-decoration: none;
color: inherit;
outline: 0; }
a[href]:active, button:active {
background-image: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0.05), rgba(0, 0, 0,... | mpl-2.0 |
vectorijk/servo | components/script/dom/window.rs | 52772 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use app_units::Au;
use devtools_traits::{ScriptToDevtoolsControlMsg, TimelineMarker, TimelineMarkerType};
use dom:... | mpl-2.0 |
tmhorne/celtx | intl/uconv/ucvlatin/nsUnicodeToISO88593.h | 2188 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | mpl-2.0 |
Afr0/KISS | src/C#/KISS.net/KISS.net/ManifestFile.cs | 2020 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace KISS
{
/// <summary>
/// A manifest file is a file that has a version and references a bunch of patch files.
/// </summary>
public class ManifestFile
{
public string Version = "";
public L... | mpl-2.0 |
jmmaloney4/hs2 | src/main/java/hs/minion/RaidLeader.java | 870 | package hs.minion;
import hs.CardClass;
import hs.CardSet;
public class RaidLeader extends Minion {
static final String Name = "Raid Leader";
static final int Cost = 3;
static final CardClass Class = CardClass.NEUTRAL;
static final String Text = "Your other minions have +1 Attack.";
static final MinionRace Race... | mpl-2.0 |
legatoproject/legato-docs | 16_10_3/c_rtc.html | 5681 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>User Timebase - Legato Docs</title>
<meta co... | mpl-2.0 |
powsybl/powsybl-core | iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/GeneratorAdderImpl.java | 4274 | /**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package co... | mpl-2.0 |
aDataAlchemist/election-tweets | README.md | 586 | # election-tweets
To get this to run, rename config_example.py to config.py and update the felds accordingly with your credentials.
Run the following script to get the twitter data:
```
python get_data_from_twitter.py [list of space separated keywords]
e.g. python get_data_from_twitter.py "#Hillary2016" "#imwithhe... | mpl-2.0 |
jaygumji/Enigma | Enigma/src/Enigma/Db/Store/IStorage.cs | 522 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
namespace Enigma.Db.Store
{
public interface IStorage
{
//IStorageMaintenance Maintenance { get; }... | mpl-2.0 |
king-jam/tracker2jira | rest/server/operations/users/delete_user_by_id_parameters.go | 1685 | // Code generated by go-swagger; DO NOT EDIT.
package users
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime/middleware"
strfmt "github.com/go-op... | mpl-2.0 |
Burning-Man-Earth/iBurn-Android | iBurn/src/main/java/com/gaiagps/iburn/PrefsHelper.java | 2742 | package com.gaiagps.iburn;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by davidbrodsky on 7/1/15.
*/
public class PrefsHelper {
private static final String SHOWED_WELCOME = "welcomed_2018"; // boolean
private static final String POPULATED_DB_VERSION = "... | mpl-2.0 |
servo/doc.servo.org | x11/xlib/fn.XkbXlibControlsImplemented.html | 4244 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XkbXlibControlsImplemented` fn in crate `x11`.">
<meta nam... | mpl-2.0 |
AutogrowSystems/go-jelly | ig/iclimate_functions.go | 841 | package ig
import "fmt"
// SetTempTarget will set the temperature that the room should be kept to
func (ic *IntelliClimate) SetTempTarget(target float64) error {
return fmt.Errorf("not implemented")
}
// SetCO2Target will set the CO2 levels in PPM that the room should be kept to
func (ic *IntelliClimate) SetCO2Targ... | mpl-2.0 |
ictinnovations/ictcore | core/Application/Originate.php | 2673 | <?php
namespace ICT\Core\Application;
/* * ***************************************************************
* Copyright © 2015 ICT Innovations Pakistan All Rights Reserved *
* Developed By: Nasir Iqbal *
* Website : http://www.ictinnovations.com/ *
* M... | mpl-2.0 |
jeychenne/dolmen | runtime/PluginHandler.h | 1526 | /*
* DMScriptApi.h
*
* Copyright (C) 2010-2017 Julien Eychenne
*
* This file is part of Dolmen.
*
* Dolmen is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License (GPL) as
* published by the Free Software Foundation, either version 2 of the
* License, or ... | mpl-2.0 |
HouzuoGuo/laitos | daemon/httpd/handler/cmd_form.go | 2391 | package handler
import (
"errors"
"fmt"
"html"
"net/http"
"strings"
"github.com/HouzuoGuo/laitos/daemon/httpd/middleware"
"github.com/HouzuoGuo/laitos/lalog"
"github.com/HouzuoGuo/laitos/toolbox"
)
const HandleCommandFormPage = `<html>
<head>
<title>Command Form</title>
</head>
<body>
<form action="%... | mpl-2.0 |
lucasch/uSync | Jumoo.uSync.Core/Extensions/XElementTrackerExtension.cs | 2874 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Umbraco.Core.Logging;
namespace Jumoo.uSync.Core.Extensions
{
public static class XElementTrackerExtension
{
... | mpl-2.0 |
kdgwill/Java_Example | Round_Robin/build/classes/src/java/CPUmon.rs | 8 | CPUmon
| mpl-2.0 |
legatoproject/legato-docs | 15_10/le__audio__interface_8h.js | 14872 | var le__audio__interface_8h =
[
[ "LE_AUDIO_DTMF_MAX_BYTES", "le__audio__interface_8h.html#aafdf655a188e290502c2a909c3b37104", null ],
[ "LE_AUDIO_DTMF_MAX_LEN", "le__audio__interface_8h.html#a33201f88acf34e8c5cb612ac9f4a8bb6", null ],
[ "LE_AUDIO_GAIN_NAME_MAX_BYTES", "le__audio__interface_8h.html#a4711f6c... | mpl-2.0 |
raymak/contextualfeaturerecommender | phase2/addon/lib/panel.js | 10892 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// The panel module currently supports only Firefox.
// See: https://bugzilla.mozilla.org/show_bug... | mpl-2.0 |
brendanhay/czar | czar-graphite/Main.hs | 3811 | {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
-- |
-- Module : Main
-- Copyright : (c) 2013 Brendan Hay <brendan.g.hay@gmail.com>
-- License : This Source Code Form is subject to the terms of
-- ... | mpl-2.0 |
sensiasoft/lib-ows | ogc-services-sps/src/main/java/org/vast/ows/sps/ConfirmRequestWriterV20.java | 2147 | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License Version
1.1 (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.mozilla.org/MPL/MPL-1.... | mpl-2.0 |
legatoproject/legato-docs | 15_08/legato_8h.html | 7192 | <!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LEGATO: framework/c... | mpl-2.0 |
liangsenzhi/WPF | 1.22WPF嵌入FlashPlayer(VS2010)/WindowsFormsFlashControlLibrary/UserControl1.Designer.cs | 2411 | namespace WindowsFormsFlashControlLibrary
{
partial class UserControl1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposi... | mpl-2.0 |
clementf2b/FaceT | app/src/main/java/fyp/hkust/facet/util/CustomTypeFaceSpan.java | 1186 | package fyp.hkust.facet.util;
/**
* Created by ClementNg on 2/4/2017.
*/
import android.graphics.Paint;
import android.graphics.Typeface;
import android.text.TextPaint;
import android.text.style.TypefaceSpan;
public class CustomTypeFaceSpan extends TypefaceSpan {
private final Typeface newType;
public Cus... | mpl-2.0 |
tst20170901/test2 | Web/Areas/BusinessManger/Controllers/FrameSetController.cs | 3389 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Text;
using Web.Units;
using Models;
namespace Web.Areas.BusinessManger.Controllers
{
public class FrameSetController : BusinessAreaBaseController
{
public ActionResult Login()
... | mpl-2.0 |
ernestio/aws-definition-mapper | output/s3.go | 1797 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed With this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package output
import "reflect"
// S3Grantee ...
type S3Grantee struct {
ID string `json:"id"`
Type ... | mpl-2.0 |
ucdavis/Badges | Badges/Scripts/public/modifyexperience.js | 2851 | (function (badges, $, undefined) {
"use strict";
var options = {}, geocoder, map, marker;
badges.options = function (o) {
$.extend(options, o);
};
badges.init = function () {
initializeTypeahead();
initializeImagePreview();
$(".datepicker").datepicker(... | mpl-2.0 |
seedstack/business | core/src/main/java/org/seedstack/business/domain/BaseRepository.java | 2661 | /*
* Copyright © 2013-2021, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.domain... | mpl-2.0 |
susaing/doc.servo.org | script/dom/bindings/codegen/Bindings/WebGLShaderPrecisionFormatBinding/fn.get_precision.html | 5373 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `get_precision` fn in crate `script`.">
<meta name="keyword... | mpl-2.0 |
hashicorp/consul | ui/packages/consul-ui/app/components/consul/auth-method/list/pageobject.js | 298 | export default (collection, clickable, text) => () => {
return collection('.consul-auth-method-list [data-test-list-row]', {
authMethod: clickable('a'),
name: text('[data-test-auth-method]'),
displayName: text('[data-test-display-name]'),
type: text('[data-test-type]'),
});
};
| mpl-2.0 |
chameleoid/telepathy-web | test/telepathy-web.js | 1829 | 'use strict';
require('should');
describe('index.html', () => {
beforeEach(() => {
browser.url('/');
// browser.localStorage('DELETE') does not work in PhantomJS
browser.execute(function() {
delete window.localStorage;
window.localStorage = {};
});
browser.url('/');
$('#defaul... | mpl-2.0 |
MozillaHive/HiveCHI-rwm | app/models/attendance.rb | 824 | class Attendance < ActiveRecord::Base
belongs_to :student
belongs_to :event
validates_uniqueness_of :student_id, scope: :event_id
validates_presence_of :student_id, :event_id
YES = "Yes"
NO = "No"
MAYBE = "Maybe"
def message
case self.commitment_status
when YES then "You signed up for #{event... | mpl-2.0 |
bwinton/podcasts | src/lib.rs | 4755 | #[macro_use]
extern crate failure;
#[macro_use]
extern crate lazy_static;
extern crate chrono;
extern crate mp3_duration;
extern crate rayon;
extern crate regex;
extern crate reqwest;
extern crate rss;
extern crate select;
extern crate url;
mod diecast;
mod spodcast;
mod util;
mod vortex_theatre;
use std::collection... | mpl-2.0 |
agentlink/Letter-Run | Letter Go/LRButton.h | 1835 | //
// LRButton.h
// Letter Go
//
// Created by Gabriel Nicholas on 11/4/13.
// Copyright (c) 2013 Gabe Nicholas. All rights reserved.
//
#import "LRGameStateDelegate.h"
@interface LRButton : SKSpriteNode <LRGameStateDelegate>
@property (nonatomic, readonly) SEL actionTouchUpInside;
@property (nonatomic, readonly)... | mpl-2.0 |
lonnen/socorro | socorro/unittest/lib/test_task_manager.py | 2418 | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from unittest import mock
from configman.dotdict import DotDict
from socorro.lib.task_manager import TaskManager, defa... | mpl-2.0 |
gozer/voice-web | server/src/lib/model/db/migrations/20190711074029-streaks-and-reached_goals.ts | 1087 | export const up = async function(db: any): Promise<any> {
return db.runSql(
`
CREATE TABLE streaks (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
client_id CHAR(36) NOT NULL,
locale_id INT NOT NULL,
started_at DATETIME,
last_activity_at DATETIME,
FOREI... | mpl-2.0 |
mahsumurebe/QueryBuilder | QueryBuilder/Insert.php | 5264 | <?php
/**
* Insert Class
*
* @author Mahsum UREBE <mahsumurebe@outlook.com> <github:mahsumurebe>
* @file Insert.php
* @copyright ©2017 Mahsum UREBE
**/
namespace System\DB\QueryBuilder;
use System\DB\QueryBuilder\Abstracts\TableAbstract;
/**
... | mpl-2.0 |
morinim/vita | src/setversion.py | 2950 | #!/usr/bin/env python3
#
# Copyright (C) 2017-2020 EOS di Manlio Morini.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/
#
# A python program that helps to set up ... | mpl-2.0 |
os2indberetning/os2indberetning | Infrastructure.DataAccess/Migrations/201502201040378_Changed account to bank account.Designer.cs | 882 | // <auto-generated />
namespace Infrastructure.DataAccess.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.1-30610")]
public sealed p... | mpl-2.0 |
mohancloudworld/Parivartan | src/lib/myModule.js | 18889 | "use strict";
var myTable = require("../data/myTables.json");
// Dictionaries to modify/extend the original dictionaries
var devanagari_dict_mod = {};
var telugu_dict_mod = {};
var kannada_dict_mod = {};
var gujarati_dict_mod = {};
var tamil_dict_mod = {};
var bengali_dict_mod = {};
var gurmukhi_dict... | mpl-2.0 |
joelthompson/vault | sdk/helper/entropy/entropy_test.go | 2440 | package entropy
import (
"bytes"
"errors"
"fmt"
"testing"
"github.com/hashicorp/errwrap"
)
type mockSourcer struct{}
type mockSourcerWithError struct{}
type mockSourcerFailureWithError struct{}
type mockSourcerFailureWithoutError struct{}
// simulates a successful sourcer
func (m *mockSourcer) GetRandom(bytes ... | mpl-2.0 |
zyzyis/monetdb | sql/test/BugTracker-2013/Tests/json_is_null.Bug-3406.sql | 155 | create table testjsonisnull(js json);
insert into testjsonisnull values (NULL);
select * from testjsonisnull where js is null;
drop table testjsonisnull;
| mpl-2.0 |
ArtMares/PQStudio | Builder/plastiq/include/widgets/PlastiQQColormap/plastiqqcolormap.cpp | 5448 | #include "plastiqmethod.h"
#include "plastiqqcolormap.h"
#include <QColormap>
#include <QColor>
QHash<QByteArray, PlastiQMethod> PlastiQQColormap::plastiqConstructors = {
{ "QColormap(QColormap&)", { "QColormap", "QColormap&", "QColormap*", 0, PlastiQMethod::Public, PlastiQMethod::Constructor } },
};
QHash<QBy... | mpl-2.0 |
pmienk/czmq | include/zproc.h | 7726 | /* =========================================================================
zproc - process configuration and status
Copyright (c) the Contributors as noted in the AUTHORS file.
This file is part of CZMQ, the high-level C binding for 0MQ:
http://czmq.zeromq.org. ... | mpl-2.0 |
legatoproject/legato-docs | 19_01/toolsTarget_uartMode.html | 4765 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>uartMode - Legato Docs</title>
<meta content... | mpl-2.0 |
Devexperts/QD | dxlib/src/main/java/com/devexperts/util/TypedMap.java | 1349 | /*
* !++
* QDS - Quick Data Signalling Library
* !-
* Copyright (C) 2002 - 2021 Devexperts LLC
* !-
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
* !__
*/
pa... | mpl-2.0 |
smithkm/gcs | src/com/trollworks/gcs/character/Page.java | 1978 | /*
* Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* version 2.0. If a copy of the MPL was not distributed with this file, You
* can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incom... | mpl-2.0 |
os2indberetning/OS2_Android | app/src/androidTest/java/eindberetning/it_minds/dk/eindberetningmobil_android/views/UploadingViewTest.java | 1086 | package eindberetning.it_minds.dk.eindberetningmobil_android.views;
import android.widget.TextView;
import org.junit.Test;
import eindberetning.it_minds.dk.eindberetningmobil_android.BaseTest;
import eindberetning.it_minds.dk.eindberetningmobil_android.data.StaticData;
import it_minds.dk.eindberetningmobil_android.R... | mpl-2.0 |
eqrion/cbindgen | tests/expectations/expand_default_features.tag.compat.c | 266 | #include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
struct Foo {
};
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
void extra_debug_fn(void);
void root(struct Foo a);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
| mpl-2.0 |
legatoproject/legato-docs | 18_01/basicBuildToolchain.html | 10029 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="Build Apps" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>Install the Toolchain - Legato Docs</title>
... | mpl-2.0 |
mozilla/medlem | medlem/api/tests.py | 5529 | import json
import mock
from django.test import TestCase
from django.core.urlresolvers import reverse
class TestAPI(TestCase):
@mock.patch('ldap.initialize')
def test_exists(self, mocked_initialize):
connection = mock.MagicMock()
mocked_initialize.return_value = connection
url = re... | mpl-2.0 |
MapWindow/MapWinGIS | demo/MWLite.GUI/Helpers/PluginHelper.cs | 316 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MWLite.Core;
namespace MWLite.GUI.Helpers
{
internal static class PluginHelper
{
public static void Init(IMapApp app)
{
ShapeEditor.Editor.Init(app);
}
}
}
| mpl-2.0 |
servo/doc.servo.org | wayland_kbd/keysyms/constant.XKB_KEY_Thai_ngongu.html | 4278 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `XKB_KEY_Thai_ngongu` constant in crate `wayland_kbd`.">
<m... | mpl-2.0 |
digidotcom/transport_examples | WR31/doormon.py | 3979 | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (c) 2016 Digi International Inc. All Rights Reserved.
"""
Monitor the WR31 door enclosure
"""
i... | mpl-2.0 |
ninibe/netlog | biglog/index_reader.go | 6459 | // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package biglog
import (
"errors"
"fmt"
"io"
"sync"
"sync/atomic"
"time"
)
// ErrInvalidIndexReader is returne... | mpl-2.0 |
Kealthals/SalesforceProductionWarning | README.md | 728 | [](https://github.com/Kealthals/SalesforceProductionWarning/stargazers)
[](https://github.com/Kealthals/SalesforceProductionWarnin... | mpl-2.0 |
servo/doc.servo.org | libc/notbsd/linux/other/constant.PTRACE_PEEKUSER.html | 4687 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `PTRACE_PEEKUSER` constant in crate `libc`.">
<meta name="k... | mpl-2.0 |
UK992/servo | tests/wpt/web-platform-tests/referrer-policy/gen/iframe.http-rp/strict-origin-when-cross-origin/fetch/same-http.keep-origin.http.html | 1986 | <!DOCTYPE html>
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec referrer-policy/` -->
<html>
<head>
<title>Referrer-Policy: Referrer Policy is set to 'strict-origin-when-cross-origin'</title>
<meta charset='utf-8'>
<meta name="description" content="Check that a priori ins... | mpl-2.0 |
servo/doc.servo.org | gleam/gl/storage/static.RenderbufferStorage.html | 4533 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `RenderbufferStorage` static in crate `gleam`.">
<meta name... | mpl-2.0 |
PyRag/sports-naarad-ka-addon | index.html | 1414 | <!DOCTYPE html>
<html>
<head>
<title>Sports Naarad</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<meta charset="UTF-8">
<link rel="stylesheet prefetch" type="text/css" href="css/bootstrap.min.css">
<script src="js/jquery-1.12.3.js" defer></script>
... | mpl-2.0 |
susaing/doc.servo.org | servo/style/properties/longhands/background_position/fn.get_initial_value.html | 4498 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `get_initial_value` fn in crate `servo`.">
<meta name="keyw... | mpl-2.0 |
legatoproject/legato-docs | 19_11_3/le__pm__interface_8h.html | 18303 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html data-context="" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<title>le_pm_interface.h File Reference - Legato Docs</title>
... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | dom/media/platforms/omx/OmxDataDecoder.h | 5914 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.... | mpl-2.0 |
etomica/etomica | etomica-core/src/main/java/etomica/data/history/HistoryComplete.java | 3360 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package etomica.data.history;
/**
* History that records a data from a simulation. When existing space
* is i... | mpl-2.0 |