repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
andreaslangsays/pureshop | view/languages/english/shopping_cart.php | 1303 | <?php
/*
$Id: shopping_cart.php,v 1.13 2002/04/05 20:24:02 project3000 Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2002 osCommerce
Released under the GNU General Public License
*/
define('NAVBAR_TITLE', 'Cart Contents');
define('HEADING_TITLE', 'What\'s In My... | gpl-3.0 |
TheGhostGroup/AquaFlameCMS | library/Crax/bootstrapper/configuration.class.php | 764 | <?php
class Configuration
{
private $_dbHost = "localhost";
private $_dbUser = "root";
private $_dbPass = "kabeli";
private $_dbName = array("Character" => array("characters"),"World" => "world","Realm" => "realm");
private $_relPath = "/";
//private $_modulesEnabled = FALSE;
... | gpl-3.0 |
toothbrush/diaspec | gen/AbstractScreen.java | 235 | package fr.diaspec.webcam.generated;
public abstract class AbstractScreen implements Action<Bitmap>
{
protected abstract void doScreenAction (Bitmap value)
;
public void trigger (Bitmap value)
{
doScreenAction(value);
}
} | gpl-3.0 |
mganeva/mantid | Framework/API/src/WorkspaceOpOverloads.cpp | 21274 | // Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#include "MantidAPI/WorkspaceOpOverload... | gpl-3.0 |
emraxxor/infovip | infovip-common/src/main/java/com/github/infovip/core/mail/DefaultMailConverter.java | 1403 | package com.github.infovip.core.mail;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.Date;
import org.apache.commons.io.IOUtils;
import com.github.infovip.core.data.DefaultUser;
import com.github.infovip.core.date.DefaultDateFormatter;
import com.github.info... | gpl-3.0 |
mltframework/shotcut | src/autosavefile.cpp | 2608 | /*
* Copyright (c) 2011-2016 Meltytech, LLC
* Author: Dan Dennedy <dan@dennedy.org>
* Loosely based on ideas from KAutoSaveFile by Jacob R Rideout <kde@jacobrideout.net>
* and Kdenlive by Jean-Baptiste Mardelle.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... | gpl-3.0 |
andune/HomeSpawnPlus | core/src/main/java/com/andune/minecraft/hsp/commands/SetGroupSpawn.java | 2557 | /**
* 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.
*
* You should have received a copy of the GNU General Public ... | gpl-3.0 |
tum-ens/urbs | urbs/model.py | 32267 | import math
import pyomo.core as pyomo
from datetime import datetime
from .features import *
from .input import *
def create_model(data, dt=1, timesteps=None, objective='cost',
dual=True):
"""Create a pyomo ConcreteModel urbs object from given input data.
Args:
- data: a dict of up t... | gpl-3.0 |
mkuron/espresso | testsuite/python/unittest_decorators.py | 2063 | # Copyright (C) 2019 The ESPResSo project
#
# This file is part of ESPResSo.
#
# ESPResSo 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... | gpl-3.0 |
CampagneLaboratory/bdval | src/edu/cornell/med/icb/svd/SVDFactory.java | 2916 | /*
* Copyright (C) 2007-2010 Institute for Computational Biomedicine,
* Weill Medical College of Cornell University
*
* 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 Foundat... | gpl-3.0 |
fboender/miniorganizer | src/lib/miniorganizer/itip.py | 1291 | #!/usr/bin/env python
#
# Copyright (C) 2008 Ferry Boender
#
# 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 ... | gpl-3.0 |
noacktino/core | openinfra_core/src/main/java/de/btu/openinfra/backend/db/jpa/model/meta/Logger.java | 1751 | package de.btu.openinfra.backend.db.jpa.model.meta;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import ... | gpl-3.0 |
LukeMurphey/splunk-syndication-input | tests/unit.py | 7924 | # coding=utf-8
import unittest
import sys
import os
import errno
import time
from datetime import datetime, timedelta
try:
from urllib.request import HTTPBasicAuthHandler
except:
from urllib2 import HTTPBasicAuthHandler
sys.path.append( os.path.join("..", "src", "bin") )
from syndication import SyndicationMo... | gpl-3.0 |
SleepyCreepy/Upside-Down | Assets/StopBoosPain.cs | 1451 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StopBoosPain : StateMachineBehaviour {
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
//override public void OnStateEnter(Animator animator, AnimatorStateInfo stateIn... | gpl-3.0 |
exteso/alf.io | src/test/java/alfio/manager/payment/saferpay/PaymentPageInitializeBuilderTest.java | 3827 | /**
* This file is part of alf.io.
*
* alf.io 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.
*
* alf.io is distributed in the ... | gpl-3.0 |
emigort/Project-Euler | problems_0001-0025/problem_0021.php | 1541 | <?php
require '../app/utils.php';
/*
Problem 21 https://projecteuler.net/problem=21
Let d(n) be defined as the sum of proper divisors of
n (numbers less than n which divide evenly into n).
If d(a) = b and d(b) = a, where a ≠ b, then a and b
are an amicable pair and each of a and b are called amicable... | gpl-3.0 |
paintenzero/redlight-stream-server | Logger.js | 766 | var intel = require("intel");
intel.config({
"formatters": {
"simple": {
"format": "%(name)s [%(levelname)s]: %(message)s",
"colorize": true
}
},
"handlers": {
"simple_terminal": {
"class": intel.handlers.Console,
"formatter": "simple... | gpl-3.0 |
rneiss/PocketTorah | ios/Pods/Flipper-Folly/folly/memory/SanitizeLeak.cpp | 1400 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | gpl-3.0 |
OpenQCam/qcam | trunk/sources/thelib/src/netio/select/iohandlermanager.cpp | 9032 | /*
* Copyright (c) 2010,
* Gavriloaie Eugen-Andrei (shiretu@gmail.com)
*
* This file is part of crtmpserver.
* crtmpserver 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 L... | gpl-3.0 |
renardeau/klusbibapi | tests/Unit/lendingTest.php | 1928 | <?php
use Tests\DbUnitArrayDataSet;
require_once __DIR__ . '/../test_env.php';
class LendingTest extends LocalDbWebTestCase
{
private $createdate;
private $updatedate;
/**
* @return PHPUnit_Extensions_Database_DataSet_IDataSet
*/
public function getDataSet()
{
$this->createdate = new DateTime();
$... | gpl-3.0 |
jgroszko/django-albums | favorites/models.py | 2045 | from django.db import models
from django.contrib.auth.models import User
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes import generic
class FavoriteItemManager(models.Manager):
def for_user(self, user, content_types=[]):
favorite_objects = []
q... | gpl-3.0 |
cybergestionnaire/gestionnaire | include/admin_url.php | 3343 | <?php
// Fichier de gestion des url / favoris d'un utilisateur
// on supprime un lien
if ($_GET["action"] == "del") {
delBookmark(0, AddSlashes($_GET["idurl"]));
}
// On modifie un lien
if ($_GET["action"] == "mod") {
$formSubmit = "Modifier";
$row = getOneUrl($_GET["idurl"]);
$titreUrl = $row["titre_... | gpl-3.0 |
giofrida/Hisense-enhancements | UI/hisenseUI/modulePages/appPages/youtube.js | 1978 | /**
* Created by BOB on 14-10-22.
*/
function getYoutubePageData(opts) {
return appYoutube.pageData;
}
function AppYoutube() {
var self = this;
self.pageData = {};
var oprtData = {
command: '',
isRemoteKey: false,
amName: "youtube",
commandType: 0,
appStart... | gpl-3.0 |
KevinMiller4k/four-k-download | sdk/src/ffmpeg/DTFFDecoderInfo.cpp | 12956 | /// Copyright 2010-2012 4kdownload.com (developers@4kdownload.com)
/**
This file is part of 4k Download.
4k Download is free software; you can redistribute it and/or modify
it under the terms of the one of two licenses as you choose:
1. GNU GENERAL PUBLIC LICENSE Version 3
(See file COPYIN... | gpl-3.0 |
prheenan/IgorUtil | XOP/Lib/IgorXOPs6/NIGPIB2/NIGPIB.cpp | 4791 | /* NIGPIB.c
See NIGPIB documentation for use of NIGPIB XOP.
3/7/94
Added IBBNA, IBCONFIG, IBLINES, IBLLO NI488 calls.
Bumped NIGPIB version to 1.2.
1/17/96
Added testMode for testing at WaveMetrics.
Made Igor Pro 3.0-savvy (data-folder-aware, support integer waves).
HR, 091021
Updated f... | gpl-3.0 |
xplorld/TrafficSimulator | js/redirect.js | 834 |
//#################################################################
// implementation of redirect buttons on the simulation html pages
//#################################################################
function myRedirectRing(){
window.location.href = "./index.html";
}
function myRedirectOnramp(){
window.lo... | gpl-3.0 |
abhijitsarkar/legacy | adam-bien/x-ray/x-ray-services/src/main/java/com/abien/xray/business/logging/boundary/XRayLogger.java | 289 | package com.abien.xray.business.logging.boundary;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author blog.adam-bien.com
*/
public interface XRayLogger {
public void log(Level INFO, String string, Object[] object);
public Logger getLogger();
}
| gpl-3.0 |
tompecina/retro | src/cz/pecina/retro/cpu/Executable.java | 1158 | /* Executable.java
*
* Copyright (C) 2015, Tomáš Pecina <tomas@pecina.cz>
*
* This file is part of cz.pecina.retro, retro 8-bit computer emulators.
*
* This application 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 Softw... | gpl-3.0 |
Armour/CMPT361-Assignments | Assignment 2/src/robot_arm.cc | 15171 | //////////////////////////////////////////////////////////////////////////////
//
// robot_arm.cc
//
// The source file for robot arm manager
//
// Project : FruitTetris
// Name : Chong Guo
// Student ID : 301295753
// SFU username : armourg
// Instructor : Thomas Shermer
// TA ... | gpl-3.0 |
jarirajari/jeeplate | Jeeplate/jeeplate-ejb/src/main/java/org/sisto/jeeplate/domain/ObjectId.java | 3106 | /*
* Jeeplate
* Copyright (C) 2014 Jari Kuusisto
*
* 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... | gpl-3.0 |
ajc158/spinecreator | genericinput.cpp | 23141 | /***************************************************************************
** **
** This file is part of SpineCreator, an easy to use, GUI for **
** describing spiking neural network models. **
** Copyrigh... | gpl-3.0 |
mauiaaron/apple2 | Android/app/src/main/java/com/example/inputmanagercompat/InputManagerCompat.java | 4833 | /*
* Copyright (C) 2013 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 |
Niky4000/UsefulUtils | projects/tutorials-master/tutorials-master/blade/src/main/java/com/baeldung/blade/sample/AttributesExampleController.java | 1273 | package com.baeldung.blade.sample;
import com.blade.mvc.annotation.GetRoute;
import com.blade.mvc.annotation.Path;
import com.blade.mvc.http.Request;
import com.blade.mvc.http.Response;
import com.blade.mvc.http.Session;
@Path
public class AttributesExampleController {
public final static String REQUEST_VALUE = ... | gpl-3.0 |
Tonsty/br07 | src/distance.cc | 5339 | /*
Copyright 2007 Benedict Brown
Princeton University
Compute histgram of distances of range scan points to final mesh
-----
This file is part of tps_alignment.
tps_alignment is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 as
published by the Fr... | gpl-3.0 |
dmolin/two-factor-auth | client/components/NotFound.js | 238 | import React from 'react'
const NotFound = ({content = () => null}) => (
<section className="notfound" >
<p className="section section-header">this is not the page you were looking for...</p>
</section>
)
export default NotFound | gpl-3.0 |
diging/jars | cookies/tests/test_import.py | 14911 | import unittest, mock, tempfile, types, os, datetime
from django.db.models.signals import post_save
from rdflib import Graph, Literal, BNode, Namespace, RDF, URIRef
from rdflib.namespace import DC, FOAF, DCTERMS
BIB = Namespace('http://purl.org/net/biblio#')
RSS = Namespace('http://purl.org/rss/1.0/modules/link/')
Z... | gpl-3.0 |
Donkyhotay/MoonPy | zope/app/apidoc/ifacemodule/tests.py | 2478 | ##############################################################################
#
# Copyright (c) 2004 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SO... | gpl-3.0 |
cSploit/android.MSF | modules/exploits/windows/sip/sipxezphone_cseq.rb | 2342 | ##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::Remote::Udp
include Msf::Exploit::Remote::Seh
def initialize(info = {... | gpl-3.0 |
gwct/core | legacy/legacy-scripts-v2/NA_clipkit_codon_filter.py | 7741 | #!/usr/bin/python
############################################################
# For Penn genomes, 06.2020
# Takes a log file from a clipkit run on amino acid sequence
# and removes corresponding sites from codon alignment.
############################################################
import sys, os, core, coreseq, arg... | gpl-3.0 |
MikeMatt16/Abide | Abide Tag Definitions/Generated/Library/AnimationIndexStructBlock.Generated.cs | 2217 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | gpl-3.0 |
marcog83/cesena-online-demo | dati-jobs/db/tables.js | 1335 | exports.RUNTASTIC_ROUTES = 'runtastic-routes';
exports.RUNTASTIC_ROUTE_TYPES = 'runtastic-route-types';
exports.MOVIES_TITLE_AKA = 'movies-title-aka';
exports.INSTAGRAM_PHOTOS = 'instagram-photos';
exports.MY_PLACES = 'my-places';
exports.MY_PLACES_2 = 'my-places-2';
exports.IMPRESE = 'imprese';
exports.OPENDATA_PLACES... | gpl-3.0 |
ansancho/scripts | python/Jobs/trabajo_basura.py | 5133 | #!/usr/bin/env python
# -*- coding: utf8 -*-
import sys
from urllib import urlencode
from urllib2 import urlopen, URLError, build_opener
from requests import session, RequestException
from argparse import ArgumentParser
from bs4 import BeautifulSoup
from time import sleep
import logging
import csv
'''
Global variables... | gpl-3.0 |
xbash/LabUNAB | 12_string/chars.py | 32 | a = "holanda"
print (a[::-1])
| gpl-3.0 |
zhdk/madek | spec/models/meta_datum/meta_datum_string_spec.rb | 1529 | require 'spec_helper'
describe MetaDatumString do
describe "Creation" do
it "should not raise an error " do
expect {FactoryGirl.create :meta_datum_string}.not_to raise_error
end
it "should not be nil" do
(FactoryGirl.create :meta_datum_string).should_not == nil
end
it "should be p... | gpl-3.0 |
vdmtools/vdmtools | spec/java2vdm/javaapi/java/util/AbstractSet-.java | 266 | package java.util;
public abstract class AbstractSet extends AbstractCollection implements Set {
//protected AbstractSet(){};
//public native boolean equals( Object o);
//public native int hashCode();
//public native boolean removeAll( Collection c);
}
| gpl-3.0 |
benlaug/labgen-of | include/labgen-of/optical_flow/SparseToDenseFlow.hpp | 1514 | /**
* Copyright - Benjamin Laugraud <blaugraud@ulg.ac.be> - 2017
* http://www.montefiore.ulg.ac.be/~blaugraud
* http://www.telecom.ulg.ac.be/labgen
*
* This file is part of LaBGen-OF.
*
* LaBGen-OF is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as ... | gpl-3.0 |
Redgram/redgram-for-reddit | Redgram/app/src/main/java/com/matie/redgram/ui/settings/fragments/SyncPreferenceFragment.java | 1195 | package com.matie.redgram.ui.settings.fragments;
import android.annotation.TargetApi;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceFragment;
import android.view.MenuItem;
import com.matie.redgram.R;
import com.matie.redgram.ui.settings.SettingsA... | gpl-3.0 |
Itsinmybackpack/CreateUO | Scripts/Custom Scripts/Mobiles/GraniteElementals/GoldenColossus.cs | 3099 | using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a colossus corpse" )]
public class GoldenColossus : BaseCreature
{
[Constructable]
public GoldenColossus() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a golden colossus... | gpl-3.0 |
danimataonrails/my_prs | config/initializers/devise.rb | 13454 | # Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
# The secret key used by Devise. Devise uses this key to generate
# random tokens. Changing this key will render invalid all existing
# confirmat... | gpl-3.0 |
changchoonl22/didoclient | ATestPlnNRsnt/Properties/Resources.Designer.cs | 3058 | //------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 도구를 사용하여 생성되었습니다.
// 런타임 버전:4.0.30319.18408
//
// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
// 이러한 변경 내용이 손실됩니다.
// </auto-generated>
//--------------------------------------------------------... | gpl-3.0 |
koustubh-dwivedy/ardupilot | libraries/SITL/SIM_QuadPlane.cpp | 2809 | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
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 la... | gpl-3.0 |
sgsinclair/Voyant | src/main/webapp/dtoc/annotator/dtoc.annotator.old.js | 18491 | Ext.define('Voyant.panel.DToC.AnnotatorPanel', {
extend: 'Ext.panel.Panel',
requires: [],
mixins: ['Voyant.panel.Panel'],
alias: 'widget.dtocAnnotator',
config: {
corpus: undefined
},
statics: {
},
annotator: null,
loginButtonClicked: false,
store: null,
tpl: ... | gpl-3.0 |
leomuona/sauna-app | app/src/main/java/fi/helsinki/sauna_app/app/drone/SaunaDroneEventHandler.java | 2231 | package fi.helsinki.sauna_app.app.drone;
import com.sensorcon.sensordrone.DroneEventHandler;
import com.sensorcon.sensordrone.DroneEventObject;
import com.sensorcon.sensordrone.android.Drone;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
/**
* Handles SensorDrone events. Pipes Se... | gpl-3.0 |
vfremaux/moodle-mod_mplayer | db/access.php | 2245 | <?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 ... | gpl-3.0 |
sklintyg/webcert | web/src/main/java/se/inera/intyg/webcert/web/service/facade/question/util/QuestionConverter.java | 1889 | /*
* Copyright (C) 2022 Inera AB (http://www.inera.se)
*
* This file is part of sklintyg (https://github.com/sklintyg).
*
* sklintyg 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 t... | gpl-3.0 |
marcoc2/dpixel | Filters/Filter.cpp | 4073 | #include "Filter.h"
#if defined(__linux__) || defined(_WIN32)
#include <omp.h>
#endif
Filter::Filter( Image* inputImage, Image* outputImage ) :
_inputImage( inputImage ),
_outputImage( outputImage )
{
}
Filter::Filter( Image* inputImage, float scaleFactor ) :
_inputImage( inputImage ),
_scaleFactor(... | gpl-3.0 |
onitake/ansible | lib/ansible/modules/cloud/amazon/ec2.py | 64623 | #!/usr/bin/python
# This file is part of Ansible
#
# Ansible 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.
#
# Ansible is distributed... | gpl-3.0 |
GokuMK/TSRE5 | HeightWindow.cpp | 9371 | /* This file is part of TSRE5.
*
* TSRE5 - train sim game engine and MSTS/OR Editors.
* Copyright (C) 2016 Piotr Gadecki <pgadecki@gmail.com>
*
* Licensed under GNU General Public License 3.0 or later.
*
* See LICENSE.md or https://www.gnu.org/licenses/gpl.html
*/
#include "HeightWindow.h"
#i... | gpl-3.0 |
LER0ever/Israfil | IsrafilCore/IsrafilBase/source/md5.cpp | 6871 | /**
*
*/
#include "IsrafilBase/md5.h"
/* Define the static member of MD5. */
const byte MD5::PADDING[64] = { 0x80 };
const char MD5::HEX_NUMBERS[16] = {
'0', '1', '2', '3',
'4', '5', '6', '7',
'8', '9', 'a', 'b',
'c', 'd', 'e', 'f'
};
/**
* @Construct a MD5 object with a string.
*
* @param {message} the... | gpl-3.0 |
AndyClausen/PNRP_HazG | postnukerp/entities/entities/hp_m_kit/init.lua | 1096 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
util.PrecacheModel ("models/stalker/item/medical/medkit2.mdl")
function ENT:Initialize()
self.Entity:SetModel("models/stalker/item/medical/medkit2.mdl")
self.Entity:PhysicsInit( SOLID_VPHYSICS ) -- Make us work with physic... | gpl-3.0 |
wzchua/CipherDiary | app/src/main/java/domain/a/not/wz/cipherdiary/ui/CoreActivity/CoreActivity.java | 5679 | package domain.a.not.wz.cipherdiary.ui.CoreActivity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import java.ut... | gpl-3.0 |
tazvoit/ARPP | cancelacion/cancelacion-web/src/main/java/com/gisnet/cancelacion/webservices/ConsultarListaDeNotarios.java | 12157 | /*
* Copyright (C) 2015 GISNET
*
* 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 program is dis... | gpl-3.0 |
masterxyth/bcvotes | static/script.js | 1651 |
// Linear Search
function search() {
// Declare variables
var input, filter, table, tr, td, i;
input = document.getElementById("search");
filter = input.value.toUpperCase();
table = document.getElementsByClassName("dataframe data");
tr = document.getElementsByTagName("tr");
// Loop through... | gpl-3.0 |
shubhamkmr47/Helikar | inst/www/js/components/TimeSeriesModal.js | 1211 | /*
copyright 2016 Helikar Lab
Developed by Shubham Kumar, Vinit Ravishankar and Akram Mohammed
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) an... | gpl-3.0 |
nitro2010/moodle | blocks/dataformnotification/tests/behat/behat_block_dataformnotification.php | 6080 | <?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 ... | gpl-3.0 |
LinEvil/ProtocolSupport | src/protocolsupport/protocol/transformer/middlepacketimpl/PacketData.java | 1072 | package protocolsupport.protocol.transformer.middlepacketimpl;
import io.netty.util.Recycler;
import protocolsupport.api.ProtocolVersion;
import protocolsupport.protocol.PacketDataSerializer;
import protocolsupport.utils.netty.Allocator;
public class PacketData extends PacketDataSerializer {
private static final Re... | gpl-3.0 |
timotebx/codePHP- | TP1-Formulaire-Inscription/register.php | 1621 | <?php
if(!empty($_POST)){
if(isset($_POST['nom']) && isset($_POST['prenom']) && isset($_POST['password']) && isset($_POST['passwordConfirm']) && isset($_POST['civilite']) && isset($_POST['ville']) && isset($_POST['selectedLanguages']) && isset($_POST['descriptiton'])){
if($_POST['nom'] != "" && $_POST['prenom']... | gpl-3.0 |
glycoinfo/eurocarbdb | application/Eurocarbdb/src/java/org/eurocarbdb/action/ms/ShowScanAnnotations.java | 3755 | /*
* EuroCarbDB, a framework for carbohydrate bioinformatics
*
* Copyright (c) 2006-2009, Eurocarb project, or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors.
*
* This copyrighted material is made available to anyone wishing t... | gpl-3.0 |
tachyons/malayalam-dictionary | ml_dict_lib/Window.py | 6013 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
### BEGIN LICENSE
# Copyright (C) 2012 <Aboobacker mk> <aboobackervyd@gmail.com>
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Fre... | gpl-3.0 |
nobreconfrade/CAL | TrabRSA/mainDecrypt.cpp | 1952 | #include "rsa/keys.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
bool LoadCyphertextFromFile(string &cyphertext) {
std::ifstream file;
file.open("cyphertext.txt");
if (file.is_open() == false)
{
cout << "*ERROR*: file 'cyphertext.txt' not found" << endl;... | gpl-3.0 |
MikeMatt16/Abide | Abide Tag Definitions/Generated/Guerilla/AnimationAimingScreenStructBlock.Generated.cs | 2686 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | gpl-3.0 |
ec1oud/uradmonitor_kit1 | code/sensors/bmp180.cpp | 5157 | /**
* File: bmp180.cpp
* Version: 1.0
* Date: 2012
* License: GPL v3
* Description: AVR I2C Driver for Bosch BMP180, a MEMS sensor for Temperature and Pressure
* Project: uRADMonitor KIT1, a hackable digital sensor monitoring tool with network interface
*
* Copyright 2012 by Radu Moti... | gpl-3.0 |
cmizony/game-server | api/application/third_party/minecraft_query/MinecraftQuery.class.php | 4237 | <?php
class MinecraftQueryException extends Exception
{
// Exception thrown by MinecraftQuery class
}
class MinecraftQuery
{
/*
* Class written by xPaw
*
* Website: http://xpaw.me
* GitHub: https://github.com/xPaw/PHP-Minecraft-Query
*/
const STATISTIC = 0x00;
const HANDSHAKE = 0x09;
private $Socket... | gpl-3.0 |
tolien/ledgr-app | app/models/display.rb | 1614 | class Display < ActiveRecord::Base
# attr_accessible :end_date, :start_date, :title, :display_type_id
belongs_to :display_type
belongs_to :page
acts_as_list add_new_at: :bottom
has_many :display_categories, dependent: :destroy
has_many :categories, through: :display_categories
validates_presence_of :... | gpl-3.0 |
gguruss/mixerp | src/Libraries/Web API/Core/Tests/GenderRouteTests.cs | 10700 | // ReSharper disable All
using System;
using System.Configuration;
using System.Diagnostics;
using System.Net.Http;
using System.Runtime.Caching;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Dispatcher;
using System.Web.Http.Hosting;
using System.Web.Http.Routing;
using Xunit;
namesp... | gpl-3.0 |
Professi/diwa | views/word/_form.php | 2117 | <?php
use yii\helpers\Html;
use app\components\widgets\CustomActiveForm;
use yii\web\JsExpression;
/* @var $this yii\web\View */
/* @var $model app\models\Word */
/* @var $form CustomActiveForm */
?>
<div class="word-form row">
<?php $form = CustomActiveForm::begin(); ?>
<fieldset>
<?= $form->field($... | gpl-3.0 |
iCarto/siga | appgvSIG/src/com/vividsolutions/jump/util/FlexibleDateParser.java | 10657 | /*
* The Unified Mapping Platform (JUMP) is an extensible, interactive GUI
* for visualizing and manipulating spatial features with geometry and attributes.
*
* Copyright (C) 2003 Vivid Solutions
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Pu... | gpl-3.0 |
SemanticBashkortostan/city_news-OLD | spec/spec_helper.rb | 1739 | # This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'email_spec'
require 'rspec/autorun'
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/supp... | gpl-3.0 |
Nico0084/domogik-plugin-nutserve | bin/nutserve.py | 5329 | #!/usr/bin/python
# -*- coding: utf-8 -*-
""" This file is part of B{Domogik} project (U{http://www.domogik.org}).
License
=======
B{Domogik} 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 ... | gpl-3.0 |
codepilotde/AdServing | ad.base/src/main/java/net/mad/ads/base/api/utils/logging/handler/RollingFileHandler.java | 5847 | /**
* Mad-Advertisement
* Copyright (C) 2011 Thorsten Marx <thmarx@gmx.net>
*
* 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... | gpl-3.0 |
brangerbriz/webroutes | nw-app/telegeography-data/internetexchanges/buildings/19280.js | 513 | {"exchanges":[{"info":[{"onclick":null,"link":"mailto:lacier@titania.com.br","value":"lacier@titania.com.br Lacier Dias"},{"onclick":null,"link":null,"value":"65 3315 2828"},{"onclick":null,"link":"mailto:lacier@titania.com.br","value":"lacier@titania.com.br"},{"onclick":"window.open(this.href,'ix-new-window');return f... | gpl-3.0 |
mmuszkow/wtwUpdate | src/Updater/InstallThread.hpp | 632 | #pragma once
#include "UniqueThread.hpp"
#include "JsonObjs/AddonsList.hpp"
namespace wtwUpdate {
namespace updater {
class InstallThread : public UniqueThread {
// it's a singleton so this is used for currently running
json::AddonsList _toInstall;
json::AddonsList _toRemove;
static DWORD WINAPI proc... | gpl-3.0 |
ggerman/twilionClient | vendor/composer/autoload_real.php | 1681 | <?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit40a938c2c43d8c137cf0909d833d9d6b
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... | gpl-3.0 |
Fightbackman/PrograHaWS2013 | Hausaufgabe8/countrysrc/Country.java | 2300 | import java.util.*;
/** There must not be two different countries with the same name! */
public class Country implements Comparable<Country> {
private String name; // must not be null
/** number of inhabitants */
private int numInhabitants;
/** size in square meters */
private int size;
public ... | gpl-3.0 |
epam/JDI | Java/Tests/jdi-uitest-webtests/src/test/java/com/epam/jdi/uitests/testing/unittests/tests/complex/SelectorTests.java | 3585 | package com.epam.jdi.uitests.testing.unittests.tests.complex;
import com.epam.jdi.uitests.testing.unittests.InitTests;
import com.epam.jdi.uitests.testing.unittests.enums.Odds;
import com.epam.jdi.uitests.web.selenium.elements.complex.Selector;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.... | gpl-3.0 |
setiQuest/WorldOfSeti | spec/controllers/display1_controller_spec.rb | 13544 | ################################################################################
#
# File: display1_controller_spec.rb
# Project: World of SETI (WOS)
# Authors:
# Alan Mak
# Anthony Tang
# Dia Kharrat
# Paul Wong
#
# The initial source was worked on... | gpl-3.0 |
birolkuyumcu/TargetDetection | cvs_uavtargetdetectionapp.cpp | 1422 | /*
* Target Detection
*
* Copyright (C) Volkan Salma volkansalma@gmail.com
* Birol Kuyumcu bluekid70@gmail.com
* GPL v3 - https://github.com/birolkuyumcu/TargetDetection
*/
#include "cvs_uavtargetdetectionapp.h"
CVS_UAVTargetDetectionApp::CVS_UAVTargetDetectionApp(int argc, char *argv[]):a(argc, argv)
... | gpl-3.0 |
kevoree-modeling/eclipse-plugin | org.kevoree.modeling.eclipse.ui/src-gen/org/kevoree/modeling/ui/contentassist/antlr/internal/InternalMetaModelParser.java | 276770 | package org.kevoree.modeling.ui.contentassist.antlr.internal;
import java.io.InputStream;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.parser.antlr.Xtex... | gpl-3.0 |
leonardopedro/flavour | docs/search/enums_1.js | 554 | var searchData=
[
['fcharge',['FCharge',['../namespaceBGLmodels.html#ad1925965d586f009337aca12bbbc6c07',1,'BGLmodels']]],
['fflavour',['FFlavour',['../namespaceBGLmodels.html#a06a0a1b4e9a1d8bf7597a208e1a16c93',1,'BGLmodels']]],
['fhelicity',['FHelicity',['../namespaceBGLmodels.html#a3e13a417250689ff382142471544d4... | gpl-3.0 |
tukusejssirs/eSpievatko | spievatko/espievatko/prtbl/srv/new/php-5.2.5/ext/standard/tests/math/bug24142.phpt | 462 | --TEST--
Bug #24142 (round() problems)
--FILE--
<?php // $Id: bug24142.phpt,v 1.4 2003/08/09 16:44:33 iliaa Exp $ vim600:syn=php
$v = 0.005;
for ($i = 1; $i < 10; $i++) {
echo "round({$v}, 2) -> ".round($v, 2)."\n";
$v += 0.01;
}
?>
--EXPECT--
round(0.005, 2) -> 0.01
round(0.015, 2) -> 0.02
round(0.025, 2) -> 0.03
ro... | gpl-3.0 |
lsimedia/TinyRCP | src/org/tinyrcp/App.java | 18402 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.tinyrcp;
import java.awt.Color;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.Gra... | gpl-3.0 |
gszura/wx-nfp | src/temperaturesChart.cpp | 6672 | /*******************************************************************************
//
// Name: temperaturesChart.cpp
// Author: inspired by szybig 'cycleGraph'
// Description:
//
*******************************************************************************/
#include "temperaturesChart.h"
#include <wx/arrim... | gpl-3.0 |
findhit/auto-advanced-search | test/resources/full-text-generator.js | 1700 | var aas = require( '../../' ),
Util = require( 'findhit-util' ),
chai = require( 'chai' ),
expect = chai.expect,
database = require( './database' );
/**
* fullTextGenerator - this function will test a query and consecutive arguments
* if they match and respect order by checking name on instance.
*
... | gpl-3.0 |
trol73/mucommander | src/main/com/mucommander/bookmark/BookmarkWriter.java | 2754 | /*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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... | gpl-3.0 |
kdbanman/browseRDF | tulip-3.8.0-src/software/plugins-manager/server/src/PluginInstaller.cpp | 6501 | /**
*
* This file is part of Tulip (www.tulip-software.org)
*
* Authors: David Auber and the Tulip development Team
* from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
*
* Tulip is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public Licens... | gpl-3.0 |
vfremaux/moodle-mod_mplayer | extralib/players/jw/8.0/src/js/view/controls/components/settings/menu.js | 6189 | import { cloneIcon } from 'view/controls/icons';
import button from 'view/controls/components/button';
import SettingsMenuTemplate from 'view/controls/templates/settings/menu';
import { createElement, emptyElement, prependChild } from 'utils/dom';
export function SettingsMenu(onVisibility, onSubmenuAdded, onMenuEmpty)... | gpl-3.0 |
ScreamingUdder/mantid | qt/applications/workbench/setup.py | 1035 | # -*- coding: utf-8 -*-
# This file is part of the mantid workbench.
#
# Copyright (C) 2017 mantidproject
#
# 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, ... | gpl-3.0 |
funbather/nhnh-client | src/UI/Components/ShortCut/ShortCut.js | 13347 | /**
* UI/Components/ShortCut/ShortCut.js
*
* ShortCut windows component
*
* This file is part of ROBrowser, Ragnarok Online in the Web Browser (http://www.robrowser.com/).
*
* @author Vincent Thibault
*/
define(function(require)
{
'use strict';
/**
* Dependencies
*/
var DB = require('... | gpl-3.0 |
bozhink/ProcessingTools | src/ProcessingTools/Services/Data/Services.Data/Contracts/Files/IXmlFileContentDataService.cs | 1362 | namespace ProcessingTools.Services.Data.Contracts.Files
{
using System.Threading.Tasks;
using System.Xml;
/// <summary>
/// Manipulates content of XML files.
/// </summary>
public interface IXmlFileContentDataService
{
/// <summary>
/// Gets or sets custom XmlReaderSettings... | gpl-3.0 |
Guthans/Python-Beginnings | Functions.py | 380 | # Functions
print("#Functions")
print()
print("test() - Print out Test Function ")
def test():
print("Test Function")
test()
print()
print("testparam() - Print out a + b of the params ")
def testparam(a, b):
print(a + b)
testparam(1, 2)
print()
print("testScope() - Print out a2 using a global scope")
a2... | gpl-3.0 |