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 /** * Description of Resume * * @author greg * @package */ class Wpjb_Form_Abstract_Resume extends Daq_Form_ObjectAbstract { protected $_custom = "wpjb_form_resume"; protected $_key = "resume"; protected $_model = "Wpjb_Model_Resume"; public function _exclude() { if($...
Sparxoo/chime
wp-content/plugins/wpjobboard/application/libraries/Form/Abstract/Resume.php
PHP
gpl-2.0
7,924
/* * This file is part of PowerDNS or dnsdist. * Copyright -- PowerDNS.COM B.V. and its contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * In addition, for t...
grahamhayes/pdns
pdns/packetcache.cc
C++
gpl-2.0
12,146
<?php /** * BackPress Styles Procedural API * * @since 2.6.0 * * @package WordPress * @subpackage BackPress */ /** * Initialize $wp_styles if it has not been set. * * @global WP_Styles $wp_styles * * @since 4.2.0 * * @return WP_Styles WP_Styles instance. */ function wp_styles() { global $wp_styles; if...
SKLCC/website
wp-includes/functions.wp-styles.php
PHP
gpl-2.0
7,435
// TransformPatternDlg.cpp : implementation file #include <psycle/host/detail/project.private.hpp> #include "TransformPatternDlg.hpp" #include "Song.hpp" #include "ChildView.hpp" #include "MainFrm.hpp" namespace psycle { namespace host { static const char notes[12][3]={"C-","C#","D-","D#","E-","F-","F#","G-","G#","A...
eriser/psycle
psycle/src/psycle/host/TransformPatternDlg.cpp
C++
gpl-2.0
9,403
/* ======================================================================== * Bootstrap: alert.js v3.0.3 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2013 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "L...
nick144/Tournaments
js/bootstrap.js
JavaScript
gpl-2.0
36,381
var express = require('express'), Weapon = require('../models/Weapon'), router = express.Router(); // HOMEPAGE router.get('/', function(req, res) { res.render('index', { title:'Weapons Guide | Fire Emblem | Awakening', credit: 'Matt.Dodson.Digital', msg: 'Hello Word!' }); }); /...
dodsonm/fire-emblem-awakening
routes/index.js
JavaScript
gpl-2.0
717
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 Intel Corporation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright noti...
cyjseagull/SHMA
zsim-nvmain/pin_kit/source/tools/ToolUnitTests/secname_app.cpp
C++
gpl-2.0
1,776
<?php /* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */ namespace Icinga\Module\Monitoring\DataView; class Contactgroup extends DataView { /** * {@inheritdoc} */ public function isValidFilterTarget($column) { if ($column[0] === '_' && preg_match('/^_(?:host|service)_/',...
yodaaut/icingaweb2
modules/monitoring/library/Monitoring/DataView/Contactgroup.php
PHP
gpl-2.0
2,396
<h2><?php print $node->title; ?></h2> <h3><?php print content_format('field_subtitle', $field_subtitle[0]); ?></h3> <? print l('Back', 'node/'.$node->field_case_project[0]['nid'], array('html'=>TRUE, 'attributes'=>array('class'=>'back-link'))); ?> <? print content_format('field_case_intro_title', $field_case_intro_ti...
iTTemple/html
2012/themes/garland/node-case_study.tpl.php
PHP
gpl-2.0
2,796
package ms.aurora.browser.wrapper; import org.apache.log4j.Logger; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.tidy.Tidy; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.transf...
rvbiljouw/aurorabot
src/main/java/ms/aurora/browser/wrapper/HTML.java
Java
gpl-2.0
3,499
<?php /** * Plugin Name: Custom Register Form Plugin * Plugin URI: http://tamanhquyen.com/register-form-for-wordpress.html * Description: Create Custom Register Form Frontend Page * Version: 1.0 * Author: TA MANH QUYEN * Author URI: http://tamanhquyen.com */ global $wp_version; if(version_compare($wp_version,'3...
Nguyenkain/hanghieusales
wp-content/plugins/tamanhquyen_register/plugin_funtion.php
PHP
gpl-2.0
1,849
<?php class grid_assignments_progress{ private $db = false; private $user; private $edit_color = '#FFFFFF'; public function __construct(){ $this->db = Connection::getDB(); $this->user = new administrator(); if($this->user->role=='pupil' || $this->user->role=='parent'){ ...
ya6adu6adu/schoolmule
connectors/grid_assignments_progress.php
PHP
gpl-2.0
30,338
/* * Copyright (C) 2004 * Swiss Federal Institute of Technology, Lausanne. All rights reserved. * * Developed at the Autonomous Systems Lab. * Visit our homepage at http://asl.epfl.ch/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
poftwaresatent/sfl2
npm/gfx/TrajectoryDrawing.hpp
C++
gpl-2.0
1,294
/* * This file is part of Soprano Project. * * Copyright (C) 2007-2010 Sebastian Trueg <trueg@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the...
KDE/soprano
server/servercore.cpp
C++
gpl-2.0
7,513
package es.uniovi.asw.gui.util.form.validator.specific; import es.uniovi.asw.gui.util.form.validator.composite.CheckAllValidator; import es.uniovi.asw.gui.util.form.validator.simple.LengthValidator; import es.uniovi.asw.gui.util.form.validator.simple.NumberValidator; public class TelephoneValidator extends CheckAllVa...
Arquisoft/Trivial5a
game/src/main/java/es/uniovi/asw/gui/util/form/validator/specific/TelephoneValidator.java
Java
gpl-2.0
507
Package.describe({ summary: "Next bike list package" }); Package.on_use(function (api) { api.use(['nb','underscore', 'templating', 'nb-autocomplete', 'nb-markers', 'nb-infowindow', 'nb-directions', 'nb-geocoder', 'nb-markerlabel', 'nb-citypicker'], ['client']); api.add_files(['list.html', 'list.js'], ['client'])...
wolasss/nextbike-poland
packages/nb-list/package.js
JavaScript
gpl-2.0
326
<?php /** * * @package phpBB Extension - Senky Post Links * @copyright (c) 2014 Jakub Senko * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * Swedish translation by/ * Svensk översättning av: Tage Strandell, Webmaster vulcanriders-sweden.org * */ if (!defined('IN_PHPBB')) { exit; }...
Senky/phpbb-ext-postlinks
language/sv/acp.php
PHP
gpl-2.0
755
package com.greenpineyu.fel.function.operator; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.greenpineyu.fel.Ex...
zbutfly/albacore
expr-fel-import/src/main/java/com/greenpineyu/fel/function/operator/Dot.java
Java
gpl-2.0
7,449
/* ***************************************************************************** * The method lives() is based on Xitari's code, from Google Inc. * * 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 Soft...
mgbellemare/Arcade-Learning-Environment
src/games/supported/ChopperCommand.cpp
C++
gpl-2.0
5,077
package gui; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.List; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.ListSelectionModel; import...
Arquisoft/Trivial_i1b
Game/src/main/java/gui/ListPlayers.java
Java
gpl-2.0
4,299
package sabstracta; /** * Represents an or operation in the syntax tree. * */ public class Or extends ExpresionBinariaLogica { public Or(Expresion _izq, Expresion _dch) { super(_izq, _dch); } /** * Returns the instruction code. */ @Override protected String getInst() { return "or"; }...
igofunke/LPM
src/sabstracta/Or.java
Java
gpl-2.0
325
<?php /** * @package JFBConnect * @copyright (c) 2009-2015 by SourceCoast - All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @version Release v7.1.1 * @build-date 2016/11/18 */ defined('JPATH_PLATFORM') or die; jimport('joomla.form.helper'); class...
Creativetech-Solutions/joomla-easysocial-network
administrator/components/com_jfbconnect/models/fields/providerloginbutton.php
PHP
gpl-2.0
3,688
package org.oguz.servlet; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebInitParam; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpS...
ogz00/Servlet-SimpleServletProject
src/org/oguz/servlet/XMLServlet.java
Java
gpl-2.0
2,759
package fr.npellegrin.xebia.mower.parser.model; /** * Parsed position. */ public class PositionDefinition { private int x; private int y; private OrientationDefinition orientation; public int getX() { return x; } public void setX(final int x) { this.x = x; } public int getY() { return y; } public...
npellegrin/MowItNow
src/main/java/fr/npellegrin/xebia/mower/parser/model/PositionDefinition.java
Java
gpl-2.0
550
#!/usr/bin/env python3 import sys import numpy as np from spc import SPC import matplotlib.pyplot as plt def plot(files, fac=1.0): for f in files: if f.split('.')[-1] == 'xy': td = np.loadtxt(f) plt.plot(td[:, 0], np.log(1. / td[:, 1]) * fac, label=f) elif f.split('.')[-1]...
JHeimdal/HalIR
Test/plotf.py
Python
gpl-2.0
564
<?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\CanonVRD; use PHPExiftool\Driver\AbstractTag; class La...
Droces/casabio
vendor/phpexiftool/phpexiftool/lib/PHPExiftool/Driver/Tag/CanonVRD/LandscapeRawContrast.php
PHP
gpl-2.0
739
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
muromec/qtopia-ezx
src/libraries/qtopia/qmimetypedata.cpp
C++
gpl-2.0
8,816
package org.iproduct.iptpi.domain.movement; import static java.lang.Math.PI; import static java.lang.Math.abs; import static java.lang.Math.atan; import static java.lang.Math.cbrt; import static java.lang.Math.cos; import static java.lang.Math.hypot; import static java.lang.Math.min; import static java.lang.M...
iproduct/course-social-robotics
iptpi-demo/src/main/java/org/iproduct/iptpi/domain/movement/MovementCommandSubscriber.java
Java
gpl-2.0
25,456
/* * Copyright (C) 2011 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...
rex-xxx/mt6572_x201
packages/apps/Launcher2/src/com/android/launcher2/Cling.java
Java
gpl-2.0
11,008
package rb; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Random; import java.util.Timer; import java.util.TimerTask; import javax.persistence.TypedQuery; import rb.helpers.ClassificationResult; import rb.helpers.DBHandler; import rb.helpers.StemmerHelper; import ...
elggem/redditbot
src/rb/Poster.java
Java
gpl-2.0
11,681
<?php class WebApplication extends CWebApplication { public $keywords; public $description; }
daixianceng/microwall
protected/components/WebApplication.php
PHP
gpl-2.0
95
using System; using Server.Misc; using Server.Network; using System.Collections; using Server.Items; using Server.Targeting; namespace Server.Mobiles { public class KhaldunZealot : BaseCreature { public override bool ClickTitle{ get{ return false; } } public override bool ShowFameTitle{ get{ return false; } } ...
brodock/sunuo
scripts/legacy/Mobiles/Monsters/Humanoid/Melee/KhaldunZealot.cs
C#
gpl-2.0
3,472
<?php /** * WordPress CRON API * * @package WordPress */ /** * Schedules a hook to run only once. * * Schedules a hook which will be executed once by the Wordpress actions core at * a time which you specify. The action will fire off when someone visits your * WordPress site, if the schedule time h...
pravinhirmukhe/flow1
wp-includes/cron.php
PHP
gpl-2.0
11,000
#!/usr/bin/env python ## tumblrserv.py implements a Tumblr (http://www.tumblr.com) markup parsing ## engine and compatible webserver. ## ## Version: 0.2 final ## ## Copyright (C) 2009 Jeremy Herbert ## Contact mailto:jeremy@jeremyherbert.net ## ## This program is free software; you can redistribute i...
jeremyherbert/TumblrServ
tumblrserv.py
Python
gpl-2.0
3,373
/* * Copyright 2006-2016 The MZmine 3 Development Team * * This file is part of MZmine 3. * * MZmine 3 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 opti...
DrewG/mzmine3
src/main/java/io/github/mzmine/util/FileNameUtil.java
Java
gpl-2.0
2,482
<?php locate_template( array( 'mobile/header-mobile.php' ), true, false ); ?> <?php if ( have_posts() ) { ?> <?php while ( have_posts() ) { the_post(); ?> <div <?php post_class( 'tbm-post tbm-padded' ) ?> id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <?php the_content(); ?> <?php wp...
zdislaw/phenon_wp
wp-content/themes/fastfood/mobile/loop-page-mobile.php
PHP
gpl-2.0
1,989
<?php /** * @author Linkero * @filename fselink.class.php * @copyright 2014 * @version 0.1b */ class fseLink { protected $userKey = "INSERT_USER_KEY"; //User Key protected $groupKey = "INSERT_GROUP_KEY"; //Group Key protected $groupId = "INSERT_GROUP_ID"; //Group ID /* --------DO NOT EDIT BELOW...
linkerovx9/FSELink
fselink.class.php
PHP
gpl-2.0
7,357
<?php /** * @file * The PHP page that serves all page requests on a Drupal installation. * * The routines here dispatch control to the appropriate handler, which then * prints the appropriate page. * * All Drupal code is released under the GNU General Public License. * See COPYRIGHT.txt and LICENSE.txt. */ ...
sagarw/lantra
index.php
PHP
gpl-2.0
532
package ch.dritz.remedy2redmine; import java.io.File; import java.io.IOException; import ch.dritz.common.Config; import ch.dritz.remedy2redmine.modules.SyncModule; /** * Main class for Remedy2Redmine * @author D.Ritz */ public class Main { private static void usage(String msg) { if (msg != null) System.ou...
dr-itz/redmine_remedy_view
java/src/main/java/ch/dritz/remedy2redmine/Main.java
Java
gpl-2.0
1,560
<?php /*------------------------------------------------------------------------ # com_universal_ajaxlivesearch - Universal AJAX Live Search # ------------------------------------------------------------------------ # author Janos Biro # copyright Copyright (C) 2011 Offlajn.com. All Rights Reserved. # @license - h...
knigherrant/decopatio
components/com_universal_ajax_live_search/helpers/caching.php
PHP
gpl-2.0
2,863
package com.gilecode.langlocker; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public stati...
amogilev/ide-lang-locker
eclipse-plugin/src/com/gilecode/langlocker/Activator.java
Java
gpl-2.0
1,423
<?php /* +---------------------------------------------------------------------------+ | OpenX v2.8 | | ========== | | ...
soeffing/openx_test
www/api/v2/common/BasePublisherService.php
PHP
gpl-2.0
2,377
/*************************************************************************** qgsgeometryduplicatenodescheck.cpp --------------------- begin : September 2015 copyright : (C) 2014 by Sandro Mani / Sourcepole AG email : smani at sourcepole dot ch **************...
GeoCat/QGIS
src/plugins/geometry_checker/checks/qgsgeometryduplicatenodescheck.cpp
C++
gpl-2.0
4,484
'use strict'; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
uraway/markov-chain-mecab
lib/index.js
JavaScript
gpl-2.0
3,365
package org.iatoki.judgels.jerahmeel.user.item; public final class UserItem { private final String userJid; private final String itemJid; private final UserItemStatus status; public UserItem(String userJid, String itemJid, UserItemStatus status) { this.userJid = userJid; this.itemJid ...
judgels/jerahmeel
app/org/iatoki/judgels/jerahmeel/user/item/UserItem.java
Java
gpl-2.0
567
#ifndef SC_BOOST_MPL_BOOL_HPP_INCLUDED #define SC_BOOST_MPL_BOOL_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl...
channgo2203/MAG
systemc-2.3.0_modified/src/sysc/packages/boost/mpl/bool.hpp
C++
gpl-2.0
1,115
/*************************************************************************** * Copyright (C) 2012 by David Edmundson <kde@davidedmundson.co.uk> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
Ziemin/ktp-text-ui
logviewer/message-view.cpp
C++
gpl-2.0
9,205
field_dict={'ROME-FIELD-01':[ 267.835895375 , -30.0608178195 , '17:51:20.6149','-30:03:38.9442' ], 'ROME-FIELD-02':[ 269.636745458 , -27.9782661111 , '17:58:32.8189','-27:58:41.758' ], 'ROME-FIELD-03':[ 268.000049542 , -28.8195573333 , '17:52:00.0119','-28:49:10.4064' ], 'ROME-FIE...
ytsapras/robonet_site
scripts/rome_fields_dict.py
Python
gpl-2.0
1,964
<?php include("config_mynonprofit.php"); include("connect.php"); //Start session session_start(); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Sanitize the POST values $fname = htmlentities($_POST['fname']); $lname = htmlentities($_POST['lname']); $email = h...
Enjabain/My-NP
register-exec.php
PHP
gpl-2.0
3,724
<script type="text/javascript"> jQuery(document).ready(function() { // type of media jQuery('#type').change(function() { switch (jQuery(this).val()) { case '<?php echo MEDIA_TYPE_EMAIL; ?>': jQuery('#smtp_server, #smtp_helo, #smtp_email').closest('li').removeClass('hidden'); jQuery('#exec_path, #g...
TamasSzerb/zabbix
frontends/php/app/views/administration.mediatype.edit.js.php
PHP
gpl-2.0
2,993
/************************************************** * Funkcje związane z geolokalizacją GPS **************************************************/ WMB.Comment = { /** * Funkcja dodająca nowy komentarz do zgłoszenia * * @method onAddSubmit */ onAddSubmit: function(marker_id) { if (WMB.User.isLoggedIn()) { if ($(...
airwaves-pl/WroclawskaMapaBarier
web/lib/js/wmb.comment.js
JavaScript
gpl-2.0
5,969
<?php /** * * Share On extension for the phpBB Forum Software package. * * @copyright (c) 2015 Vinny <https://github.com/vinny> * @license GNU General Public License, version 2 (GPL-2.0) * */ /** * DO NOT CHANGE */ if (!defined('IN_PHPBB')) { exit; } if (empty($lang) || !is_array($lang)) { $lang = array(); } // DEVEL...
vinny/share-on
language/el/shareon.php
PHP
gpl-2.0
1,990
# -*- coding: utf-8 -*- from scrapy.spider import Spider from scrapy.selector import Selector from kgrants.items import KgrantsItem from scrapy.http import Request import time class GrantsSpider(Spider): name = "grants" allowed_domains = ["www.knightfoundation.org"] pages = 1 base_url = 'http://www.k...
poderomedia/kfdata
kgrants/spiders/grants.py
Python
gpl-2.0
3,682
/** * */ package co.innovate.rentavoz.services.almacen.impl; import java.io.Serializable; import java.util.Date; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import co.innovate.rentavoz.model.Tercero; import co.innovate.rentav...
kaisenlean/rentavoz3
src/main/java/co/innovate/rentavoz/services/almacen/impl/CuotaServiceImpl.java
Java
gpl-2.0
2,414
;(function() { /** Used to access the Firebug Lite panel (set by `run`). */ var fbPanel; /** Used as a safe reference for `undefined` in pre ES5 environments. */ var undefined; /** Used as a reference to the global object. */ var root = typeof global == 'object' && global || this; /** Method and objec...
Great-Bee/NVWA-Client
js/bower_components/lodash/perf/perf.js
JavaScript
gpl-2.0
60,255
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace Git.Storage.Common { public enum EEquipmentStatus { /// <summary> /// 闲置 /// </summary> [Description("闲置")] Unused = 1, /// <summary> ...
hechenqingyuan/gitwms
Git.Storage.Common/EEquipmentStatus.cs
C#
gpl-2.0
794
/* Behaviour v1.1 by Ben Nolan, June 2005. Based largely on the work of Simon Willison (see comments by Simon below). Small fixes by J.Dobrowolski for Front Accounting May 2008 Description: Uses css selectors to apply javascript behaviours to enable unobtrusive javascript in html documents. ...
w2pc/front_accounting
js/behaviour.js
JavaScript
gpl-2.0
8,278
package oo.Prototype; /* * A Symbol Loader to register all prototype instance */ import java.util.*; public class SymbolLoader { private Hashtable symbols = new Hashtable(); public SymbolLoader() { symbols.put("Line", new LineSymbol()); symbols.put("Note", new NoteSymbol()); } ...
longluo/DesignPatterns
src/oo/Prototype/SymbolLoader.java
Java
gpl-2.0
385
package com.djtu.signExam.util; import java.io.IOException; import com.djtu.signExam.model.support.EntityGenerator; /** * use this class to bootstrap the project. * There is no need for developers to write model classes themselves. * Once there are some updates or modified parts in the database, * Please run th...
doomdagger/CompetitionHub
src/main/java/com/djtu/signExam/util/Bootstrap.java
Java
gpl-2.0
625
<?php /* * acf_get_setting * * This function will return a value from the settings array found in the acf object * * @type function * @date 28/09/13 * @since 5.0.0 * * @param $name (string) the setting name to return * @return (mixed) */ function acf_get_setting( $name, $default = null ) { // vars $settin...
thomasbodin/baltazare-test
wp-content/plugins/advanced-custom-fields-pro/api/api-helpers.php
PHP
gpl-2.0
54,778
<?xml version="1.0" encoding="UTF-8" ?> <!-- If you are working with a multi language form keep the order! <option lang="de">Deutschland</option> <option lang="de">Groß Britannien</option> <option lang="en">Germany</option> <option lang="en">United Kingdom</option> If you don't keep the order and the us...
bjoernmainz/simple-contact-form
config/select_countries.xml.php
PHP
gpl-2.0
755
import { Query } from "../services"; export interface QueryState { queries?: Query[]; loading?: boolean; error?: String; visibilityFilter?: string; }
mickem/nscp
web/src/state/query.state.ts
TypeScript
gpl-2.0
161
<?php /** * Plugin Installer List Table class. * * @package WordPress * @subpackage List_Table * @since 3.1.0 * @access private */ class WP_Plugin_Install_List_Table extends WP_List_Table { function ajax_user_can() { return current_user_can('install_plugins'); } function prepare_items() { include( ABSPA...
igum/www.gamer31.ru
wp-admin/includes/class-wp-plugin-install-list-table.php
PHP
gpl-2.0
7,870
package com.ues21.ferreteria.login; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springf...
srubbiolo/SYSO
src/main/java/com/ues21/ferreteria/login/LoginController.java
Java
gpl-2.0
2,293
<?php /** * The Sidebar containing the primary and secondary widget areas. * * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ ?> <div id="primary" class="widget-area" role="complementary"> <ul class="xoxo"> <?php /* When we call the dynamic_sidebar() function, it'll spit out * th...
ddksaku/twis
wp-content/themes/twis/sidebar-en.php
PHP
gpl-2.0
654
<?php load_libraries(array('fields/passwordfield')); PhangoVar::$model['user_group']=new Webmodel('user_group'); PhangoVar::$model['user_group']->set_component('name', 'CharField', array(255)); PhangoVar::$model['user_group']->set_component('permissions', 'SerializeField', array()); PhangoVar::$model['user']=new We...
webtsys/phango2
modules/users/models/models_users.php
PHP
gpl-2.0
1,137
<?php /** * @file * Contains \Drupal\migrate_drupal\Tests\MigrateFullDrupalTestBase. */ namespace Drupal\migrate_drupal\Tests; use Drupal\migrate\MigrateExecutable; use Drupal\simpletest\TestBase; /** * Test helper for running a complete Drupal migration. */ abstract class MigrateFullDrupalTestBase extends Mig...
havran/Drupal.sk
docroot/drupal/core/modules/migrate_drupal/src/Tests/MigrateFullDrupalTestBase.php
PHP
gpl-2.0
3,949
<?php /** * @package Joomla.UnitTest * @subpackage Filesystem * * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ JLoader::register('JPath', JPATH_PLATFORM . '/joomla/filesystem/path.php'); /*...
vothequang113/Joomla
tests/suites/unit/joomla/filesystem/JPathTest.php
PHP
gpl-2.0
3,267
/* This code is part of Freenet. It is distributed under the GNU General * Public License, version 2 (or at your option any later version). See * http://www.gnu.org/ for further details of the GPL. */ /* Freenet 0.7 node. */ package freenet.node; import static freenet.node.stats.DataStoreKeyType.CHK; import static f...
nextgens/fred
src/freenet/node/Node.java
Java
gpl-2.0
177,426
/* Copyright (C) 2014 InfiniDB, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but W...
mariadb-corporation/mariadb-columnstore-engine
versioning/BRM/sessionmanagerserver.cpp
C++
gpl-2.0
10,706
package org.adempiere.impexp.impl; /* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2015 metas GmbH * %% * 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 ...
klst-com/metasfresh
de.metas.business/src/main/java/org/adempiere/impexp/impl/ImportProcessFactory.java
Java
gpl-2.0
5,016
#pragma once #include <MellowPlayer/Presentation/Notifications/ISystemTrayIcon.hpp> #include <QMenu> #include <QSystemTrayIcon> namespace MellowPlayer::Domain { class ILogger; class IPlayer; class Setting; class Settings; } class SystemTrayIconStrings : public QObject { Q_OBJECT public: QStri...
ColinDuquesnoy/MellowPlayer
src/lib/presentation/include/MellowPlayer/Presentation/Notifications/SystemTrayIcon.hpp
C++
gpl-2.0
1,712
package irc.bot; import java.io.*; public class OutHandler implements Runnable { OutHandler(Connection connection) { this.connection = connection; } private Connection connection; public void run() {} }
propheh/IRCBot
irc/bot/OutHandler.java
Java
gpl-2.0
225
<?php function edd_rp_settings( $settings ) { $suggested_download_settings = array( array( 'id' => 'edd_rp_header', 'name' => '<strong>' . __('Recommended Products', 'edd-rp-txt') . '</strong>', 'desc' => '', 'type' => 'header', 'size' => 'regular' ), array( 'id' => 'edd_rp_display_single...
SelaInc/eassignment
wp-content/plugins/edd-recommended-products/includes/settings.php
PHP
gpl-2.0
2,572
define(function(require) { var Model = require("web/common/model"); var SpsrModel = Model.extend({ idAttribute: "recordId", defaults: { name: "SDI1", kzck: 0, ydsd: 0, srjkxh: 0, ld: 123, dbd: 124, bhd: 125, sppy: 126, czpy: 127 }, urls: { "create": "spsr.psp", "update":...
huang147300/EDSFrontEnd
js/index/pz/spsr/spsr_model.js
JavaScript
gpl-2.0
413
/** * Copyright (c) 2008-2012 Indivica Inc. * * This software is made available under the terms of the * GNU General Public License, Version 2, 1991 (GPLv2). * License details are available via "indivica.ca/gplv2" * and "gnu.org/licenses/gpl-2.0.html". */ package org.oscarehr.document.web; import java.io.File; ...
hexbinary/landing
src/main/java/org/oscarehr/document/web/SplitDocumentAction.java
Java
gpl-2.0
8,755
<?php if (!defined('TFUSE')) exit('Direct access forbidden.'); /** * Class UPDATER. Check for new versions of the theme, framework, or modules. Installs if found. */ class TF_UPDATER extends TF_TFUSE { public $_the_class_name = 'UPDATER'; public $themefuse_update = false; public $check_...
reginas/callan-consulting
wp-content/themes/interakt-parent/framework/core/UPDATER.php
PHP
gpl-2.0
8,320
from sys import argv script, input_file = argv def print_all(f): print f.read() def rewind(f): f.seek(0) def print_a_line(line_count, f): print line_count, f.readline() current_file = open(input_file) print "First let's print the whole file:\n" print_all(current_file) print "Now let's rewind, kind o...
maxiee/LearnPythonTheHardWayExercises
ex20.py
Python
gpl-2.0
601
<?php session_start(); $_SESSION["Status"]=0; include("dbconn.php"); require ('../xajax.inc.php'); include("../dbinfo.inc.php"); $memid=$_SESSION['userId']; $_SESSION["userid"]=$memid; function viewuseralbums($userid,$jumpto) {//list all the albums owned by the user $objResponse = new xajaxRespon...
avinash/nuzimazz
Image_edit/SelectAlbum.php
PHP
gpl-2.0
11,067
package edu.ucsd.ncmir.WIB.client.core.components; import com.google.gwt.user.client.ui.Widget; import edu.ucsd.ncmir.WIB.client.core.message.Message; import edu.ucsd.ncmir.WIB.client.core.message.MessageListener; import edu.ucsd.ncmir.WIB.client.core.message.MessageManager; import edu.ucsd.ncmir.WIB.client.core.messa...
imclab/WebImageBrowser
WIB/src/java/edu/ucsd/ncmir/WIB/client/core/components/HorizontalSlider.java
Java
gpl-2.0
3,160
# The absolute path of the main script(p4_tools.rb) ROOT = File.expand_path('..', File.dirname(__FILE__)) # The absolute path of the folder which contains the command files COMMANDS_ROOT = ROOT + '/commands' # The absolute path of the folder which contains the custom command files CUSTOM_COMMANDS_ROOT = COMMANDS_ROOT +...
ncsibra/P4Tools
lib/p4tools/environment.rb
Ruby
gpl-2.0
671
<?php include 'init.php'; $output = ''; $setup = new ON_Settings(); $setup->load(); $setup->registerForm('setup'); // fill form with elements $setup->fillForm(); // process forms if posted if ($setup->form->isSubmitted() && $setup->form->validate()) { $values =& $setup->form->exportValues(); $setup->setValues...
uzaytek/orion
admin/settings-store.php
PHP
gpl-2.0
935
<?php /** * Template Name: Two Column, Right-Sidebar * * This is the most generic template file in a WordPress theme * and one of the two required files for a theme (the other being style.css). * It is used to display a page when nothing more specific matches a query. * E.g., it puts together the home page when n...
joseph-jalbert/joe_neat
page-templates/template-right-col.php
PHP
gpl-2.0
1,499
package org.nla.tarotdroid.lib.helpers; import static com.google.common.base.Preconditions.checkArgument; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * Network and internet connexion helper class. */ public class ConnexionHelper { /** * Chec...
daffycricket/tarotdroid
tarotDroidUiLib/src/main/java/org/nla/tarotdroid/lib/helpers/ConnexionHelper.java
Java
gpl-2.0
1,094
<?php class SatellitePlugin { var $plugin_name; var $plugin_base; var $pre = 'Satellite'; var $debugging = false; var $menus = array(); var $latestorbit = 'jquery.orbit-1.3.1.js'; //var $latestorbit = 'orbit-min.js'; var $cssfile = 'orbit-css.php'; var $cssadmin = 'admin-styles.cs...
diegorojas/encontros.maracatu.org.br
wp-content/plugins/slideshow-satellite/slideshow-satellite-plugin.php
PHP
gpl-2.0
26,130
# -*- coding: UTF-8 -*- #/* # * Copyright (C) 2011 Ivo Brhel # * # * # * 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 your option) # * any later version. #...
kodi-czsk/plugin.video.hejbejse.tv
resources/lib/hejbejse.py
Python
gpl-2.0
2,611
<?php /** * Template Name: Full Width Blog * * The template for displaying content in full width with no sidebars. * * * @package blogBox WordPress Theme * @copyright Copyright (c) 2012, Kevin Archibald * @license http://www.gnu.org/licenses/quick-guide-gplv3.html GNU Public License * @author Kevin Archib...
aliuwahab/saveghana
wp-content/themes/blogbox/page-full_width_blog.php
PHP
gpl-2.0
1,734
<?php /** * The template for displaying 404 pages (not found) * * @link https://codex.wordpress.org/Creating_an_Error_404_Page * * @package wapp */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <section class="error-404 not-found"> <header cla...
Headlab/wapp
404.php
PHP
gpl-2.0
1,741
/**************************************************************************** * * $Id: vpHinkley.cpp 4056 2013-01-05 13:04:42Z fspindle $ * * This file is part of the ViSP software. * Copyright (C) 2005 - 2013 by INRIA. All rights reserved. * * This software is free software; you can redistribute it and/or * m...
thomas-moulard/visp-deb
src/math/misc/vpHinkley.cpp
C++
gpl-2.0
9,567
<?php /** * The template for displaying all single posts. * * @package srh_framework */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php the_p...
jamiebrwr/srh-theme-framework
single.php
PHP
gpl-2.0
678
//: containers/MapDataTest.java package course.containers; /* Added by Eclipse.py */ import java.util.*; import net.mindview.util.*; import static net.mindview.util.Print.*; class Letters implements Generator<Pair<Integer,String>>, Iterable<Integer> { private int size = 9; private int number = 1; priv...
fengzhongdege/TIJ4
src/main/java/course/containers/MapDataTest.java
Java
gpl-2.0
1,677
<?php class Listify_Template_Page_Templates { public function __construct() { add_filter( 'theme_page_templates', array( $this, 'visual_composer' ) ); } public function visual_composer( $page_templates ) { if ( listify_has_integration( 'visual-composer' ) ) { return $page_templates; } unset( $page_tem...
jfrankel-13/findlancer
wp-content/themes/listify/inc/template/class-template-page-templates.php
PHP
gpl-2.0
404
import socket import threading import time def tcplink(sock, addr): print 'Accept new connection from %s:%s...' % addr sock.send('Welcome!') while True: data = sock.recv(1024) time.sleep(1) if data == 'exit' or not data: break sock.send('Hello, %s!' %...
lovekun/Notebook
python/chatroomServer.py
Python
gpl-2.0
654
import os import sys import shutil import binascii import traceback import subprocess from win32com.client import Dispatch LAUNCHER_PATH = "C:\\Program Files\\Augur" DATA_PATH = os.path.join(os.path.expanduser('~'), 'AppData', 'Roaming', "Augur") PASSFILE = os.path.join(DATA_PATH, "password.txt") if getattr(sys, 'fro...
AugurProject/augur-launcher
Augur Installer.py
Python
gpl-2.0
2,932
<div class="twelve columns alpha"> <h3 class="headline">Descripción del Proyecto</h3><span class="line"></span><div class="clearfix"></div> <p>O Parque Tecnológico Itaipu (conocido como PTI) tiene un sitio web que proporciona mucha información sobre las actividades y los proyectos de PTI. <p>PTI ha identif...
IngCarlosColman/SiteCeltab
CONTENIDOS/espanol/Proyectos/Mejoras del Sitio PTI.php
PHP
gpl-2.0
1,129
var express = require('express'), formidable = require('formidable'), imgur = require('imgur'), fs = require('fs'), url = require('url'), bodyParser = require('body-parser'), router = express.Router(), uuid = require('node-uuid'), db = require('../lib/database'), tools = require('../...
luigiplr/imgSnap-backend
routes/api.js
JavaScript
gpl-2.0
2,487
# -*- coding: utf-8 -*- def outfit(): collection = [] for _ in range(0, 5): collection.append("Item{}".format(_)) return { "data": collection, } api = [ ('/outfit', 'outfit', outfit), ]
Drachenfels/Game-yolo-archer
server/api/outfits.py
Python
gpl-2.0
228
var UniteNivoPro = new function() { var t = this; var containerID = "slider_container"; var container, arrow_left, arrow_right, bullets_container; var caption_back, caption_text; var bulletsRelativeY = ""; /** * show slider view error, hide all the elements */ t.showSliderViewErr...
VS-Studio3/build
administrator/components/com_nivosliderpro/assets/nivopro.js
JavaScript
gpl-2.0
22,978
/* * Copyright (C) 2013-2019 52°North Initiative for Geospatial Open Source * Software GmbH * * 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. * * If the program is linked with ...
ridoo/series-rest-api
spi/src/main/java/org/n52/series/spi/geo/TransformationService.java
Java
gpl-2.0
3,637
<?php /** * ECSHOP 控制台首頁 * ============================================================================ * 版權所有 2005-2010 上海商派網絡科技有限公司,並保留所有權利。 * 網站地址: http://www.ecshop.com; * ---------------------------------------------------------------------------- * 這不是一個自由軟件!您只能在不用於商業目的的前提下對程序代碼進行修改和 * 使用;不允許對程序代碼以...
Shallmay14/Qiandynasty
shop/admin/index.php
PHP
gpl-2.0
48,360