code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* Author: Bob Limnor (info@limnor.com)
* Project: Limnor Studio
* Item: Visual Programming Language Implement
* License: GNU General Public License v3.0
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace LimnorDesigner.Web
{
public class HtmlElement_pre : HtmlEl... | Limnor/Limnor-Studio-Source-Code | Source/LimnorDesigner/Web/HtmlElement_pre.cs | C# | gpl-3.0 | 599 |
package com.alipay.api.response;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.trade.vendorpay.devicedata.upload response.
*
* @author auto create
* @since 1.0, 2016-12-08 00:51:39
*/
public class AlipayTradeVendorpayDevicedataUploadResponse extends AlipayResponse {
private static final long... | zeatul/poc | e-commerce/e-commerce-ecom-pay-service/src/main/java/com/alipay/api/response/AlipayTradeVendorpayDevicedataUploadResponse.java | Java | gpl-3.0 | 371 |
<?php
/**
* User: ed8
* Date: 7/27/14
*/
class Shell {
/**
* Execute a shell command and capture its output
* @param null $_ shell command
* @param bool $debug
* @return mixed
*/
public static function execute($_ = null, $debug=true) {
$_ = "( TERM=screen-256color $_ )";
... | edouard-lopez/mast-web | application/libraries/Shell.php | PHP | gpl-3.0 | 1,311 |
<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2015 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\Databox;
use Alchemy\Phrasea\Application;
use Symfony\Component\HttpKernel\Exception\No... | mdarse/Phraseanet | lib/Alchemy/Phrasea/Databox/DataboxFactory.php | PHP | gpl-3.0 | 1,190 |
package com.chandilsachin.diettracker.io;
import android.app.Activity;
import android.content.Context;
import android.graphics.Typeface;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Iterator;
public final class FontsOverride
{
public static void populateFonts(Activity activity, Has... | chandilsachin/DietTracker | app/src/main/java/com/chandilsachin/diettracker/io/FontsOverride.java | Java | gpl-3.0 | 1,560 |
<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
extract($_POST);
extract($_GET);
$pdo = conectar();
$query = selectPinEvento();
$stmt = $pdo->prepare($query);
$stmt->bindParam(":id", $id);
$stmt->bindParam(":pin", $pin);
$stmt->execute();
if ($stmt->rowCount() == ... | hardrikk/sitvi | php/model/pinModalModel.php | PHP | gpl-3.0 | 772 |
# Copyright (C) 2011-2015 Patrick Totzke <patricktotzke@gmail.com>
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
from __future__ import absolute_import
import re
import abc
class AddressbookError(Exception):
pass
class AddressBook(object):... | geier/alot | alot/addressbook/__init__.py | Python | gpl-3.0 | 1,232 |
import numpy as np
from scipy.signal import medfilt
import manager.operations.method as method
from manager.operations.methodsteps.confirmation import Confirmation
from manager.exceptions import VoltPyNotAllowed
class MedianFilter(method.ProcessingMethod):
can_be_applied = True
_steps = [
{
... | efce/voltPy | manager/operations/methods/MedianFilter.py | Python | gpl-3.0 | 1,485 |
'use strict';
const { expect } = require('chai');
const kadence = require('..');
const network = require('./fixtures/node-generator');
const trust = require('../lib/plugin-trust');
const sinon = require('sinon');
const async = require('async');
describe('@module kadence/trust + @class UDPTransport', function() {
... | gordonwritescode/kad | test/plugin-trust.e2e.js | JavaScript | gpl-3.0 | 3,986 |
<?php
session_start();
$blad = $_SESSION['blad'] ;
?>
<!DOCTYPE html>
<html lang="pl">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<head>
<title>Gra w słowa</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Na... | maghostmil/grawslowa.pl | kontakt.php | PHP | gpl-3.0 | 3,250 |
<?php
/**
* Définit le domaine des commentaires.
*
* @author ybaccala
*/
class Klee_Model_Domain_DescriptifCourt extends Klee_Model_Domain_Abstract implements Klee_Model_Domain_Interface
{
/* (non-PHPdoc)
* @see Application_Model_Domains_Abstract::initValidators()
*/
public function initValidators... | Nyaoh/Mz | webapp/library/Klee/Model/Domain/DescriptifCourt.php | PHP | gpl-3.0 | 795 |
(function (tree) {
tree.mixin = {};
tree.mixin.Call = function (elements, args, index) {
this.selector = new(tree.Selector)(elements);
this.arguments = args;
this.index = index;
};
tree.mixin.Call.prototype = {
eval: function (env) {
var mixins, rules = [], match = false;
for (var i = ... | tfe/cloud9 | support/connect/support/less/lib/less/tree/mixin.js | JavaScript | gpl-3.0 | 3,761 |
package me.killje.servercaster.core.converter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import me.killje.servercaster.core.ServerCaster;
import mkremins.fanciful.FancyMessage;
import org.bukkit.entity.Player;
/**
*
* @au... | killje/ServerCasterOld | core/src/main/java/me/killje/servercaster/core/converter/CodeConverter.java | Java | gpl-3.0 | 2,978 |
"""
Django settings for lwc project.
Generated by 'django-admin startproject' using Django 1.9.7.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.9/ref/settings/
"""
import os
# Bui... | Phexcom/product-launcher | lwc/settings/base.py | Python | gpl-3.0 | 3,530 |
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MyGarden.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the... | pmandr/plant_carer | MyGarden/manage.py | Python | gpl-3.0 | 806 |
<?php
////////////////////////////////////////////////////////////////////////////////
/// This file contains a few configuration variables that control
/// how Moodle uses this theme.
////////////////////////////////////////////////////////////////////////////////
$THEME->name = 'skonline_test_wo_SKOParent';
... | orvsd/moodle22 | theme/skonline_test_wo_SKOParent/config.php | PHP | gpl-3.0 | 5,583 |
from osweb.projects.ManageProject import ManageProject
from osweb.projects.projects_data import ProjectsData | openshine/osweb | osweb/projects/__init__.py | Python | gpl-3.0 | 108 |
/* Copyright (C) 2016, 2017 PISM Authors
*
* This file is part of PISM.
*
* PISM 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
* version.... | talbrecht/pism_pik | src/coupler/ocean/Initialization.cc | C++ | gpl-3.0 | 6,460 |
/*
* This file is part of Log4Jdbc.
*
* Log4Jdbc 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 version.
*
* Log4Jdbc is distributed in... | marcosemiao/log4jdbc | core/log4jdbc-impl/src/main/java/fr/ms/log4jdbc/lang/reflect/TraceTimeInvocationHandler.java | Java | gpl-3.0 | 3,606 |
/*
* This file is part of the L2J Mobius project.
*
* 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 option) any later version.
*
* This p... | karolusw/l2j | game/data/scripts/quests/Q00700_CursedLife/Q00700_CursedLife.java | Java | gpl-3.0 | 6,753 |
package com.libertacao.libertacao.manager;
import android.support.annotation.Nullable;
import com.libertacao.libertacao.persistence.UserPreferences;
import com.parse.ParseFacebookUtils;
import com.parse.ParseUser;
public class LoginManager {
private static final LoginManager ourInstance = new LoginManager();
... | LibertACAO/libertacao-android | app/src/main/java/com/libertacao/libertacao/manager/LoginManager.java | Java | gpl-3.0 | 1,546 |
<?php
/**
* A two factor authentication module that protects both the admin and customer logins
* Copyright (C) 2017 Ross Mitchell
*
* This file is part of Rossmitchell/Twofactor.
*
* Rossmitchell/Twofactor is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public Li... | rossmitchell/module-twofactor | Controller/Customerlogin/AbstractController.php | PHP | gpl-3.0 | 5,795 |
/*
* Copyright (C) 2013 Canonical, Ltd.
*
* 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; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... | yunit-io/yunit | plugins/LightDM/IntegratedLightDM/liblightdm/GreeterPrivate.cpp | C++ | gpl-3.0 | 9,466 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
using Renci.SshNet;
namespace Luice
{
public partial class Form1 : For... | gegge6265/Luice | Luice/Form1.cs | C# | gpl-3.0 | 3,744 |
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
create_tray_icon();
state = STATE_STOP;
time = 0;
connect(&timer, SIGNAL(timeout()), this, SLOT(timer_timeout()));
}
MainWindow::~Ma... | fffaraz/CloseYourEyes | src/ui/mainwindow.cpp | C++ | gpl-3.0 | 2,756 |
// Copyright (C) 2006,2007,2008,2009, George Hobbs, Russell Edwards
/*
* This file is part of TEMPO2.
*
* TEMPO2 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 Licens... | zhuww/tempo2 | plugin/findCWs_plug.C | C++ | gpl-3.0 | 15,178 |
package ontology.effects.unary;
import core.VGDLSprite;
import core.content.InteractionContent;
import core.game.Game;
import ontology.Types;
import ontology.effects.Effect;
import tools.Direction;
import tools.Utils;
import tools.Vector2d;
/**
* Created with IntelliJ IDEA.
* User: Diego
* Date: 03/12/13
* Time: ... | tohahn/UE_ML | UE06/gvgai/src/ontology/effects/unary/FlipDirection.java | Java | gpl-3.0 | 786 |
/*
* @file gui/dvonn/state.cpp
*
* This file is part of OpenXum games
*
* Copyright (c) 2011-2012 Eric Ramat <eramat@users.sourceforge.net>
*
* See the AUTHORS or Authors.txt file for copyright owners and contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the term... | openxum-team/openxum-gtk | src/gui/dvonn/state.cpp | C++ | gpl-3.0 | 1,414 |
/*
fuzzylite (R), a fuzzy logic control library in C++.
Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com>
This file is part of fuzzylite.
fuzzylite is free software: you can redistribute it and/or modify it under
the terms of the FuzzyLite Lic... | fuzzylite/fuzzylite | fuzzylite/src/hedge/HedgeFunction.cpp | C++ | gpl-3.0 | 1,724 |
// Code generated by entc, DO NOT EDIT.
package ent
import (
"context"
"fmt"
"entgo.io/ent/dialect/sql"
"entgo.io/ent/dialect/sql/sqlgraph"
"entgo.io/ent/schema/field"
"github.com/gen0cide/laforge/ent/predicate"
"github.com/gen0cide/laforge/ent/team"
)
// TeamDelete is the builder for deleting a Team entity.... | gen0cide/laforge | ent/team_delete.go | GO | gpl-3.0 | 2,551 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
\\ / O peration | Version: 3.2
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For ... | Unofficial-Extend-Project-Mirror/foam-extend-foam-extend-3.2 | src/finiteVolume/fvMesh/extendedStencil/cellToCell/fullStencils/CFCCellToCellStencil.C | C++ | gpl-3.0 | 4,942 |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Simon Hausmann <hausmann@kde.org>
* Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
* (C) 2006 Graham Dennis (graham.dennis@gmail.com)
*
* This... | cs-au-dk/Artemis | WebKit/Source/WebCore/html/HTMLAnchorElement.cpp | C++ | gpl-3.0 | 19,891 |
using UnityEngine;
/// <summary>
/// Buff represents an "upgrade" to a unit.
/// </summary>
public interface IBuff
{
/// <summary>
/// Determines how long the buff should last (expressed in turns). If set to negative number, buff will be permanent.
/// </summary>
/// 负数表示。。。手动删除。
int Duration { get... | Phynic/SLGanim | Assets/Scripts/Core/Buff/IBuff.cs | C# | gpl-3.0 | 870 |
<?php
/**
* Gestion automatisée des innactifs
*
* @author Francois Mazerolle <admin@maz-concept.com>
* @copyright Copyright (c) 2009, Francois Mazerolle
* @version 1.0
* @package CyberCity_2034
*/
class Innactif
{
public static function go(&$account)
{
$dbMgr = DbManager::getInstance(); //Instancier le... | FMaz008/ccv4 | classes/Innactif.php | PHP | gpl-3.0 | 3,578 |
// ******************************************************************************
//
// Filename: progressbar.cpp
// Project: Vox
// Author: Steven Ball
//
// Purpose:
// A progress bar component to show visual feedback of progress.
//
// Revision History:
// Initial Revision - 13/07/08
//
// Copyright (c) 200... | AlwaysGeeky/Vox | source/gui/progressbar.cpp | C++ | gpl-3.0 | 8,973 |
/**
*
*/
package topology.graphParsers.common;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
/**
* @author Omer Zohar
* This class returns names of files with given extention for a given directory
*/
public class FileLister {
private String m_sfilepath=null;
... | puzis/kpp | src/topology/graphParsers/common/FileLister.java | Java | gpl-3.0 | 1,357 |
# Copyright FuseSoC contributors
# Licensed under the 2-Clause BSD License, see LICENSE for details.
# SPDX-License-Identifier: BSD-2-Clause
def test_generators():
import os
import tempfile
from fusesoc.config import Config
from fusesoc.coremanager import CoreManager
from fusesoc.edalizer import ... | lowRISC/fusesoc | tests/test_edalizer.py | Python | gpl-3.0 | 1,641 |
/*
* This file is part of Gradoop.
*
* Gradoop 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 version.
*
* Gradoop is distributed in th... | Venom590/gradoop | gradoop-common/src/main/java/org/gradoop/common/model/api/entities/EPGMEdge.java | Java | gpl-3.0 | 1,396 |
#! /usr/bin/env python3
from bollinger import bands, plot, strategies
import argparse
parser = argparse.ArgumentParser(description="plots bollinger bands or suggests investments", epilog="example: bolly.py plot AMZN FB")
parser.add_argument("action", metavar="ACTION", choices=["plot", "suggest"], help="either plot o... | juantascon/bollinger-bands | python/bolly.py | Python | gpl-3.0 | 1,507 |
import Struct from "ref-struct-napi";
const Registers = Struct({
"r15": "int64",
"r14": "int64",
"r13": "int64",
"r12": "int64",
"rbp": "int64",
"rbx": "int64",
"r11": "int64",
"r10": "int64",
"r9": "int64",
"r8": "int64",
"rax": "int64",
"rcx": "int64",
"rdx": "int64",
"rsi": "int64",
"r... | k13-engineering/unix-ptrace | lib/arch/x86_64.js | JavaScript | gpl-3.0 | 597 |
/****************************************************************************
ePMC - an extensible probabilistic model checker
Copyright (C) 2017
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 Soft... | liyi-david/ePMC | plugins/command-help/src/main/java/epmc/command/UsagePrinterJANI.java | Java | gpl-3.0 | 17,019 |
package com.earth2me.essentials;
import com.earth2me.essentials.commands.WarpNotFoundException;
import com.earth2me.essentials.utils.StringUtil;
import net.ess3.api.InvalidNameException;
import net.ess3.api.InvalidWorldException;
import org.bukkit.Location;
import org.bukkit.Server;
import java.io.File;
import java.io... | dordsor21/dordsentials | Essentials/src/com/earth2me/essentials/Warps.java | Java | gpl-3.0 | 5,560 |
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2014 by Computer Graphics Group, RWTH Aachen *
* ... | heartvalve/OpenFlipper | Plugin-MaterialPicker/MaterialPicker.cc | C++ | gpl-3.0 | 22,607 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 version.
//
// Moodle ... | damyon/moodle-editor_atto | plugins/orderedlist/lib.php | PHP | gpl-3.0 | 1,585 |
/* DataFile.cpp
Copyright (c) 2014 by Michael Zahniser
Endless Sky 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 version.
Endless Sky is distribut... | seanfahey/endless-sky | source/DataFile.cpp | C++ | gpl-3.0 | 3,506 |
var searchData=
[
['img',['IMG',['../define_8h.html#a116f6464c8184676310301dc13ed1dd5',1,'define.h']]],
['items',['ITEMS',['../define_8h.html#a8e3d0b04841186d4f38b7880a9e4b5c6',1,'define.h']]]
];
| philipgraf/Dr_mad_daemon | doc/html/search/defines_69.js | JavaScript | gpl-3.0 | 200 |
/**
* This package contains the services of the server and the locator.
*
* @author Nicolas SYMPHORIEN (nicolas.symphorien@gmail.com)
*
*/
package com.seikomi.janus.services; | Seikomi/Janus-Server | src/main/java/com/seikomi/janus/services/package-info.java | Java | gpl-3.0 | 187 |
/*
* Copyright 2009-2015 Tilmann Zaeschke. All rights reserved.
*
* This file is part of ZooDB.
*
* ZooDB 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 you... | NickCharsley/zoodb | src/org/zoodb/internal/server/index/IndexFactory.java | Java | gpl-3.0 | 2,783 |
<?php
/**
* The file responsible for defining the custom helper functions.
*
* @link https://www.wpdispensary.com/
* @since 1.9
*
* @package WPD_Coupons
* @subpackage WPD_Coupons/inc
*/
/**
* Coupon types
*
* @since 1.9
*/
function get_wpd_coupons_types() {
return (array) apply_filters(
'... | deviodigital/dispensary-coupons | inc/dispensary-coupons-helper-functions.php | PHP | gpl-3.0 | 1,051 |
package com.Deoda.MCMBTools.proxy;
public interface IProxy {
}
| deodaj/MCMBTools | src/main/java/com/Deoda/MCMBTools/proxy/IProxy.java | Java | gpl-3.0 | 65 |
# -*- coding: utf-8 -*-
import sys
import csv
from itertools import izip
# https://pypi.python.org/pypi/unicodecsv
# http://semver.org/
VERSION = (0, 9, 4)
__version__ = ".".join(map(str, VERSION))
pass_throughs = [
'register_dialect',
'unregister_dialect',
'get_dialect',
'list_dialects',
'field_... | archives-new-zealand/archwayimportgenerator | libs/unicodecsv.py | Python | gpl-3.0 | 7,077 |
#include "faktionbankkauftwertpapiere.h"
FAktionBankKauftWertpapiere::FAktionBankKauftWertpapiere(){
}
FAktionBankKauftWertpapiere::FAktionBankKauftWertpapiere(FGeld BETRAG, int BANKNR, int BANKKUNDENNR){
Betrag = BETRAG;
BankNr = BANKNR;
BankKundenNr = BANKKUNDENNR;
}
void FAkti... | FrankStimmel/Bankbilanz | Operatoren/faktionbankkauftwertpapiere.cpp | C++ | gpl-3.0 | 781 |
/*******************************************************************************
* Copyright (c) 2016 Raul Vidal Ortiz.
*
* This file is part of Assembler.
*
* Assembler is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... | Raulvo/vhdl | assembler/src/assembler/Opcodes.java | Java | gpl-3.0 | 3,587 |
<div class="container">
<?php
if(isset($handleMsg)){
echo '<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Success! <... | FrozenHelium/rescue | views/official_reports_view.php | PHP | gpl-3.0 | 1,501 |
/**
* Iniciar panel de navegación (menú)
*/
function initSideBar(nav)
{
//-------------- Declaraciones ------------//
let addMenuItem = function(menu, icon, label, click){
let li = $('<li><a href="javascript:void(0)"><i class="fa '+icon+' fa-fw"></i> '+label+'</a></li>');
if(click)
li.on('click', click);
m... | germix/canawa | front2/admin/sidebar.js | JavaScript | gpl-3.0 | 4,973 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2016-2021 hyStrath
\\/ M anipulation |
-------------------... | vincentcasseau/hyStrath | src/lagrangian/dsmc/boundaryMeasurements/boundaryMeasurements.C | C++ | gpl-3.0 | 12,830 |
//------------------------------------------------------------------------------
// Copyright (C) 2016 Josi Coder
// 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 Lice... | JosiCoder/CtLab | Library/Device.Base/SpiDirectDeviceConnection.cs | C# | gpl-3.0 | 2,920 |
/**********************************************************
* Version $Id: GSPoints_Distances.cpp 1921 2014-01-09 10:24:11Z oconrad $
*********************************************************/
///////////////////////////////////////////////////////////
// //
// ... | UoA-eResearch/saga-gis | saga-gis/src/modules/statistics/statistics_points/GSPoints_Distances.cpp | C++ | gpl-3.0 | 6,210 |
$(document).ready(function () {
// Open contact modal
$('.contact').click(function(){
$('#contactModal').modal('toggle', {
keyboard: false
}).on('shown.bs.modal', function(){
var form = $('#ContactForm');
var submitButton = $('.submitContactForm');
... | Tacnet/Tacnet | tacnet/apps/base/static/js/base.js | JavaScript | gpl-3.0 | 1,991 |
/*
* Copyright (c) Mirth Corporation. All rights reserved.
*
* http://www.mirthcorp.com
*
* The software in this package is published under the terms of the MPL license a copy of which has
* been included with this distribution in the LICENSE.txt file.
*/
package com.mirth.connect.plugins;
import ... | encapturemd/MirthConnect | client/src/com/mirth/connect/plugins/TransformerStepPlugin.java | Java | mpl-2.0 | 610 |
using System.Collections.Generic;
using UniaraVirtual.Code.Model;
namespace UniaraVirtual.Code
{
public class FaltaResponse
{
public string MessageResult { get; set; }
public string RequestDate { get; set; }
public int StatusCodeResult { get; set; }
public List<Falta> DataResul... | weberamaral/app-uniara-virtual | windowsphone/UniaraVirtual/Code/FaltaResponse.cs | C# | mpl-2.0 | 346 |
/**
* Copyright (C), 2012 Adaptinet.org (Todd Fearn, Anthony Graffeo)
*
* 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.adaptinet.mim... | tfearn/AdaptinetSDK | src/org/adaptinet/mimehandlers/MimeHTML_HTTP.java | Java | mpl-2.0 | 15,471 |
package msd
import (
"encoding/base64"
"github.com/bluefw/blued/discoverd/api"
"github.com/gin-gonic/gin"
"log"
"net/http"
)
type ServiceResource struct {
repo *DiscoverdRepo
logger *log.Logger
}
func NewServiceResource(dr *DiscoverdRepo, l *log.Logger) *ServiceResource {
return &ServiceResource{
repo: ... | bluefw/blued | discoverd/msd/msd_rs.go | GO | mpl-2.0 | 1,213 |
// 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/databasemanagement/reset_database_parameters_request_response.go | GO | mpl-2.0 | 3,604 |
/**
* @fileOverview scripts about the frontpage.
*/
var calendarth = require('calendarth');
var util = require('./util');
var Front = module.exports = function() {
this.$agendaContainer = null;
this.$agendaItem = null;
this.$error = null;
};
/** @const {number} Maximum events to display, use an even number ... | WeAreTech/wearetech.io | front/js-city/frontpage.js | JavaScript | mpl-2.0 | 5,035 |
package gocdn
import (
"io/ioutil"
"os"
"path"
"log"
)
func cacheFile(fileName string, data []byte) (err error){
fileName = path.Clean(fileName)
dir := path.Dir(fileName)
if err = os.MkdirAll(dir, os.FileMode(0775)); err != nil {
log.Printf("Could not create directory: %s", dir)
return
... | bradberger/gocdn | cache.go | GO | mpl-2.0 | 466 |
package org.osmdroid.bonuspack.utils;
import java.util.LinkedHashMap;
import android.graphics.Bitmap;
import android.util.Log;
/**
* Simple memory cache for handling images loaded from the web.
* The url is the key.
* @author M.Kergall
*/
public class WebImageCache {
LinkedHashMap<String, Bitmap> m... | dimy93/sports-cubed-android | OSMBonusPack/src/org/osmdroid/bonuspack/utils/WebImageCache.java | Java | mpl-2.0 | 1,601 |
/*
* Copyright (c) 2014 Universal Technical Resource Services, 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/.
*/
namespace ATMLCommonLibrary.controls.lim... | UtrsSoftware/ATMLWorkBench | ATMLLibraries/ATMLCommonLibrary/controls/limit/SingleLimitSimpleControl.Designer.cs | C# | mpl-2.0 | 3,620 |
# frozen_string_literal: true
class Invoice < ActiveRecord::Base
class ReadOnlyError < StandardError; end
belongs_to :publisher
belongs_to :uploaded_by, class_name: "Publisher"
belongs_to :paid_by, class_name: "Publisher"
belongs_to :finalized_by, class_name: "Publisher"
has_many :invoice_files, -> { or... | brave/publishers | app/models/invoice.rb | Ruby | mpl-2.0 | 1,758 |
/**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package eu... | itesla/ipst-core | commons/src/main/java/eu/itesla_project/commons/io/mmap/MemoryMappedFileFactory.java | Java | mpl-2.0 | 600 |
package net.minecraft.entity.ai;
import net.minecraft.entity.EntityCreature;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3d;
import net.minecraft.village.Village;
import net.minecraft.village.VillageDoorInfo;
public class EntityAIMoveIndoors extends EntityAIBase
{
private ... | lucemans/ShapeClient-SRC | net/minecraft/entity/ai/EntityAIMoveIndoors.java | Java | mpl-2.0 | 3,231 |
import { gql } from 'apollo-server-core';
export const memoryUsageSchema = gql`
"Quantity of memory used for some computation."
type MemoryUsage {
"Quantity of memory expressed in bytes."
bytes: Float!
}
"Field containing a memory usage, i.e., the quantity of memory used for some compu... | algorithm-ninja/task-wizard | server/src/core/feedback/memory-usage.ts | TypeScript | mpl-2.0 | 866 |
/*
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/RCM2200/PUTS.C | C++ | mpl-2.0 | 2,216 |
package aws
import (
"fmt"
"regexp"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)
func TestAccAWSEb... | kjmkznr/terraform-provider-aws | aws/resource_aws_ebs_snapshot_copy_test.go | GO | mpl-2.0 | 11,780 |
/*
* Copyright © 2013-2021, The SeedStack authors <http://seedstack.org>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.seedstack.business.fixtur... | seedstack/business | core/src/test/java/org/seedstack/business/fixtures/identity/GuiceIdentityGenerator.java | Java | mpl-2.0 | 678 |
package aws
import (
"fmt"
"log"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/licensemanager"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func init() {
resource.AddTestSweepers("aws_licensemanager_license_configuration", &resou... | Ninir/terraform-provider-aws | aws/resource_aws_licensemanager_license_configuration_test.go | GO | mpl-2.0 | 6,973 |
/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* If it is not possible or desirable to put the notice in a particular
* file, then You may include the noti... | mil-oss/fgsms | fgsms-netagent/Tests/services/HelloWorldASPNETClient/Form1.cs | C# | mpl-2.0 | 1,522 |
/*
Copyright (c) 2012 GFT Appverse, S.L., Sociedad Unipersonal.
This Source Code Form is subject to the terms of the Appverse Public License
Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this
file, You can obtain one at http://www.appverse.mobi/licenses/apl_v2.0.pdf. [^]
Redistributio... | Appverse/appverse-server | framework/modules/backend/core/enterprise-converters/src/main/java/org/appverse/web/framework/backend/core/enterprise/converters/AbstractDozerB2IBeanConverter.java | Java | mpl-2.0 | 10,846 |
#region LICENSE
// The contents of this file are subject to the Common Public Attribution
// License Version 1.0. (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// https://github.com/NiclasOlofsson/MiNET/blob/master/LICENSE.
// The License ... | yungtechboy1/MiNET | src/MiNET/MiNET/Items/ItemSaddle.cs | C# | mpl-2.0 | 1,266 |
/*****************************************************************************************
* *** BEGIN LICENSE BLOCK *****
*
* Version: MPL 2.0
*
* echocat Jomon, Copyright (c) 2012-2013 echocat
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was n... | echocat/jomon | resources/src/main/java/org/echocat/jomon/resources/UriEnabledResource.java | Java | mpl-2.0 | 707 |
/**
* @class PrettyJSON.view.Leaf
* @extends Backbone.View
*
* @author #rbarriga
* @version 0.1
*
*/
PrettyJSON.view.Leaf = Backbone.View.extend({
tagName:'span',
data:null,
level:0,
path:'',
type:'string',
isLast: true,
events: {
"mouseover .leaf-container": "mouseover",
"m... | SmartSearch/Mashups | Event_Billboard-portlet/docroot/js/pretty-json-master/src/leaf.js | JavaScript | mpl-2.0 | 2,216 |
package org.openlca.olcatdb.ecospold2;
import org.openlca.olcatdb.parsing.Context;
/**
* @Element childActivityDataset
* @ContentModel (activityDescription, flowData, modellingAndValidation,
* administrativeInformation, namespace:uri="##other")
*/
@Context(name = "childActivityDataset", parentName =... | GreenDelta/olca-converter | src/main/java/org/openlca/olcatdb/ecospold2/ES2ChildDataset.java | Java | mpl-2.0 | 386 |
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (c) 2015, Joyent, Inc.
*/
/*
* CollectorStream: transform that collects all input and makes... | davepacheco/sdc-manta | test/CollectorStream.js | JavaScript | mpl-2.0 | 799 |
/*
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/SmrtStar/dac/SSDAC1.C | C++ | mpl-2.0 | 3,624 |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os,re,sys,pprint,shutil
from pathlib import Path
PACKAGES_DIR = "../packages"
def errorExit(msg):
print(msg)
sys.exit(1)
def isPathDisabled(path):
for part in path.parts:
if part.lower().startswith("_disabled"):
return True
return False
depsFolder = P... | DeadSix27/python_cross_compile_script | tools/split.py | Python | mpl-2.0 | 1,806 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// @flow
import * as React from 'react';
import { Provider } from 'react-redux';
import copy from 'copy-to-clipboa... | mstange/cleopatra | src/test/components/CallNodeContextMenu.test.js | JavaScript | mpl-2.0 | 6,012 |
/*global getAccessToken*/
function notifyUser(user) {
browser.notifications.create({
"type": "basic",
"title": "Google info",
"message": `Hi ${user.name}`
});}
function logError(error) {
console.error(`Error: ${error}`);
}
/**
When the button's clicked:
- get an access token using the identity API
... | mdn/webextensions-examples | google-userinfo/background/main.js | JavaScript | mpl-2.0 | 541 |
/* @flow */
/* global Navigator, navigator */
import config from 'config';
import * as React from 'react';
import { Helmet } from 'react-helmet';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import NestedStatus from 'react-nested-status';
import { compose } from 'redux';
// We ... | mozilla/addons-frontend | src/amo/components/App/index.js | JavaScript | mpl-2.0 | 6,317 |
# include "stdafx.h"
/***************************************************************************
**
** INVOCATION NAME: RET123DV
**
** PURPOSE: TO RETURN DELIMITED DATA VALUES STORED IN STRUCTURE
**
** INVOCATION METHOD: RET123DV(B_PTR,PRIM_DMS)
**
** ARGUMENT LIST:
** NAME TYPE U... | MapWindow/MapWinGIS | src/Grid/fip/ret_dv.cpp | C++ | mpl-2.0 | 15,098 |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace KISS
{
/// <summary>
/// A manifest file is a file that has a version and references a bunch of patch files.
/// </summary>
public class ManifestFile
{
public string Version = "";
public L... | Afr0/KISS | src/C#/KISS.net/KISS.net/ManifestFile.cs | C# | mpl-2.0 | 2,020 |
package hs.minion;
import hs.CardClass;
import hs.CardSet;
public class RaidLeader extends Minion {
static final String Name = "Raid Leader";
static final int Cost = 3;
static final CardClass Class = CardClass.NEUTRAL;
static final String Text = "Your other minions have +1 Attack.";
static final MinionRace Race... | jmmaloney4/hs2 | src/main/java/hs/minion/RaidLeader.java | Java | mpl-2.0 | 870 |
/**
* Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package co... | powsybl/powsybl-core | iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/GeneratorAdderImpl.java | Java | mpl-2.0 | 4,274 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
namespace Enigma.Db.Store
{
public interface IStorage
{
//IStorageMaintenance Maintenance { get; }... | jaygumji/Enigma | Enigma/src/Enigma/Db/Store/IStorage.cs | C# | mpl-2.0 | 522 |
// Code generated by go-swagger; DO NOT EDIT.
package users
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"net/http"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime/middleware"
strfmt "github.com/go-op... | king-jam/tracker2jira | rest/server/operations/users/delete_user_by_id_parameters.go | GO | mpl-2.0 | 1,685 |
package com.gaiagps.iburn;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by davidbrodsky on 7/1/15.
*/
public class PrefsHelper {
private static final String SHOWED_WELCOME = "welcomed_2018"; // boolean
private static final String POPULATED_DB_VERSION = "... | Burning-Man-Earth/iBurn-Android | iBurn/src/main/java/com/gaiagps/iburn/PrefsHelper.java | Java | mpl-2.0 | 2,742 |
package ig
import "fmt"
// SetTempTarget will set the temperature that the room should be kept to
func (ic *IntelliClimate) SetTempTarget(target float64) error {
return fmt.Errorf("not implemented")
}
// SetCO2Target will set the CO2 levels in PPM that the room should be kept to
func (ic *IntelliClimate) SetCO2Targ... | AutogrowSystems/go-jelly | ig/iclimate_functions.go | GO | mpl-2.0 | 841 |
<?php
namespace ICT\Core\Application;
/* * ***************************************************************
* Copyright © 2015 ICT Innovations Pakistan All Rights Reserved *
* Developed By: Nasir Iqbal *
* Website : http://www.ictinnovations.com/ *
* M... | ictinnovations/ictcore | core/Application/Originate.php | PHP | mpl-2.0 | 2,673 |
package handler
import (
"errors"
"fmt"
"html"
"net/http"
"strings"
"github.com/HouzuoGuo/laitos/daemon/httpd/middleware"
"github.com/HouzuoGuo/laitos/lalog"
"github.com/HouzuoGuo/laitos/toolbox"
)
const HandleCommandFormPage = `<html>
<head>
<title>Command Form</title>
</head>
<body>
<form action="%... | HouzuoGuo/laitos | daemon/httpd/handler/cmd_form.go | GO | mpl-2.0 | 2,391 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Umbraco.Core.Logging;
namespace Jumoo.uSync.Core.Extensions
{
public static class XElementTrackerExtension
{
... | lucasch/uSync | Jumoo.uSync.Core/Extensions/XElementTrackerExtension.cs | C# | mpl-2.0 | 2,874 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
// The panel module currently supports only Firefox.
// See: https://bugzilla.mozilla.org/show_bug... | raymak/contextualfeaturerecommender | phase2/addon/lib/panel.js | JavaScript | mpl-2.0 | 10,892 |