code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
/*
* Copyright (c) 2018 Stichting Yona Foundation
*
* 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 https://mozilla.org/MPL/2.0/.
*/
package nu.yona.app.ui.challenges;
import android.os.Bund... | yonadev/yona-app-android | app/src/main/java/nu/yona/app/ui/challenges/TimeZoneGoalsAdapter.java | Java | mpl-2.0 | 3,765 |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobrescr... | SoftwareFactoryUPC/ProjectTemplates | Web/NET/10_Northwind_Dashboard/10_Northwind_Dashboard/Models/Order_Details.cs | C# | mpl-2.0 | 948 |
package taskrun
import (
"errors"
"fmt"
"sync"
"github.com/taskcluster/taskcluster-worker/engines"
"github.com/taskcluster/taskcluster-worker/plugins"
"github.com/taskcluster/taskcluster-worker/runtime"
"github.com/taskcluster/taskcluster-worker/runtime/atomics"
"github.com/taskcluster/taskcluster-worker/runt... | walac/taskcluster-worker | worker/taskrun/taskrun.go | GO | mpl-2.0 | 9,757 |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that makes sure web console eval happens in the user-selected stackframe
// from the js debugger.
... | Yukarumya/Yukarum-Redfoxes | devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js | JavaScript | mpl-2.0 | 4,652 |
<div>
<mat-accordion [multi]="true">
<mat-expansion-panel *ngFor="let catNode of categorizedVariablesTree" expanded="{{catNode.expanded}}">
<mat-expansion-panel-header>
<mat-panel-title>
{{catNode.name}}
</mat-panel-title>
</mat-expansion-panel-header>
<div>
<... | thehyve/glowing-bear | src/app/modules/gb-side-panel-module/accordion-components/gb-variables/gb-categorized-variables/gb-categorized-variables.component.html | HTML | mpl-2.0 | 925 |
<!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_Armenian_INI` constant in crate `wayland_kbd`.">
<... | servo/doc.servo.org | wayland_kbd/ffi/keysyms/constant.XKB_KEY_Armenian_INI.html | HTML | mpl-2.0 | 4,399 |
<!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 `popen` fn in crate `libc`.">
<meta name="keywords" content... | servo/doc.servo.org | libc/unix/fn.popen.html | HTML | mpl-2.0 | 4,861 |
<!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>platformAdaptor Directory Reference - Legato Docs</titl... | legatoproject/legato-docs | 18_10/dir_a569f725516f2a7872ef1c114e979284.html | HTML | mpl-2.0 | 3,381 |
/*global describe, it, assert, clone */
/*jshint browser: true */
describe('clone', function () {
'use strict';
it('should clone an object', function () {
var obj = {
cats: true,
dogs: 2,
fish: [ 0, 1, 2 ]
};
var c = clone(obj);
obj.cats = false;
obj.dogs = 1;
obj.fish[0] = 'stuff';
assert.s... | dequelabs/simple-clone | test/index.js | JavaScript | mpl-2.0 | 1,753 |
<!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 `padding_left_setterinfo` constant in crate `script`.">
<me... | servo/doc.servo.org | script/dom/bindings/codegen/Bindings/CSSStyleDeclarationBinding/constant.padding_left_setterinfo.html | HTML | mpl-2.0 | 5,584 |
<!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 `webkitMatchesSelector_methodinfo` constant in crate `script`."... | servo/doc.servo.org | script/dom/bindings/codegen/Bindings/ElementBinding/constant.webkitMatchesSelector_methodinfo.html | HTML | mpl-2.0 | 6,406 |
/*此标记表明此文件可被设计器更新,如果不允许此操作,请删除此行代码.design by:agebull designer date:2017/11/28 16:44:12*/
using System;
using System.IO;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Syst... | agebullhu/AgebullDesigner | demo/src/Base/Auth/ZeroApi/Argument/UserBaseInfo.Designer.cs | C# | mpl-2.0 | 3,560 |
initSidebarItems({"enum":[["CSSModificationAccess",""]],"fn":[["serialize_list",""]],"struct":[["CSSStyleDeclaration",""]]}); | susaing/doc.servo.org | script/dom/cssstyledeclaration/sidebar-items.js | JavaScript | mpl-2.0 | 125 |
<?php
namespace ChangeTests\Change\Plugins;
use Change\Plugins\Plugin;
use ChangeTests\Change\TestAssets\TestCase;
/**
* @name \ChangeTests\Change\Plugins\PluginManagerTest
*/
class PluginManagerTest extends TestCase
{
public static function setUpBeforeClass()
{
static::initDb();
}
public static function tearD... | intportg/Change | ChangeTests/Change/Plugins/PluginManagerTest.php | PHP | mpl-2.0 | 13,390 |
<!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 `passVariadicUnsignedShort` fn in crate `script`.">
<meta n... | susaing/doc.servo.org | script/dom/bindings/codegen/Bindings/TestBindingBinding/fn.passVariadicUnsignedShort.html | HTML | mpl-2.0 | 5,378 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators ... | brendanhay/gogol | gogol-compute/gen/Network/Google/Resource/Compute/SecurityPolicies/GetRule.hs | Haskell | mpl-2.0 | 4,091 |
# Description
Place for a vbkick templates which requires a bit more love before will be moved to [templates repository](https://github.com/wilas/vbkick-templates).
Some templates because of their nature (e.g development, experimental) will never be moved, a good example for this is Debian "Sid".
To learn how templa... | wilas/vbkick-templates-forge | README.md | Markdown | mpl-2.0 | 611 |
<!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 `getcontext` fn in crate `libc`.">
<meta name="keywords" co... | servo/doc.servo.org | libc/linux/b64/fn.getcontext.html | HTML | mpl-2.0 | 4,666 |
// Copyright (c) 2016, 2018, 2020, 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... | ricardclau/packer | vendor/github.com/oracle/oci-go-sdk/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go | GO | mpl-2.0 | 3,845 |
<!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 `Struct_Unnamed27` struct in crate `x11_dl`.">
<meta name="... | servo/doc.servo.org | x11_dl/xinput2/struct.Struct_Unnamed27.html | HTML | mpl-2.0 | 11,724 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators ... | brendanhay/gogol | gogol-bigquery/gen/Network/Google/Resource/BigQuery/Models/Patch.hs | Haskell | mpl-2.0 | 3,776 |
/*global define*/
define('app/panels-time-active', ['moment', 'lodash', 'TelemetryPromises', 'DevToolsMetrics', 'DEVTOOLS_PANELS', 'LatestVersions', 'FIREFOX_RELEASES'],
function(moment, _, T, DevToolsMetrics, DEVTOOLS_PANELS, LatestVersions, FIREFOX_RELEASES) {
var metrics = DEVTOOLS_PANELS.map((m) => {
return ... | clarkbw/devtools-metrics | js/app/panels-time-active.js | JavaScript | mpl-2.0 | 2,838 |
<!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_chochang` constant in crate `wayland_kbd`.">
... | servo/doc.servo.org | wayland_kbd/ffi/keysyms/constant.XKB_KEY_Thai_chochang.html | HTML | mpl-2.0 | 4,401 |
import datetime
import pytest
from tests.test_utils import create_generic_job
from treeherder.model.models import Push
@pytest.fixture
def perf_push(test_repository):
return Push.objects.create(
repository=test_repository,
revision='1234abcd',
author='foo@bar.com',
time=datetime.... | KWierso/treeherder | tests/etl/conftest.py | Python | mpl-2.0 | 561 |
/*
* Copyright (c) 2011-2018, 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/.
*/
// UDI RT implementation specific to x... | mcnulty/udi | libudirt/src/udirt-x86.c | C | mpl-2.0 | 12,382 |
<!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 `ERR_func_error_string` fn in crate `openssl_sys`.">
<meta ... | susaing/doc.servo.org | openssl_sys/fn.ERR_func_error_string.html | HTML | mpl-2.0 | 4,107 |
alter table os2webscanner_scanner add "do_ocr" boolean NOT NULL default 'T';
| os2webscanner/os2webscanner | sql/updates/2014_07_09_do_ocr_field.sql | SQL | mpl-2.0 | 77 |
/*
* 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 viper.silicon.decider
import viper.silicon._
import viper.silicon.state.terms.{And, Implies,... | sccblom/vercors | viper/silicon/src/main/scala/decider/PathConditions.scala | Scala | mpl-2.0 | 8,837 |
<!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_onmouseover` fn in crate `script`.">
<meta name="keywo... | servo/doc.servo.org | script/dom/bindings/codegen/Bindings/WindowBinding/fn.get_onmouseover.html | HTML | mpl-2.0 | 5,528 |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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... | Yukarumya/Yukarum-Redfoxes | dom/svg/SVGTransformList.h | C | mpl-2.0 | 4,171 |
<!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">
<title>Testing</title>
<link rel="stylesheet" type="text/css" href="rustbook.css">
</head>
<body class="rustdoc">
... | servo/doc.servo.org | book/testing.html | HTML | mpl-2.0 | 28,168 |
<!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 `cache` mod in crate `style`.">
<meta name="keywords" conte... | servo/doc.servo.org | style/cache/index.html | HTML | mpl-2.0 | 4,813 |
LINTIGNOREDOT='awstesting/integration.+should not use dot imports'
LINTIGNOREDOC='service/[^/]+/(api|service|waiters)\.go:.+(comment on exported|should have comment or be unexported)'
LINTIGNORECONST='service/[^/]+/(api|service|waiters)\.go:.+(type|struct field|const|func) ([^ ]+) should be ([^ ]+)'
LINTIGNORESTUTTER='... | watters/terraform | vendor/github.com/aws/aws-sdk-go/Makefile | Makefile | mpl-2.0 | 5,936 |
/* 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/. */
//! [Calc expressions][calc].
//!
//! [calc]: https://drafts.csswg.org/css-values/#calc-notation
use cssparser::{... | dsandeephegde/servo | components/style/values/specified/calc.rs | Rust | mpl-2.0 | 23,125 |
using LinearAlgebra
using Roots
import AstroTime: seconds
export kepler, period, meantoecc, ecctomean, ecctotrue, truetoecc
function meantoecc(M, ecc)
kepler(E) = E - ecc*sin(E) - M
kepler_der(E) = 1 - ecc*cos(E)
return newton(kepler, kepler_der, M)
end
function ecctomean(E, ecc)
return E - ecc*sin(E... | JuliaAstrodynamics/AstroDynBase.jl | src/kepler.jl | Julia | mpl-2.0 | 2,443 |
#!/bin/bash
set -e # exit with nonzero exit code if anything fails
# go to the module directory and create a *new* Git repo
mkdir deploy_doc
cd deploy_doc
git init
git remote add -t gh-pages -f origin "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git"
git checkout gh-pages
git rm -rf *
# inside this git repo we'll ... | gundisalwa/pentaho-angular-toolkit | _scripts/deploy-doc.sh | Shell | mpl-2.0 | 904 |
// Package crypto implements cryptographic functions for Kerberos 5 implementation.
package crypto
import (
"encoding/hex"
"fmt"
"github.com/hashicorp/gokrb5/crypto/etype"
"github.com/hashicorp/gokrb5/iana/chksumtype"
"github.com/hashicorp/gokrb5/iana/etypeID"
"github.com/hashicorp/gokrb5/iana/patype"
"github.... | kingland/vault | vendor/github.com/hashicorp/gokrb5/crypto/crypto.go | GO | mpl-2.0 | 5,060 |
/* 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
// Dependencies
import React, { Component } from "react";
import classnames from "classnames";
import ... | jasonLaster/debugger.html | src/components/PrimaryPanes/SourcesTree.js | JavaScript | mpl-2.0 | 9,730 |
var __windowDictionary = {
selectedGrammar: [],
selectedLanguage: "",
initialize: {
C: false,
Python: false
}
}
$(function() {
function updateTips( t ) {
tips
.text( t )
.addClass( "ui-state-highlight" );
setTimeout(function() {
tips.removeClass( "ui-state-highlight", 1500 );
... | Shin-Aska/s2sc.js | window/dictionary-settings.js | JavaScript | mpl-2.0 | 5,838 |
import hashlib
import json
import sys
import traceback
from datetime import datetime, timedelta
from functools import wraps
from uuid import uuid4
import newrelic.agent
import waffle
from constance import config
from django.apps import apps
from django.conf import settings
from django.core.exceptions import Validation... | jgmize/kuma | kuma/wiki/models.py | Python | mpl-2.0 | 73,565 |
<script type="text/javascript">
<?php
echo $js;
?>
</script> | SergeantHawke/Steampunk | assets/views/javascript.php | PHP | mpl-2.0 | 62 |
from django.db import models
from metronus_app.model.actor import Actor
from metronus_app.model.task import Task
class GoalEvolution(models.Model):
"""
Each time the goal or the price per unit/hour from a task is changed, a new entry is created in the log
Maybe should have been named TaskLog, but...
"... | Metronus/metronus | Metronus-Project/metronus_app/model/goalEvolution.py | Python | mpl-2.0 | 791 |
<!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>Hex string API - Legato Docs</title>
<meta c... | legatoproject/legato-docs | 16_04/c_hex.html | HTML | mpl-2.0 | 4,532 |
@echo off
for /f "tokens=2 delims==" %%a in ('wmic OS Get localdatetime /value') do set "dt=%%a"
set "YY=%dt:~2,2%" & set "YYYY=%dt:~0,4%" & set "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
set "HH=%dt:~8,2%" & set "Min=%dt:~10,2%" & set "Sec=%dt:~12,2%"
REM set "datestamp=%YYYY%%MM%%DD%" & set "timestamp=%HH%%Min%%Sec%"
set "... | Spreads/Spreads.IPC | nuget/local_pack_release.bat | Batchfile | mpl-2.0 | 675 |
// Copyright 2014 ISRG. 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/.
package core
import (
"crypto"
"crypto/rand"
"crypto/sha256"
"crypt... | r0ro/boulder | core/util.go | GO | mpl-2.0 | 12,842 |
/**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free... | boob-sbcm/3838438 | src/main/java/com/rapidminer/operator/preprocessing/filter/RemoveDuplicates.java | Java | agpl-3.0 | 7,079 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of A2Billing (http://www.a2billing.net/)
*
* A2Billing, Commercial Open Source Telecom Billing platform,
* powered by Star2billing S.L. <http://www.star2billing.com/>
*
* @copyright Copyright (C) 2004-2014 - Star2bill... | ekamhara/BootStrap-A2Billing-custom-templates | addons/contrib/villagetelco/gui/admin/Public/A2B_card_info__vt.php | PHP | agpl-3.0 | 40,747 |
-- Function used for full DB exports
CREATE OR REPLACE FUNCTION export_images() RETURNS void AS $$
BEGIN
COPY
(
select
data_resource_uid AS "dataResourceUid",
occurrence_id as "occurrenceID",
CONCAT( 'https://images.bioatlas.se/image/proxyImageThumbna... | mskyttner/ala-docker | imageservice/sql/image-service-export.sql | SQL | agpl-3.0 | 3,592 |
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published ... | likhobory/SuiteCRM7RU | modules/Project/language/ru_ru.lang.php | PHP | agpl-3.0 | 8,743 |
<?php
/**
* This file is part of CMS LogViewer by Graham Campbell.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any late... | GrahamDeprecated/CMS-LogViewer | tests/AbstractTestCase.php | PHP | agpl-3.0 | 1,756 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2016 VoltDB Inc.
*
* This file contains original code and/or modifications of original code.
* Any modifications made by VoltDB Inc. are licensed under the following
* terms and conditions:
*
* Permission is hereby granted, free of charge, to any person obtain... | paulmartel/voltdb | tests/ee/common/serializeio_test.cpp | C++ | agpl-3.0 | 5,785 |
package libiada.EventTheory;
import libiada.Root.IBaseObject;
import libiada.Root.IBin;
/**
* Created by IntelliJ IDEA.
* User: Alex
* Date: 23.01.2011
* Time: 17:13:20
*/
public class PsevdoValue implements IBaseObject {
private static PsevdoValue singletone = new PsevdoValue();
publi... | goruha/phd_code | src/libiada/EventTheory/PsevdoValue.java | Java | agpl-3.0 | 742 |
/*
* SlideQuizRenderer.cpp
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public Lic... | nvoron23/rstudio | src/cpp/session/modules/presentation/SlideQuizRenderer.cpp | C++ | agpl-3.0 | 5,263 |
<?php
$TRANSLATIONS = array(
"Failed to delete storage" => "Tókst ekki að eyða gagnageymslu",
"Failed to delete user" => "Tókst ekki að eyða notanda",
"Storage deleted" => "Geymslu eytt",
"User not found" => "Notandi fannst ekki",
"Restriction saved" => "Takmörkun vistuð",
"Invalid input" => "Ógilt inntak",
"Auto creat... | owncloud/mozilla_sync | l10n/is.php | PHP | agpl-3.0 | 3,223 |
/** Copyright (C) 2016 Ultimaker - Released under terms of the AGPLv3 License */
#include "AABB.h"
#include <limits>
namespace cura
{
AABB::AABB()
: min(POINT_MAX, POINT_MAX), max(POINT_MIN, POINT_MIN)
{
}
AABB::AABB(Point&min, Point& max)
: min(min), max(max)
{
}
AABB::AABB(const Polygons& polys)
: min(POINT_MA... | totalretribution/CuraEngine | src/utils/AABB.cpp | C++ | agpl-3.0 | 1,645 |
<?php
class pmGauge {
/**
width
*/
var $w = 610;
/**
height
*/
var $h = 300;
/**
value of gauge
*/
var $value = 50;
/**
maxValue
*/
var $maxValue = 100;
/**
redFrom
*/
var $redFrom = 80;
/**
... | carbonadona/pm | workflow/engine/classes/class.pmGauge.php | PHP | agpl-3.0 | 8,545 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
<title>move<... | zheguang/BerkeleyDB | docs/api_reference/STL/stlDbstlElemTraitsmove.html | HTML | agpl-3.0 | 3,905 |
class Category < ActiveRecord::Base
has_many :categorizations
has_many :nursing_homes, through: :categorizations
default_scope order("name DESC")
end
| malmostad/nursing-homes | app/models/category.rb | Ruby | agpl-3.0 | 156 |
package accesscontrol
import "github.com/grafana/grafana/pkg/services/sqlstore/migrator"
func AddMigration(mg *migrator.Migrator) {
permissionV1 := migrator.Table{
Name: "permission",
Columns: []*migrator.Column{
{Name: "id", Type: migrator.DB_BigInt, IsPrimaryKey: true, IsAutoIncrement: true},
{Name: "rol... | grafana/grafana | pkg/services/sqlstore/migrations/accesscontrol/migrations.go | GO | agpl-3.0 | 7,495 |
<?php
// ===================================================================================================
// _ __ _ _
// | |/ /__ _| | |_ _ _ _ _ __ _
// | ' </ _` | | _| || | '_/ _` |
// |_|\_\__,_|_|\__|\_,_... | kaltura/reach-wizard | KalturaGeneratedAPIClientsPHP/KalturaPlugins/KalturaIntegrationClientPlugin.php | PHP | agpl-3.0 | 5,191 |
<?php // -*- tab-width:2; indent-tabs-mode:nil -*-
/**
*
* @BEGIN_LICENSE
*
* Metadata Games - A FOSS Electronic Game for Archival Data Systems
* Copyright (C) 2013 Mary Flanagan, Tiltfactor Laboratory
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affer... | tiltfactor/mg-game | www/protected/modules/plugins/modules/export/components/CSVExportPlugin.php | PHP | agpl-3.0 | 6,784 |
# Day NN
## Goals for today's class
* bullet points laying out the broad goals (G) for the class.
## Pre-class assignments
* bullet points laying out the videos (V), reading (R), and writing/code assignments (A) that are due by the night before class
## In-class activity overview
* bullet points laying out detail... | ComputationalModeling/spring-2017-danielak | past-semesters/spring_2016/day-by-day/day_by_day_template.md | Markdown | agpl-3.0 | 1,248 |
/*
* Copyright (C) 2000 - 2016 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | auroreallibe/Silverpeas-Core | core-war/src/main/webapp/util/styleSheets/globalSP_SilverpeasV5.css | CSS | agpl-3.0 | 112,702 |
#
# Copyright (C) 2013-2014 Ian Firns <firnsy@kororaproject.org>
# Chris Smart <csmart@kororaproject.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, e... | kororaproject/website | lib/Canvas/Core.pm | Perl | agpl-3.0 | 15,506 |
'use strict';
/**
* @module emitters/AdvancedEmitter
*/
var events = require('events');
var util = require('util');
var AdvancedEvent = process.requireApi('lib/emitters/AdvancedEvent.js');
/**
* Defines an AdvancedEmitter which wraps an EventEmitter.
*
* An AdvancedEmitter works pretty much the same as the defa... | veo-labs/openveo-api | lib/emitters/AdvancedEmitter.js | JavaScript | agpl-3.0 | 1,610 |
/*
* Copyright (C) 2009 J.A.Bezemer@opensourcepartners.nl
*
* Permission to use, copy, modify, and 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... | rossonet/JavaAgent | documentazione/studio/iodine-0.7.0/src/base128.c | C | agpl-3.0 | 7,893 |
<?php
require_javascript("og/CSVCombo.js");
require_javascript("og/DateField.js");
require_javascript('og/tasks/main.js');
require_javascript('og/tasks/addTask.js');
require_javascript('og/tasks/drawing.js');
require_javascript('og/tasks/TasksTopToolbar.js');
require_javascript('og/tasks/TasksBottomToolba... | maestrano/fengoffice | application/views/task/new_list_tasks.php | PHP | agpl-3.0 | 11,057 |
<?php
/**
* OpenEyes.
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2013
* This file is part of OpenEyes.
* OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Softwa... | FiviumAustralia/OpenEyes | protected/modules/OphOuAnaestheticsatisfactionaudit/models/Element_OphOuAnaestheticsatisfactionaudit_VitalSigns.php | PHP | agpl-3.0 | 6,667 |
class AddGisToCalicatas < ActiveRecord::Migration
def change
add_column :calicatas, :ubicacion_id, :integer
end
end
| INTA-Suelos/SiSinta | db/migrate/20111117011340_add_gis_to_calicatas.rb | Ruby | agpl-3.0 | 124 |
<?php
/*
* This file is part of the login-cidadao project or it's bundles.
*
* (c) Guilherme Donato <guilhermednt on github>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LoginCidadao\CoreBundle\Helper;
use Symfony\Co... | culturagovbr/id-cultura | src/LoginCidadao/CoreBundle/Helper/ExtremeNotificationsHelper.php | PHP | agpl-3.0 | 1,287 |
#!/usr/bin/env python
import csv
import json
import sys
import click
def score(company, sexbiases):
"""
Given a company record with board of directors and executive names,
return our guess of the % of governance that is male.
Since names are not always unambiguous determinants of sex, we also
r... | hipsterware/scoreline | toys/corpscore.py | Python | agpl-3.0 | 2,066 |
/*
* Copyright 2012 McEvoy Software Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This p... | FullMetal210/milton2 | milton-api/src/main/java/io/milton/resource/MoveableResource.java | Java | agpl-3.0 | 1,465 |
<span lf-completion="frameKey" state-user-key="stateUserKey" control="readonly"></span>
{{draft.core.title}}
| Learnful/learnful | client/src/frame/frame_title_preview.html | HTML | agpl-3.0 | 109 |
/*
This file is part of Ext JS 4.1
Copyright (c) 2011-2012 Sencha Inc
Contact: http://www.sencha.com/contact
Pre-release code in the Ext repository is intended for development purposes only and will
not always be stable.
Use of pre-release code is permitted with your application at your own risk under standard
Ex... | codeyu/Ext.NET.Community | Ext.Net/Build/Ext.Net/extjs/resources/css/ext-ie-debug-embedded.css | CSS | agpl-3.0 | 368,457 |
<!DOCTYPE html>
<html lang="en"
>
<head>
<title>w2 - 40423252 上課作業</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" c... | 40423252/2017springcd_hw | blog/tag/w2.html | HTML | agpl-3.0 | 11,627 |
/**
* Copyright (C) 2001-2020 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | rapidminer/rapidminer-studio | src/main/java/com/rapidminer/gui/new_plotter/engine/jfreechart/ChartDatasetFactory.java | Java | agpl-3.0 | 26,156 |
package house.intelli.core.util;
import static java.util.Objects.*;
import static java.nio.charset.StandardCharsets.*;
/**
* Standard
* <a href="http://en.wikipedia.org/wiki/Base64">base64url</a>
* (<a href="http://en.wikipedia.org/wiki/Base64#RFC_4648">RFC 4648</a>) encoding and decoding.
* <p>
* The difference... | intellihouse/intellihouse | house.intelli/house.intelli.core/src/main/java/house/intelli/core/util/Base64Url.java | Java | agpl-3.0 | 12,897 |
# 2017springcd
國立虎尾科技大學機械設計工程系 2017 Spring 協同產品設計實習課程
第七組協同倉儲
Fossil倉儲: https://mde2a2.kmol.info/cdbg7/index
倉儲投影片:https://40423222.github.io/2017springcd_bg7/
倉儲網誌:http://40423222.github.io/2017springcd_bg7/blog/
| 40423222/2017springcd_bg7 | README.md | Markdown | agpl-3.0 | 308 |
<?php
$root=filter_input(INPUT_SERVER, 'DOCUMENT_ROOT').'/webreq/src/main/php/';
require_once $root.'model/persistence/ProjectDAO.php';
require_once $root.'model/persistence/UserDAO.php';
session_start();
$user_id=$_SESSION['user'];
$password=User::encryptPassword(htmlspecialchars(filter_input(INPUT_POST, 'password')))... | marcelohbittencourt/WebReq | src/main/php/controller/controller-project-settings.php | PHP | agpl-3.0 | 627 |
# frozen_string_literal: true
module Decidim
# This concern contains the logic related to collective or shared authorship.
#
# Coauthorable shares nearly the same object interface as Authorable but with some differences.
# - `authored_by?(user)` is exactly the same
# - `normalized_author` is now `identities`... | decidim/decidim | decidim-core/lib/decidim/coauthorable.rb | Ruby | agpl-3.0 | 7,162 |
/*
* HeadsUp Agile
* Copyright 2009-2013 Heads Up Development.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later ve... | headsupdev/agile | agile-apps/agile-app-files/src/main/java/org/headsupdev/agile/app/files/BrowseChange.java | Java | agpl-3.0 | 3,555 |
<?php
namespace App;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Routing\RouteCollectionBuilder;
// see https://github.com/ik... | burki/jewish-history-online | src/App/MicroKernel.php | PHP | agpl-3.0 | 5,268 |
<!--<div align="center" class="heading_gray">
<h3>Participant Card(single)</h3>
</div>-->
<br />
<?php echo form_open('report/prereportpdf/participant_regno_photo', array('id' => 'part_reg','target'=>'_blank'));
echo blue_box_top();
for($j=0;$j<count($retdat); $j++){
$dat[$retdat[$j]['school_code']] = $retdat[$j]['s... | itschool/kalolsavam-district | system/application/views/report/prereport/participant_regno_photo.php | PHP | agpl-3.0 | 2,026 |
# -*- coding: utf-8 -*-
"""
Multi-gpu code for Keras/TF.
From https://github.com/avolkov1/keras_experiments
"""
# MODIFIED. Inspiration taken from the ref link below.
# ref: https://raw.githubusercontent.com/kuza55/keras-extras/master/utils/multi_gpu.py @IgnorePep8
# The inspirational one carried license:
# Apache ... | ViaFerrata/DL_pipeline_TauAppearance | scraps/multi_gpu/multi_gpu.py | Python | agpl-3.0 | 39,536 |
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Joas Schilling <coding@schilljs.com>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <robin@icewind.nl>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author... | andreas-p/nextcloud-server | apps/dav/tests/unit/Connector/Sabre/FilesReportPluginTest.php | PHP | agpl-3.0 | 21,727 |
/**
* Copyright (C) 2001-2019 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by ... | aborg0/rapidminer-studio | src/main/java/com/rapidminer/gui/new_plotter/gui/treenodes/PlotConfigurationTreeNode.java | Java | agpl-3.0 | 2,805 |
/*
* #%L
* unidle
* %%
* Copyright (C) 2013 Martin Lau
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later versi... | martinlau/unidle-old | src/test/java/org/unidle/feature/page/AboutPage.java | Java | agpl-3.0 | 953 |
<?php
namespace Ladb\CoreBundle\Repository\Workflow;
use Ladb\CoreBundle\Repository\AbstractEntityRepository;
class PartRepository extends AbstractEntityRepository {
} | lairdubois/lairdubois | src/Ladb/CoreBundle/Repository/Workflow/PartRepository.php | PHP | agpl-3.0 | 171 |
package fi.otavanopisto.kuntaapi.server.integrations.casem;
import javax.ejb.Singleton;
import javax.enterprise.context.ApplicationScoped;
import fi.otavanopisto.kuntaapi.server.cache.AbstractCache;
import fi.otavanopisto.kuntaapi.server.rest.model.Page;
@ApplicationScoped
@Singleton
public class CaseMNodePageCache ... | otavanopisto/kunta-api-server | src/main/java/fi/otavanopisto/kuntaapi/server/integrations/casem/CaseMNodePageCache.java | Java | agpl-3.0 | 518 |
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import base_wizard_mixin
from . import document_cancel_wizard
from . import document_correction_wizard
from . import document_status_wizard
from . import invalidate_number_wizard
| OCA/l10n-brazil | l10n_br_fiscal/wizards/__init__.py | Python | agpl-3.0 | 252 |
/*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith... | joshzamor/open-lmis | modules/core/src/main/java/org/openlmis/core/domain/GeographicLevel.java | Java | agpl-3.0 | 2,463 |
{% extends "dashboard/base.html" %}
{% block title %}Collection {{collection.name}}{% endblock %}
{% block css %}
<style type="text/css">
.collection-list .release {
width: 40%;
}
.collection-list .path {
word-break: break-all;
width: 40%;
}
.collection-list .status {
... | MTG/dunya | dashboard/templates/dashboard/collection.html | HTML | agpl-3.0 | 2,980 |
{{--
Copyright 2015-2017 ppy Pty. Ltd.
This file is part of osu!web. osu!web is distributed with the hope of
attracting more community contributions to the core ecosystem of osu!.
osu!web is free software: you can redistribute it and/or modify
it under the terms of the Affero GNU General Public Li... | kj415j45/osu-web | resources/views/forum/_search.blade.php | PHP | agpl-3.0 | 3,377 |
from south.db import db
from django.db import models
from cm.models import *
class Migration:
def forwards(self, orm):
"Write your forwards migration here"
for tv in orm.TextVersion.objects.all():
tv.key = orm.TextVersion.objects._gen_key()
tv.adminkey = orm.T... | co-ment/comt | src/cm/migrations/0003_update_keys_to_textversion.py | Python | agpl-3.0 | 15,210 |
define(function(require) {
'use strict';
var PIXI = require('pixi');
var EnergyConverterView = require('views/energy-converter');
var Assets = require('assets');
var Constants = require('constants');
var ElectricalGenerator = Constants.ElectricalGenerator;
var ElectricalGeneratorView =... | Connexions/simulations | energy-forms-and-changes/src/js/views/energy-converter/electrical-generator.js | JavaScript | agpl-3.0 | 3,102 |
# -*- encoding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2013-2014 Didotech SRL (info at didotech.com)
# All Rights Reserved.
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the who... | odoousers2014/LibrERP | l10n_it_sale/wizard/confirmation.py | Python | agpl-3.0 | 3,636 |
DELETE FROM `weenie` WHERE `class_Id` = 53265;
INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`)
VALUES (53265, 'ace53265-ancientstatueoftheviridianroot', 10, '2019-02-10 00:00:00') /* Creature */;
INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`)
VALUES (53265, 1, 16... | ACEmulator/ACE-World | Database/3-Core/9 WeenieDefaults/SQL/Creature/Unsorted/53265 Ancient Statue of the Viridian Root.sql | SQL | agpl-3.0 | 2,506 |
<?php
$viewdefs ['Contacts'] =
array (
'DetailView' =>
array (
'templateMeta' =>
array (
'form' =>
array (
'buttons' =>
array (
0 => 'EDIT',
1 =>
array (
'customCode' => '<a href ="index.php?module=Contacts&action=applicationpdf&rec... | hirakc/eur_crm | custom/modules/Contacts/metadata/detailviewdefs.php | PHP | agpl-3.0 | 11,529 |
# --
# Kernel/Output/HTML/PreferencesGeneric.pm
# Copyright (C) 2001-2013 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
pac... | mychll31/CAB | Kernel/Output/HTML/PreferencesGeneric.pm | Perl | agpl-3.0 | 2,373 |
/*
Responsive Scrolling Menu
Pure Template from: http://purecss.io/layouts/tucked-menu-vertical/
*/
/* We can align the menu header to the left, but float the
menu items to the right. */
.pure-menu {
text-align: left;
}
.main-menu {
width: 100%;
background: #003262;
padding: .3em .6em;
margin: 0 0 10px 0;
... | snap-cloud/snap-cloud | app/assets/stylesheets/pure-custom/menus.css | CSS | agpl-3.0 | 1,981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.