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
require_once '../lib/DataSourceResult.php';
require_once '../lib/Kendo/Autoload.php';
require_once '../include/header.php';
?>
<div class="demo-section k-rtl">
<h2>Select Continents</h2>
<?php
$multiselect = new \Kendo\UI\MultiSelect('select');
$multiselect->dataTextField('text')
->dataValueFiel... | kabsila/wordpress | new/wrappers/php/multiselect/right-to-left-support.php | PHP | gpl-2.0 | 1,197 |
<?php
/*
Template Name: Search_results
*/
?>
<?php get_header(); ?>
<ul class="columna primera">
<?php blogsfera_widget_my_blog(); ?>
<?php blogsfera_widget_chat(); ?>
<?php blogsfera_widget_most_read(); ?>
<?php blogsfera_widget_news(); ?>
</ul>
<ul class="columna">
<?php blogsfera_widget_search_results(); ?>
... | alx/blogsfera | wp-content/themes/portal/search_results.php | PHP | gpl-2.0 | 602 |
# -*- coding: utf-8 -*-
from flask import Flask
from flask.ext.pymongo import PyMongo
import config
from views import diary
def create_app(cfg):
app = Flask(__name__)
app.config.from_object(cfg)
return app
# Application creation.
app = create_app(config)
# Database configuration.
db = PyMongo()
# Bl... | GruPy-RN/agenda_flask | diary/__init__.py | Python | gpl-2.0 | 416 |
//-----------------------------------------------------------------------------
// Class: CParaMeshXMLFile
// Authors: LiXizhi
// Emails: LiXizhi@yeah.net
// Company: ParaEngine Corporation
// Date: 2007.12.16
// Desc:
//-----------------------------------------------------------------------------
#include "ParaEngine... | LiXizhi/NPLRuntime | Client/trunk/ParaEngineClient/3dengine/ParaMeshXMLFile.cpp | C++ | gpl-2.0 | 10,909 |
package eu.maydu.gwt.validation.client.i18n;
public class StandardValidationMessagesImpl_en implements eu.maydu.gwt.validation.client.i18n.StandardValidationMessagesImpl {
public java.lang.String validator_assertFalse() {
return "Assertion failed";
}
public java.lang.String validator_pattern() {
retur... | midaboghetich/netnumero | gen/eu/maydu/gwt/validation/client/i18n/StandardValidationMessagesImpl_en.java | Java | gpl-2.0 | 5,885 |
/* This file was generated by SableCC (http://www.sablecc.org/). */
package se.sics.kola.node;
public abstract class PElementValue extends Node
{
// Empty body
}
| kompics/kola | src/main/java/se/sics/kola/node/PElementValue.java | Java | gpl-2.0 | 168 |
#!/usr/bin/env python
from __future__ import print_function
import argparse
import os
import sys
def main():
args = parseArgs(sys.argv)
# get analogy files in the analogy directory
# http://stackoverflow.com/questions/3207219/how-to-list-all-files-of-a-directory-in-python
resultFns = [os.path.join(arg... | ppegusii/cs689-mini1 | src/evaluate.py | Python | gpl-2.0 | 2,517 |
<?php
/**
* WURFL API
*
* LICENSE
*
* This file is released under the GNU General Public License. Refer to the
* COPYING file distributed with this package.
*
* Copyright (c) 2008-2009, WURFL-Pro S.r.l., Rome, Italy
*
*
*
* @category WURFL
* @package WURFL_Handlers
* @copyright WURFL-PRO SRL, Rome... | chisimba/modules | wurfl/resources/WURFL/Handlers/KDDIHandler.php | PHP | gpl-2.0 | 1,840 |
package Servlets;
import org.json.JSONException;
import org.json.JSONObject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.... | matanso/OASSIS | src/main/java/Servlets/Logout.java | Java | gpl-2.0 | 1,072 |
/*
* Copyright (c) 1998-2010 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | christianchristensen/resin | modules/extra/src/com/caucho/jaxb/property/XmlListBooleanArrayProperty.java | Java | gpl-2.0 | 1,852 |
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import org.apache.lucene.analysis.Analyzer;
impo... | darthcodus/Lucene-TREC-OHSUMED | src/SearchOhsumedFiles.java | Java | gpl-2.0 | 6,310 |
<?php
class Xlib_XListaDados_FieldFilter_CPF extends Xlib_XListaDados_FieldFilterAbstract {
private $punct = true;
public function getInstance ( $field , $label = "" , $punct = false ) {
return new Xlib_XListaDados_FieldFilter_CPF ( $field , $label , $punct );
}
public function formatQueryFilter ( ) {
... | hugoofab/XLibrary | XListaDados/FieldFilter/CPF.php | PHP | gpl-2.0 | 3,135 |
package FSMBuilder.FSMmodel;
import FSMBuilder.FSMfunctions.constants.Ifile;
import FSMBuilder.FSMfunctions.constants.Imisc;
import java.awt.geom.Line2D;
/**
* Base class for all types of transitions
* @author Logan Fine
*/
public abstract class Ctrans extends CbasicFSMObject {
protected final Cnode m_from;
... | nzt4567/fsa | src/main/java/FSMBuilder/FSMmodel/Ctrans.java | Java | gpl-2.0 | 2,291 |
<?php
namespace Drupal\facets\Plugin\facets\query_type;
use Drupal\facets\QueryType\QueryTypePluginBase;
use Drupal\facets\Result\Result;
/**
* Provides support for range facets within the Search API scope.
*
* This is the default implementation that works with all backends.
*
* @FacetsQueryType(
* id = "sea... | YashiMalhotra/drupalsolr | modules/contrib/facets/src/Plugin/facets/query_type/SearchApiRange.php | PHP | gpl-2.0 | 2,345 |
<!--footer start here-->
<div class="footer">
<div class="container">
<div class="footer-main">
<div class="col-md-4 footer-grid wow bounceIn" data-wow-delay="0.4s">
<h3>NUESTRA FILOSOFÍA </h3>
<P>Gestionar y posicionar, de manera creativa y
auténtica, la imagen como empleador de
una compañía com... | Acostangel/expoempleo | Pasantia/includes/footer.php | PHP | gpl-2.0 | 1,971 |
package dmesg
// #include <sys/syslog.h>
import "C"
// Facility models well-known log facilities (see man klogctl)
type Facility uint
const (
LOG_KERN = C.LOG_KERN // kernel messages
LOG_USER = C.LOG_USER // random user-level messages
LOG_MAIL = C.LOG_MAIL // mail system
LOG_DAEMON = C.... | vosst/csi | dmesg/facility.go | GO | gpl-2.0 | 981 |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | sgreiner/revive-adserver | lib/max/language/vi/invocation.lang.php | PHP | gpl-2.0 | 865 |
/**
* This class is generated by jOOQ
*/
package schema.process_engine.tables;
/**
* This class is generated by jOOQ.
*/
@javax.annotation.Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.5.4"
},
comments = "This class is generated by jOOQ"
)
@java.lang.SuppressWarnings({ "all", "unchecked", "raw... | marcoargenti/Cleaner | src/main/java/schema/process_engine/tables/ActHiTaskinst.java | Java | gpl-2.0 | 7,875 |
<?php
/*************************************************************************************
* tsql.php
* --------
* Author: Duncan Lock (dunc@dflock.co.uk)
* Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter)
* Release Version: 1.0.7.15
* CVS Revision Version: $Revi... | SOSWEB-CH/atelier-rl | inc/geshi/tsql.php | PHP | gpl-2.0 | 21,616 |
import os
import sys
import unittest
from unittest.mock import patch, MagicMock
sys.path.append(os.path.join(os.path.dirname(__file__), '../../src/'))
from katello.agent.pulp import libdnf
@unittest.skipIf('dnf' not in sys.modules, "Dnf not present")
class TestLibDnf(unittest.TestCase):
def test_package_update_on_a... | Katello/katello-agent | test/test_katello/test_agent/test_pulp/test_libdnf.py | Python | gpl-2.0 | 1,456 |
package com.ag.common.http.builder;
import com.ag.common.http.request.PostFileRequest;
import com.ag.common.http.request.RequestCall;
import java.io.File;
import java.util.LinkedHashMap;
import java.util.Map;
import okhttp3.MediaType;
public class PostFileBuilder extends OkHttpRequestBuilder
{
private File fi... | ZhanJohn/AG_Modules | ag_common/src/main/java/com/ag/common/http/builder/PostFileBuilder.java | Java | gpl-2.0 | 1,360 |
# config/unicorn.rb
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 35
preload_app true
before_fork do |server, worker|
Signal.trap 'TERM' do
puts 'Unicorn master intercepting TERM and sending myself QUIT instead'
Process.kill 'QUIT', Process.pid
end
defined?(ActiveRecord::Base) and
Ac... | bl4ckdu5t/vitabiotics | config/unicorn.rb | Ruby | gpl-2.0 | 602 |
<?php
$this->currencies = array (
'adp' => 'Andorran Peseta',
'aed' => 'United Arab Emirates Dirham',
'afa' => 'Afghani (1927-2002)',
'afn' => 'Afghani',
'all' => 'Albanian Lek',
'amd' => 'Armenian Dram',
'ang' => 'Netherlands Antillan Guilder',
'aoa' => 'Angolan Kwanza',
'aok' => 'Angolan Kwanza (197... | prdatur/soopfw | language/currencies/vi.php | PHP | gpl-2.0 | 8,370 |
<?php
/**
* @package AcyMailing for Joomla!
* @version 4.5.0
* @author acyba.com
* @copyright (C) 2009-2013 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
jimport( 'joomla.html.parameter' );
c... | QuyICDAC/icdacgov | administrator/components/com_acymailing/compat/compat1.php | PHP | gpl-2.0 | 1,044 |
/*
* WordPress.com MetaDNS
*/
#ifndef __H_WPMETABACKEND_HH__
#define __H_WPMETABACKEND_HH__
#include <cstring>
#include <vector>
#include <random>
#include <map>
#include <chrono>
#include <pdns/namespaces.hh>
#include <pdns/dnsbackend.hh>
#include <pdns/dnspacket.hh>
#include "defines.h"
#include "database.hh"
#... | Automattic/metadns | src/wpmetabackend.hh | C++ | gpl-2.0 | 1,972 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | UNAH-SISTEMAS/2015.3.oop | 4_Colecciones/Colecciones/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,398 |
<?php
/**
* @file
* Hooks provided by Requirement Dashboard.
*/
/**
* Add requirement dashboards to be created
*
* Allows other modules to create providers for requirement dashboards
*
*/
function hook_requirement_dashboard_provider() {
// this is the machine name used on permissions page / elsewhere
$das... | eleonel/Drupaltech | profiles/elms/modules/contrib/requirement_dashboard/requirement_dashboard.api.php | PHP | gpl-2.0 | 2,304 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace proyectoprogra
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... | Axel030/ProyectoFinal | proyectoprogra/proyectoprogra/Program.cs | C# | gpl-2.0 | 515 |
#!/usr/bin/python
# -*- coding: utf-8 -*-
import urllib, urllib2
import xbmcplugin, xbmcaddon, xbmcgui, xbmc
import sys, os, re, json, base64, operator, datetime, time
from resources.local import *
pluginhandle = int(sys.argv[1])
addon = xbmcaddon.Addon()
settings = xbmcaddon.Addon( id = "plugin.video.tele.ml" )
doma... | idi2019/plugin.video.tele.ml | default.py | Python | gpl-2.0 | 9,683 |
from sdssgaussfitter import gaussfit
import numpy as np
import os,sys
from util import utils
from util.readDict import readDict
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
def aperture(startpx,startpy,radius=7):
r = radius
length = 2*r
height = length
allx = xrange(startpx... | bmazin/ARCONS-pipeline | examples/Pal2012_landoltPhot/fitPsf.py | Python | gpl-2.0 | 8,372 |
"use strict";
var log = require( "../class.log" );
var realmConfig = require( "../../config.realm" ).config;
var quest = require( "../class.quest" );
exports.script = function( npcObject )
{
//
// Variables
//
var _iO = npcObject.getArgs().createdByInstanceObject,
_cooldownPointer =... | victoralex/gameleon | includes/classes/class.npc.js_files/npcScript.221.js | JavaScript | gpl-2.0 | 1,247 |
<?php
//custom post type portfolio
if(! function_exists( 'kilobyte_custom_post_type_portfolio' )):
function kilobyte_custom_post_type_portfolio(){
$labels = array(
'name'=>'Portfolio',
'singular_name'=>'Portfolio',
'add_new' => 'Add Portfolio',
'all_items' => 'All Portfolio',
'add_new_item'=> 'Add Portfoli... | shubham9411/kilobyte | inc/custom-posttype.php | PHP | gpl-2.0 | 6,356 |
<?php
/**
* @file
* Hooks provided the Entity module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Inform the base system and the Field API about one or more entity types.
*
* Inform the system about one or more entity types (i.e., object types that
* can be loaded via entity_load() and, optionally, to which f... | dusik/realejuventudfan | core/includes/entity.api.php | PHP | gpl-2.0 | 22,131 |
/****************************************************************************
** $Id: qt/main.cpp 3.3.8 edited Jan 11 14:37 $
**
** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified withou... | epatel/qt-mac-free-3.3.8 | examples/tooltip/main.cpp | C++ | gpl-2.0 | 679 |
#!/usr/bin/env python
#encoding: utf-8
# Martin Kersner, m.kersner@gmail.com
# 2016/03/17
from __future__ import print_function
import os
import sys
import glob,cv2
from PIL import Image as PILImage
import numpy as np
from utils import mat2png_hariharan,pascal_palette_invert
def main():
input_path, output_path = pr... | z01nl1o02/tests | voc/sbd_dataset/mat2png.py | Python | gpl-2.0 | 2,232 |
<?php
/**
* Part of Component Schedule files.
*
* @copyright Copyright (C) 2014 Asikart. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access
defined('_JEXEC') or die;
include_once JPATH_LIBRARIES . '/windwalker/src/init.php';
JForm::addField... | skylying/ihealth-schedule | administrator/components/com_schedule/model/field/task/modal.php | PHP | gpl-2.0 | 864 |
package zhangXiaoXiang.s02_;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @author Bob
* @ClassName: HelloServlet
* @Description: servlet代码初探(本段注释来自《Servlet与JSP核心编程》,... | NorthFacing/step-by-Java | web-servletAndJsp/src/main/java/zhangXiaoXiang/s02_/HelloServlet.java | Java | gpl-2.0 | 1,343 |
package com.vv.minerlamp.entity;
import java.sql.Blob;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "staff")
public class Staff {
priv... | vvdeng/MinerLampSystem | src/com/vv/minerlamp/entity/Staff.java | Java | gpl-2.0 | 5,423 |
package moviescraper.doctord.controller.xmlserialization;
import java.io.IOException;
import moviescraper.doctord.model.dataitem.Thumb;
/**
* Helper class for serializing a fanart object to and from XML
*/
public class KodiXmlFanartBean {
private String[] thumb;
public KodiXmlFanartBean(String[] thumb) {
supe... | DoctorD1501/JAVMovieScraper | src/main/java/moviescraper/doctord/controller/xmlserialization/KodiXmlFanartBean.java | Java | gpl-2.0 | 931 |
<?php
/**
* @version $Id$
* @package Koowa_Template
* @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved.
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link http://www.nooku.org
*/
/**
* Abstract Template class
*
* @author Johan Janssens <johan@n... | dwarkeshsoni/jsn_time_free_j3x | libraries/koowa/template/abstract.php | PHP | gpl-2.0 | 14,969 |
# -*- coding: utf-8 -*-
# Copyright(c) 2016-2020 Jonas Sjöberg <autonameow@jonasjberg.com>
# Source repository: https://github.com/jonasjberg/autonameow
#
# This file is part of autonameow.
#
# autonameow is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public L... | jonasjberg/autonameow | autonameow/core/master_provider.py | Python | gpl-2.0 | 17,265 |
#include <2geom/sbasis-geometric.h>
#include <2geom/sbasis.h>
#include <2geom/sbasis-math.h>
//#include <2geom/solver.h>
#include <2geom/sbasis-geometric.h>
/** Geometric operators on D2<SBasis> (1D->2D).
* Copyright 2007 JF Barraud
* Copyright 2007 N Hurst
*
* The functions defined in this header related to 2d ge... | Huluzai/DoonSketch | inkscape-0.48.5/src/2geom/sbasis-geometric.cpp | C++ | gpl-2.0 | 25,700 |
<?php
/**
* The template for displaying Comments.
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
* handled by a callback to skt_photo_session_comment() which is
* located in the inc/template-tags.php file.
*
* @package SKT Photo Session
*/... | selinaross/JessesWebsite | wp-content/themes/skt-photo-session/comments.php | PHP | gpl-2.0 | 3,137 |
<?php
/**
* Googleapps helper functions
*
* @package Googleapps
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Jeff Tilson
* @copyright THINK Global School 2010 - 2015
* @link http://www.thinkglobalschool.org/
*
*/
/**
* Get account settings content
*... | THINKGlobalSchool/googleapps | lib/googleapps.php | PHP | gpl-2.0 | 36,538 |
#include "Kernel.h"
#include "Hardware.h"
#include "Process9.h"
#include "Bootloader.h"
#define LOGPM
P9PM::P9PM(Process9* owner) :m_open(), m_owner(owner), handlecount(0x100000001)
{
}
P9PM::~P9PM()
{
}
extern FILE* openapp(u32 titlehigh, u32 titlelow); //this is from Bootloader.cpp
void P9PM::Command(u32 data[]... | ichfly/XDS | source/process9/pm.cpp | C++ | gpl-2.0 | 3,443 |
#include "VCTAmbientOcclusionRenderPass.h"
#include "Debug/Statistics/StatisticsManager.h"
#include "VCTStatisticsObject.h"
bool VCTAmbientOcclusionRenderPass::IsAvailable (const RenderScene* renderScene, const Camera* camera,
const RenderSettings& settings, const RenderVolumeCollection* rvc) const
{
/*
* Always ... | maritim/LiteEngine | Engine/RenderPasses/VoxelConeTracing/VCTAmbientOcclusionRenderPass.cpp | C++ | gpl-2.0 | 3,570 |
module AjaxUiHelper
# Unobtrusive version of link_to_remote
def link_to_remote( name, options, html_options={} )
html_options[:class] = "remote #{html_options.delete(:class)}".strip
link_to(name, options, html_options)
end
def jquery_library
return '' if @jquery_library_loaded
@jquery_library_... | mikeymicrophone/greenchange | app/helpers/ajax_ui_helper.rb | Ruby | gpl-2.0 | 2,523 |
<html> <pre> <?php
print_r($_REQUEST);
if( isset( $_REQUEST['ip'] ) && isset ( $_REQUEST['mac'] ) ) {
$ip = $_REQUEST['ip'];
$mac = $_REQUEST['mac'];
exec("sudo iptables -I internet 1 -t mangle -m mac --mac-source $mac -j RETURN");
exec("sudo rmtrack " . $ip);
echo "User logged in.";
exit;
} else... | thgh/pilon | www/process.php | PHP | gpl-2.0 | 363 |
package com.example.shokedbrain.usus;
/**
* Created by shokedbrain on 05.06.17.
*/
public class Room {
private String roomName;
public Room() {
}
public Room(String roomName) {
this.roomName = roomName;
}
public String getRoomName() {
return roomName;
}
public voi... | Macleopard/Usus | app/src/main/java/com/example/shokedbrain/usus/Room.java | Java | gpl-2.0 | 395 |
package com.xiner.game.util;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.xiner.game.ball.LotteryBox;
import com.xiner.game.ball.LotteryStage;
import com.xiner.game.ball.LotteryStatistic;
import com.xiner.game.ball.LotteryContain;
import com.xiner.game.... | xinerworld/ProbabilityGame | src/com/xiner/game/util/LotteryManager.java | Java | gpl-2.0 | 6,443 |
using System.Collections.Generic;
using System.IO;
using Transformer.Core.Logging;
using Transformer.Core.Model;
namespace Transformer.Core.Template
{
public class TemplateEngine
{
private static readonly ILog Log = LogManager.GetLogger(typeof(VariableResolver));
public VariableResolver Varia... | tobiaszuercher/transformer | src/Transformer.Core/Template/TemplateEngine.cs | C# | gpl-2.0 | 2,109 |
/*
* Common DPS routines
* dps.h
* Provides common structure definitions and routines for all applications
*
* Copyright (c) 2005-2006 Chris Cantwell
*
* 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 Softwa... | radiowarwick/digiplay_legacy | src/dps.cpp | C++ | gpl-2.0 | 7,399 |
"""grace
Revision ID: 2bce3f42832
Revises: 100d29f9f7e
Create Date: 2015-08-19 13:48:08.511040
"""
# revision identifiers, used by Alembic.
revision = '2bce3f42832'
down_revision = '100d29f9f7e'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands a... | huangtao-sh/grace | grace/alembic/versions/2bce3f42832_grace.py | Python | gpl-2.0 | 649 |
/*
* Copyright (C) 2005-2008 Team XBMC
* http://www.xbmc.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 version 2, or (at your option)
* any later version.
*
... | xbmc/xbmc-antiquated | xbmc/cores/VideoRenderers/legacy/RGBRendererV2.cpp | C++ | gpl-2.0 | 24,853 |
package com.anju.android.carpoolexpensecalculator;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class FeedReaderDbHelper extends SQLiteOpenHelper{
private static final String DATABASE_NAME = "carpool.db";
private static fina... | anjusuryawanshi/carpool-calculator | src/com/anju/android/carpoolexpensecalculator/FeedReaderDbHelper.java | Java | gpl-2.0 | 1,090 |
<?php
namespace Wizard\Build;
/*
* Main User class
*/
class User {
public function access($access_level) {
// if user isn't logged in, fail access
if (!$this->isLoggedIn()) return false;
// get all accesses of current logged in user
$ret = DB()->query("SELECT al.label
FROM users u
... | LucLaverdure/DreamForgery | core/user/user.php | PHP | gpl-2.0 | 5,680 |
<?php
//clear all div on the page
function ShowGallery()
{$objResponse = new xajaxResponse();
//$objResponse->addAssign("UserAccountDiv","className","hidemsg");//clear useraccount
$objResponse->addAssign("HomeTable","className","hidemsg");//clear home page
$objResponse->addAssign("option","className","slidete... | avinash/nuzimazz | clear.php | PHP | gpl-2.0 | 4,354 |
<?php
/**
* @copyright Copyright (c) 2014 Orange Applications for Business
* @link http://github.com/kambalabs for the sources repositories
*
* This file is part of Kamba.
*
* Kamba is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by... | kambalabs/KmbPermission | src/KmbPermission/Listener/NavigationRbacListenerFactory.php | PHP | gpl-2.0 | 1,650 |
package net.sf.jabref.logic.importer.fileformat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.... | ambro2/jabref | src/main/java/net/sf/jabref/logic/importer/fileformat/FreeCiteImporter.java | Java | gpl-2.0 | 10,863 |
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <boost/algorithm/string.hpp>
#include "Event.hpp"
#include "Events.hpp"
#include "stats.hpp"
int main() {
std::string line;
Events events;
while (std::getline(std::cin, line)) {
std::vector<std::string> elements;
boost::spl... | r0mai/jtt-competition-rank-visualiser | src/main.cpp | C++ | gpl-2.0 | 1,173 |
/***************************************************************************
* Copyright (C) 2008 Philipp Nordhus *
* pnordhus@users.sourceforge.net *
* *
* This pr... | pnordhus/openorbiter | src/physics/world.cpp | C++ | gpl-2.0 | 6,880 |
# -*- coding: UTF-8 -*-
import eqq
import argparse
from eqq import EqqClient
class EqqMachine(object):
def __init__(self,uin,pwd):
self.eqq=EqqClient()
self.eqq.set_output()
self.uin=uin
self.pwd=pwd
self.eqq.set_account(uin,pwd)
self.eqq.login()
self.eqq... | evilbinary/eqq-python | eqq_machine.py | Python | gpl-2.0 | 1,306 |
<?php
/*
* Copyright (c) 2006, Universal Diagnostic Solutions, Inc.
*
* This file is part of Tracmor.
*
* Tracmor 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
... | heshuai64/einv2 | includes/qcodo/qform/QAssetTransactComposite.class.php | PHP | gpl-2.0 | 20,711 |
'''
Created on Nov 13, 2013
@author: samriggs
CODE CHALLENGE: Solve the Minimum Skew Problem.
https://beta.stepic.org/Bioinformatics-Algorithms-2/Peculiar-Statistics-of-the-Forward-and-Reverse-Half-Strands-7/#step-6
'''
from bi_utils.helpers import sane_open
from cStringIO import StringIO
def min_skew(dataset=''):
... | samriggs/bioinf | Homeworks/bi-Python/chapter1/quiz6_solution.py | Python | gpl-2.0 | 1,112 |
<?php
/**
*
* Profile Flair. An extension for the phpBB Forum Software package.
*
* @copyright (c) 2017, Steve Guidetti, https://github.com/stevotvr
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
namespace stevotvr\flair\controller;
use phpbb\db\driver\driver_interface;
use phpbb\json_response... | stevotvr/phpbb-flair | controller/mcp_user_controller.php | PHP | gpl-2.0 | 7,940 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("XW... | athiasjerome/XORCISM | SOURCES/XWINDOWS/Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,443 |
<?php
/**
* @package EasySocial
* @copyright Copyright (C) 2010 - 2013 Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasySocial is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of wor... | cuongnd/test_pro | media/com_easysocial/apps/fields/user/joomla_fullname/themes/default/display_content.php | PHP | gpl-2.0 | 909 |
package anzac.peripherals.proxy;
public class ClientProxy extends CommonProxy {
@Override
public void registerKeyBindings() {
// TODO Auto-generated method stub
}
}
| williamanzac/anzacperipherals | src/main/java/anzac/peripherals/proxy/ClientProxy.java | Java | gpl-2.0 | 181 |
/*
* 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/Northrend/IcecrownCitadel/boss_professor_putricide.cpp | C++ | gpl-2.0 | 66,166 |
<?php
/**
* @file
* Contains \Drupal\faq\Form\QuestionsForm.
*/
namespace Drupal\faq\Form;
use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Form for the FAQ settings page - questions tab.
*/
class QuestionsForm extends ConfigFormBase {
/**
* {@inheritdoc}
*/
public... | psunthar/intapp | docroot/modules/contrib/faq/src/Form/QuestionsForm.php | PHP | gpl-2.0 | 8,970 |
<?php // $Id: fieldset.tpl.php,v 1.1.2.3.2.1 2010/11/24 21:31:56 adrinux Exp $ ?>
<?php print $pre; ?>
<div <?php print drupal_attributes($attributes_array); ?>>
<?php if ($title): ?>
<h2 class='fieldset-title'>
<?php print $title; ?>
</h2>
<?php endif; ?>
<?php if ($content): ?>
<div class='... | google-code/app7 | sites/all/themes/clean/fieldset.tpl.php | PHP | gpl-2.0 | 438 |
<article id="post-<?php the_ID(); ?>" <?php post_class('post__holder'); ?>>
<?php formaticons(); ?>
<header class="post-header">
<?php if(!is_singular()) : ?>
<h2 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php echo theme_locals('permalink_to');?> <?php the_title(); ?>"><?php the_title(); ?><... | FelixNong1990/andy | wp-content/themes/BUZZBLOG-theme/includes/post-formats/gallery.php | PHP | gpl-2.0 | 5,576 |
#!/usr/bin/python
#GraphML-Topo-to-Mininet-Network-Generator
#
# This file parses Network Topologies in GraphML format from the Internet Topology Zoo.
# A python file for creating Mininet Topologies will be created as Output.
# Files have to be in the same directory.
#
# Arguments:
# -f [filename of Gra... | yossisolomon/assessing-mininet | parser/GraphML-Topo-to-Mininet-Network-Generator.py | Python | gpl-2.0 | 13,124 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Xml.XPath;
using System.Xml;
using SenseNet.ApplicationModel;
using SenseNet.ContentRepository.Storage;
namespace SenseNet.ContentRepository.Xpath
{
[DebuggerDisplay("<{Name} : ... | SenseNet/sensenet | src/ContentRepository/Xpath/Elements.cs | C# | gpl-2.0 | 25,411 |
<?php
/**
* Wrapper for Symfony Dumper + die
*
* PHP Version 5
*
* @category PHP
* @package Phputils
* @author Unamata Sanatarai <unamatasanatarai@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @link https://github.com/unamatasanatarai/phputils
*/
use Symfony\... | unamatasanatarai/phputils | src/phputils/dd.php | PHP | gpl-2.0 | 757 |
from django.conf.urls import url
from kraut_accounts import views
urlpatterns = [
url(r'^logout/$', views.accounts_logout, name='logout'),
url(r'^login/$', views.accounts_login, name='login'),
url(r'^changepw/$', views.accounts_change_password, name='changepw'),
]
| zeroq/kraut_salad | kraut_accounts/urls.py | Python | gpl-2.0 | 278 |
<?php
//event-type: return-html
e("recipes/admin/design/browsers/browserFoodTypes", array(
"section-title" => "Food types",
"records" => RecipesModel::getRecords("foodtype")));
// End of file | pragres/recipescookbook.org | packages/recipes/admin/view/browsers/browserFoodTypes.event.php | PHP | gpl-2.0 | 205 |
<?php
/**
* Gerenciador Clínico Odontológico
* Copyright (C) 2006 - 2009
* Autores: Ivis Silva Andrade - Engenharia e Design(ivis@expandweb.com)
* Pedro Henrique Braga Moreira - Engenharia e Programação(ikkinet@gmail.com)
*
* Este arquivo é parte do programa Gerenciador Clínico Odont... | artsjedi/GCO | http/patrimonio/gerenciar_ajax.php | PHP | gpl-2.0 | 4,182 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package utilesGUIx.plugin.toolBar;
import java.io.Serializable;
public interface ICompCMB extends Serializable {
public String getText();
public String getCodigo();
}
| Creativa3d/box3d | paquetes/src/utilesGUIx/plugin/toolBar/ICompCMB.java | Java | gpl-2.0 | 284 |
/*
Copyright (C) 2008 - 2016 by Mark de Wever <koraq@xs4all.nl>
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 ve... | TakingInitiative/wesnoth | src/gui/widgets/menu_button.cpp | C++ | gpl-2.0 | 9,996 |
/*
This file is part of Shuriken Beat Slicer.
Copyright (C) 2014, 2015 Andrew M Taylor <a.m.taylor303@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; either version 2
of the L... | rock-hopper/shuriken | src/audiofilehandler.cpp | C++ | gpl-2.0 | 21,603 |
/* Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2011 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | smurry/XCSoar | src/Engine/GlideSolvers/GlideState.cpp | C++ | gpl-2.0 | 3,366 |
package com.dandrex.malfriends.controller.adapter;
import java.util.List;
import com.android.volley.toolbox.ImageLoader;
import com.android.volley.toolbox.NetworkImageView;
import com.dandrex.malfriends.R;
import com.dandrex.malfriends.controller.util.RequestHelper;
import com.dandrex.malfriends.model.Friend;
import a... | DandreX/MALFriends | src/com/dandrex/malfriends/controller/adapter/FriendAdapter.java | Java | gpl-2.0 | 1,975 |
package com.richousrick.computermod.items.ram;
import com.richousrick.computermod.items.ItemCM;
public class RamCore extends ItemCM{
public RamCore() {
super();
this.setMaxStackSize(1);
}
}
| richousrick/ComputerMod | src/main/java/com/richousrick/computermod/items/ram/RamCore.java | Java | gpl-2.0 | 202 |
<?php
/**
* Order details
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
global $woocommerce;
$order = new WC_Order( $order_id );
?>
<h2><?php _e( 'Order Details', 'woocommerce' ); ?></h2>
<table class="shop_tabl... | idies/voyages_sdss_wp | wp-content/themes/wpl-galaxy/woocommerce/order/order-details.php | PHP | gpl-2.0 | 4,674 |
<?php
namespace IngeniousWeb\Skeleton\Core;
use IngeniousWeb\Skeleton\Services\System\User;
class BaseController
{
/**
* @var $user
*/
//protected $user;
/**
* @param User $user
*/
public function __construct(/*User $user*/)
{
//$this->user = $user;
}
public function title($class)
{
return get_c... | joshCarlisleIT/Skeleton | src/Core/BaseController.php | PHP | gpl-2.0 | 457 |
/*
* Copyright 2006 Sun Microsystems, Inc. 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 Software Foundati... | unktomi/form-follows-function | mjavac/langtools/test/tools/javac/processing/T6439826.java | Java | gpl-2.0 | 3,965 |
/*
* Hydrogen
* Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
*
* http://www.hydrogen-music.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 ver... | blablack/hydrogen | src/gui/src/SoundLibrary/SoundLibraryImportDialog.cpp | C++ | gpl-2.0 | 20,246 |
<?php
defined('_JEXEC') or die;
require_once dirname(__FILE__) . '/helper.php';
//this part is for when it's gonna be database driven
$helper = new modPharmecRightBookingHelper();
$service_title = $helper->getCurrentService();
//if we don't have a title, then we need to get a list of services (including the categories... | GZamfir/pharmec | modules/mod_pharmec_right_booking/mod_pharmec_right_booking.php | PHP | gpl-2.0 | 557 |
/*
* wifi.cpp
*
* Created on: 24 Oct 2012
* Author: thomas
*/
#include "ns3/core-module.h"
#include "ns3/simulator.h"
#include "ns3/node.h"
#include "ns3/global-value.h"
#include "ns3/wifi-module.h"
#include "ns3/wimax-helper.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/internet-module.h"
#includ... | kelsteNa/fyp | new.cc | C++ | gpl-2.0 | 9,431 |
<?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... | hutnikau/qti-sdk | src/qtism/data/storage/xml/marshalling/ItemSubsetMarshaller.php | PHP | gpl-2.0 | 3,416 |
<?php
if($_POST){
templatic_load_settings_page();
}
/*
Name : templatic_load_settings_page
Description : redirect user on right tab after save
*/
function templatic_load_settings_page() {
if ( $_POST["settings-submit"] == 'Y' )
{
templatic_save_settings();
$url_parameters = isset($_GET['tab'])? 'upd... | imshashank/osuevents | wp-content/plugins/Tevolution/tmplconnector/monetize/templatic-generalizaion/general_settings.php | PHP | gpl-2.0 | 15,380 |
<?php $captcha_word = 'DZ5E'; ?> | CoordCulturaDigital-Minc/culturadigital.br | wp-content/plugins/si-captcha-for-wordpress/captcha-secureimage/captcha-temp/pfOxT6CtvmexP9dq.php | PHP | gpl-2.0 | 32 |
/*
* Rvzware based in CAPAWARE 3D
*
* Rvzware 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.1 of the License, or (at your option)
* any later version.
*
* Rvzware is distribu... | BackupTheBerlios/rvzware | src/cpw/persistent/database/DataBase.cpp | C++ | gpl-2.0 | 25,854 |
// --------------------------------------------------------------------------
#include <vector>
#include <string>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <getopt.h>
// --------------------------------------------------------------------------
#include "ORepHelpers.h"
#include "ObjectReposito... | vitlav/libuniset | Utilities/Admin/admin.cc | C++ | gpl-2.0 | 23,256 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | deathspeeder/class-guard | apache-tomcat-7.0.53-src/java/org/apache/tomcat/util/bcel/classfile/ConstantDouble.java | Java | gpl-2.0 | 2,065 |
<?php
/**
*
* @package InfinityCoreCMS
* @version $Id$
* @copyright (c) 2008 InfinityCoreCMS
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*
* @Extra credits for this file
* Vjacheslav Trushkin (http://www.stsoftware.biz)
*
*/
define('IN_INFINITYCORECMS', true);
if (!defined('I... | LordPsyan/InfinityCoreCMS | adm/xs_edit.php | PHP | gpl-2.0 | 15,350 |
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// import Joomla view library
jimport('joomla.application.component.view');
jimport('joomla.application.component.controller');
/**
* HTML View class for the HelloWorld Component
*/
class HoroscopeViewNavamsha extends JViewLegacy
... | luffy22/aisha | components/com_horoscope/views/navamsha/view.html.php | PHP | gpl-2.0 | 967 |
<?php
/**
* @package Joomla.Libraries
* @subpackage Form
*
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('JPATH_PLATFORM') or die;
JFormHelper::loadFieldClass('groupedlist');
$app=... | cuongnd/banhangonline88_joomla | libraries/cms/form/field/menuitem.php | PHP | gpl-2.0 | 5,948 |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 RWS Inc, All Rights Reserved
//
// 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 Foundati... | PixelDevLabs/Ezia-Cleaner_Build-934afd57b26a | RSPiX/Src/ORANGE/GUI/MultiBtn.cpp | C++ | gpl-2.0 | 15,860 |