repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
alanlong9278/ruby-china-message
app/helpers/nodes_helper.rb
135
# coding: utf-8 module NodesHelper def render_node_summary(node) content_tag(:p, node.summary, class: "summary") end end
gpl-2.0
Pzev/LazerTech
src/main/java/com/pzev/lazertech/item/ItemScrewdriver.java
220
package com.pzev.lazertech.item; public class ItemScrewdriver extends ItemLT { public ItemScrewdriver() { super(); this.setUnlocalizedName("screwdriver"); this.maxStackSize = 1; } }
gpl-2.0
FractalBobz/kmuddy
plugins/mapper/cmapdata.cpp
5263
/*************************************************************************** cmapdata.cpp ------------------- begin : Sat Mar 10 2001 copyright : (C) 2001 by Kmud Developer Team email : kmud-devel@kmud.de *...
gpl-2.0
lamsfoundation/lams
3rdParty_sources/spring/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java
14828
/* * Copyright 2002-2017 the original author or authors. * * 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 ap...
gpl-2.0
lamsfoundation/lams
3rdParty_sources/openws/org/opensaml/ws/wsaddressing/impl/MessageIDBuilder.java
1386
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
gpl-2.0
rafaeljusto/druns
core/payment/dao_log.go
1099
package payment import ( "fmt" "net" "strings" "github.com/rafaeljusto/druns/core/db" "github.com/rafaeljusto/druns/core/dblog" "github.com/rafaeljusto/druns/core/errors" ) type daoLog struct { sqler db.SQLer ip net.IP agent int tableName string tableFields []string } func newDAOLo...
gpl-2.0
function2/projecteuler
src/problem_27.cpp
2126
// https://projecteuler.net/problem=27 // Michael Seyfert <michael@codesand.org> /* Problem Statement: Euler discovered the remarkable quadratic formula: n² + n + 41 It turns out that the formula will produce 40 primes for the consecutive values n = 0 to 39. However, when n = 40, 402 + 40 + 41 = 40(40 + 1) + 41 is d...
gpl-2.0
laurynasl/rubyrogue
spec/models/map_spec.rb
12115
# Copyright (C) 2008 Laurynas Liutkus # All rights reserved. See the file named LICENSE in the distribution # for more details. # # 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 ...
gpl-2.0
michellemorales/OpenMM
kaldi/src/nnet3/nnet-descriptor-test.cc
8189
// nnet3/nnet-descriptor-test.cc // Copyright 2015 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obt...
gpl-2.0
dziamid/velo
wp-content/themes/mindig/theme/shortcodes.php
59615
<?php /** * This file belongs to the YIT Plugin Framework. * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt */ ...
gpl-2.0
hardvain/mono-compiler
class/System/ReferenceSources/Win32Exception.cs
330
using System.Runtime.CompilerServices; namespace System.ComponentModel { partial class Win32Exception { [MethodImplAttribute (MethodImplOptions.InternalCall)] internal static extern string W32ErrorMessage (int error_code); private static string GetErrorMessage (int error) { return W32ErrorMessage (error)...
gpl-2.0
MPI-ExperimentGroup/ExperimentTemplate
registration/src/main/java/nl/mpi/tg/eg/frinex/rest/AudioDataRepository.java
3266
/* * Copyright (C) 2018 Max Planck Institute for Psycholinguistics, Nijmegen * * 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 2 * of the License, or (at your option) any la...
gpl-2.0
qoswork/opennmszh
opennms-webapp/src/main/java/org/opennms/web/controller/DownloadReportController.java
6331
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2009-2014 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(...
gpl-2.0
iTTemple/html
wp-content/themes/invictus_2.6.2/doitmax_fw/includes/activation.inc.php
3632
<?php require_once('../../../../../wp-config.php'); @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); ?> <style> body, td, textarea, input, select { line-height: 1.4em; color: #333; font-family: sans-serif; font-size: 13px; } a:link, a:visited { color: #21759B; te...
gpl-2.0
Kenishi/DroidNavi
android/AndroidTeleLog/src/com/aberdyne/droidnavi/PreferenceStore.java
2394
package com.aberdyne.droidnavi; import java.util.ArrayList; import java.util.Set; import java.util.TreeSet; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; public class PreferenceStore { private static PreferenceStore m_instance = null; private final String ...
gpl-2.0
openjdk/jdk7u
jdk/src/share/classes/java/security/MessageDigest.java
22109
/* * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
mivion/swisseph
src/callback.cc
385
#include "swisseph.h" using namespace v8; void HandleCallback (Nan::NAN_METHOD_ARGS_TYPE info, Local <Value> result) { if (info [info.Length () - 1]->IsFunction ()) { Local <Function> callback = Local <Function>::Cast (info [info.Length () - 1]); Local <Value> argv [1] = { result }; callback->Call(Nan::GetCurr...
gpl-2.0
CarvingIT/science-problems
public_html/bulk_add_list.php
772
<?php include 'includes/php_header.php'; if($_POST['new_old'] == 'new'){ /* Create a new list And then add problems to the list */ $u->createList($_POST['new_list_name']); //Get the id of the list $list_id = $u->getUserListId($u->user_profile['username'], $_P...
gpl-2.0
darkloveir/Skyfire-6.1.2-version
src/server/game/Achievements/AchievementMgr.cpp
139746
/* * Copyright (C) 2011-2014 Project SkyFire <http://www.projectskyfire.org/> * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2014 MaNGOS <http://getmangos.com/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Genera...
gpl-2.0
intelie/esper
esper/src/test/java/com/espertech/esper/regression/client/MyFlushedSimpleView.java
2548
/* * ************************************************************************************* * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com ...
gpl-2.0
CoordCulturaDigital-Minc/culturadigital.br
wp-content/plugins/db-cache/languages/uk_UA.php
2382
<?php /* Version 0.5 */ $dbc_labels['configuration'] = "Налаштування"; $dbc_labels['activate'] = "Увімкнути"; $dbc_labels['timeout'] = "Час життя кешу"; $dbc_labels['timeout_desc'] = "хвилин(и). <em>(Застарілі файли видаляються автоматично)</em>"; $dbc_labels['tablesfilter'] = "Таблиці для кешування";...
gpl-2.0
lucianobagattin/Sitio1
wp-content/themes/dt-armada/inc/shortcodes/includes/slideshow/slideshow.php
3345
<?php /** * Slideshow shortcode. * */ // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Shortcode slideshow class. * */ class DT_Shortcode_Slideshow extends DT_Shortcode { static protected $instance; protected $shortcode_name = 'dt_slideshow'; protected $plugin_name = 'dt_mce_plugin_shor...
gpl-2.0
leotaillard/lesgrandestables2015
wp-content/themes/lgtds2015/footer.php
1671
<?php /** * The template for displaying the footer * * Contains the closing of the "off-canvas-wrap" div and all content after. * * @package WordPress * @subpackage FoundationPress * @since FoundationPress 1.0.0 */ ?> </section> <div id="footer-container"> <footer id="footer"> <div class="row"> <div cla...
gpl-2.0
abhishek1234321/Foundation-6-Shortcodes
shortcodes/tabs/class-fn-tabs.php
2757
<?php Class FN_Tabs { public function __construct() { add_shortcode( 'fn_tabs', array( $this, 'render_parent' ) ); add_shortcode( 'fn_tab', array( $this, 'render_child' ) ); } public function render_parent( $atts, $content = null ) { $atts = shortcode_atts( array( 'id' => null, 'class' ...
gpl-2.0
arataa/youroomm
wp-content/themes/youroom/page.php
700
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site will use a * different template. * * @package WordPress * @subpackage Twenty_Eleven * @sin...
gpl-2.0
TUD-OS/M3
src/libs/rustbase/src/arch/host/serial.rs
1615
/* * Copyright (C) 2018, Nils Asmussen <nils@os.inf.tu-dresden.de> * Economic rights: Technische Universitaet Dresden (Germany) * * This file is part of M3 (Microkernel-based SysteM for Heterogeneous Manycores). * * M3 is free software: you can redistribute it and/or modify * it under the terms of the GNU Genera...
gpl-2.0
barbaracollignon/Autodock4.lga.MPI
*cc and *h files/gs.cc
54285
/* $Id: gs.cc,v 1.33 2009/05/20 16:08:57 rhuey Exp $ $Id: gs.cc, autodock4.lga.mpi v0.0 2010/10/10 22:55:01 collignon Exp $ AutoDock Copyright (C) 2009 The Scripps Research Institute. All rights reserved. AutoDock is a Trade Mark of The Scripps Research Institute. This program is free software; you can redi...
gpl-2.0
EdDev/vdsm
tests/network/dhcp.py
7328
# Copyright 2013-2017 Red Hat, Inc. # # 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 2 of the License, or # (at your option) any later version. # # This program is distributed in...
gpl-2.0
FollyLabs/SudoSolver
SudoSolver-Java/src/org/folly/sudosolver/logic/Approach.java
329
package org.folly.sudosolver.logic; import org.folly.sudosolver.base.SudokuGrid; abstract public class Approach { public boolean validateSudokuGrid(SudokuGrid grid) { return true; } public boolean logic(SudokuGrid grid) { return true; } public void displaySudokuGrid(SudokuGrid grid) { return...
gpl-2.0
aragorn55/ClassSampleCode
mobiledev/SaveData/SaveData.UI/AppDelegate.cs
1413
using System; using System.Linq; using System.Collections.Generic; using Foundation; using UIKit; namespace SaveData.UI { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // appli...
gpl-2.0
borisay/ychenik
sites/all/themes/ytheme/templates/views-view--search.tpl.php
768
<div class="<?php print $classes; ?>"> <?php if ($exposed): ?> <div class="view-filters"> <?php print $exposed; ?> </div> <?php endif; ?> <?php $view = views_get_current_view(); $res = $view->total_rows; if ($view -> total_rows !== NULL && $view->name == 'search') { ?> <div c...
gpl-2.0
yad/easy-scriptdev2
scripts/outland/auchindoun/shadow_labyrinth/instance_shadow_labyrinth.cpp
5305
/* Copyright (C) 2006 - 2011 ScriptDev2 <http://www.scriptdev2.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 2 of the License, or * (at your option) any later version....
gpl-2.0
r-martins/PagSeguro-Magento-Transparente
app/code/community/RicardoMartins/PagSeguro/Model/Payment/Recurring.php
16353
<?php /** * PagSeguro Transparente Magento * Model CC Class - responsible for credit card payment processing * * @category RicardoMartins * @package RicardoMartins_PagSeguro * @author Ricardo Martins * @copyright Copyright (c) 2015 Ricardo Martins (http://r-martins.github.io/PagSeguro-Magento-Trans...
gpl-2.0
autoplot/app
FitsDataSource/src/org/autoplot/fits/FitsDataSource.java
7967
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.autoplot.fits; import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; impor...
gpl-2.0
trungjc/ease
wp-content/plugins/motopress/mp/previewTooltip/previewTooltip.dev.js
385
steal('jquery/class', function($) { /** * @class MP.previewTooltip */ $.Class('MP.previewTooltip', /** @Static */ { previewTooltip: function() { $(".motopress-show-hide-btn").tooltip({ placement: "top", container: ".motopress-helper-container" ...
gpl-2.0
muromec/qtopia-ezx
src/3rdparty/libraries/helix/src/common/container/test/guid2ptr_tests.cpp
7282
/* ***** BEGIN LICENSE BLOCK ***** * Source last modified: $Id: guid2ptr_tests.cpp,v 1.3 2004/07/09 18:21:31 hubbe Exp $ * * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. * * The contents of this file, and the files included with this file, * are subject to the current version of the ...
gpl-2.0
lara-press/framework
src/LaraPress/Admin/Column.php
533
<?php namespace LaraPress\Admin; class Column { public $label; public $value; /** * Column constructor. * @param string $label * @param string|\Closure $value */ public function __construct(string $label, $value = null) { $this->label = $label; $this->value =...
gpl-2.0
balp/mkgmap
src/uk/me/parabola/mkgmap/reader/osm/boundary/Osm5BoundaryDataSource.java
1647
/* * Copyright (C) 2006, 2011. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 or * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ...
gpl-2.0
celsocelante/trab2prog3
CadastroRevisoes.cpp
4484
#include "CadastroRevisoes.h" CadastroRevisoes::CadastroRevisoes(const char* entrada, Revista* revista){ string cell, linha; string codigo; int codigo_int; string revisor; int revisor_int; string originalidade, apresentacao, conteudo; double originalidade_d, apresentacao_d,conteudo_d; ifstream inf(e...
gpl-2.0
iproduct/IPT-Course-Java-8
IPT-Course-Java-33ed/invoicing/src/invoicing/exception/NonExistingEntityException.java
499
package invoicing.exception; public class NonExistingEntityException extends Exception { public NonExistingEntityException() { } public NonExistingEntityException(String arg0) { super(arg0); } public NonExistingEntityException(Throwable arg0) { super(arg0); } public NonExistingEntityException(String arg...
gpl-2.0
CharlesZ-Chen/checker-framework
checker/jtreg/nullness/inheritDeclAnnoPersist/Extends.java
1343
/* * @test * @summary Test that inherited declaration annotations are stored in bytecode. * * @compile -source 7 -target 7 ../PersistUtil.java Driver.java ReferenceInfoUtil.java Extends.java Super.java * @run main Driver Extends */ public class Extends { @ADescriptions({ @ADescription(annotation = "...
gpl-2.0
Argalep/ServUO
Scripts/Services/ChampionSystem/ChampionSpawn.cs
50038
using Server.Gumps; using Server.Items; using Server.Mobiles; using Server.Regions; using Server.Services.Virtues; using Server.Spells.Necromancy; using System; using System.Collections.Generic; using System.Linq; namespace Server.Engines.CannedEvil { public class ChampionSpawn : Item { public static r...
gpl-2.0
mzmine/mzmine3
src/main/java/io/github/mzmine/gui/framework/ScrollablePanel.java
11639
/* * Copyright 2006-2021 The MZmine Development Team * * This file is part of MZmine. * * MZmine 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 2 of the * License, or (at your option) any ...
gpl-2.0
dengxiayehu/fqrtmpplayer
player-android/jni/audio_encoder.cpp
10554
#include <memory> #include "audio_encoder.h" #include "rtmp_handler.h" #include "common.h" #define DUMP_AAC 0 using namespace xutil; static const char *aac_get_error(AACENC_ERROR err) { switch (err) { case AACENC_OK: return "No error"; case AACENC_INVALID_HANDLE: return "Invalid handl...
gpl-2.0
oat-sa/extension-tao-outcomerdf
actions/class.Results.php
6599
<?php /** * 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; under version 2 * of the License (non-upgradable). * * This program is distributed in the hope that it will be useful, * but WITH...
gpl-2.0
svyatoslavteterin/belton.by
core/lexicon/th/package_builder.inc.php
7643
<?php /** * Package Builder English lexicon topic * * @language en * @package modx * @subpackage lexicon */ $_lang['as_system_settings'] = 'ตั้งค่าระบบ'; $_lang['as_context_settings'] = 'ตั้งค่าบริบท'; $_lang['as_lexicon_entries'] = 'Lexicon เอนทรี'; $_lang['as_lexicon_topics'] = 'หัวข้อ Lexicon'; $_lang['build']...
gpl-2.0
klas/SEBLOD-bugfixed
administrator/components/com_cck/models/template.php
4755
<?php /** * @version SEBLOD 3.x Core ~ $Id: template.php sebastienheraud $ * @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder) * @url http://www.seblod.com * @editor Octopoos - www.octopoos.com * @copyright Copyright (C) 2009 - 2016 SEBLOD. All Rights Reserved. * @license GNU Genera...
gpl-2.0
MathiasGruber/MembraneFoam
src/solvers/simplePorousSaltTransport/UEqn.H
1530
// Update the viscosity field mu = mu0 + mu_mACoeff*m_A; // Construct the Momentum equation tmp<fvVectorMatrix> UEqn ( fvm::div(phi, U) - fvm::laplacian(mu, U) - fvc::div(mu*dev2(fvc::grad(U)().T())) ); UEqn().relax(); // Update the mu_laplacian field ...
gpl-2.0
czechmate777/BridgeBuilder
src/java/com/czechmate777/ropebridge/client/render/ItemRenderRegister.java
775
package com.czechmate777.ropebridge.client.render; import com.czechmate777.ropebridge.Main; import com.czechmate777.ropebridge.items.ModItems; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; public class ItemRenderRegister { p...
gpl-2.0
veteran29/Clipboard-Share
src/com/veteran29/clipboardshare/Main.java
1961
/** ** @author veteran29 **/ package com.veteran29.clipboardshare; import android.app.Activity; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import androi...
gpl-2.0
virtual-network/vn-sdm
sdm/common/message/SDMReqxTEDS.cpp
2441
#include <string.h> #include <stdio.h> #include "SDMReqxTEDS.h" SDMReqxTEDS::SDMReqxTEDS():select(-1),destination(),source() { MsgName = SDM_ReqxTEDS; device_name[0] = '\0'; total_length = 12; } long SDMReqxTEDS::Send() { return SendDM(); } long SDMReqxTEDS::Recv(long port) { int result; result = RecvFrom(port...
gpl-2.0
timofeysie/indoct
WEB-INF/src/com/businessglue/struts/remote/GetHouseDecksAction.java
6022
package com.businessglue.struts.remote; import java.io.IOException; import java.io.PrintWriter; import java.util.Enumeration; import java.util.HashSet; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.Vector; import java.util.Map.Entry; i...
gpl-2.0
neg90/CE
modelo/clases/infcorreo.php
1689
<?php class infcorreo { //Atributos private $id; private $cantContactos; private $cantEmpresas; private $arrayEmpresas; private $asunto; private $adjunto; private $mensaje; private $fecha; public function __construct($id,$cantContactos,$cantEmpresas,$arrayEmpresas,$fecha,$asunto,$adjunto,$mensaje) { ...
gpl-2.0
de-mklinger/jshint-maven-plugin
src/main/java/de/mklinger/maven/jshint/jshint/JSHint.java
3257
package de.mklinger.maven.jshint.jshint; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import org.apache.commons.io.IOUtils; import org.mozilla.javascript.EcmaError; import org.mozilla.javascript.NativeArray; import org.mozilla.javascript.NativeObject; impo...
gpl-2.0
maxhutch/nek-tests
corner/test_corner.py
1475
import json from nekpy.dask.subgraph import series from nekpy.dask import run_all from nekpy.dask.tasks import configure from os.path import join, dirname from os import getcwd from nekpy.tools.log import grep_log import numpy as np import pytest base_dir = join(getcwd(), "scratch") with open(join(dirname(__file__), ...
gpl-2.0
NatLibFi/NDL-VuFind2
module/Finna/src/Finna/View/Helper/Root/Callnumber.php
3663
<?php /** * Holdings callnumber view helper * * PHP version 7 * * Copyright (C) The National Library of Finland 2016. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * ...
gpl-2.0
ducsatthu/com_fee
site/controllers/department.php
4640
<?php /** * @version 1.0.0 * @package com_fee * @copyright Bản quyền (C) 2015. Các quyền đều được bảo vệ. * @license bản quyền mã nguồn mở GNU phiên bản 2 * @author Linh <mr.lynk92@gmail.com> - http:// */ // No direct access defined('_JEXEC') or die; require_once JPATH_COMPONENT . '/controlle...
gpl-2.0
1anc3r/Horse_Riding_Board
Board.java
3557
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Board extends JPanel { private JLabel l[][]; final int D = 8; final int M = 12; final int b[][] = new int[M][M]; private int px[] = new int[64]; private int py[] = new int[64]; final int nx[] = {-2, -1, 1, 2, 2, ...
gpl-2.0
iagolucchese/projectRooms
Assets/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Actions/Variables/Lists/uScriptAct_ModifyListByIndexGameObject.cs
3307
// uScript Action Node // (C) 2011 Detox Studios LLC using UnityEngine; using System.Collections; using System.Collections.Generic; [NodePath("Actions/Variables/Lists/GameObject")] [NodeCopyright("Copyright 2012 by Detox Studios LLC")] [NodeToolTip("Modify a list by specifying a specific slot number (index) in the li...
gpl-2.0
tectronics/xenogeddon
src/com/jmex/font3d/math/TriangulationEdge.java
2519
/* * Copyright (c) 2003-2009 jMonkeyEngine * 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 ...
gpl-2.0
quazgar/bioread
src/bioread/headers.py
19345
# coding: utf8 # Part of the bioread package for reading BIOPAC data. # # Copyright (c) 2010 Board of Regents of the University of Wisconsin System # # Written by John Ollinger <ollinger@wisc.edu> and Nate Vack <njvack@wisc.edu> # at the Waisman Laboratory for Brain Imaging and Behavior, University of # Wisconsin-Madis...
gpl-2.0
Ryudo302/chartifacts
chartifacts-parent/chartifacts-core/src/test/java/br/com/colbert/chartifacts/negocio/chartrun/MaiorSubidaChartRunStrategyTest.java
1792
package br.com.colbert.chartifacts.negocio.chartrun; import static br.com.colbert.chartifacts.dominio.chart.PosicaoChart.NUMERO_POSICAO_AUSENCIA; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.util.Optional; import j...
gpl-2.0
iMitaka/HackBulgaria
Week 10/01 - Books/BookManager/BookManager.Models/Properties/AssemblyInfo.cs
1412
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bo...
gpl-2.0
EcosistemaUrbano/local_in
localin/registro.php
1455
<?php ob_start(); /* Template Name: Registro de usuario */ get_header(); if ( array_key_exists('nombre', $_POST) ) { $nombre = sanitize_text_field($_POST['nombre']); } if ( array_key_exists('mail', $_POST) ) { $mail = sanitize_text_field($_POST['mail']); } if ( array_key_exists('pass', $_POST) ) { $pass = sanitize_tex...
gpl-2.0
teamfx/openjfx-8u-dev-rt
modules/web/src/main/native/Source/JavaScriptCore/bytecode/ExecutionCounter.cpp
6974
/* * Copyright (C) 2012, 2014, 2016 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
gpl-2.0
openjdk/jdk8u
jdk/test/jdk/jfr/tool/TestPrintXML.java
9546
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
vikto9494/Lobo_Browser
XAMJ_Project/HTML_Renderer/org/lobobrowser/html/domimpl/HTMLHtmlElementImpl.java
1373
/* GNU LESSER GENERAL PUBLIC LICENSE Copyright (C) 2006 The Lobo Project 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 2.1 of the License, or (at your ...
gpl-2.0
zsomko/visualcortex
python/plotting/covariance_ellipse.py
3091
#import matplotlib as plt #from numpy import * ## Force matplotlib to not use any Xwindows backend. #matplotlib.use('Agg') #import matplotlib.pyplot as plt #def plot_cov_contour(S, m): ## plots equidensity contor of a gaussian ## S: covariance matrix # phi=arange(0,2*pi+.01,.01) # points=zeros((size(phi), 2) # ...
gpl-2.0
CoordCulturaDigital-Minc/culturadigital.br
wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/captcha-temp/8AZAPo22mTAdCxQb.php
32
<?php $captcha_word = 'DREM'; ?>
gpl-2.0
6finger/ci
components/com_phocagallery/views/user/view.html.php
27293
<?php /* * @package Joomla 1.5 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * * @component Phoca Component * @copyright Copyright (C) Jan Pavelka www.phoca.cz * @license http://www.gnu.org/copyleft/gpl.html GNU/...
gpl-2.0
emundus/v5
administrator/components/com_fabrik/controllers/connections.php
2620
<?php /** * Connections controller class * * @package Joomla.Administrator * @subpackage Fabrik * @copyright Copyright (C) 2005 Fabrik. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * @since 1.6 */ // No direct access. defined('_JEXEC') or die; ...
gpl-2.0
mpranivong/golf-phpnuke
modules/Submit_News/language/lang-thai.php
3373
<?php /**************************************************************************/ /* PHP-NUKE: Advanced Content Management System */ /* ============================================ */ /* */ /* Th...
gpl-2.0
stevebutton/www.maps.ponabana.dev
wp-content/plugins/content-views-query-and-display-post-page/admin/content-views-admin.php
11387
<?php /** * Content Views Admin * * @package PT_Content_Views_Admin * @author PT Guy <palaceofthemes@gmail.com> * @license GPL-2.0+ * @link http://www.contentviewspro.com/ * @copyright 2014 PT Guy */ class PT_Content_Views_Admin { /** * Instance of this class. * * @since 1.0.0 * * @v...
gpl-2.0
izapolsk/integration_tests
cfme/tests/test_db_migrate_manual.py
16765
import pytest from cfme import test_requirements @pytest.mark.manual @test_requirements.update @test_requirements.db_migration @pytest.mark.meta(coverage=[1478986, 1561075, 1590846, 1578957]) @pytest.mark.tier(2) def test_upgrade_dedicated_db_migration_local(): """ Test that you can locally migrate a dedicat...
gpl-2.0
alexchentao/AL.Web
AL.Utils/Document/Excel/NPOI/SS/UserModel/IndexedColors.cs
5255
/* ==================================================================== 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 Y...
gpl-2.0
marcomnc/AzzurraWS
test.php
545
<?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ define("MAGE_BASE_DIR", "..".DIRECTORY_SEPARATOR."..".DIRECTORY_SEPARATOR); define("BASE_STORE", 1); require_once(MAGE_BASE_DIR.'app/Mage.php'); //Path to Magento umask(0); Mage::app(); echo "<pre>"; error_repo...
gpl-2.0
maxywb/vsipl
sourceryvsipl++-x86-3.1/src/vsipl++/tests/view.cpp
27189
/* Copyright (c) 2005, 2006, 2008 by CodeSourcery. All rights reserved. This file is available for license from CodeSourcery, Inc. under the terms of a commercial license and under the GPL. It is not part of the VSIPL++ reference implementation and is not available under the BSD license. */ /** @file tes...
gpl-2.0
bjaraujo/ENigMA
trunk/src/integration/IntTetrahedron_Imp.hpp
765
// ***************************************************************************** // <ProjectName> ENigMA </ProjectName> // <Description> Extended Numerical Multiphysics Analysis </Description> // <HeadURL> $HeadURL$ </HeadURL> // <LastChangedDate> $LastChangedDate$ </LastChangedDate> // <LastChangedRevision> $Last...
gpl-2.0
dajohnso/cfme_tests
cfme/containers/service.py
3143
# -*- coding: utf-8 -*- import random import itertools from cfme.common import SummaryMixin, Taggable from cfme.fixtures import pytest_selenium as sel from cfme.web_ui import toolbar as tb, match_location,\ PagedTable, CheckboxTable from cfme.containers.provider import details_page, Labelable,\ ContainerObject...
gpl-2.0
Daomaster/Crazyflie-DDrone
DDTest/Dance_Test.py
8885
#!/usr/bin/python import time import sys import tty import termios import argparse sys.path.append("../lib") import cflib from cflib.crazyflie import Crazyflie from cfclient.utils.logconfigreader import LogConfig from cfclient.utils.logconfigreader import LogVariable from threading import Thread, Event from datet...
gpl-2.0
i-make-robots/Arm5
src/main/java/com/marginallyclever/util/MarginallyCleverPreferences.java
9232
package com.marginallyclever.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Enumeration; import java.util.List;...
gpl-2.0
ddavison/greenshot-web
wp-content/plugins/wordpress-amazon-associate/AmazonWidget/Carousel.php
6086
<?php /* * copyright (c) 2010 MDBitz - Matthew John Denton - mdbitz.com * * This file is part of WordPress Amazon Associate Plugin. * * WordPress Amazon Associate 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 Fo...
gpl-2.0
Paty-A/New
promocsv/export.php
887
<?php //require($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php'); $promoconn = mysql_connect("localhost","salad_commandc","NDS7hic2JHJBCG"); mysql_select_db('salad_commandc'); function CSVExport($query) { $sql_csv = mysql_query($query) or die("Error: " . mysql_error()); //Replace this line with what is appropriat...
gpl-2.0
linpingchuan/misc
java/framework/src/main/java/com/moon/helper/ClassHelper.java
2273
package com.moon.helper; import com.moon.ClassUtil; import com.moon.annotation.Controller; import com.moon.annotation.Service; import java.lang.annotation.Annotation; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; /** * Created by Paul on 2017/2/3. */ public final class ClassHe...
gpl-2.0
philjord/esmj3dfo4
esmj3dfo4/src/esmj3dfo4/data/shared/subrecords/KeyWords.java
665
package esmj3dfo4.data.shared.subrecords; import java.util.ArrayList; import esmj3d.data.shared.subrecords.FormID; import tools.io.ESMByteConvert; public class KeyWords { public ArrayList<FormID> keywords = new ArrayList<FormID>(); public int size = 0; public KeyWords() { } public void se...
gpl-2.0
popovici-gabriel/projects
ResourceScheduler/src/main/java/com/jpmorgan/model/MessageSequence.java
2081
package com.jpmorgan.model; import com.jpmorgan.endpoint.Message; import java.io.Serializable; import java.util.Date; /** * Message sequence model which will be sent to the Gateway. * * @param <ID> ID of the Message * @param <P> Payload of the Message. */ public abstract class MessageSequence<ID, P> implements...
gpl-2.0
Sensatus/mediawiki-core
languages/messages/MessagesVi.php
23286
<?php /** Vietnamese (Tiếng Việt) * * To improve a translation please visit https://translatewiki.net * * @ingroup Language * @file * * @author Apple * @author Arisa * @author Baonguyen21022003 * @author Cheers! * @author DHN * @author Kaganer * @author Minh Nguyen * @author Mxn * @author Neoneurone * @...
gpl-2.0
ThomasXBMC/XCSoar
src/Profile/DeviceConfig.cpp
8736
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2015 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
gpl-2.0
rozion/telemedicine
interface/billing/billing_report.php
45690
<?php // 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 2 // of the License, or (at your option) any later version. // WHEN CONVERT THIS TO NEW SECURITY MODEL, NEED TO REMOVE F...
gpl-2.0
neilbrown/susman
dnotify.py
3660
#!/usr/bin/env python # class to allow watching multiple files and # calling a callback when any change (size or mtime) # # We take exclusive use of SIGIO and maintain a global list of # watched files. # As we cannot get siginfo in python, we check every file # every time we get a signal. # we report change is size, m...
gpl-2.0
ProjectOverlord/AndroidMusicProject
AudioPlayer/app/src/main/java/com/progettofondamenti/audioplayer/listeners/RewindListener.java
551
package com.progettofondamenti.audioplayer.listeners; import android.view.View; import com.progettofondamenti.audioplayer.IPlayer; /** * Listener for the RewindButton. * * @author team * @see android.view.View.OnClickListener */ public class RewindListener implements View.OnClickListener{ privat...
gpl-2.0
anhtuan8591/shop
administrator/components/com_acymailing/helpers/acymailer.php
20786
<?php /** * @copyright Copyright (C) 2009-2012 ACYBA SARL - All rights reserved. * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL */ defined('_JEXEC') or die('Restricted access'); ?> <?php require_once(ACYMAILING_FRONT.'inc'.DS.'phpmailer'.DS.'class.phpmailer.php'); class acymailerHelper extends a...
gpl-2.0
adini121/WebDriver
src/main/java/org/sayem/webdriver/selenium/cookies/LoadCookieInfo.java
1640
package org.sayem.webdriver.selenium.cookies; import org.openqa.selenium.Cookie; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.Date; import java.util.StringTokenizer; public class...
gpl-2.0
masamorro999/AutosRA
AutosRa.API/Models/AccountViewModels.cs
968
using System; using System.Collections.Generic; namespace AutosRa.API.Models { // Models returned by AccountController actions. public class ExternalLoginViewModel { public string Name { get; set; } public string Url { get; set; } public string State { get; set; } } pub...
gpl-2.0
FengISU/DEM_project
src/variable.cpp
138300
/* ---------------------------------------------------------------------- This is the ██╗ ██╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗████████╗███████╗ ██║ ██║██╔════╝ ██╔════╝ ██╔════╝ ██║ ██║╚══██╔══╝██╔════╝ ██║ ██║██║ ███╗██║ ███╗██║ ███╗███████║ ██║ ███████╗ ██║ ██║██║ ██║█...
gpl-2.0
anshumang/lammps-analytics
src/GPU/pair_lj_cut_coul_long_gpu.cpp
10975
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04...
gpl-2.0
PatrizioG/WpTheme-W3Css-Underscores
functions.php
4452
<?php /** * underscores functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package underscores */ if ( ! function_exists( 'underscores_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this functio...
gpl-2.0
panbasten/imeta
imeta3.x/imeta-src/imeta-core/src/main/java/com/plywet/imeta/repository/ObjectRevision.java
536
package com.plywet.imeta.repository; import java.util.Date; /** * A revision is simply a name, a commit comment and a date * * @author matt * */ public interface ObjectRevision { /** * @return The internal name or number of the revision */ public String getName(); /** * @return The creation date of ...
gpl-2.0
ThiagoScar/mixerp
src/Libraries/Web API/Core/ZipCodeTypeController.cs
10304
using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using MixERP.Net.ApplicationState.Cache; using MixERP.Net.Common.Extensions; using MixERP.Net.EntityParser; using Newtonsoft.Json; using PetaPoco; namespace MixERP.Net.Api.Core { /// <summary> /// Provides a d...
gpl-2.0
isel-leic-ave/ave-2015-16-sem1-i41n
aula24-observer/Observer02-delegates-lambdas.cs
1024
using System; using System.Windows.Forms; using System.Collections.Generic; class Program { static void Main() { Counter c = new Counter(); c.AddObserver(value => Console.WriteLine("ConsoleHandler = " + value)); c.AddObserver(value => MessageBox.Show("Item = " + value) ); c.DoIt...
gpl-2.0