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
/* This file is part of HexEd Copyright (C) 2008-2015 Stephen Robinson <hacks@esar.org.uk> HexEd 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. This program is distributed in the hope that it...
esar/hexed
TitleLabel.cs
C#
gpl-2.0
1,591
#include <unistd.h> int main(void) { while(1) fork(); return 0; }
bartgee/forkbomb
src/forkbomb.cpp
C++
gpl-2.0
80
<?php function ois_edit_skin($skin) { if (isset($_GET['delete'])) { if (check_admin_referer('trash')) { // Now we can delete the skin! $all_skins = get_option('ois_skins'); $id = $_GET['delete']; if (!empty($all_skins)) { foreach ($all_skins as $num=>$la_skin) { if ($la_skin['id'] == $id) { ...
User1m/livefundstarter
wp-content/plugins/OptinSkin/admin/admin_edit_skin.php
PHP
gpl-2.0
19,920
<?php /** * @package Gantry5 * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2021 RocketTheme, LLC * @license Dual License: MIT or GNU/GPLv2 and later * * http://opensource.org/licenses/MIT * http://www.gnu.org/licenses/gpl-2.0.html * * Gantry Framework code that exte...
emundus/v6
libraries/gantry5/src/classes/Gantry/Component/Twig/TokenParser/TokenParserStyles.php
PHP
gpl-2.0
1,048
/*FreeMind - A Program for creating and viewing Mindmaps *Copyright (C) 2000-2011 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others. * *See COPYING for Details * *This program is free software; you can redistribute it and/or *modify it under the terms of the GNU General Public License ...
derekprovance/Freemind
plugins/map/JCursorMapViewer.java
Java
gpl-2.0
9,023
<?php /** * @package Yendif Player * @author Yendif Technologies Pvt Ltd. (email : admin@yendifplayer.com) * @license GPL-2.0+ * @link http://yendifplayer.com/ * @copyright 2014 Yendif Technologies Pvt Ltd. */ class Yendif_Player_Settings_View { /** * Instance of the model object. ...
AASP/cosmic-wordpress
wp-content/plugins/yendif-player/admin/views/settings/view.html.php
PHP
gpl-2.0
741
package io.github.dousha.randomCraft.randomcraft; import java.util.HashMap; // WHY DOESN'T JAVA HAVE A STRUCT public class ItemDescription implements Cloneable{ public boolean type; // false = in, true = out, I would use #define in c/c++! public String itemname; @Deprecated public int itemid; public boolean isM...
dousha/MySpigotPlugins
RandomCraft/src/main/java/io/github/dousha/randomCraft/randomcraft/ItemDescription.java
Java
gpl-2.0
815
package fr.lelouet.rpg.model; import fr.lelouet.rpg.model.character.CharStats; public class Character extends CharStats { public Character(RPGGame system) { super(system); } /** * * @return true if this character is an avatar */ public boolean isPlayer() { return true; } public int lvl; }
glelouet/RPG
Model/src/main/java/fr/lelouet/rpg/model/Character.java
Java
gpl-2.0
312
<?php function eme_new_event() { $event = array ( "event_id" => '', "event_name" => '', "event_status" => get_option('eme_event_initial_state'), "event_start_date" => date("Y-m-d"), "event_start_time" => '', "event_end_date" => date("Y-m-d"), "event_end_time" => '', ...
kalote/claudiaetorso
wp-content/plugins/events-made-easy/eme_events.php
PHP
gpl-2.0
200,166
# pygopherd -- Gopher-based protocol server in Python # module: serve up gopherspace via http # $Id: http.py,v 1.21 2002/04/26 15:18:10 jgoerzen Exp $ # Copyright (C) 2002 John Goerzen # <jgoerzen@complete.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GN...
mas90/pygopherd
pygopherd/protocols/http.py
Python
gpl-2.0
12,731
// leave this line at the top for all g_xxxx.cpp files... #include "g_headers.h" #include "G_Local.h" typedef map < string, int > timer_m; timer_m g_timers[ MAX_GENTITIES ]; /* ------------------------- TIMER_Clear ------------------------- */ void TIMER_Clear( void ) { for ( int i = 0; i < MAX_GENTITIES; i++ )...
grayj/Jedi-Outcast
code/game/G_Timer.cpp
C++
gpl-2.0
4,730
/*global gdn, jQuery*/ jQuery(($) => { const $preview = $('<div class="Preview"></div>') .insertBefore('#ConversationForm .bodybox-wrap, #Form_ConversationMessage .bodybox-wrap') .hide(); const $textbox = $('#ConversationForm textarea[name="Body"], #Form_ConversationMessage textarea[name="Body...
bleistivt/conversationspreview
js/preview.js
JavaScript
gpl-2.0
1,997
package com.eng.univates.bd; import java.util.List; import javax.ejb.Remote; import com.eng.univates.pojo.Filter; import com.eng.univates.pojo.Ocorrencia; import com.eng.univates.pojo.Usuario; import com.vividsolutions.jts.geom.Point; @Remote public interface OcorrenciaBD extends CrudBD<Ocorrencia, Integer> { publ...
rdanieli/heatmapGPS
hmGPS/ejb/src/main/java/com/eng/univates/bd/OcorrenciaBD.java
Java
gpl-2.0
598
/* * Copyright 2013, Red Hat, Inc. and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public ...
itsazzad/zanata-server
zanata-war/src/main/java/org/zanata/file/FileSystemPersistService.java
Java
gpl-2.0
5,646
/* Copyright (C) 2017 Axel Müller <axel.mueller@avanux.de> 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 dis...
camueller/SmartApplianceEnabler
src/main/angular/src/app/control/startingcurrent/starting-current-switch.ts
TypeScript
gpl-2.0
1,175
package info.thecodinglive.service; import info.thecodinglive.model.Team; import info.thecodinglive.repository.TeamDao; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List;...
thecodinglive/hanbit-gradle-book-example
ch06/src/main/java/info/thecodinglive/service/TeamServiceImpl.java
Java
gpl-2.0
902
<?php /** * @file * Contains \Drupal\fillpdf\Service\FillPdfLinkManipulator. */ namespace Drupal\fillpdf\Service; use Drupal\Component\Utility\UrlHelper; use Drupal\Core\Url; use Drupal\fillpdf\Entity\FillPdfForm; use Drupal\fillpdf\FillPdfLinkManipulatorInterface; use Symfony\Component\HttpFoundation\Request; /*...
AshishNaik021/iimisac-d8
modules/fillpdf/src/Service/FillPdfLinkManipulator.php
PHP
gpl-2.0
6,027
<?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...
oat-sa/extension-tao-testcenter
model/routing/ApiRoute.php
PHP
gpl-2.0
1,246
package org.lastbamboo.common.sip.stack.message.header; import java.io.IOException; import java.net.InetAddress; import java.net.URI; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.id.uuid.UUID; import org.apac...
adamfisk/littleshoot-client
common/sip/stack/src/main/java/org/lastbamboo/common/sip/stack/message/header/SipHeaderFactoryImpl.java
Java
gpl-2.0
7,606
package testing; /** * Copyright (C) 2015 Matthew Mussomele * * This file is part of ChoiceOptimizationAlgorithm * * ChoiceOptimizationAlgorithm 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, e...
Unit4TechProjects/ChoiceOptimization
testing/TestSchedule.java
Java
gpl-2.0
3,494
// // -------------------------------------------------------------------------- // Gurux Ltd // // // // Filename: $HeadURL$ // // Version: $Revision$, // $Date$ // $Author$ // // Copyright (c) Gurux Ltd // //------------------------------------------------------------...
Gurux/Gurux.DLMS.Net
Development/Objects/GXApplicationContextName.cs
C#
gpl-2.0
2,668
# # Copyright 2019-2022 Ghent University # # This file is part of vsc-mympirun, # originally created by the HPC team of Ghent University (http://ugent.be/hpc/en), # with support of Ghent University (http://ugent.be/hpc), # the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be), # the Flemish Research Foundat...
hpcugent/vsc-mympirun
test/mytaskprolog.py
Python
gpl-2.0
1,831
from fabric.api import local def html(): local('hovercraft -t ./sixfeetup_hovercraft formation_flask.rst ./build/')
domofwk/domofwk-docs
source/formations/flask/fabfile.py
Python
gpl-2.0
122
/** * */ package co.innovate.rentavoz.services.ciudad; import java.util.List; import co.innovate.rentavoz.model.Ciudad; import co.innovate.rentavoz.model.Departamento; import co.innovate.rentavoz.services.GenericService; /** * @author <a href="mailto:elmerdiazlazo@gmail.com">Elmer Jose Diaz Lazo</a> * @project ...
kaisenlean/rentavoz3
src/main/java/co/innovate/rentavoz/services/ciudad/CiudadService.java
Java
gpl-2.0
887
(function (root, factory) { if (root === undefined && window !== undefined) root = window; if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module unless amdModuleId is set define('wavesurfer', [], function () { return (root['WaveSurfer'] = factory()); }); } els...
NaturalHistoryMuseum/scratchpads2
sites/all/libraries/wavesurfer/dist/wavesurfer.js
JavaScript
gpl-2.0
86,080
/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 1999 Antti Koivisto (koivisto@kde.org) * (C) 2001 Dirk Mueller (mueller@kde.org) * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. * (C) 2006 Alexey Proskuryakov (ap@nypop.com) * * This library is free sof...
166MMX/openjdk.java.net-openjfx-8u40-rt
modules/web/src/main/native/Source/WebCore/html/FormAssociatedElement.cpp
C++
gpl-2.0
8,934
package de.konqi.fitapi.common.importer; import java.io.IOException; import java.io.InputStream; /** * Created by konqi on 08.05.2016. */ public interface Importer { void importFromStream(String userEmail, InputStream is) throws IOException; }
konqi/fit-precinct
src/main/java/de/konqi/fitapi/common/importer/Importer.java
Java
gpl-2.0
252
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2016 Zomboided # # 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)...
Zomboided/VPN-Manager
managefiles.py
Python
gpl-2.0
11,679
package nl.HAN.ASD.APP.dataStructures; import com.google.gag.annotation.disclaimer.WrittenWhile; import java.util.*; /** * Created by Pim van Gurp, 9/9/2015. */ @SuppressWarnings({"NullableProblems", "ConstantConditions"}) public class MyArrayList<T> implements List<T>, Iterable<T> { /** * Amount of eleme...
PimvanGurp/advanced-java
src/nl/HAN/ASD/APP/dataStructures/MyArrayList.java
Java
gpl-2.0
6,537
/** * Copyright 2007 Wei-ju Wu * * This file is part of TinyUML. * * TinyUML 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. *...
proyectos-fiuba-romera/nilledom
src/test/java/test/mdauml/umldraw/shared/NoteElementTest.java
Java
gpl-2.0
2,826
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Downloadable\Test\Unit\Block\Adminhtml\Catalog\Product\Edit\Tab\Downloadable; /** * Class LinksTest * * @package Magento\Downloadable\Test\Unit\Block\Adminhtml\Catalog\Product\Edit\Tab\Downloada...
kunj1988/Magento2
app/code/Magento/Downloadable/Test/Unit/Block/Adminhtml/Catalog/Product/Edit/Tab/Downloadable/LinksTest.php
PHP
gpl-2.0
7,483
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>MaSIS &mdash; <?php print $this->page_title ?></titl...
figure002/masis
pages/login.php
PHP
gpl-2.0
618
using System.Collections; using System.Collections.Generic; using UnityEngine; using Uduino; public class MegaReadWrite : MonoBehaviour { // Be sure to select Arduino MEGA as board type // If your board is not detected, increase Discover delay to 1.5s or more. int pin14; int digitalPin42; void ...
BeAnotherLab/The-Machine-to-be-Another-Unity
Assets/Uduino/Examples/Advanced/Arduino Mega/MegaReadWrite.cs
C#
gpl-2.0
1,806
/* * This file is part of MetaTheme. * Copyright (c) 2004 Martin Dvorak <jezek2@advel.cz> * * MetaTheme 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 opt...
Icenowy/metatheme
toolkits/java/metatheme/MetaThemeMenuItemUI.java
Java
gpl-2.0
6,011
/* Copyright (C) 2003 - 2016 by David White <dave@whitevine.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either v...
Dugy/wesnoth-names
src/leader_scroll_dialog.cpp
C++
gpl-2.0
9,320
/** \file * SVG <feSpecularLighting> implementation. * */ /* * Authors: * hugo Rodrigues <haa.rodrigues@gmail.com> * Jean-Rene Reinhard <jr@komite.net> * Abhishek Sharma * * Copyright (C) 2006 Hugo Rodrigues * 2007 authors * * Released under GNU GPL, read the file 'COPYING' for more info...
danieljabailey/inkscape_experiments
src/filters/specularlighting.cpp
C++
gpl-2.0
11,839
<?php //include_once "inc/header.php"; ?> <!-- Content top –––––––––––––––––––––––––––––––––––––––––––––––––– --> <div class="content"> <div class="container"> <div class="row"> <div class="twelve columns"><!-- Top info --> <div class="infotop"> <p>Deftly tailored f...
kris120197/sklad
application/views/shop/template/b002.php
PHP
gpl-2.0
25,990
/* * Copyright (C) 2011-2021 Project SkyFire <https://www.projectskyfire.org/> * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2021 MaNGOS <https://www.getmangos.eu/> * Copyright (C) 2006-2014 ScriptDev2 <https://github.com/scriptdev2/scriptdev2/> * * This program is free ...
ProjectSkyfire/SkyFire.548
src/server/scripts/EasternKingdoms/BlackrockMountain/BlackrockSpire/boss_shadow_hunter_voshgajin.cpp
C++
gpl-2.0
3,515
/** * Copyright 2014 Red Hat, Inc. * * This software is licensed to you under the GNU General Public * License as published by the Free Software Foundation; either version * 2 of the License (GPLv2) or (at your option) any later version. * There is NO WARRANTY for this software, express or implied, * including t...
dustints/katello
engines/bastion/test/content-views/details/content-view-versions.controller.test.js
JavaScript
gpl-2.0
2,686
<?php /* ----------------------------------------------------------------- * $Id: create_pdf.php 1457 2015-04-21 09:38:44Z akausch $ * Copyright (c) 2011-2021 commerce:SEO by Webdesign Erfurt * http://www.commerce-seo.de * ------------------------------------------------------------------ * based on: ...
commerceseo/v2next
admin/create_pdf.php
PHP
gpl-2.0
9,473
/****************************************************************************** * * This file is part of canu, a software program that assembles whole-genome * sequencing reads into contigs. * * This software is based on: * 'Celera Assembler' (http://wgs-assembler.sourceforge.net) * the 'kmer package' ...
sgblanch/canu
src/AS_UTL/splitToWords.H
C++
gpl-2.0
4,157
<?php /** * @package fairy * the default content for monniya style */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header"> <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> <div class="post-meta"> <?php setPostViews(get_the_ID()); fairy_posted_on(); ?> <...
monniya/wordpress
wp-content/themes/fairy/content-single.php
PHP
gpl-2.0
734
using System.Data; using System.Linq; namespace Travelling.DataLayer.DatabaseTypes { public class SqlServerCEDatabaseType : DatabaseType { public override string BuildPageQuery(long skip, long take, PagingHelper.SQLParts parts, ref object[] args) { var sqlPage = string.Format("{0}\n...
binlyzhuo/travelling
src/Travelling.DataLayer/DatabaseTypes/SqlServerCEDatabaseType.cs
C#
gpl-2.0
1,054
using System; using System.Collections.Generic; using System.Text; using System.Linq; using AKMII.DMRA.Common; using AKMII.DMRA.DataAccess; using AKMII.DMRA.Business.Rule; namespace AKMII.DMRA.Business.Management { public class OrderManager { private OrderAccessor orderAccessor; ...
limao4223127/NCR_Pay
Agent Lead Spanish/AKMII.DMRA.Business/Management/OrderManager.cs
C#
gpl-2.0
9,471
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston 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. This progra...
smeny/JPC
src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fsub_ST5_ST1.java
Java
gpl-2.0
2,064
<?php /* * Copyright 2014 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
palasthotel/grid-wordpress-box-social
vendor/google/apiclient-services/src/Google/Service/GKEHub/SetIamPolicyRequest.php
PHP
gpl-2.0
1,222
package com.survivorserver.Dasfaust.WebMarket.mojang.http; public class HttpBody { private String bodyString; public HttpBody(String bodyString) { this.bodyString = bodyString; } public byte[] getBytes() { return bodyString != null ? bodyString.getBytes() : new byte[0]; } }
Dasfaust/WebMarket
src/main/java/com/survivorserver/Dasfaust/WebMarket/mojang/http/HttpBody.java
Java
gpl-2.0
316
<?php namespace Akeeba\Engine\Postproc\Connector\Amazon\Guzzle\Service\Description; use Akeeba\Engine\Postproc\Connector\Amazon\Guzzle\Common\ToArrayInterface; /** * Interface defining data objects that hold the information of an API operation */ interface OperationInterface extends ToArrayInterface { const TY...
jug-berlin/joomla.berlin
administrator/components/com_akeeba/engine/Postproc/Connector/Amazon/Guzzle/Service/Description/OperationInterface.php
PHP
gpl-2.0
3,801
using System; using System.Drawing; using Sdl.Desktop.IntegrationApi.Interfaces; namespace Sdl.Community.InSource.Notifications { public class InSourceCommand : IStudioNotificationCommand { private readonly Action action; public event EventHandler CanExecuteChanged; public InSourceCommand(Action action) { ...
sdl/Sdl-Community
InSource/Notifications/InSourceCommand.cs
C#
gpl-2.0
614
<?php namespace PoradnikPiwny\Entities\Proxies\__CG__\PoradnikPiwny\Entities; /** * THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE. */ class BeerSearchConnection extends \PoradnikPiwny\Entities\BeerSearchConnection implements \Doctrine\ORM\Proxy\Proxy { private $_entityPersister; privat...
deallas/PoradnikPiwny
library/PoradnikPiwny/Entities/Proxies/__CG__PoradnikPiwnyEntitiesBeerSearchConnection.php
PHP
gpl-2.0
2,930
<script type="text/javascript" src=" http://api.sandbox.premium-itc.com/js/pitc.wapi.js"></script> <script language="javascript"> /*var pitc; // Build pitc only once: may be included in both parent and child pages (function ($) { if (pitc === undefined) { pitc = {}; pitc.wapi = {}; ...
Hellrikh/test
wp-content/plugins/tarificateur/templates/tarificateur-show-ccn-prevoyance.php
PHP
gpl-2.0
6,136
<?php /* core/themes/classy/templates/block/block.html.twig */ class __TwigTemplate_bfe7de7029fe23539e40b1b3d2a1fb03458b678ab1f31a91b772626576939d2c extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->bl...
ijisthee/dr8_c1_prd
sites/default/files/php/twig/5950fd5a54b19_block.html.twig_IN1I9oXrcwZUfj1L4CZRKjtGc/e-KEHTy1bHxjQyEJEUjjaTyko65jzTOpXNmtkgttEp0.php
PHP
gpl-2.0
6,068
<?php /** * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * * @author Myeongjin <aranet100@gmail.com> */ $lang['menu'] = '주간 사용자 로그인/로그아웃'; $lang['date'] = '날짜'; $lang['ip'] = 'IP 주소'; $lang['action'] = '행동'; $lang['range'] ...
ofsole/dokuwiki
lib/plugins/loglog/lang/ko/lang.php
PHP
gpl-2.0
636
# -*- coding: utf-8 -*- """ uds.warnings ~~~~~~~~~~~~ :copyright: Copyright (c) 2015, National Institute of Information and Communications Technology.All rights reserved. :license: GPL2, see LICENSE for more details. """ import warnings def deprecated(func): """This is a decorator which can be used to mark func...
nict-isp/uds-sdk
uds/warnings.py
Python
gpl-2.0
979
/* Copyright (C) 2022, Specify Collections Consortium * * Specify Collections Consortium, Biodiversity Institute, University of Kansas, * 1345 Jayhawk Boulevard, Lawrence, Kansas, 66045, USA, support@specifysoftware.org * * This program is free software; you can redistribute it and/or * modify it under the term...
specify/specify6
src/edu/ku/brc/specify/tools/schemalocale/SchemaLocalizerDlg.java
Java
gpl-2.0
43,764
/* * 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 grupp07.model; import java.util.ArrayList; import javafx.scene.paint.Color; import javafx.util.Pair; /** * * @...
henwist/OOM_lab2
src/grupp07/model/Player.java
Java
gpl-2.0
1,814
<?php /* * This file is part of EC-CUBE * * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. * * http://www.lockon.co.jp/ * * 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; ei...
RyotaKaji/eccube-2.4.1
html/admin/ownersstore/log.php
PHP
gpl-2.0
1,189
/** @file io/xmlparser.cc xml parsing class used in xmlreader.cc */ /////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2004 California Institute of Technology // Copyright (c) 2004-2007 University of Southern California // Rob Peters <https://github.com/rjpcal/> // // crea...
rjpcal/groovx
src/io/xmlparser.cc
C++
gpl-2.0
5,403
package org.wordpress.android.ui.notifications; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.support.v4.app.NotificationManagerCompat; import org.wordpress.android.push.GCMMessageService; /* * Clears the notification map when a user dismisse...
mzorz/WordPress-Android
WordPress/src/main/java/org/wordpress/android/ui/notifications/NotificationDismissBroadcastReceiver.java
Java
gpl-2.0
1,155
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace Zen.Massage.Site { public static class ClaimsHelpers { private static readonly string AdminClaim = "http://schemas.zenmassage.com/claims/administrator"; priv...
dementeddevil/zenmassage
src/Zen.Massage.Site/ClaimsHelpers.cs
C#
gpl-2.0
1,360
__author__ = 'dako' class SessionHelper: def __init__(self, app): self.app = app def login(self, username, password): wd = self.app.wd self.app.open_home_page() wd.find_element_by_name("user").click() wd.find_element_by_name("user").clear() wd.find_element_by_...
EvilDako/PyTraining
fixture/session.py
Python
gpl-2.0
1,421
package com.nowgroup.scspro.service.cat; import com.nowgroup.scspro.dto.cat.Storage; import com.nowgroup.scspro.dto.geo.State; import com.nowgroup.scspro.service.BaseService; public interface StorageService extends BaseService<Storage> { State getStateInStorage(int id); }
inspiraCode/scspro
scspro-parent/scspro_service/src/main/java/com/nowgroup/scspro/service/cat/StorageService.java
Java
gpl-2.0
279
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Computer_Drafter.Models { class MotherboardModel : PartModel { private List<string> amdChipsets; private List<string> intelChipsets; private string selChipset; ...
VesnaBrucoms/computer-drafter-wpf
Computer Drafter/Models/MotherboardModel.cs
C#
gpl-2.0
3,228
<?php /* Plugin Name: WordPress Backup to Dropbox Plugin URI: http://wpb2d.com Description: Keep your valuable WordPress website, its media and database backed up in Dropbox! Need help? Please email support@wpb2d.com Version: 4.5 Author: Michael De Wildt Author URI: http://www.mikeyd.com.au License: Copyright 2011-2015...
Rockdrill/intranet
wp-content/plugins/wordpress-backup-to-dropbox/wp-backup-to-dropbox.php
PHP
gpl-2.0
12,259
// Copyright (c) 2012- PPSSPP 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, version 2.0 or later versions. // This program is distributed in the hope that it will be useful, // b...
glaubitz/ppsspp-debian
Core/MIPS/x86/RegCache.cpp
C++
gpl-2.0
8,092
<?php use HRNParis\mediapartners as mediapartners; use HRNParis\main as main; include_once('controllers/mediapartners_main.php'); include_once('controllers/main.php'); $main = new main\main; $sponsors = new mediapartners\mediapartners_main; ?> <!doctype html> <html lang="en"> <head> <meta name="description" cont...
HRNIT/paris2015
press.php
PHP
gpl-2.0
23,265
//BE NAME DOOST #include <iostream> #include <string> #include <vector> #include <algorithm> #include <cmath> #include <set> #include <iostream> using namespace std; int main() { string a,b; cin>>a>>b; set <char> d; for(int i=0;i<a.size();i++) d.insert(a[i]); int B=0,C=0; for(int i=0;i<b.size();i++) { if(a...
hrmon/judges
SGU/accepted/p486.cpp
C++
gpl-2.0
470
package server.thread.systemSettingsThread; import java.io.IOException; import java.io.ObjectInputStream; import java.net.Socket; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.HashMap; import server.serverMain.serverMain; i...
wangchangshuai/fei_Q
server/src/server/thread/systemSettingsThread/setting_dealingThread.java
Java
gpl-2.0
1,584
<?php /** * Description of class-fscf-util * Utility class sets default variables, wp actions, and sanitize functions * Functions are called statically, so no need to instantiate the class * @authors Mike Challis and Ken Carlson */ class FSCF_Util { static $global_defaults, $form_defaults, $field_defaults; st...
dinhkk/viking_vietnam
wp-content/plugins/si-contact-form/includes/class-fscf-util.php
PHP
gpl-2.0
37,762
#!/usr/bin/env python # -*- coding: utf-8 -*- from time import gmtime, strftime import ephem import wx.calendar # Test # here = ephem.Observer() # here.lat = '-17.576166667' # here.lon = '-149.618575000' class App(wx.App): def OnInit(self): self.frame = MyFrame("Lunacy", (50, 60), (640, 220)) self.frame.Show() ...
wadda/Lunacy
lunacy.py
Python
gpl-2.0
10,999
// // ContractDescriptionGenerator.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // Atsushi Enomoto <atsushi@xamarin.com> // // Copyright (C) 2005-2007 Novell, Inc. http://www.novell.com // Copyright (C) 2011 Xamarin, Inc. http://xamarin.com // // Permission is hereby granted, free of charge, to any person ...
hardvain/mono-compiler
class/System.ServiceModel/System.ServiceModel.Description/ContractDescriptionGenerator.cs
C#
gpl-2.0
23,695
#include<cstdio> #include<cstring> #include<algorithm> #define maxn 1010 using namespace std; struct node { int len, weight; bool vis; node(int len = 0, int weight = 0, bool vis = false) :len(len), weight(weight), vis(vis){} }num[maxn]; int sum; bool cmp(node a, node b) { if (a.len == b.len) r...
sunmoyi/ACM
ACM 2015/零件分组.cpp
C++
gpl-2.0
933
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://lammps.sandia.gov/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC...
rbberger/lammps
src/MOLECULE/dihedral_opls.cpp
C++
gpl-2.0
10,302
var Class = { create: function() { return function() { //vararg this.initialize.apply(this, arguments); } } }; Color = Class.create(); Color.prototype = { red: 0, green: 0, blue: 0, initialize: function(r,g,b) { this.red = r; this.green = g; this.blue = b; } } function bench(x) { ...
hazzik/nashorn
test/examples/apply_to_call_benchmark.js
JavaScript
gpl-2.0
674
/****************************************************************************** * Copyright (C) 2007 by Anton Maksimenko * * antonmx@post.kek.jp * * * ...
antonmx/ctas
src/executables/rc2fd.cpp
C++
gpl-2.0
3,586
/* * Copyright (c) 2009, 2011, 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 ...
rjsingh/graal
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/StoreIndexedNode.java
Java
gpl-2.0
3,269
package net.demo.model; import javax.persistence.*; /** * Created by toannh on 10/9/14. */ @Entity @Table(name = "USER_ROLE") public class UserRole { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id; private String username; private String role; @OneToOne(cascade = CascadeType.ALL...
toannh/demo
src/main/java/net/demo/model/UserRole.java
Java
gpl-2.0
836
/** * Pennyworth - A new smarthome protocol. * Copyright (C) 2012 Dream-Crusher Labs LLC * * 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 ...
DCLMonk/Pennyworth
Server/Comm/SerialComm.cpp
C++
gpl-2.0
1,942
/*************************************************************************** qgshttptransaction.cpp - Tracks a HTTP request with its response, with particular attention to tracking HTTP redirect responses ------------------- ...
dakcarto/QGIS
src/core/qgshttptransaction.cpp
C++
gpl-2.0
16,693
package gof.behaviour.mediator; public class Colleague1 extends Colleague { public Colleague1(Mediator m){ super(m); } @Override public void action() { System.out.println("Colleague1"); } }
expleeve/GoF23
src/gof/behaviour/mediator/Colleague1.java
Java
gpl-2.0
218
#-------------------------------------------------- # Revision = $Rev: 20 $ # Date = $Date: 2011-08-05 20:42:24 +0200 (Fri, 05 Aug 2011) $ # Author = $Author: stefan $ #-------------------------------------------------- from pluginInterfaces import PluginFit, Parameter,leastsqFit import numpy as np class PluginFit...
wakalixes/sqldataplot
plugins/pluginFitSigmoidal.py
Python
gpl-2.0
1,665
package org.globalgamejam.maze.tweens; import aurelienribon.tweenengine.TweenAccessor; import com.badlogic.gdx.graphics.g2d.Sprite; public class SpriteTween implements TweenAccessor<Sprite> { public static final int BOUNCE = 1; public static final int ALPHA = 2; public static final int ROTATION = 3; @Override ...
MyRealityCoding/maze
maze/src/org/globalgamejam/maze/tweens/SpriteTween.java
Java
gpl-2.0
1,020
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package norm import ( "strings" "testing" ) type PositionTest struct { input string pos int buffer string // expected contents of reorderBuffer, if a...
chapuni/gcc
libgo/go/exp/norm/normalize_test.go
GO
gpl-2.0
24,941
<?php namespace RainLab\GoogleAnalytics; /** * The plugin.php file (called the plugin initialization script) defines the plugin information class. */ use System\Classes\PluginBase; class Plugin extends PluginBase { public function pluginDetails() { return [ 'name' => 'Google Analytics'...
imfaber/imfaber_v2
plugins/rainlab/googleanalytics/Plugin.php
PHP
gpl-2.0
2,066
#include "pessoa_cpp.hpp" Pessoa::Pessoa() { } Pessoa::Pessoa(QString nome, int idade, float altura) { this->setNome(nome); this->idade = idade; this->altura = altura; } Pessoa::~Pessoa() { qDebug() << "Deletando a pessoa " << this; } void Pessoa::setNome(QString nome) { this->nome = nome + "Foi...
Luccas-A/ecom008_2014_1_13211694
pessoa_cpp.cpp
C++
gpl-2.0
1,014
<?php /** * $ModDesc * * @version $Id: $file.php $Revision * @package modules * @subpackage $Subpackage. * @copyright Copyright (C) April 2051 JowWow.net <@emai:troy@jowwow.net>.All rights reserved. * @license GNU General Public License version 2 */ // no direct access defined('_JEXEC') or die; /** ...
N6REJ/JowSlider
libs/elements/loftoolbar.php
PHP
gpl-2.0
857
<?php /* * @package Montser Platform */ get_header( ); ?> <h2>エコ回収の実績</h2> <section class="contents" id=""> <div class="container"> <h3 class="twelvecol col last"> <span class="hl1">実績</span> <span class="hl2"><span>1</span></span> <span class="hl3">ただ今、エコ回収されています。</span> </h3> <!--#contents...
eleewinroader/mp-ecokaishu
wp-content/themes/ecokaishu/archive-accomplishment.php
PHP
gpl-2.0
7,011
<?php /** * Shortcode attributes * @var $atts * @var $style * @var $faq_cat * Shortcode class * @var $this WPBakeryShortCode_Faq */ $output = ''; $atts = vc_map_get_attributes( $this->getShortcode(), $atts ); extract( $atts ); $output = '<div class="">'; if($faq_cat == 0){ $args = ar...
jzornow/cotton_consulting
wp-content/themes/specular/vc_templates/faq.php
PHP
gpl-2.0
3,805
package sellpotato.sellpotato.Model; /** * @author Freddy * @version 1.0 * @created 08-ene-2015 19:29:24 */ public class IGoogleApiMaps { public IGoogleApiMaps(){ } public void finalize() throws Throwable { } public void DibujarRuta(){ } public double CombertirDireccionPunto(){ return 0; } }//end I...
pollorijas/SellPotato
SellPotato/app/src/main/java/sellpotato/sellpotato/Model/IGoogleApiMaps.java
Java
gpl-2.0
333
// IT lang variables tinyMCE.addToLang('',{ bold_desc : 'Grassetto (Ctrl+B)', italic_desc : 'Corsivo (Ctrl+I)', underline_desc : 'Sottolineato (Ctrl+U)', striketrough_desc : 'Barrato', justifyleft_desc : 'Allinea a sinistra', justifycenter_desc : 'Allinea al centro', justifyright_desc : 'Allinea a destra', j...
pzingg/saugus_elgg
_tinymce/jscripts/tiny_mce/langs/it.js
JavaScript
gpl-2.0
1,801
/* Copyright 2015 Roychoudhury, Abhishek */ package org.abhishek.fileanalytics.lifecycle; public interface Destroyable { void destroy(); boolean destroyed(); }
aroychoudhury/fileanalytics
src/main/java/org/abhishek/fileanalytics/lifecycle/Destroyable.java
Java
gpl-2.0
165
(function ($) { Drupal.viewsSlideshow = Drupal.viewsSlideshow || {}; /** * Views Slideshow Controls */ Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {}; /** * Implement the play hook for controls. */ Drupal.viewsSlideshowControls.play = function (options) { // Route the co...
mikeusry/HolidayInnAthens
hotel_athens_ga/js/js_i0lWZY61n-2X7sezox7DfNdyQ2tsrQFGHT9wlJhktj8.js
JavaScript
gpl-2.0
51,563
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- """ sha1Hash_test.py Unit tests for sha1.py """ from crypto.hash.sha1Hash import SHA1 import unittest import struct assert struct.calcsize('!IIIII') == 20, '5 integers should be 20 bytes' class SHA1_FIPS180_TestCases(unittest.TestCase): """ SHA-1...
dknlght/dkodi
src/script.module.cryptopy/lib/crypto/hash/sha1Hash_test.py
Python
gpl-2.0
2,199
<? session_start(); include "../config.php"; include "../includes/database.php"; include "hw_filemgr_class.php"; $path="../upload/0001/94598031"; $std_id=$_GET['account']; echo $_SESSION['std_id']; if($hw_id!="") $_SESSION['hw_id']=$hw_id; else $hw_id=$_SESSION['hw_id']; if($std_id=="")$std_id="s4598000"; ...
snowwolf725/Code-Homework-Grading-System
HW_Mgr/view.php
PHP
gpl-2.0
1,434
<?php $output = ''; $links = ''; if ($node->nid) { $children_list = eds_profile_book_children($node->nid); //echo '<pre>'; //var_dump($node); //echo '</pre>'; //exit; if ($prev = book_prev($node->book)) { // Previous page drupal_add_html_head_link(array('rel' => 'prev', 'href' => url($prev['hr...
Roma48/ekreative_test_task
sites/all/modules/edsuite/eds_profile/templates/eds_profile_book_children.tpl.php
PHP
gpl-2.0
2,079
/* * jQuery.liveFilter * * Copyright (c) 2009 Mike Merritt * * Forked by Lim Chee Aun (cheeaun.com) * */ (function($){ $.fn.liveFilter = function(inputEl, filterEl, options){ var defaults = { filterChildSelector: null, filter: function(el, val){ return $(el).text().toUpperCase().ind...
unicef/uPortal
sites/all/themes/uportal_backend_theme/scripts/plugins/jquery.liveFilter.js
JavaScript
gpl-2.0
1,210
#!C:\Users\SeanSaito\Dev\aviato\flask\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'kartograph.py==0.6.8','console_scripts','kartograph' __requires__ = 'kartograph.py==0.6.8' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('kartograph.py==0.6.8...
hrishioa/Aviato
flask/Scripts/kartograph-script.py
Python
gpl-2.0
364
# Copyright 2006 John Duda # This file is part of Infoshopkeeper. # Infoshopkeeper 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 any later version. # Infoshopkeeper ...
johm/infoshopkeeper
popups/checkout.py
Python
gpl-2.0
2,958
/** * The Forgotten Server - a free and open-source MMORPG server emulator * Copyright (C) 2014 Mark Samman <mark.samman@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; eithe...
EvilHero90/OTChronos
src/game.cpp
C++
gpl-2.0
154,982
from datetime import * from Tweetstream import * from UserAnalyser import * from TimeAnalyser import * import math import sys import pickle #Frequency over the common def load_list(filein): d = dict() for l in filein: l = eval(l) d[l[0]] = l[1] return d if __name__ == "__main__": follow = load_list(open(sys....
agdavis/contextual_features
gen_user_followers.py
Python
gpl-2.0
1,139