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 |
|---|---|---|---|---|---|
<!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 `load_with` fn in crate `gleam`.">
<meta name="keywords" co... | susaing/doc.servo.org | gleam/ffi/WindowPos3f/fn.load_with.html | HTML | mpl-2.0 | 4,409 |
# encoding: utf-8
#
#
# self 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 self file,
# You can obtain one at http:# mozilla.org/MPL/2.0/.
#
# Author: Kyle Lahnakoski (kyle@lahnakoski.com)
#
from __future__ import unicode_literals
from __... | klahnakoski/esReplicate | pyLibrary/queries/dimensions.py | Python | mpl-2.0 | 13,303 |
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=384147
-->
<head>
<title>Test for Bug 384147</title>
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" ... | tmhorne/celtx | editor/composer/test/test_bug384147.html | HTML | mpl-2.0 | 9,557 |
namespace Sparkle.Services.Networks.Models
{
using System;
public enum AdminWorkTask
{
None,
AcceptOrRefuse,
Other,
}
}
| SparkleNetworks/SparkleNetworks | src/Sparkle.Services/Networks/Models/AdminWorkTask.cs | C# | mpl-2.0 | 177 |
namespace AIOSystemUtility3
{
partial class GPUSummary
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | Kriogen777/Otil | AIOSystemUtility3/Controls/SummaryControls/GPUSummary.Designer.cs | C# | mpl-2.0 | 5,439 |
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose ei... | oracle/terraform-provider-baremetal | vendor/github.com/oracle/oci-go-sdk/v46/database/get_autonomous_patch_request_response.go | GO | mpl-2.0 | 3,078 |
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
// META: script=/bluetooth/resources/bluetooth-helpers.js
'use strict';
const test_desc = 'multiple calls to getDevices() resolves with the same' +
'BluetoothDevice objects for each granted Bluetooth device.';
bluetooth_test(a... | UK992/servo | tests/wpt/web-platform-tests/bluetooth/getDevices/returns-same-bluetooth-device-object.https.window.js | JavaScript | mpl-2.0 | 895 |
importScript([
'../modevlib/main.js',
'../modevlib/Dimension-Bugzilla.js',
"../modevlib/Dimension-Tracked.js",
"../js/grid.js",
"../modevlib/gui/accordion.js",
"../modevlib/gui/dynamic.js",
"../modevlib/gui/aColor.js",
"blockerCharts.js",
"nominationCharts.js",
"regressionCharts.js",
"blockers.css"
]);
| ashughes1/pi-tracked-bugs | js/chart_lib.js | JavaScript | mpl-2.0 | 316 |
using Alex.Networking.Java.Util;
namespace Alex.Networking.Java.Packets.Play
{
public class UpdateViewPositionPacket : Packet<UpdateViewPositionPacket>
{
public int ChunkX { get; set; }
public int ChunkZ { get; set; }
/// <inheritdoc />
public override void Decode(MinecraftStream stream)
{
ChunkX = str... | kennyvv/Alex | src/Alex.Networking.Java/Packets/Play/UpdateViewPositionPacket.cs | C# | mpl-2.0 | 510 |
/* 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.models.nitrogen;
import java.io.FileWriter;
import java.io.IOException;
import etomica.api.IBox;... | ajschult/etomica | etomica-apps/src/main/java/etomica/models/nitrogen/MinimizeBetaNitrogenTranslationDOF.java | Java | mpl-2.0 | 13,557 |
/* 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/. */
/*
Authors:
Michael Berg <michael.berg@zalf.de>
//taken from https://gcc.gnu.org/wiki/Visibility
Maintainers:
Cur... | zalf-lsa/util | common/dll-exports.h | C | mpl-2.0 | 1,795 |
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
//
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://github.com/gogf/gf.
package gfile_test
import (
"os"
"testing"
"time"
"github... | EngineQ/gf | os/gfile/gfile_z_time_test.go | GO | mpl-2.0 | 1,227 |
/*
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... | digidotcom/DCRabbit_9 | Samples/LP3500/IO/DIGBANKIN.C | C++ | mpl-2.0 | 3,774 |
var lizLayerActionButtons = function() {
var tooltipControl = null;
var tooltipLayers = [];
var featureTypes = null;
var opacityLayers = {};
function fillSubDock( html ){
$('#sub-dock').html( html );
// Style opacity button
$('#sub-dock a.btn-opacity-layer').each(function(... | aeag/lizmap-web-client | lizmap/www/js/switcher-layers-actions.js | JavaScript | mpl-2.0 | 17,683 |
Components.utils.import("resource://gre/modules/Services.jsm");
const nsIInterfaceRequestor = Components.interfaces.nsIInterfaceRequestor;
const nsIWebNavigation = Components.interfaces.nsIWebNavigation;
const nsIDocShellTreeItem = Components.interfaces.nsIDocShellTreeItem;
const nsIDOMWindow = Com... | therealglazou/bluegriffon | base/content/bluegriffon/prefs/shortcuts.js | JavaScript | mpl-2.0 | 19,048 |
using System.Collections.Generic;
using L2dotNET.Enums;
using L2dotNET.GameService.Model.Items;
namespace L2dotNET.GameService.Templates
{
public class PcTemplate : CharTemplate
{
public ClassId ClassId { get; set; }
public int FallingHeight { get; }
public int BaseSwimSpd { get; }
... | MartLegion/L2dotNET | src/L2dotNET.GameService/templates/PcTemplate.cs | C# | mpl-2.0 | 2,016 |
<?php
declare(strict_types=1);
namespace CirclicalUser\Exception;
use Exception;
class InvalidResetTokenIpAddressException extends Exception
{
}
| Saeven/zf3-circlical-user | src/Exception/InvalidResetTokenIpAddressException.php | PHP | mpl-2.0 | 149 |
/**
* Copyright (c) 2013-2015, 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/.
*/
/**
* Contains objects to use opt... | tbouvet/seed | specs/src/main/java/org/seedstack/seed/core/spi/dependency/package-info.java | Java | mpl-2.0 | 429 |
package compute
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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
//
// Unl... | joelthompson/vault | vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute/virtualmachineruncommands.go | GO | mpl-2.0 | 9,693 |
<!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 'no-referrer-when-downgrade'</title>
<meta charset='utf-8'>
<meta name="description" content="Check that non a priori inse... | UK992/servo | tests/wpt/web-platform-tests/referrer-policy/gen/srcdoc-inherit.meta/no-referrer-when-downgrade/xhr/same-https.no-redirect.http.html | HTML | mpl-2.0 | 1,724 |
/*
* TemporalStability.hpp
*
* Copyright (c) 2015 Alberto Alonso Gonzalez
*
* 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/.
*
* Created on: 17/07/2015
* ... | aalgo/TSCBPT | include/tsc/bpt/TemporalStability.hpp | C++ | mpl-2.0 | 3,330 |
package org.bear.bookstore.lamda;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
public class LamdaTest {
public static void main(String[] args) {
List<Test1> list = new ArrayList<>();
Test1 t = new Test1() {
};
}
}
interface Test1{
default String f(){
r... | zhougithui/bookstore-single | src/test/java/org/bear/bookstore/lamda/LamdaTest.java | Java | mpl-2.0 | 338 |
#!/bin/false
# This file is part of Espruino, a JavaScript interpreter for Microcontrollers
#
# Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
#
# 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 ... | redbear/Espruino | scripts/common.py | Python | mpl-2.0 | 16,565 |
# Copyright (c) 2015-2020 Contributors as noted in the AUTHORS file
#
# 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/.
# System imports
import json
import logging
import... | Alidron/alidron-isac | isac/transport/pyre_node.py | Python | mpl-2.0 | 6,714 |
package aws
import (
"fmt"
"log"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
)
func resourceAwsAut... | kjmkznr/terraform-provider-aws | aws/resource_aws_autoscaling_lifecycle_hook.go | GO | mpl-2.0 | 6,407 |
/* -*- Mode: C; tab-width: 8; c-basic-offset: 8 -*- */
/* vim:set softtabstop=8 shiftwidth=8: */
/*-
* Copyright (C) 2006-2008 Jason Evans <jasone@FreeBSD.org>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | tmhorne/celtx | memory/jemalloc/jemalloc.c | C | mpl-2.0 | 173,623 |
### Spool
A sub object for transmission, we can say it represent and hold method related to a single attempt of transmission.
* __construct($spool_id = NULL)
create new instance of spool, load existing spool if $spool_id is provided
* validate($field, $value)
before saving, validate current instance
* delete()
de... | ictinnovations/ictcore | docs/developer-guide/operation/spool.md | Markdown | mpl-2.0 | 596 |
// 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/.
pub use lrs_inotify::{Inotify, InodeWatch, InodeData, InodeDataIter};
pub use lrs_inotify::flags::{WatchFlags, Inotif... | lrs-lang/lib | src/lrs/inotify.rs | Rust | mpl-2.0 | 999 |
<!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 `BindTexture` static in crate `gleam`.">
<meta name="keywor... | servo/doc.servo.org | gleam/ffi/storage/static.BindTexture.html | HTML | mpl-2.0 | 4,488 |
<!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 `GetPerfMonitoringTestCpuRescheduling` fn in crate `js`.">
... | servo/doc.servo.org | js/jsapi/fn.GetPerfMonitoringTestCpuRescheduling.html | HTML | mpl-2.0 | 4,679 |
{% extends "manage/base.html" %}
{% block page_title %}Admin{% endblock %}
{% block site_css %}
{{ super() }}
<style type="text/css">
</style>
{% endblock %}
{% block admin_title %}Admin Home{% endblock %}
{% block mainbody %}
<div class="panel">
<div class="body">
<p>
<a href="{{... | rhelmer/socorro | webapp-django/crashstats/manage/templates/manage/home.html | HTML | mpl-2.0 | 1,478 |
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>Leaflet Map</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.css" />
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVS... | jalbertbowden/dcdatadump | leaflet/2017-04-05-done/wards/wards.html | HTML | mpl-2.0 | 7,707 |
"use strict";
module.exports = OTR
var path = require('path')
var EventEmitter = require('events').EventEmitter
var inherits = require('inherits')
var smwPath = 'sm-webworker.js'
var Worker = global.Worker
if (!Worker) {
smwPath = path.join(__dirname, smwPath)
try {
// load optional dep. in node
Worker = r... | mvayngrib/otr | lib/otr.js | JavaScript | mpl-2.0 | 18,767 |
/* 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/. */
//! Computed types for text properties.
#[cfg(feature = "servo")]
use properties::StyleBuilder;
use std::fmt::{se... | fiji-flo/servo | components/style/values/computed/text.rs | Rust | mpl-2.0 | 5,100 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Fri Dec 27 12:52:54 CST 2013 -->
<title>Message.Dispatcher (apache-cassandra API)</title>
<meta name="date" content="2013-12-27"... | bkcloud/bkplatform | cassandra-scripts/javadoc/org/apache/cassandra/transport/Message.Dispatcher.html | HTML | mpl-2.0 | 11,743 |
require 'rspec'
require 'rack'
require 'rack/test'
require_relative 'magick_generator'
include RSpec::Matchers
include MagickGenerator
# delete previous temp directory !!
FileUtils.rm_rf "#{File.dirname(__FILE__)}/../../tmp/spec" if File.directory? "#{File.dirname(__FILE__)}/../../tmp/spec"
require_relative '../../... | sanyaade-mediadev/moviemasher.rb | spec/helpers/spec_helper.rb | Ruby | mpl-2.0 | 8,795 |
<!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 `F_GETPIPE_SZ` constant in crate `libc`.">
<meta name="keyw... | servo/doc.servo.org | libc/notbsd/constant.F_GETPIPE_SZ.html | HTML | mpl-2.0 | 4,411 |
<!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 `GLOB_ABORTED` constant in crate `libc`.">
<meta name="keyw... | servo/doc.servo.org | libc/unix/notbsd/linux/constant.GLOB_ABORTED.html | HTML | mpl-2.0 | 4,657 |
/* 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/.
*
* Owner: david@famo.us
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2014
*/
var PE = require('../p... | mizchi/famous-bundled | transitions/SpringTransition.js | JavaScript | mpl-2.0 | 6,656 |
/// <reference path="BaseBattleDiff.ts"/>
module TK.SpaceTac {
/**
* A ship takes damage (to hull or shield)
*
* This is only informative, and does not apply the damage on ship values (there are ShipValueDiff for this).
*/
export class ShipDamageDiff extends BaseBattleShipDiff {
//... | thunderk/spacetac | src/core/diffs/ShipDamageDiff.ts | TypeScript | mpl-2.0 | 824 |
"""URL routes for the sample app."""
from django.conf.urls import include, url
from django.views.generic import TemplateView
from rest_framework.routers import DefaultRouter
from .viewsets import ChoiceViewSet, QuestionViewSet, UserViewSet
router = DefaultRouter()
router.register(r'users', UserViewSet)
router.regist... | jwhitlock/drf-cached-instances | sample_poll_app/urls.py | Python | mpl-2.0 | 652 |
const Cu = Components.utils;
const {devtools} = Cu.import("resource://gre/modules/devtools/Loader.jsm", {});
const {require} = devtools;
const {installHosted, installPackaged} = require("devtools/app-actor-front");
Cu.import("resource://gre/modules/devtools/dbg-server.jsm");
Cu.import("resource://gre/modules/devtools/d... | malini/certtest | device_setup/app_install.js | JavaScript | mpl-2.0 | 1,344 |
/* ***** BEGIN LICENSE BLOCK *****
;;
;; Copyright (c) 2009 Shannon Weyrick <weyrick@mozek.us>
;;
;; 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/.
***** END LICENSE... | weyrick/corvus | corvus/pPassManager.cpp | C++ | mpl-2.0 | 1,268 |
<!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 `LARGEST_PBUFFER` constant in crate `glutin`.">
<meta name=... | susaing/doc.servo.org | glutin/api/x11/ffi/glx_extra/constant.LARGEST_PBUFFER.html | HTML | mpl-2.0 | 4,495 |
/*
This file is part of the MinSG library.
Copyright (C) 2007-2012 Benjamin Eikel <benjamin@eikel.org>
Copyright (C) 2007-2012 Claudius Jähn <claudius@uni-paderborn.de>
Copyright (C) 2007-2012 Ralf Petring <ralf@petring.net>
This library is subject to the terms of the Mozilla Public License, v. 2.0.
You should ... | PADrend/MinSG | Core/States/TransparencyRenderer.cpp | C++ | mpl-2.0 | 3,164 |
/*
* Copyright (c) 2014. The Trustees of Indiana University.
*
* This version of the code is licensed under the MPL 2.0 Open Source license with additional
* healthcare disclaimer. If the user is an entity intending to commercialize any application
* that uses this code in a for-profit venture, please contact the ... | vijayakumarn/muzima-android | src/main/java/com/muzima/view/forms/RegistrationFormsActivity.java | Java | mpl-2.0 | 3,354 |
/*
* echocat Marquardt Java SDK, Copyright (c) 2015 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 not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.echocat.marquardt.example;
import or... | echocat/marquardt-java-sdk | example/src/test/java/org/echocat/marquardt/example/AuthenticationIntegrationTest.java | Java | mpl-2.0 | 7,682 |
package opc
import (
"fmt"
"github.com/hashicorp/go-oracle-terraform/compute"
"github.com/r3labs/terraform/helper/schema"
)
func resourceOPCSecurityAssociation() *schema.Resource {
return &schema.Resource{
Create: resourceOPCSecurityAssociationCreate,
Read: resourceOPCSecurityAssociationRead,
Delete: res... | r3labs/terraform | vendor/github.com/hashicorp/terraform-provider-opc/opc/resource_security_association.go | GO | mpl-2.0 | 2,430 |
package google
import (
"fmt"
"testing"
"strconv"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func TestAccContainerCluster_basic(t *testing.T) {
resource.Test(t, resource.TestCase{
PreCheck: func() { testA... | mikesplain/terraform | builtin/providers/google/resource_container_cluster_test.go | GO | mpl-2.0 | 9,428 |
/* 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/. */
//! Liberally derived from the [Firefox JS implementation]
//! (http://mxr.mozilla.org/mozilla-central/source/tool... | jimberlage/servo | components/devtools/actors/browsing_context.rs | Rust | mpl-2.0 | 6,555 |
/*
* Copyright (C) 2016 - 2019 DataSwift Ltd - 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/.
* Written by Augustinas Markevicius <augustinas.m... | Hub-of-all-Things/Rumpel | src/app/profiles/profiles.service.spec.ts | TypeScript | mpl-2.0 | 1,176 |
<!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_sls_List_t Struct Reference - Legato Docs<... | legatoproject/legato-docs | 16_04/structle__sls___list__t.html | HTML | mpl-2.0 | 4,930 |
function (user, context, callback) {
// /!\ DO NOT EDIT THIS FILE /!\
// Please use http://github.com/mozilla-iam/auth0-rules instead
var WHITELIST = [
'moc-sso-monitoring@mozilla.com', // MOC see https://bugzilla.mozilla.org/show_bug.cgi?id=1423903
'moc+servicenow@mozilla.com' // MOC see https://bugzilla... | jdow/auth0-deploy | rules/duosecurity.js | JavaScript | mpl-2.0 | 1,403 |
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Sanford.Multimedia.Midi;
namespace PividMidi.Model
{
public abstract class Control : INotifyPropertyChanged
{
private int _value;
/// <summary>
/// Nom du contrôle
/// </summary>
pu... | Nexyll/PividMidi | PividMidi/PividMidi/Model/Control.cs | C# | mpl-2.0 | 1,797 |
<!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_Ukranian_I` constant in crate `wayland_kbd`.">
<me... | susaing/doc.servo.org | wayland_kbd/keysyms/constant.XKB_KEY_Ukranian_I.html | HTML | mpl-2.0 | 4,002 |
/*
* Simple positive sanity test on watchdog chain.
*
* These tests do not ensure proper functioning of watchdog chain, just that a properly configured
* watchdog chain does not interfere with normal operation.
*
* Copyright (C) Sierra Wireless Inc.
*/
#include "legato.h"
#include "watchdogChain.h"
// Number o... | legatoproject/legato-af | components/test/watchdogChain/watchdogComponent/watchdogChain.c | C | mpl-2.0 | 1,393 |
<!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 'no-referrer-when-downgrade'</title>
<meta charset='utf-8'>
<meta name="description" content="Check that non a priori inse... | UK992/servo | tests/wpt/web-platform-tests/referrer-policy/gen/top.http-rp/no-referrer-when-downgrade/iframe-tag/cross-http.swap-origin.http.html | HTML | mpl-2.0 | 1,553 |
# coding: utf-8
class Project < ActiveRecord::Base
attribute :images, ArrayType.new
mount_uploaders :images, ImageUploader
serialize :images, JSON
validates :subject, presence: true
has_many :project_updates
belongs_to :user
has_and_belongs_to_many :users
has_and_belongs_to_many :skills
belongs_to :st... | codeforkanazawa-org/ha4go | app/models/project.rb | Ruby | mpl-2.0 | 2,952 |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebAPI.Controllers
{
public class TimeController : ApiController
{
[SHA3Auth]
public double Get()
{
return Math.Floor(DateTime.Now.Subtract(new Dat... | ScottRFrost/WebAPI-SHA3-Authorization | WebAPI/Controllers/TimeController.cs | C# | mpl-2.0 | 388 |
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=597331
-->
<head>
<title>Test for Bug 597331</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
<script type="text/ja... | Yukarumya/Yukarum-Redfoxes | editor/libeditor/tests/test_bug597331.html | HTML | mpl-2.0 | 2,092 |
{% extends 'base.html' %}
{% block title %}文章内容管理{% endblock %}
{% block content %}
<div class="aboutz">
{% include 'admin/left-sider.html' %}
<div class="aboutrig">
<div class="aboutrigdao">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
... | whypro/IBATI | ibati/templates/admin/posts.html | HTML | mpl-2.0 | 12,467 |
use std::{
collections::HashMap,
fmt::{Debug, Display},
fs::File,
hash::Hash,
io::Write,
result::Result as StdResult,
sync::{Arc, Mutex},
time::{Duration, Instant},
};
use dashmap::DashMap;
use libp2p::{identity, kad::QueryId, PeerId};
use serde::{de::DeserializeOwned, Deserialize, Seri... | iduartgomez/simag | simag_networking/src/handle.rs | Rust | mpl-2.0 | 25,345 |
<!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 `delete_shader` fn in crate `servo`.">
<meta name="keywords... | susaing/doc.servo.org | servo/gl/fn.delete_shader.html | HTML | mpl-2.0 | 3,889 |
% AURSEC(7) aursec user manuals
% Lukas Krismer and Bennett Piater
% November 21, 2016
# NAME
aursec - verify AUR package sources against hashes stored in a blockchain
# PROGRAMS
The following is just an overview, see the respective documentation for details.
aursec(1)
: Hash source folders and verify them against t... | clawoflight/aursec | aursec/man/aursec.7.md | Markdown | mpl-2.0 | 1,977 |
<!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 `MultiTexCoordP3ui` static in crate `gleam`.">
<meta name="... | servo/doc.servo.org | gleam/ffi/storage/static.MultiTexCoordP3ui.html | HTML | mpl-2.0 | 4,524 |
<?php
$lang['required'] = "Le champ %s est requis.";
$lang['isset'] = "Le champ %s doit avoir une valeur.";
$lang['valid_email'] = "Le champ %s doit contenir une véritable adresse e-mail.";
$lang['valid_emails'] = "Le champ %s doit contenir de véritables adresses e-mail.";
$lang['valid_url'] = "The %s f... | indydedeken/markus | system/language/english/form_validation_lang.php | PHP | mpl-2.0 | 1,895 |
package org.helioviewer.jhv.gui;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GraphicsEnvironment;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JSplit... | Helioviewer-Project/JHelioviewer-SWHV | src/org/helioviewer/jhv/gui/JHVFrame.java | Java | mpl-2.0 | 6,953 |
<!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 `XcursorGetTheme` fn in crate `x11`.">
<meta name="keywords... | servo/doc.servo.org | x11/xcursor/fn.XcursorGetTheme.html | HTML | mpl-2.0 | 4,425 |
<?php
require_once dirname(__FILE__).'/../config/config.php';
$context = (isset($_GET['c']) ? trim($_GET['c']) : null);
if (!$context) {
header('Location: ../staff/');
exit(0);
}
$ctx_lc = strtolower($context);
$ctx_uc = strtoupper($context);
$ctx_info = (
isset($cm_config['application_types'][$ctx_uc]) ?
$cm_con... | harmonious-elements/concrescent | cm2/apply/apply.php | PHP | mpl-2.0 | 5,073 |
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Agebull.EntityModel.RobotCoder.CodeTemplate
{
/// <summary>
/// ±íʾһ¸ö»ù´¡µ¥´Ê
/// </summary>
public class WordUnit : AnalyzeUnitBase
{
#region ·½·¨
/// <summary>
/// ... | agebullhu/AgebullDesigner | src/CodeTemplate/Base/WordUnit.cs | C# | mpl-2.0 | 7,447 |
<!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 `forward` fn in crate `encoding_index_japanese`.">
<meta na... | servo/doc.servo.org | encoding_index_japanese/jis0208/fn.forward.html | HTML | mpl-2.0 | 4,408 |
<html>
<head>
<title>A Leaflet map!</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<style>
#map{ height: 100% }
</sty... | jalbertbowden/dcdatadump | leaflet/done/data/ward-2012.html | HTML | mpl-2.0 | 979 |
object Versions extends WebJarsVersions with ScalaJSVersions with SharedVersions
{
val scala = "2.12.3"
val akkaHttp = "10.0.10"
val bcrypt = "3.1"
val ammonite = "1.0.0"
val apacheCodec = "1.10"
val akkaHttpExtensions = "0.0.16"
val controls = "0.0.27"
}
trait ScalaJSVersions {
val jqueryFacade = "1.0"... | denigma/akka-http-extensions | project/Versions.scala | Scala | mpl-2.0 | 743 |
---
layout: "guides"
page_title: "Clustering"
sidebar_current: "guides-operations-cluster"
description: |-
Learn how to cluster Nomad.
---
# Clustering
Nomad models infrastructure into regions and datacenters. Servers reside at the
regional layer and manage all state and scheduling decisions for that region.
Region... | nak3/nomad | website/source/guides/operations/cluster/bootstrapping.html.md | Markdown | mpl-2.0 | 1,052 |
/**
* Copyright 2011 Paul Lewis. All rights reserved.
*
* 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 applic... | heliogabalo/The-side-of-the-source | Codigo/Games/Efects/Fireworks/Css/main.css | CSS | mpl-2.0 | 823 |
using System.Collections.Generic;
using Alex.Blocks.State;
using Alex.Common.Utils.Vectors;
using Alex.Worlds.Chunks;
namespace Alex.Worlds.Abstraction
{
public interface IBlockAccess
{
ChunkColumn GetChunk(BlockCoordinates coordinates, bool cacheOnly = false);
ChunkColumn GetChunk(ChunkCoordin... | kennyvv/Alex | src/Alex/Worlds/Abstraction/IBlockAccess.cs | C# | mpl-2.0 | 1,417 |
<!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_Georgian_ban` constant in crate `wayland_kbd`.">
<... | susaing/doc.servo.org | wayland_kbd/keysyms/constant.XKB_KEY_Georgian_ban.html | HTML | mpl-2.0 | 4,017 |
/*
* Copyright © 2017-2018 Cloudveil Technology Inc.
* 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/.
*/
using System;
using System.Collections.Generic;
using System.Da... | cloudveiltech/Citadel-Windows | FilterProvider.Common/Data/Filtering/BagOfTextTriggers.cs | C# | mpl-2.0 | 33,415 |
<!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_braille_dots_13478` constant in crate `wayland_kbd`.">... | servo/doc.servo.org | wayland_kbd/keysyms/constant.XKB_KEY_braille_dots_13478.html | HTML | mpl-2.0 | 4,324 |
<!DOCTYPE html>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>CSS Test: CSS display:contents</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug... | Yukarumya/Yukarum-Redfoxes | layout/reftests/css-display/display-contents-acid.html | HTML | mpl-2.0 | 8,185 |
# CursorBindBehaviour
- **класс** `CursorBindBehaviour` (`behaviour\custom\CursorBindBehaviour`) **унаследован от** [`AbstractBehaviour`](https://github.com/jphp-compiler/develnext/blob/master/dn-app-framework/api-docs/classes/php/gui/framework/behaviour/custom/AbstractBehaviour.ru.md)
- **пакет** `framework`
- **исхо... | jphp-compiler/develnext | dn-app-framework/api-docs/classes/behaviour/custom/CursorBindBehaviour.ru.md | Markdown | mpl-2.0 | 1,642 |
<!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 `DefineDOMInterface` fn in crate `script`.">
<meta name="ke... | servo/doc.servo.org | script/dom/bindings/codegen/Bindings/TouchBinding/fn.DefineDOMInterface.html | HTML | mpl-2.0 | 5,082 |
import os
from outlawg import Outlawg
from fftool import (
DIR_CONFIGS,
local
)
from ini_handler import IniHandler
Log = Outlawg()
env = IniHandler()
env.load_os_config(DIR_CONFIGS)
def launch_firefox(profile_path, channel, logging, nspr_log_modules=''):
"""relies on the other functions (download, instal... | rpappalax/ff-tool | fftool/firefox_run.py | Python | mpl-2.0 | 849 |
# -*- coding: utf-8 -*-
"""
Created on Sun Jan 8 14:45:26 2017
@author: leonidas
"""
import numpy as np
import operator
def classify(inputPoint,dataSet,labels,k):
dataSetSize = dataSet.shape[0]
diffMat = np.tile(inputPoint,(dataSetSize,1))-dataSet
sqDiffMat = pow(diffMat,2)
sqDistances = sqDi... | leonidas141/HIT-ML-2016-report | load.py | Python | mpl-2.0 | 1,459 |
package simulator.util;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.ListIterator;
import java.util.Random;
import simulator.Simulator;
/**
* VariableDistribution.java
*
* Class representing a variable distribution which produces se... | cal-r/sscctd | src/simulator/util/VariableDistribution.java | Java | mpl-2.0 | 7,556 |
{% extends 'base.html' %}
{% block content %}
<div class="page-header">
<h1>{% if object.pk %}Edit{% else %}Create{% endif %} graphite check</h1>
</div>
{% include 'include/submit_delete_form.html' with delete_view='graphite_delete_check' %}
{% endblock %}
| Stupeflix/japper | japper/monitoring_backends/graphite/templates/graphite/check_form.html | HTML | mpl-2.0 | 262 |
<!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_131) on Sat May 06 22:14:41 CDT 2017 -->
<title>Uses of Class com.hyleria.common.account.Account</title>
<meta name="date" content="2017-05-06"... | OutdatedVersion/hyleria | docs/com/hyleria/common/account/class-use/Account.html | HTML | mpl-2.0 | 22,435 |
<?php
/*
* Copyright 2006 - 2018 TubePress LLC (http://tubepress.com)
*
* This file is part of TubePress (http://tubepress.com)
*
* 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://mozill... | tubepress/tubepress | src/add-ons/search/classes/tubepress/search/impl/listeners/SearchInputTemplateListener.php | PHP | mpl-2.0 | 2,941 |
using System.Collections.Generic;
using L2dotNET.GameService.Model.Items;
namespace L2dotNET.GameService.Managers
{
class RqItemManager
{
private static readonly RqItemManager M = new RqItemManager();
public static RqItemManager GetInstance()
{
return M;
}
... | MartLegion/L2dotNET | src/L2dotNET.GameService/managers/RqItemManager.cs | C# | mpl-2.0 | 793 |
import mock
from crashstats.base.tests.testbase import TestCase
from crashstats.api.cleaner import Cleaner, SmartWhitelistMatcher
from crashstats import scrubber
class TestCleaner(TestCase):
def test_simplest_case(self):
whitelist = {'hits': ('foo', 'bar')}
data = {
'hits': [
... | Tayamarn/socorro | webapp-django/crashstats/api/tests/test_cleaner.py | Python | mpl-2.0 | 6,751 |
#  Contributing to Vertical Tabs Reloaded
## Platform Support
* Firefox only
* only respective latest version
* latest version of [Firefox ESR](https://www.mozilla.org/en-US/firefox/organizations/faq/) is _somewhat_ supported
* t... | Croydon/vertical-tabs-reloaded | CONTRIBUTING.md | Markdown | mpl-2.0 | 1,341 |
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/*
* The list of phases mapped to their corresponding profiles. The object
* here must be in strict JSON format, as it will get parsed by the Python
* testrunner (no single quotes, extra comma's, etc).
*/
E... | Yukarumya/Yukarum-Redfoxes | services/sync/tests/tps/test_history.js | JavaScript | mpl-2.0 | 3,085 |
# Caring for ActiveData
Updated June 2019
### Overview of Parts
Here are a couple of diagrams that will help with descriptions below
* [Logical View](https://github.com/mozilla/ActiveData/blob/dev/docs/ActiveData%20Architecture%20Logical%20181117.pdf)
* [Machine View](https://github.com/mozilla/ActiveData/blob/dev... | klahnakoski/ActiveData | docs/_Caring_for_ActiveData.md | Markdown | mpl-2.0 | 21,016 |
<?php
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
use AppBundle\Entity\User;
/**
* FiscalEntityRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class FiscalEntityRepository extends EntityRepository
{
/**
* @param User... | ITGuys-RO/onrc-parser | src/AppBundle/Repository/FiscalEntityRepository.php | PHP | mpl-2.0 | 675 |
import tape from 'tape'
import { BN } from 'ethereumjs-util'
import Common, { Chain, Hardfork } from '@ethereumjs/common'
import VM from '../../../src'
import { ERROR } from '../../../src/exceptions'
const testCases = [
{ chain: Chain.Mainnet, hardfork: Hardfork.Istanbul, chainId: new BN(1) },
{ chain: Chain.Mainn... | ethereumjs/ethereumjs-vm | packages/vm/tests/api/istanbul/eip-1344.spec.ts | TypeScript | mpl-2.0 | 1,343 |
/*
* gomacro - A Go interpreter with Lisp-like macros
*
* Copyright (C) 2017-2019 Massimiliano Ghilardi
*
* 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.... | cosmos72/gomacro | ast2/ast_node.go | GO | mpl-2.0 | 31,198 |
/*
* 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.seed.undertow;
... | seedstack/seed | web/undertow/src/test/java/org/seedstack/seed/undertow/LaunchWithUndertowIT.java | Java | mpl-2.0 | 1,247 |
/* -*- 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: 03 June 2... | mozilla/rhino | testsrc/tests/js1_5/Object/regress-137000.js | JavaScript | mpl-2.0 | 3,991 |
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0
package oci
import (
"testing"
"github.com/terraform-providers/terraform-provider-oci/httpreplay"
"regexp"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
)
// issue-ro... | oracle/terraform-provider-baremetal | oci/load_balancer_certificates_data_source_test.go | GO | mpl-2.0 | 2,896 |
package autoconf
import (
"context"
"fmt"
"net"
"github.com/hashicorp/consul/agent/cache"
cachetype "github.com/hashicorp/consul/agent/cache-types"
"github.com/hashicorp/consul/agent/connect"
"github.com/hashicorp/consul/agent/structs"
"github.com/hashicorp/consul/proto/pbautoconf"
)
const (
// ID of the ro... | hashicorp/consul | agent/auto-config/tls.go | GO | mpl-2.0 | 7,900 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.