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
namespace Elementor;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* Elementor color picker scheme.
*
* Elementor color picker scheme class is responsible for initializing a scheme
* for color pickers.
*
* @since 1.0.0
*/
class Scheme_Color_Picker extends Scheme_Color {
/**... | dekisha/dartlamp | modules/contrib/elementor/elementor/includes/schemes/color-picker.php | PHP | gpl-2.0 | 4,477 |
package org.pac.tapestry.oauth.models;
import org.pac.tapestry.oauth.OAuthVersions;
import org.scribe.model.Token;
/**
* Session State Object for Authenticating and obtaining User Tokens
*
@author vladimir
*/
public class OAuthSession {
private AccessToken accessToken;
private final Token token;
privat... | vladaspasic/tapestry-oauth | src/main/java/org/pac/tapestry/oauth/models/OAuthSession.java | Java | gpl-2.0 | 992 |
package org.dolphinemu.ishiiruka.ui.settings.viewholder;
import android.view.View;
import android.widget.TextView;
import org.dolphinemu.ishiiruka.R;
import org.dolphinemu.ishiiruka.model.settings.view.SettingsItem;
import org.dolphinemu.ishiiruka.model.settings.view.SubmenuSetting;
import org.dolphinemu.ishiiruka.ui... | Tinob/Ishiiruka | Source/Android/app/src/main/java/org/dolphinemu/ishiiruka/ui/settings/viewholder/SubmenuViewHolder.java | Java | gpl-2.0 | 1,177 |
<?php
/**
* https://09source.kicks-ass.net:8443/svn/installer09/
* Licence Info: GPL
* Copyright (C) 2010 Installer09 v.1
* A bittorrent tracker source based on TBDev.net/tbsource/bytemonsoon.
* Project Leaders: Mindless,putyn,kidvision.
**/
if ( ! defined( 'IN_TBDEV_ADMIN' ) )
{
$HTMLOUT='';... | Bigjoos/U-232-V1 | admin/comment_overview.php | PHP | gpl-2.0 | 3,860 |
'''
Created on Jul 9, 2018
@author: lqp
'''
import json
import os
import re
from util import TrackUtil
from util.TrackUtil import current_milli_time
from util.TrackUtil import mongoUri
from util.TrackUtil import todayMillis
from pymongo.mongo_client import MongoClient
import pymongo
from xlrd.book import colname
clas... | lqp276/repo_lqp | repopy/src/batch/collection_move.py | Python | gpl-2.0 | 1,299 |
#quiznavigation .qnbutton.flagged {
background-image: url('<?php echo $PAGE->theme->old_icon_url('i/ne_red_mark') ?>');
}
| ajv/Offline-Caching | mod/quiz/styles.php | PHP | gpl-2.0 | 124 |
<?php
/**
* Taxonomy for Football Region page
*/
get_header();
$m_table=$wpdb->prefix."adverts";
$advertQuery="select * from $m_table where page='football-regions' and isactive='1' order by adId DESC LIMIT 0,1";
$advertSql=$wpdb->get_results($advertQuery);
if(sizeof($advertSql)>0)
{
foreach($advertSql as $ad... | amolc/redcard | wp-content/themes/redcard/taxonomy-footballregions.php | PHP | gpl-2.0 | 5,380 |
/**
* IRCAnywhere server/irchandler.js
*
* @title IRCHandler
* @copyright (c) 2013-2014 http://ircanywhere.com
* @license GPL v2
* @author Ricki Hastings
*/
var _ = require('lodash'),
hooks = require('hooks'),
helper = require('../lib/helpers').Helpers;
/**
* The object responsible for handlin... | Alvuea/ircanywhere | server/irchandler.js | JavaScript | gpl-2.0 | 23,082 |
/*
* $Id$
*
* Copyright (C) 2008-2010 Kengo Sato
*
* 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 pr... | satoken/centroid-rna-package | src/bp.cpp | C++ | gpl-2.0 | 3,857 |
<?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 3.1 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2010 |
+--------------------------... | bhirsch/voipdev | sites/all/modules/civicrm/CRM/ACL/DAO/Cache.php | PHP | gpl-2.0 | 6,567 |
jQuery(document).ready(function(){
var date = new Date();
date.setTime(date.getTime() + 2*3600*1000);
document.cookie = "visited=true;expires=" + date.toGMTString();
}); | yangxuanxing/bubbfil | wp-content/themes/responsive/core/js/bubbfil.js | JavaScript | gpl-2.0 | 178 |
var fs = require('fs'),
path = require('path'),
async = require('../support/async.min.js'),
os = require('os').platform(),
exec = require('child_process').exec,
spawn = require('child_process').spawn,
Registry = require('./registry'),
exports = module.exports = functio... | opentune/opentune | node_modules/liquid-ffmpeg/lib/processor.js | JavaScript | gpl-2.0 | 23,995 |
package ca.cs.ualberta.rozsa_expensetracker;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;
//Claim view. Did not implement be... | ChuckRozsa/rozsa-ExpenseTracker | src/ca/cs/ualberta/rozsa_expensetracker/ClaimViewActivity.java | Java | gpl-2.0 | 1,297 |
// SmoothScroll v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Patrick Brunner (original idea)
// - Michael Herf (Pulse Algorithm)
// Scroll Variables (tweakable)
var defaultOptions = {
// Scrolling Core
frameRate : 150, // [... | davidHuanghw/david_blog | wp-content/themes/marroco/assets/js/vendors/jquery.smooth-scroll/jquery.smooth-scroll.js | JavaScript | gpl-2.0 | 16,306 |
<?php
/**
* @package AcyMailing for Joomla!
* @version 4.6.0
* @author acyba.com
* @copyright (C) 2009-2014 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
class UserViewUser extends acymailingView
{
fun... | Chaitra0209/csuf-biometrics2 | components/com_acymailing/views/user/view.html.php | PHP | gpl-2.0 | 5,964 |
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... | seanachaidh/avalon | App/Http/Controllers/Auth/LoginController.php | PHP | gpl-2.0 | 954 |
/*
* compiler/compemu_midfunc_arm.cpp - Native MIDFUNCS for ARM
*
* Copyright (c) 2014 Jens Heitmann of ARAnyM dev team (see AUTHORS)
*
* Inspired by Christian Bauer's Basilisk II
*
* Original 68040 JIT compiler for UAE, copyright 2000-2002 Bernd Meyer
*
* Adaptation for Basilisk II and improvements, copyrig... | aranym/aranym | src/uae_cpu/compiler/compemu_midfunc_arm.cpp | C++ | gpl-2.0 | 30,786 |
/*
* VoiceEqualityRangeFeature.java
* Version 1.2
*
* Last modified on April 11, 2010.
* McGill University
*/
package jsymbolic.features;
import java.util.LinkedList;
import javax.sound.midi.*;
import ace.datatypes.FeatureDefinition;
import jsymbolic.processing.MIDIIntermediateRepresentations;
/**
* A featur... | dmcennis/jMir | jMIR_2_4_developer/jSymbolic/src/jsymbolic/features/VoiceEqualityRangeFeature.java | Java | gpl-2.0 | 4,264 |
<?php
$sm_label = ot_get_option('h_sm_label');
$pinterest = ot_get_option('h_pinterest');
$dropbox = ot_get_option('h_dropbox');
$google_plus = ot_get_option('h_google_plus');
$jolicloud = ot_get_option('h_jolicloud');
$yahoo = ot_get_option('h_yahoo');
$blogger = ot_get_option('h_blogger');
... | ronykader06/Badsha | wp-content/themes/dokan.me/includes/header-social-media.php | PHP | gpl-2.0 | 7,841 |
(function ($) {
Drupal.behaviors.initColorbox = {
attach: function (context, settings) {
if (!$.isFunction($.colorbox)) {
return;
}
$('a, area, input', context)
.filter('.colorbox')
.once('init-colorbox')
.colorbox(settings.colorbox);
}
};
{
$(document).bind('cbox_complete', ... | mikeusry/hgia | athens_ga/js/js_dYU5nuz6qyyjAASTaIu-FngprZm60naMXDmPgEyhE1Y.js | JavaScript | gpl-2.0 | 52,182 |
<?php
class JConfig {
public $MetaAuthor = '1';
public $MetaDesc = '';
public $MetaKeys = '';
public $MetaRights = '';
public $MetaTitle = '1';
public $MetaVersion = '0';
public $access = '1';
public $cache_handler = 'file';
public $cachetime = '15';
public $caching = '0';
public $captcha = '0';
public $coo... | kitilink/helix3 | configuration.php | PHP | gpl-2.0 | 2,291 |
<?php namespace DivideBV\PHPDivideIQ;
/**
* This file is part of PHPDivideIQ.
*
* PHPDivideIQ 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 l... | DivideBV/PHPDivideIQ | src/Settings.php | PHP | gpl-2.0 | 2,976 |
// license:BSD-3-Clause
// copyright-holders:R. Belmont, Acho A. Tang
/***************************************************************************
Wild West C.O.W.boys of Moo Mesa
Bucky O'Hare
(c) 1992 Konami
Driver by R. Belmont and Acho A. Tang based on xexex.c by Olivier Galibert.
Moo Mesa protection informati... | Unrepentant-Atheist/mame | src/mame/drivers/moo.cpp | C++ | gpl-2.0 | 45,347 |
//
// Author: Vladimir Migashko <migashko@faslib.com>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
#ifndef FAS_ADV_AMF_SRV_STATE3_HPP
#define FAS_ADV_AMF_SRV_STATE3_HPP
#include <vector>
#include <iostream>
#include <fas/adv/amf/srv/tags.hpp>
//#include <fas/amf/types.hpp>
namesp... | mambaru/leveldb-daemon | fas/adv/amf/srv/ad_state3.hpp | C++ | gpl-2.0 | 733 |
'use strict';
angular.module('restFrontendApp')
.factory('MainSrvc', function ($resource) {
return $resource('http://localhost:8080/RestBackEnd/services/rest/contact/:id',{id:'@_id'}, {
getData: {
method:'GET',
isArray: false
},
postData: {
method:'POST'
}
});
});
| davidetrapani/OracleDB_RestBackEnd | restFrontend/app/scripts/services/main.js | JavaScript | gpl-2.0 | 305 |
package leetcode;
/**
* 24. Swap Nodes in Pairs
*
* Given a linked list, swap every two adjacent nodes and return its head.
*
* Example:
*
* Given 1->2->3->4, you should return the list as 2->1->4->3.
* Note:
*
* Your algorithm should use only constant extra space.
* You may not modify the values in the lis... | MathactwFX/java | exercise/src/main/java/leetcode/SwapNodesInPairs.java | Java | gpl-2.0 | 2,107 |
tinyMCE.addI18n("sk.advlink_dlg", {
target_name: "Názov cieľa",
classes: "Triedy",
style: "Štýl",
id: "ID",
popup_position: "Umiestnenie (X/Y)",
langdir: "Smer textu",
popup_size: "Veľkosť",
popup_dependent: "Závislosť (iba Mozilla/Firefox)",
popup_resizable: "Umožniť zmenu veľkosti"... | openacs/openacs-core | packages/acs-templating/www/resources/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sk_dlg_src.js | JavaScript | gpl-2.0 | 1,996 |
// Load modules
var NodeUtil = require('util');
var Hoek = require('hoek');
// Declare internals
var internals = {
flags: ['deep', 'not', 'once', 'only', 'part'],
grammar: ['a', 'an', 'and', 'at', 'be', 'have', 'in', 'to'],
locations: {},
count: 0
};
exports.settings = {
truncateMessages: true
... | gvishnu06/insolent-wookie | node_modules/code/lib/index.js | JavaScript | gpl-2.0 | 9,674 |
package org.apache.xmlrpc;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.EmptyStackException;
import java.util.Hashtable;
import java.util.Stack;
import java.util.Vector;
import org.apache.log4j.Logger;
/*
* OctetServer.java
*
* Created on 2. Juli 2004, 15:09
*/
/**
*
* @author ol... | BayCEER/bayeos-xmlrpc | src/main/java/org/apache/xmlrpc/OctetServer.java | Java | gpl-2.0 | 5,601 |
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class Society {
//Societies are built based on a BaseSociety for a specific World.
//These are the societies players may meet in the real world. They share a pointer to their BaseSociety ... | lries/worldgen-repo | WorldManagement/src/Society.java | Java | gpl-2.0 | 2,291 |
#! python
import sys
reader = open(sys.argv[1], 'r')
writer = open(sys.argv[2], 'w')
def calcIdentity(stringa,stringb):
counter = 0
counter2 = 0
if len(stringa) != len(stringb):
return 0
for x in range(len(stringa)):
if stringa[x] == stringb[x]:
#print stringa[x]+stringb[x]
counter += 1
counter2 += 1... | carstenuhlig/gobi | python/calc_Identity.py | Python | gpl-2.0 | 666 |
#! /usr/bin/python
# -*- coding: utf-8 -*-
"""
Copyright (C) 2013 Sebastien GALLET <bibi21000@gmail.com>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ... | bibi21000/agocontrol | debian/agocontrol-tellstick/opt/agocontrol/bin/agotellstick.py | Python | gpl-2.0 | 18,493 |
/***************************************************************************
qgsoptions.cpp
Set user options and preferences
-------------------
begin : May 28, 2004
copyright : (C) 2004 by Gary E.Sherman
em... | kalxas/QGIS | src/app/options/qgsoptions.cpp | C++ | gpl-2.0 | 142,532 |
package edu.ku.brc.specify.tasks.subpane.wb;
class SgrHeading implements GridTableHeader {
private final Short viewOrder;
public SgrHeading(short viewOrder)
{
this.viewOrder = viewOrder;
}
@Override
public int compareTo(GridTableHeader o)
{
return this.getViewOrder() - o.getViewOrder();
}
@Override
... | specify/specify6 | src/edu/ku/brc/specify/tasks/subpane/wb/SgrHeading.java | Java | gpl-2.0 | 712 |
# templater.py - template expansion for output
#
# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2, incorporated herein by reference.
from i18n import _
import re, sys, os
import util, config, templat... | dkrisman/Traipse | mercurial/templater.py | Python | gpl-2.0 | 7,996 |
<?php
namespace SSOPress\Core;
if(!defined('ABSPATH')) die();
class URLRewriter{
public function init(){
$this->add_rewrite_tags();
$this->add_rewrite_rules();
}
private function add_rewrite_tags(){
add_rewrite_tag('%ssopress%', '([^&]+)');
add_rewrite_tag('%ssopress_action%'... | justinoue/SSOPress | core/url_rewriter.php | PHP | gpl-2.0 | 680 |
/**
* ClarescoExperienceAPI
* Copyright
*
* 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 Foundation.
*
* Please contact Claresco, www.claresco.com, if you have any questions.
**/
pa... | claresco/Tinman | src/com/claresco/tinman/lrs/XapiLanguageMap.java | Java | gpl-2.0 | 2,099 |
using System;
public class Seven
{
static void Main()
{
int a = 2;
int b = 0;
int c = 10001;
while (b <= c)
{
if (Prime(a))
b++;
if (b < c)
a++;
}
Console.WriteLine("{0}", a);
}
// Test for primality up to n.
static bool Prime(int n)
{
if (n % 2 == 0)... | bhalash/Project-Euler | csharp/07.cs | C# | gpl-2.0 | 449 |
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2011 Nick Hall
# Copyright (C) 2011 Tim G L Lyons
#
# 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 th... | Nick-Hall/gramps | gramps/plugins/gramplet/backlinks.py | Python | gpl-2.0 | 10,199 |
# -*-python-*-
# GemRB - Infinity Engine Emulator
# Copyright (C) 2003-2005 The GemRB Project
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your opt... | NickDaly/GemRB-FixConfig-Branch | gemrb/GUIScripts/GUISTORE.py | Python | gpl-2.0 | 42,696 |
/*
* 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 test;
import java.io.StringReader;
import unalcol.io.Read;
import unalcol.io.ShortTermMemoryReader;
import unalcol... | BIORIMP/biorimp | BIO-RIMP/HAEAsrc/test/DoubleArrayTest.java | Java | gpl-2.0 | 2,482 |
<?php
/*-----------------------------------------------------------------------------------*/
/* This theme supports WooCommerce, woo! */
/*-----------------------------------------------------------------------------------*/
add_action( 'after_setup_theme', 'woocommerce_support' );
function woocommerce_support() {
a... | Recongt/www-ecommerce- | wp-content/themes/wootique/includes/theme-woocommerce.php | PHP | gpl-2.0 | 7,839 |
/*
* File: ximaraw.cpp
* Purpose: Platform Independent RAW Image Class Loader
* 16/Dec/2007 Davide Pizzolato - www.xdp.it
* CxImage version 7.0.2 07/Feb/2011
*
* CxImageRAW (c) May/2006 pdw63
*
* based on dcraw.c -- Dave Coffin's raw photo decoder
* Copyright 1997-2007 by Dave Coffin, dcoffin a cybercom o net... | csxiaomiao/SGF2GIF | 3rdpart/CxImage/ximaraw.cpp | C++ | gpl-2.0 | 8,919 |
<div id="sidebar_default">
<div id="sidebar">
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar Widgets')) : else : ?>
<!-- All this stuff in here only shows up if you DON'T have any widgets active in this zone -->
<div class="sidebar-widget-style">
<h2 class="sidebar-widge... | cyberchimps/DroidPress | sidebar.php | PHP | gpl-2.0 | 2,243 |
<?php
/**
* Internationalisation file for extension OggPlayer.
*
* @file
* @ingroup Extensions
*/
$messages = array();
$messages['en'] = array(
'ogg-desc' => 'Handler for Ogg Theora and Vorbis files, with JavaScript player',
'ogg-short-audio' => 'Ogg $1 sound file, $2',
'ogg-short-video' ... | etsursalesforce/kolzchut | extensions/OggHandler/OggHandler.i18n.php | PHP | gpl-2.0 | 254,502 |
package com.picturebooks.mobilepicturebooks;
import android.os.Bundle;
import org.apache.cordova.*;
import database.DatabaseHelper;
public class MenuActivity extends DroidGap {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.init();
DatabaseHelper dbH... | SharmaineLim/funimals | src/com/picturebooks/mobilepicturebooks/MenuActivity.java | Java | gpl-2.0 | 545 |
/*
* Variables en modo produccion.
*
*/
var URL_SERVICE = "http://inver.nuevebit.com"; | NueveBit/inver | src/www/js/env_prod.js | JavaScript | gpl-2.0 | 91 |
package com.brainnet.smartremote.device;
public class DeviceIRDA extends DeviceBase {
public DeviceIRDA(String name, String id, String pwd, String type,DeviceController controller) {
super(name, id, pwd, type,controller);
// TODO Auto-generated constructor stub
}
@Override
public void update() {
... | githubdelegate/remoteControl | SmartRemote/src/com/brainnet/smartremote/device/DeviceIRDA.java | Java | gpl-2.0 | 368 |
/*
* 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 mx.avanti.siract.application.helper;
import java.io.Serializable;
import java.util.Objects;
import mx.avanti.siract.business.e... | UABCAvanTI/AvanTI-SIRACT | Siract/src/java/mx/avanti/siract/application/helper/NodoMultiClass.java | Java | gpl-2.0 | 11,590 |
/*
* Copyright (C) 2010-2012 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.
*
... | mekinik232/ambipi | xbmc/utils/BitstreamConverter.cpp | C++ | gpl-2.0 | 24,207 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<title>领域-研发埠|yanfabu.com-研发创新互动平台</title>
<meta name="Keywords" content="CAE,yanfabu.com,研发埠,研发部,Open,Innovation,流体,光学,化学,机械工程,冶金工程,电子,兵器科学,大学,文献,开放,创新">
<me... | aimeet/yanfabuUI | search_list.php | PHP | gpl-2.0 | 21,651 |
package ua.org.project.util.json;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import org.joda.time.DateTime;
import org.joda.time.format.DateT... | akvamor/blog | src/main/java/ua/org/project/util/json/JodaDateTimeSerializer.java | Java | gpl-2.0 | 1,669 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright 2007 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This progra... | piran9/Project | src/internet/model/global-router-interface.cc | C++ | gpl-2.0 | 55,105 |
/*
* Copyright (c) 1998-2011 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... | dlitz/resin | modules/resin/src/com/caucho/jsp/JspParser.java | Java | gpl-2.0 | 58,114 |
package system
import (
"github.com/zenazn/goji/web"
"net/http"
)
// Makes sure templates are stored in the context
func (application *Application) ApplyTemplates(c *web.C, h http.Handler) http.Handler {
fn := func(w http.ResponseWriter, r *http.Request) {
c.Env["Template"] = application.Template
h.ServeHTTP(w... | tzjin/sniksnak | system/middleware.go | GO | gpl-2.0 | 589 |
#include "TestbedNodeManager.h"
#include "omnetpp.h"
using namespace omnetpp;
namespace traci
{
Define_Module(TestbedNodeManager)
void TestbedNodeManager::initialize()
{
m_twinId = par("twinId").stringValue();
m_twinName = par("twinName").stringValue();
BasicNodeManager::initialize();
}
cModule* Testbe... | riebl/artery | src/traci/TestbedNodeManager.cc | C++ | gpl-2.0 | 597 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Alceste.Model;
using Alceste.Plugin.AudioController.InputFileFormat;
using Alceste.Plugin.Ftp;
namespace Alceste.Plugin.Utils
{
public static class UtilsController
{
public stat... | rikkimongoose/alceste | src/Alceste.Plugin/Utils/UtilsController.cs | C# | gpl-2.0 | 5,569 |
/*
Copyright 2007-2011 The University of Texas at Austin
Authors: Joe Rivera <transfix@ices.utexas.edu>
Advisor: Chandrajit Bajaj <bajaj@cs.utexas.edu>
This file is part of VolMagick.
VolMagick is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Genera... | transfix/trans-cvc | src/cvc/vtk_io.cpp | C++ | gpl-2.0 | 15,864 |
/*
Copyright (C) 2003 - 2016 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either v... | t-zuehlsdorff/wesnoth | src/widgets/combo.cpp | C++ | gpl-2.0 | 1,985 |
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package tresource
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initi... | mattsteele/tresource.dev | wp-content/themes/tresource/header.php | PHP | gpl-2.0 | 2,828 |
require 'test_helper'
class Catalogs::Products::PricesHelperTest < ActionView::TestCase
end
| 929528/PetroleumAccounting | test/helpers/catalogs/products/prices_helper_test.rb | Ruby | gpl-2.0 | 93 |
package ug3.selp.timetable.tab_adapters;
import ug3.selp.timetable.fragments.DayFragment;
import ug3.selp.timetable.service.Resources;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import android... | easyCZ/UoE-Informatics-Timetable | SELP3/src/ug3/selp/timetable/tab_adapters/ViewPagerAdapter.java | Java | gpl-2.0 | 1,724 |
// OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2012-201... | proxysh/Safejumper-for-Android | app/src/main/cpp/openvpn3/openvpn/openssl/crypto/cipher.hpp | C++ | gpl-2.0 | 5,022 |
/*
*
*
* Copyright 1990-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program 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 ... | tommythorn/yari | shared/cacao-related/phoneme_feature/cldc/src/tools/memprof_client/src/data/JavaClass.java | Java | gpl-2.0 | 1,528 |
<?php
/**
* ForgeIgniter
*
* A user friendly, modular content management system.
* Forged on CodeIgniter - http://codeigniter.com
*
* @package ForgeIgniter
* @author ForgeIgniter Team
* @copyright Copyright (c) 2015, ForgeIgniter
* @license http://forgeigniter.com/license
* @link http://forgeigniter.com/
... | Forgeigniter/ForgeIgniter-CI-2.x | ForgeIgniter/modules/images/controllers/admin.php | PHP | gpl-2.0 | 15,680 |
package com.data_mining.model.clusters;
import java.util.ArrayList;
import java.util.List;
/**
* List of Bisect clusters
* @author Janakiraman
*
*/
public class BisectClusterList {
private List<BisectCluster> bisectList;
public BisectClusterList()
{
bisectList = new ArrayList<BisectCluster>();
}
pub... | Johny-kann/Clustering_Algorithms | src/com/data_mining/model/clusters/BisectClusterList.java | Java | gpl-2.0 | 614 |
<?php // $Id$
require_once("$CFG->dirroot/question/format/qti_two/qt_common.php");
////////////////////////////////////////////////////////////////////////////
/// IMS QTI 2.0 FORMAT
///
/// HISTORY: created 28.01.2005 brian@mediagonal.ch
//////////////////////////////////////////////////////////////////////////... | ajv/Offline-Caching | question/format/qti_two/format.php | PHP | gpl-2.0 | 34,848 |
package es.mompes.supermanager.basededatos;
import java.util.LinkedList;
import java.util.List;
import es.mompes.supermanager.util.Contenedor;
import android.app.Activity;
import android.content.ContentValues;
import android.database.Cursor;
/**
* Tabla de usuarios, contienen sus nicknames y contraseñas.
*
* @au... | mompes/supermanager | src/es/mompes/supermanager/basededatos/TablaUsuarios.java | Java | gpl-2.0 | 4,569 |
// Copyright (C) 2016 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)... | paranoiacblack/gcc | libstdc++-v3/testsuite/21_strings/basic_string/cons/wchar_t/8.cc | C++ | gpl-2.0 | 2,297 |
/*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.telegram.ui.Cells;
import android.content.Context;
import android... | shazangroup/Mobograph | TMessagesProj/src/main/java/org/telegram/ui/Cells/HintDialogCell.java | Java | gpl-2.0 | 7,135 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Ombi.Core;
using Ombi.Helpers;
using Ombi.Hubs;
using Ombi.Notifications.Models;
using Ombi.Schedule.Jobs.P... | tidusjar/Ombi | src/Ombi.Schedule/Jobs/Plex/PlexAvailabilityChecker.cs | C# | gpl-2.0 | 9,045 |
/*PGR-GNU*****************************************************************
File: pickDeliver_driver.cpp
Generated with Template by:
Copyright (c) 2015 pgRouting developers
Mail: project@pgrouting.org
Function's developer:
Copyright (c) 2015 Celia Virginia Vergara Castillo
Mail:
------
This program is free software;... | daas-ankur-shukla/pgrouting | src/pickDeliver/src/pickDeliverEuclidean_driver.cpp | C++ | gpl-2.0 | 4,840 |
import { Component, OnInit } from "@angular/core";
import { FormBuilder, FormGroup, Validators } from "@angular/forms";
import { IMinimumAvailability, IRadarrProfile, IRadarrRootFolder } from "../../interfaces";
import { IRadarrSettings } from "../../interfaces";
import { RadarrService } from "../../services";
import ... | tidusjar/PlexRequests.Net | src/Ombi/ClientApp/src/app/settings/radarr/radarr.component.ts | TypeScript | gpl-2.0 | 5,080 |
jQuery(document).ready( function($) {
$('.date').datepick();
$('#period_num_prizes').one('keyup', function(event){
$(this).after("<br/><span class='description' style='color: red;'> Após alterar o número de prêmios, salve o período para configurá-los. </span>");
$('#prizes').hide(300);
});
}); | memuller/benedict-old | wp-content/plugins/benedict_plugin/js/admin/period.js | JavaScript | gpl-2.0 | 316 |
package fr.inria.contraintes.biocham.menus;
import fr.inria.contraintes.biocham.BiochamDynamicTree;
import fr.inria.contraintes.biocham.BiochamMainFrame;
import fr.inria.contraintes.biocham.BiochamModel;
import fr.inria.contraintes.biocham.WorkbenchActionListener;
import fr.inria.contraintes.biocham.utils.BrowserLaunch... | Thomashuet/Biocham | gui/menus/BiochamMenuBar.java | Java | gpl-2.0 | 28,391 |
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package WordPress
* @subpackage SCS
* @since SCS 0.1
*/
?>
</div>
<!-- #main -->
<footer id="colophon" role="contentinfo">
<div class="footer-top-wrapper"> <?php
/* A sidebar in the f... | thereelists/scs | wp-content/themes/specialist_cosmetic_surgery/footer_old.php | PHP | gpl-2.0 | 1,582 |
<?php
/**
* @version SEBLOD 3.x Core ~ $Id: searchs.php sebastienheraud $
* @package SEBLOD (App Builder & CCK) // SEBLOD nano (Form Builder)
* @url https://www.seblod.com
* @editor Octopoos - www.octopoos.com
* @copyright Copyright (C) 2009 - 2017 SEBLOD. All Rights Reserved.
* @license GNU Genera... | oliviernolbert/SEBLOD | administrator/components/com_cck/models/searchs.php | PHP | gpl-2.0 | 9,119 |
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Encrypt;
\defined('JPATH_PLATFORM') or die;
/**
* This class provides an RF... | astridx/joomla-cms | libraries/src/Encrypt/Totp.php | PHP | gpl-2.0 | 4,866 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LMDb.Db
{
/**
* Series object
*/
public class Rating : IContentLink
{
public Rating()
{
Movies = new List<Movie>();
Series = new L... | HugoC4/LMDb | LMDb/Db/Rating.cs | C# | gpl-2.0 | 676 |
require_relative 'server'
require_relative 'stub_server_middleware'
require 'httparty'
require 'uri'
require 'find_a_port'
module Shokkenki
module Consumer
module Stubber
class LocalServerStubber
attr_reader :port, :host, :scheme, :interactions_path, :server
def initialize attributes
... | brentsnook/shokkenki-consumer | lib/shokkenki/consumer/stubber/local_server_stubber.rb | Ruby | gpl-2.0 | 3,114 |
/*
* Copyright (c) 2012, Codename One 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 Sof... | sannysanoff/CodenameOne | Ports/Android/src/com/codename1/social/FacebookImpl.java | Java | gpl-2.0 | 10,296 |
/*
2013 Measuring Broadband America Program
Mobile Measurement Android Application
Copyright (C) 2012 SamKnows Ltd.
The FCC Measuring Broadband America (MBA) Program's Mobile Measurement Effort developed in cooperation with SamKnows Ltd. and diverse stakeholders employs an client-server based anonymized data collecti... | yositune/mobile-mba-androidapp | AndroidAppLibrary/src/com/samknows/measurement/activity/components/MapPopup.java | Java | gpl-2.0 | 3,036 |
# ruby-nxt Control Mindstorms NXT via Bluetooth Serial Port Connection
# Copyright (C) 2006 Matt Zukowski <matt@roughest.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 o... | jaehess/ruby-nxt | lib/sensors/ultrasonic_sensor.rb | Ruby | gpl-2.0 | 3,630 |
/*global wc_country_select_params */
jQuery( function( $ ) {
// wc_country_select_params is required to continue, ensure the object exists
if ( typeof wc_country_select_params === 'undefined' ) {
return false;
}
});
| eantz/ShipID | assets/js/country-select.js | JavaScript | gpl-2.0 | 223 |
package sys.media;
import gui.conference.ConfControl;
import javax.sound.sampled.DataLine;
import javax.sound.sampled.SourceDataLine;
import javax.sound.sampled.TargetDataLine;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.LineUnavailableException;
import ja... | Exiliot/video-conference | ClientSystem/src/sys/media/AudioManager.java | Java | gpl-2.0 | 5,120 |
/*
===========================================================================
Copyright (C) 2000 - 2013, Raven Software, Inc.
Copyright (C) 2001 - 2013, Activision, Inc.
Copyright (C) 2013 - 2015, OpenJK contributors
This file is part of the OpenJK source code.
OpenJK is free software; you can redistribute it and/or... | mrwonko/Jedi-Academy--Renaissance | codemp/game/NPC_stats.cpp | C++ | gpl-2.0 | 81,149 |
from termcolor import colored
import cherrywasp.logger
class CherryAccessPoint:
""" An object that represents an Access Point seen in the environment.
Inputs:
- bssid(str) the MAC address of the device sending beacon frames
- file_prefix(str) the file prefix to use when creating the .csv file.
... | ajackal/cherry-wasp | cherrywasp/accesspoint.py | Python | gpl-2.0 | 1,136 |
<?php
/**
* @author Gasper Kozak
* @copyright 2007-2010
This file is part of WideImage.
WideImage is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at you... | tectronics/amoebacms | components/media/wideimage/Operation/CopyChannelsTrueColor.php | PHP | gpl-2.0 | 1,880 |
/*
* Stellarium Telescope Control Plug-in
*
* Copyright (C) 2009 Bogdan Marinov (this file,
* reusing code written by Johannes Gajdosik in 2006)
*
* Johannes Gajdosik wrote in 2006 the original telescope control feature
* as a core module of Stellarium. In 2009 it was significantly extended with
* GUI feature... | Stellarium/stellarium | plugins/TelescopeControl/src/Lx200/TelescopeClientDirectLx200.cpp | C++ | gpl-2.0 | 8,607 |
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package WordPress
* @subpackage demo
* @si... | trungkienpvt/wordpress | wp-content/themes/ecommerce/page-report.php | PHP | gpl-2.0 | 664 |
#include "mainview.h"
#include "scrollarea.h"
#include <QSplitter>
#include <QHBoxLayout>
#include <QTextEdit>
#include <QPushButton>
MainView::MainView(QWidget *parent)
: QWidget(parent), i(0)
{
QHBoxLayout *lay = new QHBoxLayout;
QSplitter *splitter = new QSplitter;
scrollArea = new ScrollArea;
... | neurosuite/libneurosuite | test/mainview.cpp | C++ | gpl-2.0 | 873 |
/**
* DOCLink 1.5.x
* @version $Id: hu.js 362 2007-09-26 19:19:03Z mjaz $
* @package DOCLink_1.5
* @copyright (C) 2003-2007 The DOCman Development Team
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.joomlatools.org/ Official website
**/
/**
* TRANSLATORS:
* PLEASE CHANGE... | thinkcollege/tc-code | plugins/editors-xtd/doclink/lang/hu.js | JavaScript | gpl-2.0 | 763 |
define(['datetime', 'focusManager'], function (datetime, focusManager) {
return function (options) {
var self = this;
var lastFocus = 0;
self.refresh = function () {
reloadPage(options.element);
};
// 30 mins
var cellCurationMinutes = 30;
var c... | JfelixStudio/Polflix | components/tvguide/guide.js | JavaScript | gpl-2.0 | 20,046 |
<?php
/*
** Zabbix
** Copyright (C) 2001-2018 Zabbix SIA
**
** 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.
**
** Th... | zyongqing/okp | frontends/php/include/classes/helpers/CViewHelper.php | PHP | gpl-2.0 | 1,153 |
/*
Jquery Validation using jqBootstrapValidation
example is taken from jqBootstrapValidation docs
*/
$(function() {
$("input,textarea").jqBootstrapValidation({
preventSubmit: true,
submitError: function($form, event, errors) {
// something to have when submit produces an error ?... | tejdeeps/tejcs.com | l4sure/js/contact_me.js | JavaScript | gpl-2.0 | 3,169 |
/*
* 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 Util;
import dto.PermisoDTO;
import dto.UsuarioDTO;
import java.io.IOException;
import java.util.List;
import javax.faces.bean... | jorgeevj/SICOTEC | sicotec-war/src/java/Util/Utils.java | Java | gpl-2.0 | 1,048 |
package com.gravityrd.receng.web.webshop.jsondto;
import com.gravityrd.receng.web.webshop.jsondto.facet.FacetResponse;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Arrays;
import... | gravityrd/jsondto | src/main/java/com/gravityrd/receng/web/webshop/jsondto/GravityItemRecommendation.java | Java | gpl-2.0 | 2,832 |
/*
Copyright 2013 Brett Story and Kyle Falconer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | netinept/CSC-525-Computer-Graphics | project/Project/Project/display.cpp | C++ | gpl-2.0 | 6,258 |
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2007-2008 Brian G. Matherly
# Copyright (C) 2009 Gary Burton
# Contribution 2009 by Reinhard Mueller <reinhard.mueller@bytewise.at>
# Copyright (C) 2010 Jakim Friant
# Copyright (C) 2013-2014 Paul Franklin
#
# This program is free softwar... | pmghalvorsen/gramps_branch | gramps/plugins/textreport/kinshipreport.py | Python | gpl-2.0 | 16,756 |
<?php
/** Jkreativ Admin Page */
if( defined('JEG_PLUGIN_JKREATIV') ) {
locate_template(array('admin/import/import-content.php'), true, true);
locate_template(array('admin/init-dashboard.php'), true, true);
locate_template(array('admin/init-widget.php'), true, true);
locate_template(array('admi... | OpenDoorBrewCo/odbc-wp-prod | wp-content/themes/jkreativ-themes/lib/admin.php | PHP | gpl-2.0 | 925 |