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 |
|---|---|---|---|---|---|
(function( $ ) {
'use strict';
/**
* All of the code for your admin-facing JavaScript source
* should reside in this file.
*
* This enables you to define handlers, for when the DOM is ready:
*
* $(function() {
*
* });
*
* When the window is loaded:
*
* $( window ).load(function() {
*
* })... | BenRichter/wp-offline-saver | admin/js/offline-saver-admin.js | JavaScript | gpl-2.0 | 395 |
/////////////////////////////////////////////////////////////////////////////
//
// (c) 2007 BinaryComponents Ltd. All Rights Reserved.
//
// http://www.binarycomponents.com/
//
/////////////////////////////////////////////////////////////////////////////
using System;
using System.Drawing;
using System.Win... | CecleCW/ProductMan | ProductMan/SuperList/Sections/OptionsToolbarSection.cs | C# | gpl-2.0 | 9,455 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using TestBase4.TestCases.AReferencedAssembly;
using TestBase4.TestCases.ReferencedAssembly2;
namespace TestBase4.TestCases
{
/// <summary>
/// "Referenced Assembly" as ... | chrisfcarroll/TestBase4 | TestBase4.TestCases/ForceReferencesToReferencedAssemblies.cs | C# | gpl-2.0 | 1,000 |
<?php
/**
* @package Redirect-On-Login (com_redirectonlogin)
* @version 3.1.0
* @copyright Copyright (C) 2008 - 2013 Carsten Engel. All rights reserved.
* @license GPL versions free/trial/pro
* @author http://www.pages-and-items.com
* @joomla Joomla is Free Software
*/
// no direct access
defined('_JEXEC') or die('Res... | tannpv/pepmobile | administrator/components/com_redirectonlogin/controller.php | PHP | gpl-2.0 | 33,665 |
/*
* Swiper 2.2 - Mobile Touch Slider
* http://www.idangero.us/sliders/swiper/
*
* Copyright 2012-2013, Vladimir Kharlampidi
* The iDangero.us
* http://www.idangero.us/
*
* Licensed under GPL & MIT
*
* Updated on: September 15, 2013
*/
var Swiper = function (selector, params) {
/*============... | calebcauthon/twoshakesofhappy_www | wp-content/themes/salient/js/nectar-slider.js | JavaScript | gpl-2.0 | 143,574 |
<?php
/* themes/bootstrap/templates/input/form-element-label.html.twig */
class __TwigTemplate_2354354cef59de02f70fe1144f1a4083879f91af2173de96ec49e7588478ad73 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
... | deryfebriantara/symfonyId | sites/default/files/php/twig/5f824940_form-element-label.html.twig_e0c8a63f3b0b48ed3558d578ef47b789cd3f238cc627840ac50fc59ef423cc38/9aaa7c0638dd7945f276f16f3231b99db32ab31f72831a88b8a28085933b6980.php | PHP | gpl-2.0 | 5,618 |
<?php
/*
* @deprecated since 6.0, the classname Tx_Extbase_Persistence_Exception_UnsupportedRelation and this file is obsolete
* and will be removed with 6.2. The class was renamed and is now located at:
* typo3/sysext/extbase/Classes/Persistence/Generic/Exception/UnsupportedRelationException.php
*/
require_once \T... | tonglin/pdPm | public_html/typo3_src-6.1.7/typo3/sysext/extbase/Classes/Persistence/Exception/UnsupportedRelation.php | PHP | gpl-2.0 | 467 |
<?php
namespace duncan3dc\Serial;
use duncan3dc\Serial\Exceptions\PhpException;
class Php extends AbstractSerial
{
/**
* Convert an array to a php serialized string.
*
* {@inheritDoc}
*/
public static function encode($array)
{
if (count($array) < 1) {
return "";
... | jeedom/plugin-sonos | vendor/duncan3dc/serial/src/Php.php | PHP | gpl-2.0 | 950 |
/**
* @author Eric D. Dill eddill@ncsu.edu
* @author James D. Martin jdmartin@ncsu.edu
* Copyright © 2010-2013 North Carolina State University. All rights reserved
*/
package email;
import java.util.Properties;
public class PropertiesFactory {
public static Properties getGmailProperties() {
Properties gmail =... | TheMartinLab/GlobalPackages | misc/email/PropertiesFactory.java | Java | gpl-2.0 | 536 |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use app\models\Lookup;
/* @var $this yii\web\View */
/* @var $searchModel app\models\PostSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = '文章管理';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="post-index">
<h1><?= Htm... | liuayong/Yii2Blog | views/post/index.php | PHP | gpl-2.0 | 1,072 |
#include "config.h"
#include "libssl.hh"
#ifdef HAVE_LIBSSL
#include <atomic>
#include <fstream>
#include <cstring>
#include <mutex>
#include <pthread.h>
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/ocsp.h>
#include <openssl/rand.h>
#include <openssl/ssl.h>
#ifdef HAVE_LIBSODIUM
#include <s... | rgacogne/pdns | pdns/libssl.cc | C++ | gpl-2.0 | 25,123 |
<?php
/*
Language: English - en (US)
Author: www.activehelper.com
Homepage: http://www.activehelper.com
Live Help Version: 2.1+
translation in Greek language by www.citiview.gr
Language codes and locale directories confirm to the ISO639 two letter standard.
Please consult the Live Help Language Setting options ... | ihooper/bluespan | sites/all/modules/contrib/activehelper_livehelp/server/i18n/gr/lang_guest_gr.php | PHP | gpl-2.0 | 8,129 |
<?php
/**
* Hello Model for Hello World Component
*
* @package Joomla.Tutorials
* @subpackage Components
* @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_4
* @license GNU/GPL
*/
// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('j... | lucashappy/ibmodels | administrator/components/com_models/models/model.php | PHP | gpl-2.0 | 4,887 |
package main
import (
"flag"
)
var BASE_SIZE = 10
var AUTO_SPAWN = true
var EXIF_DIR = "./exif_tool/exiftool"
var TEMP_DIR = "./temp"
func main() {
port := flag.String("port", "9999", "Enter a server port number")
root_dir := flag.String("root", "/", "Enter default root path")
auth_name := flag.String("auth-name... | MichaelLeachim/CoExif | main.go | GO | gpl-2.0 | 819 |
/*
* Copyright (c) 2010 Mark Liversedge (liversedge@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 License, or (at your option)
* any later version.
... | iwasaki-FTP225/gc | src/RideNavigator.cpp | C++ | gpl-2.0 | 50,179 |
/*
* Copyright (C) 2005-2017 Team Kodi
* http://kodi.tv
*
* 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.
*
* T... | cedricde/xbmc | xbmc/addons/interfaces/General.cpp | C++ | gpl-2.0 | 15,299 |
/*
* Copyright (C) 2002-2011 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | b-zaar/boxon | src/debug/debug.cpp | C++ | gpl-2.0 | 76,186 |
<?php
/**
* Fires before the display of the group membership request form.
*
* @since BuddyPress (1.1.0)
*/
do_action( 'bp_before_group_request_membership_content' ); ?>
<?php if ( !bp_group_has_requested_membership() ) : ?>
<p>
<?php
printf(
__( "You are requesting to become a member of the group '%... | klfmedia/intranet | wp-content/themes/thrive/buddypress/groups/single/request-membership.php | PHP | gpl-2.0 | 1,374 |
package io.ravitej.selenium.extensions.tests;
import io.ravitej.selenium.extensions.WebDriverExtensions;
import org.apache.commons.lang3.tuple.Pair;
import org.assertj.core.api.SoftAssertions;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import org.openqa.selenium.*;
import org.openqa.se... | ravitej-aluru/UI-Automation-Framework.Java | selenium-extensions/src/test/java/io/ravitej/selenium/extensions/tests/WebDriverExtensionsTests.java | Java | gpl-2.0 | 4,010 |
<?php
namespace Autocondat\ProfileBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\C... | erparom/autocondat_ecr | src/Autocondat/ProfileBundle/Controller/PermisosRoleController.php | PHP | gpl-2.0 | 6,996 |
<?php
namespace Notification\Messages\Code\Tables;
use Doctrine\ORM\Mapping as ORM;
/**
* Messages
*
* @ORM\Table(name="notification_messages")
* @ORM\Entity
* @ORM\HasLifecycleCallbacks
*/
class Messages extends \Kazist\Table\BaseTable
{
/**
* @var integer
*
* @ORM\Column(name="id", type="i... | kazist/kazist | applications/Notification/Messages/Code/Tables/Messages.php | PHP | gpl-2.0 | 2,373 |
/*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | Erotix8210/WoWBaseEmu | src/game/BattleGroundHandler.cpp | C++ | gpl-2.0 | 34,375 |
<?php
namespace Repository;
class AccessoRepository extends Repository
{
public function getTableName()
{
return 'accesso';
}
} | savez/presence-detector | ws/src/Repository/AccessoRepository.php | PHP | gpl-2.0 | 149 |
package com.androidgames.framework.gl;
import javax.microedition.khronos.opengles.GL10;
import android.util.FloatMath;
import com.androidgames.framework.impl.GLGraphics;
import com.androidgames.framework.math.Vector2;
public class SpriteBatcher {
final float[] verticesBuffer;
int bufferIndex;
fi... | ncuongce/SleepyTrout | src/com/androidgames/framework/gl/SpriteBatcher.java | Java | gpl-2.0 | 4,487 |
/*
* This is the source code of Telegram for Android v. 5.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-2018.
*/
package org.telegram.ui.Adapters;
import android.content.Context;
import andr... | tkpb/Telegram | TMessagesProj/src/main/java/org/telegram/ui/Adapters/DialogsSearchAdapter.java | Java | gpl-2.0 | 53,484 |
<?php
/**
* Comment function
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! function_exists( 'wolf_comment' ) ) {
/**
* Basic Comments function
*
* @param object $comment
* @param array $args
* @param int $depth
* @return void
*/
function wolf_comment( $co... | estrategasdigitales/dictobas | wp-content/themes/decibel/includes/comments.php | PHP | gpl-2.0 | 2,161 |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | aurix/lammps-induced-dipole-polarization-pair-style | src/compute_group_group.cpp | C++ | gpl-2.0 | 12,488 |
<?php
class Form_Login extends Zend_Form {
public function init(){
$login = new Zend_Form_Element_Text('login');
$login->setLabel('Login');
$login->setRequired();
$this->addElement($login);
$this->addElement('password', 'password', array(
... | Darkvador-a/Portfolio | src/application/forms/Login.php | PHP | gpl-2.0 | 455 |
(function($){
"use strict";
// wpb_el_type_position
$('.wpb-element-edit-modal .ewf-position-box div').click(function(){
// e.preventDefault();
$(this).closest('.ewf-position-box').find('div').removeClass('active');
$(this).addClass('active');
console.log('execute para... | narendra-addweb/SwitchedOn | wp-content/themes/sapphire-wp/framework/composer/params/ewf-param-position/ewf-param-position.js | JavaScript | gpl-2.0 | 1,050 |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | lenovo-a3-dev/kernel_lenovo_a3 | mediatek/custom/lenovo89_tb_twn_a_jb2/hal/imgsensor/src/cfg_setting_imgsensor.cpp | C++ | gpl-2.0 | 6,495 |
from razer.client import DeviceManager
from razer.client import constants as razer_constants
# Create a DeviceManager. This is used to get specific devices
device_manager = DeviceManager()
print("Found {} Razer devices".format(len(device_manager.devices)))
print()
# Disable daemon effect syncing.
# Without this, th... | z3ntu/razer-drivers | examples/basic_effect.py | Python | gpl-2.0 | 718 |
"""Pets now have a description
Revision ID: 0c431867c679
Revises: 5b1bdc1f3125
Create Date: 2016-11-07 18:36:25.912155
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0c431867c679'
down_revision = '5b1bdc1f3125'
branch_labels = None
depends_on = None
def upgr... | asif-mahmud/Pyramid-Apps | pethouse/alembic/versions/0c431867c679_pets_now_have_a_description.py | Python | gpl-2.0 | 659 |
package controler;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.util.Observable;
import java.util.Observer;
import javax.swing.AbstractAction;
import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
// INTERNE
import model.Model;
import ressource... | caronpe/dessinvectoriel | controler/ActionOutilTrait.java | Java | gpl-2.0 | 1,809 |
package command;
import org.junit.Test;
/**
* Created by eder on 19/10/15.
*/
public class RemoteCeilingFanTest {
@Test
public void testRemoteControlCeilingFan(){
RemoteControl remoteControl = new RemoteControl();
CeilingFan ceilingFan = new CeilingFan("Living room");
CeilingFanHi... | EderRoger/design_pattern | test/src/command/RemoteCeilingFanTest.java | Java | gpl-2.0 | 1,075 |
class movie:
"""Stores movie metadata"""
# The constructor takes
# - The Title
# - The youtube trailer
# - The poster image URL
def __init__(self, title, youtube_trailer, poster_url):
self.title = title
self.trailer_youtube_url = youtube_trailer
self.poster_image... | amilendra/Udacity_FullStack_P1_MovieTracker | media.py | Python | gpl-2.0 | 338 |
/**
* All Tax meta class
*
* JS used for the custom fields and other form items.
*
* Copyright 2012 Ohad Raz (admin@bainternet.info)
* @since 1.0
*/
var $ =jQuery.noConflict();
function update_repeater_fields(){
/**
* Datepicker Field.
*
* @since 1.0
*/
$('.at-date').each( function() {
... | FeGHeidelberg/wp_feg-heidelberg_de | wp-content/themes/churchope/backend/js/tax-meta-clss.js | JavaScript | gpl-2.0 | 8,497 |
/*
This file is part of Jedi Knight 2.
Jedi Knight 2 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.
Jedi Knight 2 is distributed in the hope that it will be useful,
but WITHOUT ANY... | BruceJohnJennerLawso/OtherJK | codeJK2/game/g_items.cpp | C++ | gpl-2.0 | 31,183 |
<?php
defined('ZOTOP') OR die('No direct access allowed.');
/**
* ipbanned
*
* @package system
* @author zotop team
* @copyright (c)2009-2011 zotop team
* @license http://zotop.com/license.html
*/
class system_model_ipbanned extends model
{
protected $pk = 'ip';
protected $table = 'ipbanned';
/**
... | zotopteam/zotop | zotop/apps/system/models/ipbanned.php | PHP | gpl-2.0 | 2,109 |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright held by original author
\\/ M anipulation |
------------------... | Unofficial-Extend-Project-Mirror/openfoam-extend-Core-OpenFOAM-1.5-dev | src/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C | C++ | gpl-2.0 | 91,729 |
<?php
/**
* ChronoCMS version 1.0
* Copyright (c) 2012 ChronoCMS.com, All rights reserved.
* Author: (ChronoCMS.com Team)
* license: Please read LICENSE.txt
* Visit http://www.ChronoCMS.com for regular updates and information.
**/
namespace GCore\Libs;
defined('_JEXEC') or die('Restricted access');
defined("GCORE_SITE"... | zanderkyle/zandergraphics | administrator/components/com_chronocontact/libs/validate.php | PHP | gpl-2.0 | 2,052 |
/*******************************************************************************
Copyright 2010 Whole Foods Co-op
This file is part of IT CORE.
IT CORE 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 Fo... | GeorgeStreetCoop/CORE-POS | pos/is4c-nf/scale-drivers/drivers/NewMagellan/SPH_Magellan_Locking.cs | C# | gpl-2.0 | 7,069 |
/*
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | loverdos/javac-openjdk7 | src/main/java/openjdk7/com/sun/tools/javac/code/BoundKind.java | Java | gpl-2.0 | 1,721 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | smeny/JPC | src/main/java/com/github/smeny/jpc/emulator/execution/opcodes/pm/fxch_ST0_ST2.java | Java | gpl-2.0 | 1,856 |
/**
* Copyright (c) 2009--2010 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | colloquium/spacewalk | java/code/src/com/redhat/rhn/frontend/action/systems/monitoring/ProbesListSetupAction.java | Java | gpl-2.0 | 2,226 |
package com.yh.hr.res.pt.queryhelper;
import com.yh.hr.res.pt.dto.PtReportHistoryDTO;
import com.yh.platform.core.dao.DaoUtil;
import com.yh.platform.core.exception.ServiceException;
import com.yh.platform.core.util.BeanHelper;
import org.apache.commons.collections.CollectionUtils;
import java.util.List;
/**
* 获取报表... | meijmOrg/Repo-test | freelance-hr-res/src/java/com/yh/hr/res/pt/queryhelper/PtReportHistoryQueryHelper.java | Java | gpl-2.0 | 1,027 |
//
// Copyright (c) 2013 Benjamin Kaufmann
//
// This file is part of Clasp. See http://www.cs.uni-potsdam.de/clasp/
//
// Clasp 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 Licens... | utexas-bwi/clasp | libclasp/src/logic_program.cpp | C++ | gpl-2.0 | 50,249 |
/* Cabal - Legacy Game Implementations
*
* Cabal is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | project-cabal/cabal | backends/graphics/opengl/opengl-graphics.cpp | C++ | gpl-2.0 | 39,193 |
/*
Google HTML5 slides template
Authors: Luke Mahé (code)
Marcin Wichary (code and design)
Dominic Mazzoni (browser compatibility)
Charles Chen (ChromeVox support)
URL: http://code.google.com/p/html5slides/
*/
var PERMANENT_URL_PREFIX = 'https://magni.me/presentation-pugbo-php... | ilbonzo/presentation-pugbo-php54 | js/slides.js | JavaScript | gpl-2.0 | 14,822 |
/*
* Copyright (C) 2009 Swedish Institute of Computer Science (SICS) Copyright (C)
* 2009 Royal Institute of Technology (KTH)
*
* KompicsToolbox 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... | Decentrify/GVoD | hops/core/src/main/java/se/sics/nstream/hops/kafka/avro/AvroParser.java | Java | gpl-2.0 | 4,973 |
package com.kartoflane.superluminal2.ui.sidebar.data;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt... | kartoFlane/superluminal2 | src/java/com/kartoflane/superluminal2/ui/sidebar/data/ImageDataComposite.java | Java | gpl-2.0 | 3,552 |
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("be... | hudsonmendes/benchmark-itextsharp-pdf-from-html-thumb | Properties/AssemblyInfo.cs | C# | gpl-2.0 | 1,456 |
/*
* Copyright (C) 2011 University of Szeged
* Copyright (C) 2011 Gabor Loki <loki@webkit.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must re... | teamfx/openjfx-8u-dev-rt | modules/web/src/main/native/Source/WTF/wtf/ParallelJobsGeneric.cpp | C++ | gpl-2.0 | 4,438 |
<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;
/**
* Sidebar Right Half Template
*
*
* @file sidebar-right-half.php
* @package Responsive
* @author Emil Uzelac
* @copyright 2003 - 2012 ThemeID
* @license license.txt
* @version Release: 1.0
*... | ianknauer/TeF_wordpress | wp-content/themes/Trottier/sidebar-home.php | PHP | gpl-2.0 | 977 |
from __future__ import with_statement
from fabric.api import task
@task
def md5():
"""
Check MD5 sums (unavailable, empty, with content)
"""
import hashlib
from fabric.api import cd, hide, run, settings
import fabtools
with cd('/tmp'):
run('touch f1')
assert fabtools.f... | juanantoniofm/accesible-moodle | fabtools/tests/fabfiles/md5.py | Python | gpl-2.0 | 590 |
require 'rubygems'
require 'oauth'
module YammerAPI
class Client
def initialize(app_key, app_secret)
@consumer = OAuth::Consumer.new(app_key, app_secret,
{:site => "https://www.yammer.com"}
)
end
def user_authenticated?
... | sitharus/kumara | lib/client.rb | Ruby | gpl-2.0 | 915 |
// Copyright 2012,2013 Vaughn Vernon
//
// 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 l... | LeonardCohen/coding | IDDD_Samples-master/agilepm/src/test/java/com/saasovation/agilepm/application/product/ProductApplicationServiceTest.java | Java | gpl-2.0 | 8,537 |
package com.atux.desktop.promocion;
import com.atux.bean.precios.Local;
import com.atux.bean.precios.LocalFlt;
import com.atux.bean.promocion.Promocion;
import com.atux.bean.promocion.PromocionDetalle;
import com.atux.bean.promocion.PromocionLocal;
import com.atux.config.APDD;
import com.atux.desktop.comun.pic... | AlanGuerraQuispe/SisAtuxPerfumeria | atux-desktop/src/main/java/com/atux/desktop/promocion/PromocionPst.java | Java | gpl-2.0 | 7,829 |
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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 of the License, or (at your
* option) any later ve... | Spade17/4.3.4-Core | src/server/shared/Database/QueryHolder.cpp | C++ | gpl-2.0 | 5,905 |
package com.example.murat.gezi_yorum.Fragments;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import an... | bugdetector/Gezi-Yorum | app/src/main/java/com/example/murat/gezi_yorum/Fragments/Notifications.java | Java | gpl-2.0 | 5,164 |
package ee.esutoniagodesu.domain.jmet.table;
import org.hibernate.annotations.Immutable;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Immutable
@Table(name = "kwginf", schema = "jmet")
public final class Kwginf implements Serializable {
private static final long serialVersionUID = 42470602... | esutoniagodesu/egd-web | src/main/java/ee/esutoniagodesu/domain/jmet/table/Kwginf.java | Java | gpl-2.0 | 1,728 |
/*
* Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | FauxFaux/jdk9-hotspot | src/share/vm/gc/shared/collectedHeap.hpp | C++ | gpl-2.0 | 25,700 |
showWord(["n. ","Boutik, magazen, kote yo vann. Nan ri sa a, gen anpil konmès."
]) | georgejhunt/HaitiDictionary.activity | data/words/konm~es_k~om~es_.js | JavaScript | gpl-2.0 | 83 |
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* Unfortunately WordPress supports PHP 5.2 even though
* everyone should now be using at least PHP 5.3.
*
* To be compatible with PHP 5.2 below you will find functions
* that are required in order to make this plugin work correctly.
*/
add_action( 'admin_notices', ... | Zduhamel/PT-JOB-FUSION | wp-content/plugins/wp-job-manager-field-editor/includes/compatibility.php | PHP | gpl-2.0 | 4,925 |
<div class="post-container">
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<a class="featured-media" title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('post-thumb'); ?>
</a> <!-- /featured-m... | immist/herbarium-theme | wp-content/themes/fukasawa/content.php | PHP | gpl-2.0 | 1,018 |
<?php
/**
* @package Search - ZOO
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');
class plgSearchZo... | knigherrant/decopatio | plugins/search/zoosearchcal/zoosearchcal.php | PHP | gpl-2.0 | 7,125 |
/*
* Copyright 2005 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... | TheTypoMaster/Scaper | openjdk/jdk/src/share/classes/com/sun/imageio/stream/CloseableDisposerRecord.java | Java | gpl-2.0 | 1,969 |
@extends("admin.main")
@section("content")
<h1 class="title">Post add</h1>
@include('errors.list')
{!! Form::open(["action" => "Admin\PostsController@store", "method" => "POST", "class" => "form-horizontal"]) !!}
<!--- Title Field --->
<div class="form-group">
{!! Form::label('title', 'T... | avengerweb/my-own-blog | resources/views/admin/blog/posts/add.blade.php | PHP | gpl-2.0 | 2,111 |
/*
*@BEGIN LICENSE
*
* PSI4: an ab initio quantum chemistry software package
*
* 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 ... | spring01/libPSI | src/bin/cchbar/Wabei_BBBB_UHF.cc | C++ | gpl-2.0 | 12,328 |
package org.insightcentre.unlp.naisc.wordalign;
import java.util.Map;
/**
* A factory for making word alignment feature extractors
*
* @author John McCrae <john@mccr.ae>
*/
public interface WordAlignmentFeatureExtractorFactory {
/**
* An identifier for this WAFE
* @return The identifier
*/
... | jmccrae/naisc | word-align/src/main/java/org/insightcentre/unlp/naisc/wordalign/WordAlignmentFeatureExtractorFactory.java | Java | gpl-2.0 | 560 |
<?php
/**
* @package EasyDiscuss
* @copyright Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* EasyDiscuss 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 ... | awc737/rcc-joomla | administrator/components/com_easydiscuss/views/spools/view.html.php | PHP | gpl-2.0 | 2,228 |
<?
/**********************************************************************
* N/X - Web Content Management System
* Copyright 2002 Sven Weih, FZI Research Center for Information Technologies
* www.fzi.de
*
* This file is part of N/X.
* The initial has been setup as a small diploma thesis (Studienarbe... | sweih/nxr | cms/api/database/updateset.php | PHP | gpl-2.0 | 2,342 |
@extends('defaults.masterpage')
@section('header')
{{ HTML::style('css/main.css') }}
<title>Edit Booking</title>
@stop
@section('content')
<center>
<div id="cover" >
{{Form::open(['route'=>'booking.store'])}}
<table id = "tabler" >
<tr>
<th colspan = "2"> Fill The Form To Edit An Appoindment</th... | Meritei/FINAL-MTRH | Mtrh/app/views/booking/edit.blade.php | PHP | gpl-2.0 | 1,163 |
tinyMCE.addI18n("ru.len-slider",{
title : "Шорткод для вставки LenSlider"
}); | gritz99/SOAP | wp-content/plugins/len-slider/js/langs/ru.js | JavaScript | gpl-2.0 | 97 |
namespace Api.HelpPage.Areas.HelpPage.ModelDescriptions
{
/// <summary>
///
/// </summary>
public class DictionaryModelDescription : KeyValuePairModelDescription
{
}
} | victorxata/bartrade.rocks | Api.HelpPage/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs | C# | gpl-2.0 | 192 |
<?php
/* * *************************************************************************************************** */
// Generate option tabs content
/* * *************************************************************************************************** */
function nimbus_field_engine() {
global $allowedtags, $NIM... | aliuwahab/saveghana | wp-content/themes/wp-opulus/nimbus/options_engine.php | PHP | gpl-2.0 | 17,082 |
<?php
/**
* @package HikaMarket for Joomla!
* @version 4.0.0
* @author Obsidev S.A.R.L.
* @copyright (C) 2011-2021 OBSIDEV. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class market_order_status_notificat... | emundus/v6 | media/com_hikamarket/mail/order_status_notification.preview.php | PHP | gpl-2.0 | 2,333 |
# -*- coding: utf-8 -*-
"""
Emotiv acquisition :
Reverse engineering and original crack code written by
Cody Brocious (http://github.com/daeken)
Kyle Machulis (http://github.com/qdot)
Many thanks for their contribution.
Need python-crypto.
"""
import multiprocessing as mp
import numpy as np
import msgpack... | Hemisphere-Project/Telemir-DatabitMe | Telemir-EEG/pyacq/pyacq/core/devices/emotiv.py | Python | gpl-2.0 | 12,623 |
// $Id: ahah.js,v 1.1.2.1 2009/03/21 19:43:51 mfer Exp $
/**
* Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP).
*
* AHAH is a method of making a request via Javascript while viewing an HTML
* page. The request returns a small chunk of HTML, which is then directly
* injected into the ... | punithagk/mpm | profiles/uberdrupal/modules/jquery_update/replace/ahah.js | JavaScript | gpl-2.0 | 7,824 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Travelling.Caching
{
public enum CacheOverdueType
{
None = 0,
AbsoluteExpiration=1,
NoSlidingExpiration=2
}
}
| binlyzhuo/travelling | src/Travelling.Caching/CacheOverdueType.cs | C# | gpl-2.0 | 246 |
#ifndef _COMMON_DEFS_
#define _COMMON_DEFS_
enum EOS_TYPE {SRK, VDW, PR, GHC};
enum FLASH_TYPE {SIMPLE };
enum SIM_TYPE {LIQDENSITY, VAPDENSITY, TPFLASH, PT_DIAGRAM, DEW_POINT, BUBBLE_POINT, PUREPSAT};
#endif
| edwardthomas/phase-equilibria-software | PVT_calc/Source/commonDefs.hpp | C++ | gpl-2.0 | 214 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace SenseNet.ContentRepository.Schema
{
public static class DynamicContentTools
{
public static IDictionary<string, FieldMetadata> GetFieldMetadata(Type type)
{
... | SenseNet/sensenet | src/ContentRepository/Schema/DynamicContentTools.cs | C# | gpl-2.0 | 4,315 |
<?php
/**
* Helper class for the Constant Contact API.
*
* @since 1.5.4
*/
final class FLBuilderServiceConstantContact extends FLBuilderService {
/**
* The ID for this service.
*
* @since 1.5.4
* @var string $id
*/
public $id = 'constant-contact';
/**
* The api url for this service.
*
* @since... | isabisa/nccdi | wp-content/plugins/bb-plugin/classes/class-fl-builder-service-constant-contact.php | PHP | gpl-2.0 | 9,692 |
/* Copyright (c) 2013 Dropbox, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish,... | aholler/snetmanmon | json11/json11.cpp | C++ | gpl-2.0 | 24,950 |
/*
This file is part of KOrganizer.
Copyright (c) 2008 Thomas Thrainer <tom_t@gmx.at>
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)... | kolab-groupware/kdepim | calendarviews/todo/todoviewview.cpp | C++ | gpl-2.0 | 6,944 |
<?php
/**
* @package ZOO Component
* @file _menu.php
* @version 2.0.1 May 2010
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) 2007 - 2010 YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
// no direct access
defined('_JEXEC') or die('Restricted acc... | alecerosiete/webBancaria | administrator/components/com_zoo/partials/_menu.php | PHP | gpl-2.0 | 2,104 |
/**
* ownCloud Android client application
*
* @author Bartek Przybylski
* @author Tobias Kaminsky
* @author David A. Velasco
* @author masensio
* Copyright (C) 2011 Bartek Przybylski
* Copyright (C) 2016 ownCloud Inc.
* <p>
* This program is free software: you can redistribute it and/or modify
* ... | aleister09/android | src/main/java/com/owncloud/android/ui/adapter/FileListListAdapter.java | Java | gpl-2.0 | 25,342 |
/*
* Copyright (c) 2010 Mark Liversedge (liversedge@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 License, or (at your option)
* any later version.
... | chet0xhenry/GoldenCheetah | src/CalDAV.cpp | C++ | gpl-2.0 | 13,932 |
/**
* JHylaFax - A java client for HylaFAX.
*
* Copyright (C) 2005 by Steffen Pingel <steffenp@gmx.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, o... | Distrotech/jhylafax | src/java/net/sf/jhylafax/PollDialog.java | Java | gpl-2.0 | 2,766 |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2017 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | eltharin/glpi | inc/phone.class.php | PHP | gpl-2.0 | 20,642 |
<?php
if (!defined('_JEXEC') && !defined('_PROPAYMENT')) die('Direct Access to '.basename(__FILE__).' is not allowed.');
?>
17/02/2013 10:03:13 - ** ELABORAZIONE SERVER EGIPSY **
importo:175,20
divisa:EUR
esito:307033
ordine nymero:000000000000f7fd0398
transazione:00305B0EA8EC294665749024
negoziante:3987525000... | alesconti/FF_2015 | propayment/log/2013-02-17.log.php | PHP | gpl-2.0 | 895 |
/**
*
*/
package com.airnoise.services;
import java.sql.SQLException;
import com.airnoise.core.exception.PersistenceException;
import com.airnoise.dao.DataBaseManager;
/**
* @author tomio
*
*/
public class DataBaseManagementService {
private DataBaseManager manager;
public DataBaseManagementServi... | mio-to/airnoise | airnoise/dao/src/main/java/com/airnoise/services/DataBaseManagementService.java | Java | gpl-2.0 | 947 |
<?php
/**
* @package Joomla.Component.Builder
*
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
* @github Joomla Component Builder <https://github.com/vdm-io/Jo... | vdm-io/Joomla-Component-Builder | admin/views/templates/tmpl/default_body.php | PHP | gpl-2.0 | 4,232 |
/*
一:基本信息:
开源协议:https://github.com/xucongli1989/XCLNetTools/blob/master/LICENSE
项目地址:https://github.com/xucongli1989/XCLNetTools
Create By: XCL @ 2012
*/
using System.Web.Security;
namespace XCLNetTools.Encrypt
{
/// <summary>
/// md5相关
/// </summary>
public static class MD5
{
/// <summ... | xucongli1989/XCLNetTools | XCLNetTools/Encrypt/MD5.cs | C# | gpl-2.0 | 1,682 |
##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# https://morningstarsecurity.com/research/whatweb
##
Plugin.define do
name "eXtreme-Message-Board"
authors [
"Brendan Coles <bcol... | urbanadventurer/WhatWeb | plugins/xmb.rb | Ruby | gpl-2.0 | 1,081 |
/*
* Created on Jan 25, 2005
* Created by Alon Rohter
* Copyright (C) 2004-2005 Aelitis, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the ... | thangbn/Direct-File-Downloader | src/src/com/aelitis/azureus/core/peermanager/messaging/MessageStreamDecoder.java | Java | gpl-2.0 | 2,758 |
(function($){
if (typeof UxU.utils !== 'undefined') {
$('.uxu-ticket-status-festival-length').html(UxU.utils.durationFromVisitors(info.tickets_sold));
}
})(jQuery);
| j0n/uxu-prototype | wp-content/plugins/uxu-tickets/js/uxu-tickets.js | JavaScript | gpl-2.0 | 173 |
# -*- coding: utf-8 -*-
#
# Nitrate is copyright 2010 Red Hat, Inc.
#
# Nitrate 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... | tkdchen/nitrate-xmlrpc | nitratexmlrpc/api/user.py | Python | gpl-2.0 | 5,535 |
<?php
// Copyright 2011 Toby Zerner, Simon Zerner
// This file is part of esoTalk. Please see the included license file for usage information.
if (!defined("IN_ESOTALK")) {
exit;
}
/**
* A model which provides functions to perform searches for conversations. Handles the implementation
* of gambits, and does sea... | Felli/fireside | core/models/ETSearchModel.class.php | PHP | gpl-2.0 | 34,554 |
using System;
namespace WaCore.Sample.Middlewares.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | HerbertBodner/webapp-core | src/WaCore.Sample.Middlewares/Models/ErrorViewModel.cs | C# | gpl-2.0 | 223 |
package org.iatoki.judgels.michael.controllers;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.apache.commons.lang3.EnumUtils;
import org.iatoki.judgels.play.InternalLink;
import org.iatoki.judgels.play.LazyHtml;
import org.iatoki.judgels.play.controllers.AbstractJud... | ia-toki/judgels-michael | app/org/iatoki/judgels/michael/controllers/MachineWatcherController.java | Java | gpl-2.0 | 13,764 |