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
# coding: utf-8 class Photo include Mongoid::Document include Mongoid::Timestamps include Mongoid::BaseModel field :image belongs_to :user ACCESSABLE_ATTRS = [:image] # 封面图 mount_uploader :image, PhotoUploader end
alanlong9278/ruby-china-message
app/models/photo.rb
Ruby
gpl-2.0
257
<?php /** * CSS typography * * @package Elgg.Core * @subpackage UI */ ?> /* *************************************** Typography *************************************** */ body { font-size: 80%; line-height: 1.4em; font-family: "Lucida Grande", Arial, Tahoma, Verdana, sans-serif; } a { color: #446; } a:hover...
weSPOT/wespot_iwe
mod/elastic/views/default/css/elements/typography.php
PHP
gpl-2.0
2,583
<?php /** List with all available otw sitebars * * */ global $_wp_column_headers; $_wp_column_headers['toplevel_page_otw-sbm'] = array( 'id' => __( 'Sidebar ID' ), 'title' => __( 'Title' ), 'description' => __( 'Description' ) ); $otw_sidebar_list = get_option( 'otw_sidebars' ); $message = ''; $massages = ...
rm913/lamaze-dc
wp-content/plugins/widgetize-pages-light/include/otw_list_sidebars.php
PHP
gpl-2.0
4,748
package speiger.src.api.common.recipes.squezingCompressor.parts; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fluids.FluidTank; import speiger.src.api.common.recipes.squezingCompressor.EnumRecipeType; import speiger...
TinyModularThings/TinyModularThings
src/speiger/src/api/common/recipes/squezingCompressor/parts/SqueezerRecipe.java
Java
gpl-2.0
1,458
<?php /** * @package Joomla.Administrator * @subpackage com_newsfeeds * * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Newsfeeds\Administrator\View\Newsfeeds; ...
twister65/joomla-cms
administrator/components/com_newsfeeds/src/View/Newsfeeds/HtmlView.php
PHP
gpl-2.0
5,288
<?php /** * @package hubzero-cms * @copyright Copyright (c) 2005-2020 The Regents of the University of California. * @license http://opensource.org/licenses/MIT MIT */ namespace Components\Members\Admin; if (!\User::authorise('core.manage', 'com_members')) { return \App::abort(403, \Lang::txt('JERROR_ALER...
hubzero/hubzero-cms
core/components/com_members/admin/members.php
PHP
gpl-2.0
1,035
PUMP_SELECTOR.CoordSlicer = function( parameters ) { var image = parameters.image; var coord = parameters.coord; var name = parameters.name; var obj = {}; if( image === undefined) { //PUMPER.debug("PUMPER::CoordSlicer() - Cannot slice image, image missing."); return undefine...
racerxdl/f2rank
jsselector/coord.js
JavaScript
gpl-2.0
823
package gof.structure.proxy; public class ProxySubject extends Subject { private RealSubject realSubject; public ProxySubject(){ } /* (non-Javadoc) * @see gof.structure.proxy.Subject#request() * * Subject subject = new ProxySubject(); * subject.request(); */ @Override public v...
expleeve/GoF23
src/gof/structure/proxy/ProxySubject.java
Java
gpl-2.0
560
# encoding: utf8 from django.db import models, migrations class Migration(migrations.Migration): dependencies = [] operations = [ migrations.CreateModel( fields = [(u'id', models.AutoField(verbose_name=u'ID', serialize=False, auto_created=True, primary_key=True),), ('name', models.Ch...
Nimmard/james-olson.com
main/migrations/0001_initial.py
Python
gpl-2.0
1,003
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\CriterionHandler; use eZ\Publish\Core\Search\Legacy\Content\Common\...
ezsystems/ezpublish-kernel
eZ/Publish/Core/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php
PHP
gpl-2.0
1,991
using System; using System.Collections.Generic; using System.Management; using System.Security.Principal; using Microsoft.Win32; using PowerPointLabs.ActionFramework.Common.Log; namespace PowerPointLabs.Utils { /// <summary> /// A class that allows watching of Registry Key values. /// </summary> class...
PowerPointLabs/PowerPointLabs
PowerPointLabs/PowerPointLabs/Utils/RegistryWatcher.cs
C#
gpl-2.0
3,325
<?php /********************************************************** * Lidiun PHP Framework 4.0 - (http://www.lidiun.com) * * @Created in 26/08/2013 * @Author Dyon Enedi <dyonenedi@hotmail.com> * @Modify in 04/08/2014 * @By Dyon Enedi <dyonenedi@hotmail.com> * @Contributor Gabriela A. Ayres Garcia <gabrie...
dyonenedi/lidiun_history
LidiunFramework_5.0/app/repository/render/panel.php
PHP
gpl-2.0
550
<?php $files = elgg_extract("files", $vars, array()); $folder = elgg_extract("folder", $vars); $folder_content = elgg_view("file_tools/breadcrumb", array("entity" => $folder)); if(!($sub_folders = file_tools_get_sub_folders($folder))){ $sub_folders = array(); } $entities = array_merge($sub_fo...
nachopavon/redprofesional
mod/file_tools/views/default/file_tools/list/files.php
PHP
gpl-2.0
2,690
<?php namespace App\Controller; use App\Controller\AppController; /** * Customers Controller * * @property \App\Model\Table\CustomersTable $Customers */ class CustomersController extends AppController { /** * Index method * * @return void */ public function index() { $this...
thinkingwise/cakephp3crm
src/Controller/CustomersController.php
PHP
gpl-2.0
3,197
# force floating point division. Can still use integer with // from __future__ import division # This file is used for importing the common utilities classes. import numpy as np import matplotlib.pyplot as plt import sys sys.path.append("../../../../../") from EnergyLandscapes.Lifetime_Dudko2008.Python.TestExamples.U...
prheenan/BioModel
EnergyLandscapes/Lifetime_Dudko2008/Python/TestExamples/Examples/Example_Dudko_Fit.py
Python
gpl-2.0
889
// Wildebeest Migration Framework // Copyright © 2013 - 2018, Matheson Ventures Pte Ltd // // This file is part of Wildebeest // // Wildebeest is free software: you can redistribute it and/or modify it under // the terms of the GNU General Public License v2 as published by the Free // Software Foundation. // // Wildebe...
zendigitalstudios/wildebeest
MV.Wildebeest.Core/source/test/java/co/mv/wb/plugin/generaldatabase/dom/AnsiSqlDomServiceUnitTests.java
Java
gpl-2.0
7,441
#include <string.h> #include <sys/time.h> #include <sys/resource.h> /////////////////////////////////////// // Function: trim - Remove "\n" // /////////////////////////////////////// int trim(char *line) { int end_pos = strlen(line) - 1; if (line[end_pos] == '\n') { line[end_pos] = '\0'; return 1; ...
pfaucon/PBSIM-PacBio-Simulator
src/helpers.cpp
C++
gpl-2.0
1,764
<?php namespace Jenssegers\Mongodb\Relations; use MongoId; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\Relation; use Illuminate\Database\Eloquent\Collection as BaseCollection; use Jenssegers\Mongodb\Eloquent\Collection; abstract class Em...
walcott911/easymart
vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Relations/EmbedsOneOrMany.php
PHP
gpl-2.0
9,965
require 'spec_helper' feature "Searching Entities" do include CurbHelpers include SearchHelpers scenario 'entities are found by name', js: true, search: true do entity = create(:entity, :with_parent, name: 'Foo bar') index_changed_models expect_entity_api_search_to_find('bar') do|json| json_i...
Domenoth/chillingeffects
spec/integration/entity_search_spec.rb
Ruby
gpl-2.0
1,365
<? if($_GET['action'] == "login") { $conn = mysql_connect("localhost","user","password"); // your MySQL connection data $db = mysql_select_db("DATABASENAME"); //put your database name in here $name = $_POST['user']; $q_user = mysql_query("SELECT * FROM USERS WHERE login='$name'"); ?>
Tieks/php-login
connect.php
PHP
gpl-2.0
286
<?php namespace Dennis\Tournament\Domain\Model; /*************************************************************** * * Copyright notice * * (c) 2014 * * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is * free software; you can redistribute it and/or modify * it unde...
TildBJ/tournament
Classes/Domain/Model/PlayerKo.php
PHP
gpl-2.0
1,453
// // -------------------------------------------------------------------------- // Gurux Ltd // // // // Filename: $HeadURL$ // // Version: $Revision$, // $Date$ // $Author$ // // Copyright (c) Gurux Ltd // //------------------------------------------------------------...
Gurux/Gurux.DLMS.Net
Development/Plc/GXPlcSettings.cs
C#
gpl-2.0
17,732
<?php // flush output buffer die(json_encode(array( 'variables' => $variables, 'content' => render($page['content']) . render($page['content_bottom']), ))); ?>
mandelbro/Overlay-CMS
sites/all/themes/ursaminor/page--json.tpl.php
PHP
gpl-2.0
167
<?php $logo = get_option('custom_logo', EBOR_THEME_DIRECTORY . 'style/img/logo-dark.png'); $logo_light = get_option('custom_logo_light', EBOR_THEME_DIRECTORY . 'style/img/logo-light.png'); ?> <div class="nav-container"> <a id="top"></a> <nav class="nav-centered"> <?php get_template_p...
seyekuyinu/highlifer
wp-content/themes/highlifer/inc/content-nav-centered.php
PHP
gpl-2.0
3,130
<?php /* Copyright (c) 2007 BeVolunteer This file is part of BW Rox. BW Rox 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. BW Rox is dis...
BeWelcome/rox.prototypes
build/tour/templates/tourpage6.php
PHP
gpl-2.0
1,630
package app.toonido.mindorks.toonido; import android.app.Application; import com.parse.Parse; /** * Created by janisharali on 30/09/15. */ public class ToonidoApp extends Application { @Override public void onCreate() { super.onCreate(); // Enable Local Datastore. Parse.enableLocal...
mindorks/Toonido
Toonido/app/src/main/java/app/toonido/mindorks/toonido/ToonidoApp.java
Java
gpl-2.0
451
<?php global $post, $sc_post_class; $post_id = $post->ID; $post_obj = new sc_post($post_id); $post_comments = get_comments_number( $post_id ); ?> <!--item--> <div class="entry <?php echo esc_attr( $sc_post_class ); ?> post-item"> <?php $main_image = $post_obj->get_main_image('thumb-image'); if (!empty( $main_ima...
foodiedaily/tts
wp-content/themes/SocialChef/includes/parts/post-item.php
PHP
gpl-2.0
1,175
<?php /** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2020 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET...
edgardmessias/glpi
front/report.year.php
PHP
gpl-2.0
2,639
<div id="roomTitle">Welcome to Agavi :: home of the convention nazis :: 911GT2 coming soon :: http://www.agavi.org :: http://svn.agavi.org/branches/0.11/ if you want to use SVN (don't use trunk, earth will explode) :: Have a question? Just ask it, and wait patiently, because patience is the key to happiness :: We're lo...
dzuelke/Chuckwalla
app/modules/Web/templates/IndexSuccess.php
PHP
gpl-2.0
7,471
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
soeminnminn/MyanmarIME
src/com/androidtweak/inputmethod/myanmar/SynchronouslyLoadedUserBinaryDictionary.java
Java
gpl-2.0
1,712
<div class="row"> <div class="col-sm-12"> <div class="row"> <div class="text-center"> <h1 class="tada animated font-xl "> <span style="position: relative;"> <i class="fa fa-play fa-rotate-90 fa-border fa-4x"></i> <span> <?php if($updated): ?> <b style="position:absolut...
FABtotum/FAB-UI
fabui/application/modules/updates/views/index/index.php
PHP
gpl-2.0
2,891
<h2 class="page-header"><a href="<?= $Page->Url ?>"><?= $Page->Title ?></a></h2> <?= $Page->Content ?>
sukovanej/Bundle
func/defaults/page_single.php
PHP
gpl-2.0
103
<? session_start(); session_destroy(); header("Location: ../index.html"); ?>
EverywhereHouseControl/ServerBackEnd
LoginPro/php/salir.php
PHP
gpl-2.0
82
<link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_get_path('theme', 'dxf') ?>/css/jquery.jscrollpane.custom.css" /> <link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_get_path('theme', 'dxf') ?>/css/bookblock.css" /> <link rel="stylesheet" type="text/css" href="/dxf/<?php echo drupal_...
aaronday/dxf
sites/all/modules/dxf_general/templates/foot_print_view.tpl.php
PHP
gpl-2.0
1,690
require 'rails_helper' def topics_controller_show_gen_perm_tests(expected, ctx) expected.each do |sym, status| params = "topic_id: #{sym}.id, slug: #{sym}.slug" if sym == :nonexist params = "topic_id: nonexist_topic_id" end ctx.instance_eval(" it 'returns #{status} for #{sym}' do begin xh...
scossar/discourse-dev
spec/controllers/topics_controller_spec.rb
Ruby
gpl-2.0
40,999
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.shortcuts import render, redirect, HttpResponse from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_exempt from subscriber.models import Consumer, Con...
ShovanSarker/sense_v4_withLocal
template_manager/views.py
Python
gpl-2.0
113,348
<?php /** * Display single product reviews (comments) * * @author WooThemes * @package WooCommerce/Templates * @version 2.1.0 */ global $woocommerce, $product; if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! comments_open() ) return; ?> <div id="reviews"> <div ...
mickburgs/sjaaktramper
wp-content/plugins/woocommerce/templates/single-product-reviews.php
PHP
gpl-2.0
4,254
package com.atux.bean.consulta; import com.atux.comun.FilterBaseLocal; /** * Created by MATRIX-JAVA on 27/11/2014. */ public class UnidadFlt extends FilterBaseLocal { public static final String PICK = "PICK"; public UnidadFlt(String unidad) { this.unidad = unidad; } publi...
AlanGuerraQuispe/SisAtuxVenta
atux-domain/src/main/java/com/atux/bean/consulta/UnidadFlt.java
Java
gpl-2.0
719
<?php /** * Kumbia Enterprise Framework * * LICENSE * * This source file is subject to the New BSD License that is bundled * with this package in the file docs/LICENSE.txt. * * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to lic...
softdesignermonteria/proyecto
Library/Kumbia/Generator/GeneratorReport/Format/Doc.php
PHP
gpl-2.0
2,823
// Locale support (codecvt) -*- C++ -*- // Copyright (C) 2015 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 Foundati...
villevoutilainen/gcc
libstdc++-v3/src/c++11/codecvt.cc
C++
gpl-2.0
39,721
/** * Provides a DataSchema implementation which can be used to work with * delimited text data. * * @module dataschema * @submodule dataschema-text */ /** Provides a DataSchema implementation which can be used to work with delimited text data. See the `apply` method for usage. @class DataSchema.Text @extends ...
schancel/gameserver
public/js/yui3-3.12.0/src/dataschema/js/dataschema-text.js
JavaScript
gpl-2.0
6,718
# -*- coding: utf-8 -*- # # Watermarks documentation build configuration file, created by # sphinx-quickstart on Tue Apr 8 16:49:39 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
vladozc/watermarks
doc/source/conf.py
Python
gpl-2.0
8,359
<?php /* * Page that is shown to the user when the plugin was not correctly installed. * This is just a fallback in case something went wrong somewhere. * Maybe it just needs to be removed alltogether. */ function gwolle_gb_installSplash() { ?> <div class="wrap"> <div id="icon-gwolle-gb"><br /></div> <h1>Gw...
artran03/AriChezVous
wp-content/plugins/gwolle-gb/admin/installSplash.php
PHP
gpl-2.0
1,824
/* This file was generated by SableCC (http://www.sablecc.org/). */ package se.sics.kola.node; public abstract class PResource extends Node { // Empty body }
kompics/kola
src/main/java/se/sics/kola/node/PResource.java
Java
gpl-2.0
164
<?php /* +--------------------------------------------------------------------+ | CiviCRM version 2.2 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2009 | +---------------------...
btribulski/girlsknowhow
sites/all/modules/civicrm/CRM/Grant/Selector/Search.php
PHP
gpl-2.0
16,778
using System; namespace Server.Items { public class LanternHand : BaseLight, IFlipable { public override int LabelNumber { get { return 1011221; } } // lantern public override int LitItemID { get { return ItemID == 0xA471 ? 0xA472 : 0xA476; } } public override int UnlitItemID { get { r...
kevin-10/ServUO
Scripts/Items/Decorative/ArtisanFestivalRewards/LanternHand.cs
C#
gpl-2.0
1,255
class Extended_GetIn_EventHandlers { class StaticMGWeapon { class ace_ifa3staticweapon { getIn = "_this call ace_ifa3staticweapon_fnc_getIn"; }; }; class StaticMortar { class ace_ifa3staticweapon { getIn = "_this call ace_ifa3staticweapon_fnc_getIn"; }; }; };
bux/IFA3_ACE_COMPAT
addons/staticweapon/Extended_GetIn_EventHandlers.hpp
C++
gpl-2.0
283
<?php defined('ABSPATH') OR exit; if(!class_exists('Picturefill_WP_Function_Helpers')){ class Picturefill_WP_Function_Helpers{ private $filter = ''; private $cache_duration = 86400; private $image_sizes_to_remove = array(); private $image_size_to_add = ''; private $insert_before = ''; private...
fndtn357/client
wp-content/plugins/picturefillwp/inc/class-picturefill-wp-function-helpers.php
PHP
gpl-2.0
8,987
/****************************************************************************** ** kjmp2 -- a minimal MPEG-1/2 Audio Layer II decoder library ** ** version 1.1 ** ******************************************************************************* ...
JvanKatwijk/qt-dab
src/backend/audio/mp2processor.cpp
C++
gpl-2.0
24,771
#include <QApplication> #include <QMenuBar> #include <QMessageBox> #include <QFileDialog> #include <QVBoxLayout> #include <QDockWidget> #include <QProgressDialog> #include <QDesktopWidget> #include "vfs_dialog.h" #include "save_manager_dialog.h" #include "kernel_explorer.h" #include "game_list_frame.h" #include "debu...
PeterMcteague/rpcs3
rpcs3/rpcs3qt/main_window.cpp
C++
gpl-2.0
49,565
<?php /** * Elgg Gifts plugin * Send gifts to you friends * * @package Gifts * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 * @author Christian Heckelmann * @copyright Christian Heckelmann * @link http://www.heckelmann.info * * updated by iionly (iionl...
iionly/gifts
views/default/resources/gifts/sent.php
PHP
gpl-2.0
1,189
<?php /** * Checkout coupon form * * @author WooThemes * @package WooCommerce/Templates * @version 1.6.4 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $woocommerce; if ( ! WC()->cart->coupons_enabled() ) return; $info_message = apply_filters( 'woocommerce_checkout_coupon_m...
diegoschefer/fcp-wp
wp-content/themes/Akal/woocommerce/checkout/form-coupon.php
PHP
gpl-2.0
1,068
<?php /** * * @package phpBB.de pastebin * @copyright (c) 2015 phpBB.de, gn#36 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 * */ namespace goztow\edit_has_topicreview\event; /** * @ignore */ use Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * Event li...
goztow/edit_has_topicreview
event/base_events.php
PHP
gpl-2.0
1,058
<?php /** * Custom template tags for this theme * * Eventually, some of the functionality here could be replaced by core features. * * @package UnlockingSilentHistories */ if ( ! function_exists( 'unlockingsilenthistories_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time ...
jhyun94/WP-USH
inc/template-tags.php
PHP
gpl-2.0
3,526
package uq.androidhack.flashspeak; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.L...
andyepx/flashspeak
app/src/main/java/uq/androidhack/flashspeak/VisualisationFragment.java
Java
gpl-2.0
5,028
using System; using System.IO; static class App{ static void PrintRunningGC(int n){ Console.WriteLine("Running GC for generation " + n); GC.Collect(n); } public static void Main(){ // // Uma instância de FileStream mantém um handle para um recurso nativo, i.e. um f...
isel-leic-ave/ave-2015-16-sem1-i41n
aula34-gc/Finalization01.cs
C#
gpl-2.0
655
package jrpsoft; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Point; import java.awt.geom.Ellipse2D; import java.util.Random; public class Fantasma extends Actor { protected static final int FANTASMA_SPEED = 1; public boolean up, down, right, left; static Boolean[] dir = new Boolean[4]; in...
jesusnoseq/JComococos
src/jrpsoft/Fantasma.java
Java
gpl-2.0
2,570
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the Graphics Dojo project on Qt Labs. ** ** This file may be used under the terms of th...
anak10thn/graphics-dojo-qt5
halfscale/halfscale.cpp
C++
gpl-2.0
7,095
<?php defined('_JEXEC') or die(); /** * * Description * * @package VirtueMart * @subpackage Calculation tool * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * Vir...
cuongnd/test_pro
administrator/components/com_virtuemart1/views/calc/tmpl/default.php
PHP
gpl-2.0
1,115
#!/usr/bin/env python """ Grid time ============= """ from datetime import timedelta import numpy as np from opendrift.readers import reader_global_landmask from opendrift.readers import reader_netCDF_CF_generic from opendrift.models.oceandrift import OceanDrift # Seeding at a grid at regular interval o = OceanDrift(...
OpenDrift/opendrift
examples/example_grid_time.py
Python
gpl-2.0
1,348
// // C++ Implementation: Audio::OggStream // #include "config.h" #ifdef HAVE_OGG #include "OggStream.h" #include "OggData.h" #include "config.h" #include <utility> #include <limits> #include <stdlib.h> #include <vorbis/vorbisfile.h> #include "vsfilesystem.h" #ifndef OGG_BUFFER_SIZE #define OGG_BUFFER_SIZE 4096*2...
vinni-au/vega-strike
vegastrike/src/audio/codecs/OggStream.cpp
C++
gpl-2.0
2,896
angular.module('component').component('getGit', { template: ` <section> <h1>GIT : Repro</h1> <div class="controller" > <div git-repro="user : 'gaetanV',repositories :'angular_directive',branch:'master',path:'angular1/directive/gitRepro.directive.js'" > </div> ...
gaetanV/angular_directive
angularJs/app/component/getgit.component.ts
TypeScript
gpl-2.0
362
// // begin license header // // This file is part of Pixy CMUcam5 or "Pixy" for short // // All Pixy source code is provided under the terms of the // GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html). // Those wishing to use Pixy source code, software and/or // technologies under different lice...
Pravuz/AimBot
Pixy/gcc/pixy_m4/src/power.cpp
C++
gpl-2.0
1,975
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("Cr...
tmpope/Cryptography
CryptoMethods/CryptoMethods/Properties/AssemblyInfo.cs
C#
gpl-2.0
1,406
/* * Copyright (c) 2013, 2017, 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 ...
dmlloyd/openjdk-modules
jdk/test/java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java
Java
gpl-2.0
44,814
/* * The ManaPlus Client * Copyright (C) 2004-2009 The Mana World Development Team * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2018 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * i...
mekolat/ManaPlus
src/net/eathena/itemrecv.cpp
C++
gpl-2.0
5,784
/** * ownCloud Android client application * * @author Mario Danic * Copyright (C) 2017 Mario Danic * Copyright (C) 2012 Bartek Przybylski * Copyright (C) 2012-2016 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License versi...
aleister09/android
src/main/java/com/owncloud/android/ui/fragment/ExtendedListFragment.java
Java
gpl-2.0
31,646
/* * Copyright (C) 2001-2006 Jacek Sieka, arnetheduck on gmail point 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 ...
NareshPS/FBLinuxDCPP
client/ZUtils.cpp
C++
gpl-2.0
3,708
/* Copyright (C) 2007 The SpringLobby Team. All rights reserved. */ // #ifndef NO_TORRENT_SYSTEM #ifdef _MSC_VER #ifndef NOMINMAX #define NOMINMAX #endif // NOMINMAX #include <winsock2.h> #endif // _MSC_VER #include <wx/stattext.h> #include <wx/sizer.h> #include <wx/textctrl.h> #include <wx/intl.h> #include <wx/...
N2maniac/springlobby-join-fork
src/filelister/filelistfilter.cpp
C++
gpl-2.0
5,177
<?php //add a button to the content editor, next to the media button //this button will show a popup that contains inline content add_action('media_buttons_context', 'add_my_custom_button'); //add some content to the bottom of the page //This will be shown in the inline modal if(is_admin()){ add_action('adm...
emanuelefrasca/emanuelefrasca_local_wp_slideshow
wp-content/themes/cosmone/includes/shortcode-media-button.php
PHP
gpl-2.0
2,726
/* * Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/> * Copyright (C) 2009-2011 MaNGOSZero <https://github.com/mangos/zero> * * 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...
vanilla-wow/MaNGOSZero
src/game/GridMap.cpp
C++
gpl-2.0
35,544
<?php declare(strict_types=1); namespace mglaman\PHPStanDrupal\Rules\Drupal; use Drupal\Core\Extension\ModuleHandlerInterface; use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Rules\RuleErrorBuilder; use PHPStan\ShouldNotHappenException; use PHPStan\Type\ObjectType; class LoadIncludes extends LoadIncludeB...
mamont77/easydrupal
vendor/mglaman/phpstan-drupal/src/Rules/Drupal/LoadIncludes.php
PHP
gpl-2.0
3,204
/* * Animation plugin for compiz/beryl * * animation.c * * Copyright : (C) 2006 Erkin Bahceci * E-mail : erkinbah@gmail.com * * Based on Wobbly and Minimize plugins by * : David Reveman * E-mail : davidr@novell.com> * * Particle system added by : (C) 2006 Dennis Kasprzyk * E-mail ...
hedmo/compiz-plugins-extra
animationaddon/src/leafspread.cpp
C++
gpl-2.0
3,316
<?php /** * Sets the body-tag class attribute. * * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed. */ function phptemplate_body_class($left, $right) { if ($left != '' && $right != '') { $class = 'sidebars'; } else { if ($left != '') { $class = 'sidebar-left'; } if ...
Onenix/360kpop-shop
themes/tiki/template.php
PHP
gpl-2.0
2,556
/* * TrxFormController.java * * Created on Jan 9, 2010 8:22:32 PM * * Copyright (c) 2002 - 2010 : Swayam Inc. * * P R O P R I E T A R Y & C O N F I D E N T I A L * * The copyright of this document is vested in Swayam Inc. without * whose prior written permission its contents must not be published, * adapted ...
paawak/blog
code/SpringMVCWithFlex/ims-web/src/main/java/com/swayam/ims/webapp/controller/trx/TrxFormController.java
Java
gpl-2.0
1,332
<?php if ( !defined( 'ABSPATH' ) ) { exit; } $rowWidth = 0; foreach ( $cells as $cell ) { $rowWidth += (int)$cell['width']; } if ( $rows ) { ?> <table class="mscrm-listview table"> <thead> <tr> <?php foreach ( current( $rows ) as $cellName => $cell ) { $cellWidth...
AlexaCRM/integration-dynamics
templates/view/view.php
PHP
gpl-2.0
2,942
<?php /** * Options for the bibtex plugin * * @author Till Biskup <till@till-biskup> */ $meta['_basic'] = array('fieldset'); $meta['sqlite'] = array('onoff'); $meta['citetype'] = array('multichoice','_choices' => array('alpha','apa','authordate','numeric')); $meta['file'] = array('string'); $meta['pdfdir'] = array...
tillbiskup/dokuwiki-bibtex
conf/metadata.php
PHP
gpl-2.0
1,037
<?php /** * Suomi.fi authentication module. * * PHP version 7 * * Copyright (C) The National Library of Finland 2019. * * 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. * * ...
arto70/NDL-VuFind2
module/Finna/src/Finna/Auth/Suomifi.php
PHP
gpl-2.0
3,484
// clang-format off /* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/, Sandia National Laboratories Steve Plimpton, sjplimp@sandia.gov Copyright (2003) Sandia Corporation. Under the terms of ...
jeremiahyan/lammps
src/KSPACE/fft3d.cpp
C++
gpl-2.0
26,711
/* Copyright (C) 2007 Volker Berlin This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial app...
mdavid/IKVM.NET-cvs-clone
awt/robot.cs
C#
gpl-2.0
14,656
<?php class WCML_sensei{ function __construct(){ global $sitepress; add_action( 'manage_edit-lesson_columns', array( $sitepress, 'add_posts_management_column' ) ); add_action( 'manage_edit-course_columns', array( $sitepress, 'add_posts_management_column' ) ); add_action( 'save_pos...
SasaKlepikov/Syberg.eu
wp-content/plugins/woocommerce-multilingual/compatibility/wc_sensei.class.php
PHP
gpl-2.0
7,952
<?php namespace Iiigel\Controller; class Iiigel extends \Iiigel\Controller\StaticPage { const DEFAULT_ACTION = 'show'; protected $sRawOutput = NULL; protected $oCloud = NULL; protected $oInterpreter = NULL; protected $oChapter = NULL; protected $oModule = NULL; public function __c...
MarHai/iiigel
src/Controller/Iiigel.php
PHP
gpl-2.0
16,286
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah * * @version: 3.2 (September 03, 2013) * @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net) * * Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indon...
nurulimamnotes/sistem-informasi-sekolah
jibas/akademik/mutasi/cetak_statistik_mutasi.php
PHP
gpl-2.0
3,993
define(['jquery', 'util.tooltips', 'helper.boxes', 'modules/panel'], function($, tooltips, panel) { /* Grid */ tourStepsGrid = [ { beginning: true, title: 'Welcome to the Blox Visual Editor!', content: '<p>If this is your first time in the Blox Visual Editor, <strong>we recommend following this tour so yo...
bloxtheme/BloxTheme
bloxtheme/library/visual-editor/scripts-src/util.tour.js
JavaScript
gpl-2.0
13,717
using System.Diagnostics; using System.Xml.Serialization; namespace IDF.Utilities.ProcLaunch { public class ProcInfo { [XmlAttribute] public string Path { get; set; } [XmlAttribute] public string WorkingDir { get; set; } [XmlAttribute] public string Arguments { get; set; } [XmlAttribut...
StoneFin/ProcessLauncher
IDFProcLaunch/ProcInfo.cs
C#
gpl-2.0
474
/** * Created by inwebo on 05/02/15. */ alert('local');
inwebo/Libre
demos/assets/instances/www.test.fr/themes/default/public/js/demo.js
JavaScript
gpl-2.0
58
/*++ * * Kafka Message Queue * * DESCRIPTION: * AUTHOR: NickeyWoo * DATE: 2014/8/15 * --*/ #ifndef __KAFKA_PRODUCER_HH__ #define __KAFKA_PRODUCER_HH__ #include <boost/nocopyable.hpp> #include <google/protobuf/message_lite.h> #include <google/protobuf/message.h> #include <google/protobuf/descriptor.h> cla...
NickeyWoo/SimpleRPC
Kafka/Kafka/Producer.hh
C++
gpl-2.0
545
<?php namespace Stormpath\Authc\Api; use Stormpath\Resource\ApiKey; use Stormpath\Resource\Application; class AuthenticatorResult { protected $application; protected $apiKey; protected $accessToken; public function __construct(Application $application, ApiKey $apiKey, $accessToken = null) { ...
arckinteractive/elgg_stormpath
vendor/stormpath/sdk/src/Stormpath/Authc/Api/AuthenticatorResult.php
PHP
gpl-2.0
734
<?php /* * This file is part of the Eventum (Issue Tracking System) package. * * @copyright (c) Eventum Team * @license GNU General Public License, version 2 or later (GPL-2+) * * For the full copyright and license information, * please see the COPYING and AUTHORS files * that were distributed with this source...
mariadb-corporation/eventum
src/Controller/SignupController.php
PHP
gpl-2.0
2,410
# simpleSound.py # Plays audio files on Linux and Windows. # Written Jan-2008 by Timothy Weber. # Based on (reconstituted) code posted by Bill Dandreta at <http://www.velocityreviews.com/forums/t337346-how-to-play-sound-in-python.html>. import platform if platform.system().startswith('Win'): from winsound import ...
teejaydub/khet
simpleSound.py
Python
gpl-2.0
1,290
# -*- coding: utf-8 -*- # Copyright 2011 Christoph Reiter <reiter.christoph@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) an...
elbeardmorez/quodlibet
quodlibet/quodlibet/ext/events/inhibit.py
Python
gpl-2.0
2,526
#include "../ProtocolCommand.h" //#include <sqlite3.h> using namespace org::esb::net; using namespace org::esb::hive; using namespace std; class CreateHive:public ProtocolCommand { private: Socket * socket; public: ~CreateHive () { } CreateHive (TcpSocket * socket) { this->socket = socket; this->is = s...
psychobob666/MediaEncodingCluster
src/org/esb/hive/protocol/CreateHive.cpp
C++
gpl-2.0
1,553
<?php namespace SimpleCalendar\plugin_deps; /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* * Unknown default region, use the first alpha...
projectestac/wordpress-gce
third-party/nesbot/carbon/src/Carbon/Lang/sgs.php
PHP
gpl-2.0
375
/* 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 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will...
ratschlab/ASP
src/shogun/lib/slep/overlapping/overlapping.cpp
C++
gpl-2.0
26,209
/** Select # What? # Part of my "Responsive Menu Concepts" article on CSS-Tricks http://css-tricks.com/responsive-menu-concepts # 2012 by Tim Pietrusky # timpietrusky.com **/
evasmidt/allsafe-drupal
themes/custom/allsafe/js/scripts.js
JavaScript
gpl-2.0
191
/***************************************************************************** * slider_manager.cpp : Manage an input slider ***************************************************************************** * Copyright (C) 2000-2005 the VideoLAN team * $Id: input_manager.cpp 14556 2006-03-01 19:56:34Z fkuehne $ * * A...
scs/uclinux
user/blkfin-apps/vlc/vlc-0.8.6b/modules/gui/wxwidgets/input_manager.cpp
C++
gpl-2.0
13,723
<?php defined('IN_IA') or exit('Access Denied');?> <div id="footer"> <span class="pull-left"> <p><?php if(empty($_W['setting']['copyright']['footerleft'])) { ?>Powered by <a href="http://www.weixfu.cn"><b>关于微服务</b></a> v<?php echo IMS_VERSION;?> &copy; 2014 <a href="http://www.weixfu.cn">www.weixfu.cn</a><?php }...
JoelPub/wordpress-amazon
order/data/tpl/web/default/common/footer.tpl.php
PHP
gpl-2.0
825
<?php /** * Load our components using a static wrapper */ namespace MakeitWorkPress\WP_Components; use WP_Error as WP_Error; defined( 'ABSPATH' ) or die( 'Go eat veggies!' ); class Build { /** * Renders generic template for an atom or molecule. * * @param string $type The type, eith...
leichim/waterfall
vendor/makeitworkpress/wp-components/src/build.php
PHP
gpl-2.0
10,695
<?php // notin to do here
fundar/curul-wp
wp-content/plugins/wordpress-social-login/utilities/index.php
PHP
gpl-2.0
28
/* * Copyright (c) 2013, 2017, 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 ...
akunft/fastr
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/UpdateAttr.java
Java
gpl-2.0
12,281