repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
travishegner/librenms
includes/common.php
20682
<?php /* * LibreNMS - Common Functions * * Original Observium version by: Adam Armstrong, Tom Laermans * Copyright (c) 2009-2012 Adam Armstrong. * * Additions for LibreNMS by: Neil Lathwood, Paul Gear, Tim DuFrane * Copyright (c) 2014-2015 Neil Lathwood <http://www.lathwood.co.uk> * Copyright (c) 2014-2015 Gear...
gpl-3.0
151706061/MacroMedicalSystem
Common/Shreds/QueueProcessor.cs
7181
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.ClearCanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms of the G...
gpl-3.0
yedidiaklein/local_video_directory
classes/task/googleSpeech/google/gax/src/ApiCore/Middleware/PagedMiddleware.php
2863
<?php /* * Copyright 2018, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of co...
gpl-3.0
2pisoftware/cmfive-core
system/modules/admin/actions/userdel.php
289
<?php function userdel_GET(Web $w) { $w->pathMatch("id"); $user = $w->auth->getObject("User",$w->ctx("id")); if ($user) { $user->delete(); $w->msg("User ".$user->login." deleted.","/admin/users"); } else { $w->error("User ".$w->ctx("id")." does not exist.","/admin/users"); } }
gpl-3.0
freemed/care2x
modules/registration_admission/show_birthdetail.php
3024
<?php error_reporting(E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR); require('./roots.php'); require($root_path.'include/core/inc_environment_global.php'); /** * CARE2X Integrated Hospital Information System beta 2.0.1 - 2004-07-04 * GNU General Public License * Copyright 2002,2003,2004,2005,2006 Elpidio Latorilla * elpidio@ca...
gpl-3.0
ucoin-io/ucoin
test/integration/protocol/v0.5-identity-blockstamp.ts
2228
// Source file from duniter: Crypto-currency software to manage libre currency such as Ğ1 // Copyright (C) 2018 Cedric Moreau <cem.moreau@gmail.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 Soft...
gpl-3.0
eldersantos/community
embedded-examples/src/test/java/org/neo4j/examples/orderedpath/OrderedPathTest.java
4299
/** * Licensed to Neo Technology under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Neo Technology licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this...
gpl-3.0
unreal666/outwiker
src/test/wikiparser/test_wikistyledialog.py
4755
# -*- coding: utf-8 -*- import unittest import wx from outwiker.pages.wiki.gui.styledialog import StyleDialog from test.basetestcases import BaseOutWikerGUIMixin class WikiStyleDialogTest(unittest.TestCase, BaseOutWikerGUIMixin): def setUp(self): self.initApplication() def tearDown(self): ...
gpl-3.0
gogglesmm/gogglesmm
cfox/lib/FXReverseDictionary.cpp
8544
/******************************************************************************** * * * R e v e r s e D i c t i o n a r y C l a s s * * ...
gpl-3.0
oligriffiths/nooku-platform
library/resources/assets/js/tabs.js
2676
/** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2011 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository...
gpl-3.0
iLoop2/opm-core
opm/core/props/satfunc/SaturationPropsFromDeck.hpp
5972
/* Copyright 2010, 2011, 2012 SINTEF ICT, Applied Mathematics. This file is part of the Open Porous Media project (OPM). OPM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Lice...
gpl-3.0
ezequielpereira/Time-Line
specs/DefaultContainerStrategy.py
10394
# Copyright (C) 2009, 2010, 2011 Rickard Lindberg, Roger Lindberg # # This file is part of Timeline. # # Timeline is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your...
gpl-3.0
EquilibriumGames/Ebon-Universe
src/launcher/EbonLauncher.java
10396
package launcher; import javax.swing.*; import java.awt.*; import java.io.*; import java.net.*; import java.nio.charset.*; import java.nio.file.*; import java.util.*; import java.util.List; public class EbonLauncher extends JFrame { public static void main(String[] args) { EbonLauncher launcher = new EbonLauncher(...
gpl-3.0
msf-ch/msf-malnutrition
msf-malnutrition/srcdoc/guice-3.0-sources/com/google/inject/spi/DisableCircularProxiesOption.java
1350
/** * Copyright (C) 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
gpl-3.0
rburke2233/librec
core/src/main/java/net/librec/recommender/cf/rating/LLORMARecommender.java
11862
package net.librec.recommender.cf.rating; import net.librec.common.LibrecException; import net.librec.math.algorithm.KernelSmoothing; import net.librec.math.algorithm.Randoms; import net.librec.math.structure.DenseMatrix; import net.librec.math.structure.DenseVector; import net.librec.math.structure.MatrixEntry...
gpl-3.0
xdemolish/darkstar
scripts/zones/Bastok_Markets/Zone.lua
2696
----------------------------------- -- -- Zone: Bastok_Markets (235) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts...
gpl-3.0
brianmckenna/sci-wms
wms/migrations/0003_auto_20150302_1510.py
2289
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os from django.conf import settings from django.db import migrations def forwards(apps, schema_editor): resource_path = os.path.join(settings.PROJECT_ROOT, '..', 'wms', 'resources') Dataset = apps.get_model("wms", "Dataset") d1 = Dat...
gpl-3.0
atablash/atablash
include/ab/linalg/3/scale.hpp
881
#pragma once #include "vector.hpp" namespace ab{ template<typename F> class Scale3 { public: Scale3() {} Scale3(F _x, F _y, F _z) : x(_x), y(_y), z(_z) {} explicit Scale3(const Vector3<F>& v) : x(v.x), y(v.y), z(v.z) {} //Matrix34<F> operator*(const Matrix34<F>& m) //{} Scale3 operator*(const Scale3& o) con...
gpl-3.0
eraffxi/darkstar
scripts/zones/Yuhtunga_Jungle/Zone.lua
2665
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/TextIDs"); require("scripts/zones/Yuhtunga_Jungle/MobIDs"); require("scri...
gpl-3.0
dharmeshkakadia/eris
libraries/decerver/epm-go/Godeps/_workspace/src/github.com/eris-ltd/thelonious/monkchain/bloom.go
712
package monkchain type BloomFilter struct { bin []byte } func NewBloomFilter(bin []byte) *BloomFilter { if bin == nil { bin = make([]byte, 256) } return &BloomFilter{ bin: bin, } } func (self *BloomFilter) Set(addr []byte) { if len(addr) < 8 { chainlogger.Warnf("err: bloom set to small: %x\n", addr) ...
gpl-3.0
OpenFOAM/OpenFOAM-5.x
src/sampling/probes/probes.C
13144
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation \\/ M anipulation | --------...
gpl-3.0
ntoll/Pcode
Extensions/Settings/SettingsWidget.py
1806
from PyQt4 import QtCore, QtGui from Extensions.Settings.ColorScheme.ColorScheme import ColorScheme from Extensions.Settings.Keymap import Keymap from Extensions.Settings.SnippetsManager import SnippetsManager from Extensions.Settings.GeneralSettings import GeneralSettings from Extensions.Settings.ModuleCompletion imp...
gpl-3.0
babsgosgens/nooku-ember-example-theme
application/admin/component/pages/view/module/html.php
2067
<?php /** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2011 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link http://github.com/nooku/nooku-platform for the canonical source repository */...
gpl-3.0
geeksville/arduleader
thirdparty/org.mavlink.library/generated/org/mavlink/messages/ardupilotmega/msg_debug_vect.java
2644
/** * Generated class : msg_debug_vect * DO NOT MODIFY! **/ package org.mavlink.messages.ardupilotmega; import org.mavlink.messages.MAVLinkMessage; import org.mavlink.IMAVLinkCRC; import org.mavlink.MAVLinkCRC; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import java....
gpl-3.0
mzemel/kpsu.org
app/models/comment_observer.rb
629
class CommentObserver < ActiveRecord::Observer observe :comment def after_create(record) if record.recipient u = record.recipient elsif record.reply_id u = record.reply_id elsif record.post_id u = record.post.user elsif record.playlist_id u = record.playlist.user ...
gpl-3.0
harasho2016/google-result-analyzer
config.rb
1319
Encoding.default_external = "utf-8" # Require any additional compass plugins here. require 'ceaser-easing' # Set this to the root of your project when deployed: http_path = "/" css_dir = "css" sass_dir = "sass" images_dir = "images" javascripts_dir = "js" fonts_dir = "fonts" # output_style = :expanded or :nested or :c...
gpl-3.0
pavloff-de/cournal
cournal/viewer/tools/navigation.py
1674
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file is part of Cournal. # Copyright (C) 2012 Fabian Henze # # Cournal is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, o...
gpl-3.0
wiki2014/Learning-Summary
alps/cts/tests/tests/mediastress/src/android/mediastress/cts/NativeMediaActivity.java
6615
/* * Copyright (C) 2012 The Android Open Source Project * * 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 app...
gpl-3.0
babsgosgens/nooku-ember-example-theme
library/template/filter/decorator.php
1089
<?php /** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2007 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository */ namespac...
gpl-3.0
TheGhostGroup/ArkCORE2
src/server/scripts/EasternKingdoms/BlackwingDescent/boss_omnotron_defense_system.cpp
5877
/* * * Copyright (C) 2011-2012 ArkCORE2 <http://www.arkania.net/> * Copyright (C) 2010-2012 Project SkyFire <http://www.projectskyfire.org/> * * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foun...
gpl-3.0
tvaddonsco/tva-release-repo
leia/plugin.video.realizerx/resources/lib/modules/library_player.py
9303
# -*- coding: utf-8 -*- ''' realizer Add-on Copyright (C) 2016 realizer This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your op...
gpl-3.0
syncany/syncany-plugin-gui
core/syncany-lib/src/test/unit/java/org/syncany/tests/util/TestSqlDatabase.java
3603
/* * Syncany, www.syncany.org * Copyright (C) 2011-2016 Philipp C. Heckel <philipp.heckel@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
gpl-3.0
lilac/iASP
liblua/replace.py
404
#!/usr/bin/env python3 # small script that brings the includes in line with the bingo project import glob import os.path includes = glob.glob("lua/*.h") sources = glob.glob("src/*.c") for x in includes + sources: content = open(x).read() for y in includes: z = os.path.basename(y) content = content.replace('#...
gpl-3.0
d0k1/secret
native/agent/src/main/cpp/agentoptions.cpp
6481
/* * <one line to give the program's name and a brief idea of what it does.> * Copyright (C) 2015 Denis V. Kirpichenkov <email> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ve...
gpl-3.0
ThibautMarty/logisim-evolution
src/com/bfh/logisim/hdlgenerator/FileWriter.java
8099
/******************************************************************************* * This file is part of logisim-evolution. * * logisim-evolution is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, eithe...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Hazhalm_Testing_Grounds/mobs/Muninn.lua
820
----------------------------------- -- Area: Hazhalm Testing Grounds (78) -- Mob: Muninn ----------------------------------- -- require("scripts/zones/Hazhalm_Testing_Grounds/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; -...
gpl-3.0
BMKEG/lapdftext
src/main/java/edu/isi/bmkeg/lapdf/pmcXml/PmcXmlNlmCitation.java
27588
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.07.23 at 10:09:0...
gpl-3.0
Urielink/ekilinewp
index.php
2561
<?php /** * The main template file. * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when no home.php file e...
gpl-3.0
andrewyoung1991/abjad
abjad/demos/desordre/make_desordre_cell.py
1459
# -*- encoding: utf-8 -*- import math from abjad import * def make_desordre_cell(pitches): '''The function constructs and returns a *Désordre cell*. `pitches` is a list of numbers or, more generally, pitch tokens. ''' notes = [scoretools.Note(pitch, (1, 8)) for pitch in pitches] beam = spannertoo...
gpl-3.0
jdemel/gnuradio
gr-fft/python/fft/bindings/fft_python.cc
4638
/* * Copyright 2020 Free Software Foundation, Inc. * * This file is part of GNU Radio * * SPDX-License-Identifier: GPL-3.0-or-later * */ /***********************************************************************************/ /* This file is automatically generated using bindtool and can be manually edited */ /* ...
gpl-3.0
rapPayne/jQueryLabs
Lab 1 Intro/Solution/pull-quote.js
245
$('document').ready(function () { //console.log('in jQuery'); $('.pq').each(function () { //alert($(this).text()); var clone = $(this).clone() .removeClass('pq') .addClass('pullquote'); $(this).before(clone); }) });
gpl-3.0
xlthlx/wp-inci
vendor/htmlburger/carbon-fields/packages/blocks/fields/image/index.js
481
/** * External dependencies. */ import { addFilter } from '@wordpress/hooks'; import { __ } from '@wordpress/i18n'; addFilter( 'carbon-fields.image.block', 'carbon-fields/blocks', ( OriginalImageField ) => ( props ) => { return ( <OriginalImageField buttonLabel={ __( 'Select Image', 'carbon-fields-ui' ) } m...
gpl-3.0
Hutli/openPlaylist
ExamPresentation/script.py
692
import urllib.request import random baseurl = "http://localhost:5555/" tracks = ["spotify:track:1O8d2pWtBclzuY3FctBPVa" # kings of leon : closer , "spotify:track:32OlwWuMpZ6b0aN2RZOeMS" # uptown funk mark ronson , "spotify:track:34gCuhDGsG4bRPIf9bb02f" # thinking out loud : ed sheeran , "spo...
gpl-3.0
hilburn/HQM
src/main/java/hardcorequesting/HQMTab.java
581
package hardcorequesting; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import hardcorequesting.items.ModItems; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; public class HQMTab extends CreativeTabs { public HQMTab(...
gpl-3.0
gameminers/Ethereal-Installer
src/main/java/com/gameminers/ethereal/installer/ImageURL.java
2423
package com.gameminers.ethereal.installer; import java.awt.image.BufferedImage; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import javax.imageio.ImageIO; import javax.xml.bind.DatatypeConverter; import com.gameminers.ethereal.lib.Resources; public class Ima...
gpl-3.0
sedruk/Red-DiscordBot
cogs/konami.py
535
class Konami: def __init__(self, bot): self.bot = bot async def listener(self, message): if message.author.id != self.bot.user.id: if '🔼 🔼 🔽 🔽 ◀ ▶ ◀ ▶ 🅱 🅰' in message.content.lower() or '🔼🔼🔽🔽◀▶◀▶🅱🅰' in message.content.lower() or '^^vv<><>ba' in message.content.lower(): await self.bot.se...
gpl-3.0
Emudofus/BehaviorIsManaged
Protocol/Enums/MapObstacleStateEnum.cs
226
// Generated on 04/17/2013 22:30:17 using System; using System.Collections.Generic; namespace BiM.Protocol.Enums { public enum MapObstacleStateEnum { OBSTACLE_OPENED = 1, OBSTACLE_CLOSED = 2, } }
gpl-3.0
AlexIIL/AlexIILLib-DEPRECATED
src/main/java/alexiil/mods/lib/git/CommitInfo.java
969
package alexiil.mods.lib.git; public class CommitInfo { public static class Commiter { public final String name, email, date; public Commiter(String name, String email, String date) { this.name = name; this.email = email; this.date = date; } } p...
gpl-3.0
Necti-Company/Craft-Clash
craftclash/pymodules/tkinter/test/test_tkinter/test_widgets.py
47307
import unittest import tkinter from tkinter import TclError import os import sys from test.support import requires from tkinter.test.support import (tcl_version, requires_tcl, get_tk_patchlevel, widget_eq) from tkinter.test.widget_tests import ( add_standard_options, noc...
gpl-3.0
hypertable/hypertable
cmake/CheckJemalloc.cc
903
/** -*- C++ -*- * Copyright (C) 2007-2016 Hypertable, Inc. * * This file is part of Hypertable. * * Hypertable is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 3 * of the License, or any ...
gpl-3.0
AKSW/LIMES-dev
limes-core/src/main/java/org/aksw/limes/core/io/preprocessing/functions/ToUppercase.java
832
package org.aksw.limes.core.io.preprocessing.functions; import java.util.TreeSet; import org.aksw.limes.core.io.cache.Instance; import org.aksw.limes.core.io.preprocessing.APreprocessingFunction; import org.aksw.limes.core.io.preprocessing.IPreprocessingFunction; public class ToUppercase extends APreprocessingFuncti...
gpl-3.0
hsubox76/kitappios
src/utils/utils.js
1752
import moment from 'moment'; import _ from 'lodash'; import { DATE_FORMAT } from '../data/constants'; export function getMillisUntilNextEvent(rotation) { const everyMillis = moment.duration(...rotation.every).valueOf(); const todayMillis = moment().valueOf(); const startingMillis = moment(rotation.starting, DATE...
gpl-3.0
vidageek/games
games/scala/src/main/scala/vggames/scala/specs/booleans/LessThan.scala
909
package vggames.scala.specs.booleans import vggames.scala.specs.GameSpecification import vggames.scala.code.RestrictedFunction2 import vggames.scala.specs.TestRun class LessThan extends GameSpecification[RestrictedFunction2[Int, Int, Boolean]] { def runSignature = "(a:Int, b:Int):Boolean" def extendsType = "Res...
gpl-3.0
AliruJulian/TheLibraryGame
Application/webservice/webservice.php
4233
<?php ini_set('memory_limit', '256M'); require_once("./JKF_LibraryGame_Model.php"); require_once("./JKF_Const.php"); require_once("./JKF_Webservice_Get.php"); require_once("./JKF_Webservice_Set.php"); //Init Model $model = new JKF_LibraryGame_Model(); //Return $response = array(); $response["result"] = true; fore...
gpl-3.0
javilinux/stampython
tests/test_10_forward.py
2674
#!/usr/bin/env python # encoding: utf-8 import logging from unittest import TestCase import cleanup import stampy.plugin.forward import stampy.stampy logger = logging.getLogger(__name__) class TestStampy(TestCase): cleanup.clean() def test_createfowrard(self): stampy.plugin.forward.createforward(s...
gpl-3.0
SonyCSL/OpenECHO
Processing/libraries/OpenECHO/references/search/classes_b.js
167
var searchData= [ ['nodeprofile',['NodeProfile',['../classcom_1_1sonycsl_1_1echo_1_1eoj_1_1profile_1_1_node_profile.html',1,'com::sonycsl::echo::eoj::profile']]] ];
gpl-3.0
utsushi/imagescan
utsushi/i18n.hpp
12716
// i18n.hpp -- C++ wrappers for libintl.h functionality // Copyright (C) 2012, 2015 SEIKO EPSON CORPORATION // // License: GPL-3.0+ // Author : EPSON AVASYS CORPORATION // // This file is part of the 'Utsushi' package. // This package is free software: you can redistribute it and/or modify // it under the terms...
gpl-3.0
toni1991/ssj
libssj/src/main/java/hcm/ssj/myo/MyoListener.java
4877
/* * MyoListener.java * Copyright (c) 2017 * Authors: Ionut Damian, Michael Dietz, Frank Gaibler, Daniel Langerenken, Simon Flutura, * Vitalijs Krumins, Antonio Grieco * ***************************************************** * This file is part of the Social Signal Interpretation for Java (SSJ) framework * develo...
gpl-3.0
ivandrofly/subtitleedit
src/libse/SubtitleFormats/KaraokeCdgCreatorText.cs
4092
using Nikse.SubtitleEdit.Core.Common; using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Nikse.SubtitleEdit.Core.SubtitleFormats { public class KaraokeCdgCreatorText : SubtitleFormat { private static readonly Regex RegexTimeCodes = new Regex(@"^\d+(:\d+){0,...
gpl-3.0
valentin-krasontovitsch/ansible
lib/ansible/modules/utilities/logic/include_vars.py
4840
# -*- coding: utf-8 -*- # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = { 'metadata_version': '1.1', 'status': ['stableinterface'], 'supported_by': 'core' ...
gpl-3.0
h3biomed/ansible
lib/ansible/modules/cloud/amazon/cloudformation.py
35454
#!/usr/bin/python # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['st...
gpl-3.0
aESeguridad/GERE
venv/lib/python2.7/site-packages/cairosvg/surface/svg.py
1921
# -*- coding: utf-8 -*- # This file is part of CairoSVG # Copyright © 2010-2012 Kozea # # This library is free software: you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option...
gpl-3.0
ThomasGaubert/skcraft-mobile
src/com/texasgamer/skcraft/GCMSettingsActivity.java
997
package com.texasgamer.skcraft; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; public class GCMSettingsActivity extends Activity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getActionBa...
gpl-3.0
robwarm/gpaw-symm
doc/tutorials/jellium/jellium.agts.py
236
def agts(queue): bulk = queue.add('bulk.py', ncpus=4, walltime=6) surf = queue.add('surface.py', ncpus=4, walltime=6) sigma = queue.add('sigma.py', deps=[bulk, surf]) queue.add('fig2.py', deps=sigma, creates='fig2.png')
gpl-3.0
ChrisLundquist/packer
vendor/github.com/oracle/oci-go-sdk/common/auth/configuration.go
2107
// Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. package auth import ( "crypto/rsa" "fmt" "github.com/oracle/oci-go-sdk/common" ) type instancePrincipalConfigurationProvider struct { keyProvider *instancePrincipalKeyProvider region *common.Region } //InstancePrincipalConfigu...
mpl-2.0
FighterLYL/DeepCL
src/activate/ActivationLayer.cpp
8107
// Copyright Hugh Perkins 2015 hughperkins at gmail // // 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/. #include "net/NeuralNet.h" #include "util/stringhelper.h" #...
mpl-2.0
mozilla-jetpack/jpm
lib/sign.js
4659
/* 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"; var _ = require("lodash"); var tmp = require("tmp"); var nodefn = require("when/node"); var when = r...
mpl-2.0
jfrazelle/boulder
vendor/github.com/zmap/zlint/lints/lint_ext_policy_map_any_policy.go
2066
package lints /* * ZLint Copyright 2018 Regents of the University of Michigan * * 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 req...
mpl-2.0
os2kitos/kitos
Infrastructure.DataAccess/Migrations/201804161323008_ContactPersonAdded.Designer.cs
851
// <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.3-40302")] public sealed p...
mpl-2.0
KaiRo-at/socorro
alembic/versions/4b2567293aee_bug_974726_move_correlations_to_postgres.py
4469
"""bug 974726 - move correlations to postgres Revision ID: 4b2567293aee Revises: 74d6fd90b59 Create Date: 2014-03-10 11:43:52.585210 """ # revision identifiers, used by Alembic. revision = '4b2567293aee' down_revision = '74d6fd90b59' from alembic import op from socorrolib.lib import citexttype, jsontype, buildtype ...
mpl-2.0
WeaveTeam/WeaveJS
WeaveApp/typings/proj4/proj4.d.ts
677
declare module "proj4" { export = proj4; } declare type Proj4 = typeof proj4; declare module proj4 { export class Proj { constructor(srs: string); } export class Point { x: number; y: number; constructor(x: number, y: number); } export function transform(from: ...
mpl-2.0
jfrazelle/boulder
vendor/github.com/zmap/zlint/lints/lint_ev_valid_time_too_long.go
1435
package lints /* * ZLint Copyright 2018 Regents of the University of Michigan * * 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 req...
mpl-2.0
shane-tomlinson/fxa-content-server
tests/server/flow-metrics.js
6496
/* 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/. */ const { registerSuite } = intern.getInterface('object'); const assert = intern.getPlugin('chai').assert; const cryp...
mpl-2.0
jbhoosreddy/debugger.html
src/actions/tests/setProjectDirectoryRoot.spec.js
2861
/* 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/>. */ import { createStore, selectors, actions, makeSource } from "../../utils/test-head"; const { getProject...
mpl-2.0
kjmkznr/terraform-provider-aws
vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/eval_output.go
4443
package terraform import ( "fmt" "log" "github.com/hashicorp/hcl/v2" "github.com/zclconf/go-cty/cty" "github.com/hashicorp/terraform-plugin-sdk/internal/addrs" "github.com/hashicorp/terraform-plugin-sdk/internal/plans" "github.com/hashicorp/terraform-plugin-sdk/internal/states" ) // EvalDeleteOutput is an Ev...
mpl-2.0
openelisglobal/openelisglobal-sandbox
app/src/us/mn/state/health/lims/project/action/ProjectAction.java
5285
/** * 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/ * * Software distributed under the License is distributed on an "AS IS" * ba...
mpl-2.0
usersource/tasks
tasks_phonegap/Tasks/plugins/io.usersource.anno/anno_plugin_android/src/org/apache/cordova/file/FileHelper.java
6203
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
mpl-2.0
joyent/containerbuddy
events/publisher.go
879
package events // EventPublisher is an interface for publishers that register/unregister from // the EventBus and publish Events. type EventPublisher interface { Publish(Event) Register(*EventBus) Unregister() } // Publisher represents an object with a Bus that implements the EventPublisher // interface. type Publ...
mpl-2.0
openMF/mifosx-e2e-testing
browsermob-proxy/src/main/java/org/xbill/DNS/security/KEYConverter.java
9976
// Copyright (c) 1999-2004 Brian Wellington (bwelling@xbill.org) package org.xbill.DNS.security; import org.xbill.DNS.*; import javax.crypto.interfaces.DHPublicKey; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import java.io.IOException; import java.math....
mpl-2.0
bem-sdk/bem-entity
test/id.test.js
991
import test from 'ava'; import sinon from 'sinon'; import proxyquire from 'proxyquire'; import BemEntityName from '..'; test('should build equal id for equal blocks', t => { const entityName1 = new BemEntityName({ block: 'block' }); const entityName2 = new BemEntityName({ block: 'block' }); t.is(entityNa...
mpl-2.0
KaiRo-at/socorro
socorro/external/postgresql/crashes.py
24482
# 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/. import datetime import logging from socorrolib.lib import ( MissingArgumentError, BadArgumentError, datetim...
mpl-2.0
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/Core/src/ims/core/forms/tcicasenoterequeststasksettings/GlobalContext.java
3392
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
agpl-3.0
legsem/legstar-core2
legstar-base/src/test/java/com/legstar/base/type/gen/CobolArdo02Record.java
4185
package com.legstar.base.type.gen; import java.util.LinkedHashMap; import java.util.Map; import com.legstar.base.type.CobolType; import com.legstar.base.type.composite.*; import com.legstar.base.type.primitive.*; public class CobolArdo02Record extends CobolComplexType { public CobolArdo02Record() { supe...
agpl-3.0
imam-san/jPOS-1
jpos/src/test/java/org/jpos/space/MD5TemplateTest.java
1991
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2015 Alejandro P. Revilla * * 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 ...
agpl-3.0
petrjasek/superdesk-core
superdesk/data_updates/00009_20180425-010702_vocabularies.py
1078
# -*- coding: utf-8; -*- # This file is part of Superdesk. # For the full copyright and license information, please see the # AUTHORS and LICENSE files distributed with this source code, or # at https://www.sourcefabric.org/superdesk/license # # Author : mugur # Creation: 2018-04-25 01:07 from eve.utils import config...
agpl-3.0
zheguang/voltdb
tests/frontend/org/voltdb/IndexOrderPlayground.java
3006
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to...
agpl-3.0
BloatIt/bloatit
main/src/main/java/com/bloatit/framework/webprocessor/components/form/HtmlHidden.java
1004
// // Copyright (c) 2011 Linkeos. // // This file is part of Elveos.org. // Elveos.org is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the // Free Software Foundation, either version 3 of the License, or (at your // option) any later versio...
agpl-3.0
empirical-org/Quill-Lessons
config/puma.rb
574
workers Integer(ENV['PUMA_WORKERS'] || 3) threads Integer(ENV['MIN_THREADS'] || 1), Integer(ENV['MAX_THREADS'] || 16) preload_app! rackup DefaultRackup port ENV['PORT'] || 3000 environment ENV['RACK_ENV'] || 'development' on_worker_boot do # worker specific setup ActiveSupport.on_load(:active_re...
agpl-3.0
PopulateTools/gobierto-dev
db/migrate/20180731165523_drop_gobierto_participation_areas.rb
441
# frozen_string_literal: true class DropGobiertoParticipationAreas < ActiveRecord::Migration[5.2] def up drop_table :gpart_areas end def down create_table :gpart_areas do |t| t.references :site t.jsonb :name_translations t.jsonb :slug_translations t.timestamps end add_i...
agpl-3.0
open-health-hub/openmaxims-linux
openmaxims_workspace/Rules/src/ims/rules/helper/PatientICPAction.java
6446
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
agpl-3.0
open-health-hub/openmaxims-linux
openmaxims_workspace/ValueObjects/src/ims/careuk/vo/CatsReferralBreachDatesVo.java
7042
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
agpl-3.0
MfN-Berlin/BioCASe-Monitor-Service
biocasemonitor/info/doc/api/html/search/variables_1.js
119
var searchData= [ ['_5fversion',['_VERSION',['../namespace_bms.html#a83bf7d7b6d8cb4f3f2db6b63d7de1399',1,'Bms']]] ];
agpl-3.0
vfcosta/noosfero
plugins/social_statistics/install.rb
350
# Make sure Noosfero's Debian Repository is included on your source.list # Check it out: http://download.noosfero.org/debian/ #FIXME The package is not working #unless system 'dpkg -s ruby-blazer' #system 'sudo apt-get update' #unless system 'sudo apt-get install -y ruby-blazer' #exit $?.exitstatus #end #end...
agpl-3.0
babolivier/cozy-home
build/server/lib/manifest.js
6428
// Generated by CoffeeScript 1.10.0 var cozydb, localizationManager, logger, request, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; request = require('request-json'); localizationManager = require('../helpers/localization_manager'); logger = require('printit')({ prefix: 'manif...
agpl-3.0
AlessandroCaetano/noosfero
plugins/metadata/test/functional/content_viewer_controller_test.rb
3438
# encoding: UTF-8 require 'test_helper' require 'content_viewer_controller' class ContentViewerControllerTest < ActionController::TestCase def setup @controller = ContentViewerController.new @profile = create_user('testinguser').person @environment = @profile.environment @environment.enabled_plugin...
agpl-3.0
IMS-MAXIMS/openMAXIMS
Source Library/openmaxims_workspace/Emergency/src/ims/emergency/domain/AttendanceKPIConfiguration.java
2825
//############################################################################# //# # //# Copyright (C) <2015> <IMS MAXIMS> # //# ...
agpl-3.0
torodb/engine
core/src/main/java/com/torodb/core/metrics/Name.java
1795
/* * ToroDB * Copyright © 2014 8Kdata Technology (www.8kdata.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 Software Foundation, either version 3 of the License, or * (at your option) any later...
agpl-3.0
open-health-hub/openmaxims-linux
openmaxims_workspace/Admin/src/ims/admin/forms/service/GlobalContext.java
2808
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# ...
agpl-3.0
kjniemi/scylla
auth/authenticated_user.cc
2448
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
agpl-3.0
sandeep1027/zurmo_
app/protected/config/debugDIST.php
7764
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2013 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
agpl-3.0