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
<?php # Database Configuration define( 'DB_NAME', 'wp_promedia' ); define( 'DB_USER', 'promedia' ); define( 'DB_PASSWORD', 'Hgcjr1nz4UG6M7kD4a2W' ); define( 'DB_HOST', '127.0.0.1' ); define( 'DB_HOST_SLAVE', '127.0.0.1' ); define('DB_CHARSET', 'utf8'); define('DB_COLLATE', 'utf8_unicode_ci'); $table_prefix = 'wp_'; # ...
clientrelation/promedia
wp-config.php
PHP
gpl-2.0
3,089
#ifndef _SS_CONSTS_HPP_ #define _SS_CONSTS_HPP_ #include "StrideSearchConfig.h" namespace StrideSearch { /// Meters per second to Kilometers per hour conversion factor static const Real MPS2KPH = 3.6; /// Knots to meters per second conversion factor static const Real KTS2MPS = 0.5144444; /// Nauti...
pbosler/StrideSearch
src/SSConsts.hpp
C++
gpl-2.0
1,435
<?php /* $Id$ osCmax e-Commerce http://www.oscmax.com Copyright 2000 - 2011 osCmax Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Cuénteselo a un amigo'); define('HEADING_TITLE', 'Háblele a un amigo sobre \'%s\''); define('FORM_TITLE_CUSTOMER_DETAILS', 'Sus datos'...
osCmax/oscmax2
catalog/includes/languages/espanol/tell_a_friend.php
PHP
gpl-2.0
1,742
package eu.ttbox.geoping.ui.admob; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import android.view.View; import com.google.android.gms.ads.AdListener; import com.google.android.gms.ads.AdR...
gabuzomeu/geoPingProject
geoPing/src/main/java/eu/ttbox/geoping/ui/admob/AdmobHelper.java
Java
gpl-2.0
7,327
package org.cohorte.utilities.security; /** * @author ogattaz * */ public class CXPassphraseBuilder { /** * @param aValue * @return * @throws InstantiationException * @throws CXPassphraseSchemeException */ public static IXPassphrase buildB64(final IXPassphrase aPassphrase) throws InstantiationExcept...
isandlaTech/cohorte-utilities
org.cohorte.utilities/src/org/cohorte/utilities/security/CXPassphraseBuilder.java
Java
gpl-2.0
2,174
#!/usr/bin/python """ Since functions are function instances you can wrap them Allow you to - modify arguments - modify function - modify results """ call_count = 0 def count(func): def wrapper(*args, **kw): global call_count call_count += 1 return func(*args, **kw) return wrapper def ...
hiteshagrawal/python
generator-decorator/decorator.py
Python
gpl-2.0
4,681
<?php // ini_set('display_errors','1'); function nzshpcrt_getcategoryform($catid) { global $wpdb,$nzshpcrt_imagesize_info; $product = $wpdb->get_row("SELECT * FROM `".WPSC_TABLE_PRODUCT_CATEGORIES."` WHERE `id`=$catid LIMIT 1",ARRAY_A); $output = ''; $output .= "<div class='editing_this_group form_table'>"; ...
alx/SimplePress
wp-content/plugins/wp-e-commerce/admin-form-functions.php
PHP
gpl-2.0
37,491
////////////////////////////////////////////////////////////////////////////// // oxygensizegrip.cpp // bottom right size grip for borderless windows // ------------------- // // Copyright (c) 2009 Hugo Pereira Da Costa <hugo.pereira@free.fr> // // Permission is hereby granted, free of charge, to any person obtaining a...
mgottschlag/kwin-tiling
kwin/clients/oxygen/oxygensizegrip.cpp
C++
gpl-2.0
6,748
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace gokiTagDB { public class Settings { public static float[] zoomLevels = new float[7] { .25f, .50f, .75f, 1.0f, 1.25f, 1.5f, 2.0f }; public static int[] updateIntervals = n...
gokiburikin/gokiTagDB
gokiTagDB/Settings.cs
C#
gpl-2.0
3,782
using JBB.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JBB.DAL.EF { public class JBInitializer : System.Data.Entity.DropCreateDatabaseIfModelChanges<JBContext> { protected override void Seed(JBContext context) { //base.S...
relyah/JB
JobBourseBackend/JBB.DAL.EF/JBInitializer.cs
C#
gpl-2.0
1,266
package com.tachys.moneyshare.dataaccess.db.contracts; import android.provider.BaseColumns; public class SettlementContract { public SettlementContract() { } public static class SettlementEntry implements BaseColumns { public static final String TABLE_NAME = "settlement"; public static fi...
StrawHatPirates/MoneyShare
src/app/src/main/java/com/tachys/moneyshare/dataaccess/db/contracts/SettlementContract.java
Java
gpl-2.0
502
<?php namespace UmnLib\Core\XmlRecord; class NlmCatalog extends Record { // Must be an id type that uniquely identifies the record, // usually the record-creating organization's id. public static function primaryIdType() { return 'nlm'; } // Must return array( 'type' => $type, 'value' => $value ) pa...
UMNLibraries/xml-record-php
src/NlmCatalog.php
PHP
gpl-2.0
1,268
my_inf = float('Inf') print 99999999 > my_inf # False my_neg_inf = float('-Inf') print my_neg_inf < -99999999 # True
jabbalaci/PrimCom
data/python/infinity.py
Python
gpl-2.0
118
/* ---------------------------------------------------------------------- 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...
pdebuyl/lammps
src/RIGID/fix_rigid.cpp
C++
gpl-2.0
91,201
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ResourceList.cs" company="Tygertec"> // Copyright © 2016 Ty Walls. // All rights reserved. // </copyright> // <summary> // Defines the ResourceList type. // </summary> // --...
tygerbytes/ResourceFitness
TW.Resfit.Core/ResourceList.cs
C#
gpl-2.0
2,524
package mnm.mcpackager.gui; import java.io.File; import javax.swing.filechooser.FileFilter; public class JarFilter extends FileFilter { @Override public boolean accept(File f) { if (f.isDirectory()) return true; return getExtension(f).equalsIgnoreCase("jar"); } @Override...
killjoy1221/MCPatcher-Repackager
src/main/java/mnm/mcpackager/gui/JarFilter.java
Java
gpl-2.0
656
<?php /** --------------------------------------------------------------------- * app/lib/core/BaseModel.php : * ---------------------------------------------------------------------- * CollectiveAccess * Open-source collections management software * ----------------------------------------------------------------...
avpreserve/nfai
admin/app/lib/core/BaseModel.php
PHP
gpl-2.0
355,871
/**************************************************************** * This file is distributed under the following license: * * Copyright (C) 2010, Bernd Stramm * * 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 ...
berndhs/chronicon
chronicon/src/shortener.cpp
C++
gpl-2.0
3,400
<?php // $Id$ require_once("../../config.php"); require_once("lib.php"); require_once($CFG->libdir.'/gradelib.php'); $id = required_param('id', PARAM_INT); // course if (! $course = get_record("course", "id", $id)) { error("Course ID is incorrect"); } require_course_login($cour...
IOC/moodle19
mod/assignment/index.php
PHP
gpl-2.0
4,258
void RedboxFactory::add (Addr addr, ActionType t) { switch (t) { case ActionType::RD8 : return add_read (addr, 1); case ActionType::RD16 : return add_read (addr, 2); case ActionType::RD32 : return add_read (addr, 4); case ActionType::RD64 : return add_read (addr, 8); case A...
cesaro/dpu
src/redbox-factory.hpp
C++
gpl-2.0
3,512
/* * ===================================================================================== * * Filename: bmp_pixmap_fill.cpp * * Description: Fill the whole bmp with one color. * * Version: 1.0 * Created: 2009年04月11日 16时45分26秒 * Revision: none * Compiler: gcc * * ...
iven/dip
src/bmp_pixmap/bmp_pixmap_fill.cpp
C++
gpl-2.0
1,440
'use strict'; angular.module('eshttp') .filter('unixtostr', function() { return function(str){ var dt; dt = Date.create(str * 1000).format('{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}'); if (dt == "Invalid Date") { return 'N/A'; } else { return dt; } }; }...
fangli/eshttp
eshttp_webmanager/cloudconfig/static/filters/unixtostr.js
JavaScript
gpl-2.0
323
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\Microsoft; use PHPExiftool\Driver\AbstractTag; class D...
Droces/casabio
vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/Microsoft/Duration.php
PHP
gpl-2.0
707
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colordialog', 'en-gb', { clear: 'Clear', highlight: 'Highlight', options: 'Colour Options', selected: 'Selected Colour', titl...
WBCE/WebsiteBaker_CommunityEdition
wbce/modules/ckeditor/ckeditor/plugins/colordialog/lang/en-gb.js
JavaScript
gpl-2.0
344
<?php if(!defined('kernel_entry') || !kernel_entry) die('Not A Valid Entry Point'); require_once('include/data/cls_table_view_base.php'); class cls_view_drupal_registry_d855ab16_bba7_43de_b448_7e9b9d78edec extends cls_table_view_base { private $p_column_definitions = null; function __construct() { $a = func_get_...
dl4gbe/kernel
include/data/table_views/cls_view_drupal_registry_d855ab16_bba7_43de_b448_7e9b9d78edec.php
PHP
gpl-2.0
2,247
//-------------------------------------------------------------------------- // Copyright (C) 2015-2016 Cisco and/or its affiliates. All rights reserved. // // 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 Fr...
Ghorbani-Roozbahan-Gholipoor-Dashti/Snort
src/profiler/rule_profiler.cc
C++
gpl-2.0
19,967
// Copyright (C) 2015 Dave Griffiths // // 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 distri...
nebogeo/jellyfish
src/scheme/interface.cpp
C++
gpl-2.0
22,783
#include "TreeFactory.h" #include "RobotFactory.h" #include "Robot.h" #include "kinematic/Tree.h" #include "kinematic/Enums.h" #include <vector> #include <list> using namespace matrices; using namespace manip_core::enums; using namespace manip_core::enums::robot; namespace factories { const Vector3 unitx(1, 0, 0);...
heyang123/ManipulabilitySampleTestapp
src/manipulability_core/kinematic/RobotFactory.cpp
C++
gpl-2.0
20,561
<!DOCTYPE html> <html lang="en"> <head> <?php ////////////////////////////////////////////////////// ///Copyright 2015 Luna Claudio,Rebolloso Leandro./// //////////////////////////////////////////////////// // //This file is part of ARSoftware. //ARSoftware is free software; you can redistribute it and/or //modify it...
claudioLuna/arsoftware
modulos/back-end/marcas/listarMarcas.php
PHP
gpl-2.0
10,483
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Rosegarden A MIDI and audio sequencer and musical notation editor. Copyright 2000-2018 the Rosegarden development team. Other copyrights also apply to some parts of this work. Please see the AUTHORS file and individ...
bownie/RosegardenW
gui/editors/segment/TrackButtons.cpp
C++
gpl-2.0
38,763
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Navigation; namespace SupCarLocator.ViewModel { class PageViewModelBase : BaseViewModel { protected NavigationContext NavigationContext; protected Navigation...
Dioud/SupCarLocator
SupCarLocator/SupCarLocator/ViewModel/PageViewModelBase.cs
C#
gpl-2.0
605
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------...
eastoncat/cm.eastoncat
sites/all/modules/contrib/civicrm/CRM/Contribute/DAO/Premium.php
PHP
gpl-2.0
10,862
<?php /** * EXHIBIT A. Common Public Attribution License Version 1.0 * The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); * you may not use this file except in compliance with the License. You may obtain a copy of the License at * http://www.oxwall.org/licen...
locthdev/shopthoitrang-oxwall
ow_system_plugins/base/classes/event_collector.php
PHP
gpl-2.0
2,181
package org.mo.game.editor.face.apl.logic.report; import org.mo.jfa.common.page.FAbstractFormPage; public class FWebReportPage extends FAbstractFormPage{ private static final long serialVersionUID = 1L; private String _tempName; public String getTempName(){ return _tempName; } public vo...
favedit/MoPlatform
mo-gm-develop/src/editor-face/org/mo/game/editor/face/apl/logic/report/FWebReportPage.java
Java
gpl-2.0
389
import xml.etree.ElementTree as ET import requests from flask import Flask import batalha import pokemon import ataque class Cliente: def __init__(self, execute = False, ip = '127.0.0.1', port = 5000, npc = False): self.ip = ip self.port = port self.npc = npc if (execute): self.iniciaBatalha() def writ...
QuartetoFantastico/projetoPokemon
cliente.py
Python
gpl-2.0
6,564
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; using System.Threading; using System.Net; using System.Collections; using System.Web; using System.Xml; using System.Reflecti...
jtreml/fsxget
FSX Google Earth Tracker/Form1.cs
C#
gpl-2.0
158,843
<?php /** * Created by PhpStorm. * User: Anh Tuan * Date: 7/24/14 * Time: 3:45 PM */ global $theme_options_data; $logo_id = $theme_options_data['thim_logo']; // The value may be a URL to the image (for the default parameter) // or an attachment ID to the selected image. $logo_src = $logo_id; // For the default va...
yogaValdlabs/shopingchart
wp-content/themes/aloxo/inc/header/header_3.php
PHP
gpl-2.0
7,564
# attack_csrf.rb # model of a cross-site request forgery attack require 'sdsl/view.rb' u = mod :User do stores set(:intentsA, :URI) invokes(:visitA, # user only types dest address that he/she intends to visit :when => [:intentsA.contains(o.destA)]) end goodServer = mod :TrustedServer do sto...
kyessenov/poirot
lib/sdsl/case_studies/attack_csrf.rb
Ruby
gpl-2.0
2,814
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
rakesh-sankar/PHP-Framework-Benchmark
zend-1.11.2/library/Zend/Log/Writer/Syslog.php
PHP
gpl-2.0
6,950
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; using SirenOfShame.Lib; using SirenOfShame.Lib.Watcher; using log4net; namespace GoServices { public class GoBuildStatus : BuildStatus { private readonly IEnumerab...
MikeMangialardi/SirenOfShame-WithGoPlugin
GoServices/GoBuildStatus.cs
C#
gpl-2.0
2,921
/* * 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 ch.quantasy.iot.mqtt.tinkerforge.device.deviceHandler.IMU.status; import ch.quantasy.iot.mqtt.base.AHandler; import ch.quantas...
knr1/ch.bfh.mobicomp
ch.quantasy.iot.gateway.tinkerforge/src/main/java/ch/quantasy/iot/mqtt/tinkerforge/device/deviceHandler/IMU/status/AllDataPeriodStatus.java
Java
gpl-2.0
848
package com.karniyarik.common.util; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import org.apache.commons.lang.StringUtils; import com.karniyarik.common.KarniyarikRepository; import com.karniyarik.common.config.system.DeploymentConfig; import com.karniyarik.common.config...
Karniyarik/karniyarik
karniyarik-common/src/main/java/com/karniyarik/common/util/IndexMergeUtil.java
Java
gpl-2.0
2,586
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading; using Newtonsoft.Json; namespace lit { class HttpTransferModule : ITransferModule { public const string ConnectionRequest = "subscribe"; public const string StatusReq...
klapantius/lit
lit/Transfer/HttpTransferModule.cs
C#
gpl-2.0
4,828
// This file is part of par2cmdline (a PAR 2.0 compatible file verification and // repair tool). See http://parchive.sourceforge.net for details of PAR 2.0. // // Copyright (c) 2003 Peter Brian Clements // // par2cmdline is free software; you can redistribute it and/or modify // it under the terms of the GNU Gener...
milowg/Par-N-Rar
par2-cmdline/creatorpacket.cpp
C++
gpl-2.0
2,972
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.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. * ...
lordaragorn/infinity_335
src/game/UnitAuraProcHandler.cpp
C++
gpl-2.0
228,258
# -*- coding: utf-8 -*- """ nidaba.plugins.leptonica ~~~~~~~~~~~~~~~~~~~~~~~~ Plugin accessing `leptonica <http://leptonica.com>`_ functions. This plugin requires a liblept shared object in the current library search path. On Debian-based systems it can be installed using apt-get .. code-block:: console # apt-g...
OpenPhilology/nidaba
nidaba/plugins/leptonica.py
Python
gpl-2.0
8,246
<?php /** * @version 0.0.6 * @package com_jazz_mastering * @copyright Copyright (C) 2012. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @author Artur Pañach Bargalló <arturictus@gmail.com> - http:// */ defined('_JEXEC') or die; jimport('jooml...
lion01/weprob
components/com_jazz_mastering/models/cadencias.php
PHP
gpl-2.0
2,698
#include "Card.h" #include "Game.h" #include <iostream> #include <array> #include <string> #include <vector> #include <algorithm> #include <random> #include <cstdlib> #include <ctime> using namespace std; using namespace zks::game::card; int test_deck() { CardDeck deck(1); CardDeck d1, d2; deck.shuffle(); cou...
jimzshi/game
src/card/main.cpp
C++
gpl-2.0
1,866
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ namespace Respect\Validation\Rules\SubdivisionCode; use Respect\V...
PaymentHighway/woocommerce-gateway-paymenthighway
includes/vendor/respect/validation/library/Rules/SubdivisionCode/TcSubdivisionCode.php
PHP
gpl-2.0
1,048
<?php /* @particles/assets.html.twig */ class __TwigTemplate_299c183811cc71a2e64a3daab6e1f6fca93d29687649f11bd1c1431814d9f4f7 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("@nucleus/...
JozefAB/neoacu
cache/gantry5/g5_hydrogen/twig/f3/f36bf52c1bc96552cfcecedfc074a62f36b34d410df8d972a61f3bb3c60d3ea1.php
PHP
gpl-2.0
19,381
# -*- coding: utf-8 -*- # from rest_framework import viewsets from rest_framework.decorators import action from rest_framework.exceptions import MethodNotAllowed from rest_framework.response import Response from common.const.http import POST, PUT from common.mixins.api import CommonApiMixin from common.permissions im...
skyoo/jumpserver
apps/tickets/api/ticket.py
Python
gpl-2.0
2,796
/* * Copyright (C) 2014-2017 StormCore * * 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...
Ragebones/StormCore
src/server/scripts/Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp
C++
gpl-2.0
18,489
using System; using System.Collections.Generic; using System.Data; using System.Data.SQLite; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; namespace VariablesManager { public partial class Form1 : Form { private string _selectedTm; private...
sdl/Sdl-Community
VariablesManager/VariablesManager/Form1.cs
C#
gpl-2.0
13,948
<?php include_once "./_common.php"; //pc버전에서 모바일가기 링크 타고 들어올 경우 세션을 삭제한다. 세션이 삭제되면 모바일 기기에서 PC버전 접속시 자동으로 모바일로 이동된다. /extend/g4m.config.php 파일 참고. if($_GET['from'] == 'pc'){ set_session("frommoblie", ""); } include_once './_head.php'; // 최신글 $sql = " select bo_table, bo_subject,bo_m_latest_skin from {$g4['board_ta...
typeofb/SmartTongsin
m/index.php
PHP
gpl-2.0
690
package org.mo.game.editor.face.apl.logic.form; import com.lowagie.text.Document; import com.lowagie.text.DocumentException; import com.lowagie.text.Element; import com.lowagie.text.Font; import com.lowagie.text.HeaderFooter; import com.lowagie.text.PageSize; import com.lowagie.text.Paragraph; import com.lowagie.text....
favedit/MoPlatform
mo-gm-develop/src/editor-face/org/mo/game/editor/face/apl/logic/form/FWebFormPdfServlet.java
Java
gpl-2.0
5,836
<?php # Lifter007: TODO # Lifter003: TODO # Lifter010: TODO /* * Copyright (C) 2009 - Marcus Lunzenauer <mlunzena@uos.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...
ipf/studip
app/controllers/authenticated_controller.php
PHP
gpl-2.0
2,304
/** * * Copyright (c) 2009-2016 Freedomotic team http://freedomotic.com * * This file is part of Freedomotic * * 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, or (at yo...
abollaert/freedomotic
framework/freedomotic-core/src/main/java/com/freedomotic/api/InjectorApi.java
Java
gpl-2.0
1,096
<?php /** * @package Zen Library * @subpackage Zen Library * @author Joomla Bamboo - design@joomlabamboo.com * @copyright Copyright (c) 2013 Joomla Bamboo. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @version 1.0.2 */ /* * Adapted from Mi...
fenix20113/homework3
libraries/zen/uri/rewriter.php
PHP
gpl-2.0
7,740
package com.lonebytesoft.thetaleclient.api.model; import android.os.Parcel; import android.os.Parcelable; import com.lonebytesoft.thetaleclient.api.dictionary.CompanionSpecies; import com.lonebytesoft.thetaleclient.util.ObjectUtils; import org.json.JSONException; import org.json.JSONObject; /** * @author Hamster ...
hamsterxc/TheTaleClient
app/src/main/java/com/lonebytesoft/thetaleclient/api/model/CompanionInfo.java
Java
gpl-2.0
2,364
package tasslegro.base; import java.io.IOException; import java.net.URI; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import org.apache.http.annotation.NotThreadSafe; import org.apache.http.client.ClientProtocolException; import org.apache.http.client....
kaczla/TAS
Client/src/main/java/tasslegro/base/Http_Delete.java
Java
gpl-2.0
2,256
<div class="header-title"> <?php if(is_home()){ ?> <?php $blog_text = of_get_option('blog_text'); ?> <?php if($blog_text){?> <h1><?php echo of_get_option('blog_text'); ?></h1> <?php } else { ?> <h1><?php _e('Blog','theme1599');?></h1> <?php } ?> <?php } else { ?> <?php if (have_posts(...
yosagarrane/testsite
wp-content/themes/65_65fd76e4b7c1e295a14f4b0cdfb23039/title.php
PHP
gpl-2.0
822
package com.fjaviermo.dropdroid; import java.io.ByteArrayOutputStream; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import andr...
fjaviermo/dropdroid
app/src/com/fjaviermo/dropdroid/CoverImageDialogFragment.java
Java
gpl-2.0
1,793
(function() { var preview = true; var themeShortcuts = { insert: function(where) { switch(where) { case 'st_button_more': var href = jQuery("#btn_more_src").val(); var what = '[st_button_more href="'+href+'"]'; break; case 'st_button': var text = jQuery("#text").val()...
vinciteng/bookitforward
wp-content/plugins/SupremeShortcodes/js/editor_plugin.js
JavaScript
gpl-2.0
66,280
require 'rails_helper' BitcoinConf = Rails.configuration.payment def give_bitcoins(amount, address, confirm=false) http = Net::HTTP.start(BitcoinConf['host'], BitcoinConf['port']) req = Net::HTTP::Post.new("/debug/give/#{amount}/#{address}") req.basic_auth BitcoinConf['user'], BitcoinConf['password'] http.reque...
turbio/skeem.club
spec/helpers/bitcoin_helper_spec.rb
Ruby
gpl-2.0
4,191
<?php /** * WordPress基础配置文件。 * * 本文件包含以下配置选项:MySQL设置、数据库表名前缀、密钥、 * WordPress语言设定以及ABSPATH。如需更多信息,请访问 * {@link http://codex.wordpress.org/zh-cn:%E7%BC%96%E8%BE%91_wp-config.php * 编辑wp-config.php}Codex页面。MySQL设置具体信息请咨询您的空间提供商。 * * 这个文件被安装程序用于自动生成wp-config.php配置文件, * 您可以手动复制这个文件,并重命名为“wp-config.php”,然后填入相关信息。 * ...
jianganglu/wordpress-example
wp-config.php
PHP
gpl-2.0
3,091
<?php namespace MediaWiki\Extension\AbuseFilter\Variables; use ContentHandler; use Diff; use Language; use MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterHookRunner; use MediaWiki\Extension\AbuseFilter\Parser\AFPData; use MediaWiki\Extension\AbuseFilter\TextExtractor; use MediaWiki\Permissions\PermissionManager; us...
wikimedia/mediawiki-extensions-AbuseFilter
includes/Variables/LazyVariableComputer.php
PHP
gpl-2.0
15,514
/* Yet Another Forum.NET * Copyright (C) 2006-2013 Jaben Cargman * http://www.yetanotherforum.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 2 * of the License, or...
chiadem/YET
YetAnotherForum.NET/controls/smileys.ascx.cs
C#
gpl-2.0
5,905
/* * Copyright (C) 2002-2015 The DOSBox Team * * 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 p...
petmac/DOSBox
src/dos/drives.cpp
C++
gpl-2.0
8,709
class UsersController < ApplicationController before_filter :init before_action :require_login def index @users = User.all.where.not(email: current_user.email).order('created_at DESC') end def create @user = User.new(user_params) if @user.save @activity = Activity.new({'user_id' => current...
bl4ckdu5t/vitabiotics
app/controllers/users_controller.rb
Ruby
gpl-2.0
1,808
<?php /** * @file * @brief sigplus Image Gallery Plus metadata extraction * @author Levente Hunyadi * @version 1.3.0 * @remarks Copyright (C) 2009-2010 Levente Hunyadi * @remarks Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html * @see http://hunyadi.info.hu/projects/sigplus */ /* * s...
lucashappy/ibmodels
plugins/content/sigplus/metadata.php
PHP
gpl-2.0
8,735
package MultiplyStrings; /** * Created by gzhou on 6/1/15. */ public class Solution { public static void main(String[] args) { System.out.println(multiply("123", "20")); } public static String multiply(String num1, String num2) { String n1 = new StringBuilder(num1).reverse().toString();...
hyattgra/leetcode
MultiplyStrings/Solution.java
Java
gpl-2.0
1,253
# # bootloader_advanced.py: gui advanced bootloader configuration dialog # # Jeremy Katz <katzj@redhat.com> # # Copyright 2001-2002 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU # library public license. # # You should have received a copy of the GNU Library Public License # alo...
sergey-senozhatsky/anaconda-11-vlan-support
iw/bootloader_advanced_gui.py
Python
gpl-2.0
3,639
import Backbone from 'backbone'; export default class Router extends Backbone.Router { get routes() { return { '(/)': 'home', 'login': 'login', 'access_token=*token': 'token', 'activity': 'activity', 'swim': 'swim', 's...
clementprdhomme/misfit-dashboard
src/js/router.js
JavaScript
gpl-2.0
443
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using TournamentMaker.BO; using TournamentMaker.DAL.Interfaces; namespace TournamentMaker.BP.Tests { [TestClass] public class MatchBPTests { ...
ideesdumidi/TournamentMaker
TournamentMaker.BP.Tests/MatchBPTests.cs
C#
gpl-2.0
5,067
// Copyright (C) 1999,2000 Bruce Guenter <bruceg@em.ca> // // 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. // // Thi...
hetznerZApackages/vmailmgr
lib/misc/response_message.cc
C++
gpl-2.0
1,297
<?php /** * Created by PhpStorm. * User: Tu TV * Date: 14/10/2015 * Time: 1:12 AM */ require_once 'unirest/Unirest.php'; /** * Get content from url via unirest.io * * @param $url * * @return mixed */ function fries_file_get_contents( $url ) { $obj_unirest = Unirest\Request::get( $url, null, null ); $cont...
fries-uet/maps-service
laravel/app/Library/Maps/helpers/file-get-contents/file-get-contents.php
PHP
gpl-2.0
374
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php wp_title('', true, 'right'); ?> <?php bloginfo('name'); ?></...
natemcguire/wtf
wp-content/themes/wtf/header-inner.php
PHP
gpl-2.0
1,904
/* * Copyright (c) 2013, 2015, 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 ...
BunnyWei/truffle-llvmir
graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ReinterpretNode.java
Java
gpl-2.0
4,000
#!/usr/bin/env python # ********************************************************************** # # Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved. # # This copy of Ice is licensed to you under the terms described in the # ICE_LICENSE file included in this distribution. # # *************************************...
joshmoore/zeroc-ice
cpp/test/Freeze/dbmap/run.py
Python
gpl-2.0
1,137
<?php /** * HTML helper class * * This class was developed to provide some standard HTML functions. * * @package VirtueMart * @subpackage Helpers * @author RickG * @copyright Copyright (c) 2004-2008 Soeren Eberhardt-Biermann, 2009 VirtueMart Team. All rights reserved. */ // Check to ensure this file is includ...
kenbabu/emproj
administrator/components/com_virtuemart/helpers/html.php
PHP
gpl-2.0
12,034
#!/usr/bin/python import os import sys import re # file name unified by the following rule: # 1. always save the osm under ../osmFiles directory # 2. the result automatically generate to ../trajectorySets # 3.1. change variable "osmName", or # 3.2. use command argument to specify osm file name # 4. this script genera...
nesl/mercury
Services/Mapping/fixProgram/script.py
Python
gpl-2.0
1,925
package com.cf.tradeprocessor.web.rest.response; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; public class JsonResponse { private Boolean success; @JsonInclude(Include.NON_NULL) private Object result; public JsonResponse() { } private J...
camposer/cf
trade-processor/src/main/java/com/cf/tradeprocessor/web/rest/response/JsonResponse.java
Java
gpl-2.0
855
/*jslint browser: true */ /*global jQuery: true */ /** * jQuery Cookie plugin * * Copyright (c) 2010 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ // TODO JsDoc /** * Create a cookie...
tungcan1501/hdtv
sites/default/files/js/js_FxzL6y_vG1Dd9B-MsolHGVlVoN_lbUIGopU6FCDDV9U.js
JavaScript
gpl-2.0
29,612
<?php /** * Profiler showing execution trace. * * 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...
flamusdiu/mediawiki
includes/profiler/ProfilerSimpleTrace.php
PHP
gpl-2.0
2,680
# OpenSSL is more stable then ssl # but OpenSSL is different then ssl, so need a wrapper import sys import os import OpenSSL SSLError = OpenSSL.SSL.WantReadError import select import time import socket import logging ssl_version = '' class SSLConnection(object): """OpenSSL Connection Wrapper""" def __ini...
lichuan261/wuand
XX-Net/goagent/3.1.49/local/openssl_wrap.py
Python
gpl-2.0
4,813
<?php namespace Guzzle\Common\Filter; /** * Check if the supplied variable is a string * * @author Michael Dowling <michael@guzzlephp.org> */ class StringFilter extends AbstractFilter { /** * {@inheritdoc} */ protected function filterCommand($command) { if (!is_string($command)) { ...
wakeless-net/currinda-wordpress-login
vendor/guzzle/guzzle/src/Guzzle/Common/Filter/StringFilter.php
PHP
gpl-2.0
467
<?php return array( 'id' => 'jkreativ_page_fssingle_video', 'types' => array('page'), 'title' => 'Jkreativ Fullscreen Single video', 'priority' => 'high', 'template' => array( array( 'name' => 'video_type', 'type' => 'select', 'label' => 'Video Type', 'defau...
OpenDoorBrewCo/odbc-wp-prod
wp-content/themes/jkreativ-themes/admin/metabox/page/fssinglevideo.php
PHP
gpl-2.0
1,351
<?php chdir('../../'); require_once ('pika-danio.php'); pika_init(); $report_title = 'LSC Interim Case Services'; $report_name = "lsc_interim"; $base_url = pl_settings_get('base_url'); if(!pika_report_authorize($report_name)) { $main_html = array(); $main_html['base_url'] = $base_url; $main_html['page_title']...
brianlawlor/ocm
blawlor/reports/lsc_interim/report.php
PHP
gpl-2.0
6,045
<?php namespace Gh\Gloggiheime\Controller; use FluidTYPO3\Flux\Controller\AbstractFluxController; /** * My custom ContentController to render my package's Content templates. * * @package Gloggiheime * @subpackage Controller */ class ContentController extends AbstractFluxController { /** * bookingRepository ...
boris85/gloggiheime
Classes/Controller/ContentController.php
PHP
gpl-2.0
2,227
/* 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/datamodel/busrules/BaseTreeBusRules.java
Java
gpl-2.0
58,365
<?php /** * @package WordPress Plugin * @subpackage CMSMasters Content Composer * @version 1.1.0 * * Profiles Post Type * Created by CMSMasters * */ class Cmsms_Profiles { function Cmsms_Profiles() { $cmsms_option = cmsms_get_global_options(); $profile_labels = array( 'name' => __('...
d8ta/CMS_Skiclub
wp-content/plugins/cmsms-content-composer/inc/profile/profiles-posttype.php
PHP
gpl-2.0
4,628
<?php namespace Goetas\XML\XSDReader\Schema\Element; interface ElementSingle extends ElementItem { /** * @return \Goetas\XML\XSDReader\Schema\Type\Type */ public function getType(); /** * * @return int */ public function getMin(); /** * * @param int $qualified ...
DLoBoston/simply.fund
wp-content/plugins/charitable-authorize-net/includes/libraries/anet_php_sdk/vendor/goetas/xsd-reader/src/Schema/Element/ElementSingle.php
PHP
gpl-2.0
870
// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include <QComboBox> #include <QDialogButtonBox> #include <QGroupBox> #include <QHBoxLayout> #include <QMessageBox> #include <QPushButton> #include <QTabWidget> #include <QVBoxLayout> #include "DolphinQt2/Co...
Freyaday/dolphin
Source/Core/DolphinQt2/Config/Mapping/MappingWindow.cpp
C++
gpl-2.0
10,097
<?php /** * Created by PhpStorm. * User: Angga Ari Wijaya * Date: 9/12/2015 * Time: 1:04 AM */ namespace DecoratorPattern; class VisaPayment implements PaymentMethod { public function getDescription() { return "Visa description"; } }
anggadarkprince/design-pattern
DecoratorPattern/VisaPayment.php
PHP
gpl-2.0
262
import sys,os #sys.path.append(os.path.join(os.path.dirname(__file__), '../../..')) #from ethosgame.ethos.level import Level from ..level import Level #from ethosgame.ethos.gameobject import GameObject from ..gameobject import GameObject #from ethosgame.ethos.drawnobject import DrawnObject from ..drawnobject import Dra...
Berulacks/ethosgame
ethos/levels/level0.py
Python
gpl-2.0
2,904
<?php /* Template Name: Nos fromages * * This is your custom page template. You can create as many of these as you need. * Simply name is "page-whatever.php" and in add the "Template Name" title at the * top, the same way it is here. * * When you create your page, you can just select the template and viola, you ...
LSERRE/RichesMonts
wp-content/themes/richesmonts/page-nos-fromages.php
PHP
gpl-2.0
2,538
<?php /** * Sample implementation of the Custom Header feature. * * You can add an optional custom header image to header.php like so ... * <?php if ( get_header_image() ) : ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> <img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_cus...
sachyya/portfolio
wp-content/themes/sachyya/inc/custom-header.php
PHP
gpl-2.0
2,080
<?php require_once(sfConfig::get('sf_lib_dir').'/filter/base/BaseFormFilterPropel.class.php'); /** * CatArt filter form base class. * * @package sf_sandbox * @subpackage filter * @author Your name here * @version SVN: $Id: sfPropelFormFilterGeneratedTemplate.php 16976 2009-04-04 12:47:44Z fabien $ */...
luelher/gescob
lib/filter/profit/base/BaseCatArtFormFilter.class.php
PHP
gpl-2.0
3,869
require File.join(File.dirname(__FILE__), 'test_helper') class PointTest < Test::Unit::TestCase context "A point" do setup do @point = Pathfinder::Point.new 1, 2 end should "respond to #x and #y" do assert_equal 1, @point.x assert_equal 2, @point.y end should "convert to an...
madriska/pathfinder
test/point_test.rb
Ruby
gpl-2.0
809
package org.iq4j.webcam; import java.awt.Canvas; import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.KeyEventDispatcher; import ja...
anadollu/iq4j-javacv
iq4j-javacv/src/main/java/org/iq4j/webcam/CanvasPanel.java
Java
gpl-2.0
10,318