code
stringlengths
4
1.01M
language
stringclasses
2 values
<?php /** * StatusNet, the distributed open-source microblogging tool * * Subscribe to a peopletag * * PHP version 5 * * LICENCE: This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, ei...
Java
/* * Copyright (C) 2013 OpenJST Project * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progra...
Java
package com.thegame.server.presentation.exceptions; import com.thegame.server.common.exceptions.TypifiedException; /** * @author e103880 */ public class PresentationException extends TypifiedException{ private final PresentationExceptionType exceptionType; private final Object[] arguments; pu...
Java
/** * @ngdoc service * @name ftepApp.SubscriptionService * @description * # SubscriptionService * Service for subscriptions. */ 'use strict'; define(['../ftepmodules', 'traversonHal'], function (ftepmodules, TraversonJsonHalAdapter) { ftepmodules.service('SubscriptionService', [ 'ftepProperties', '$q', 'tra...
Java
var request = require("request"); var yaml = require("js-yaml"); var jsonfile = require("jsonfile"); request("https://raw.githubusercontent.com/unitedstates/congress-legislators/master/legislators-current.yaml", function(error, response, body) { if (!error && response.statusCode == 200) { var legislators = yaml...
Java
/** * Nooku Framework - http://www.nooku.org * * @copyright Copyright (C) 2011 - 2017 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html> * @link https://github.com/timble/openpolice-platform */ if(!Ckeditor) var Ckeditor = {}; Ckeditor.Files ...
Java
var articles = null; function restore_all_articles_view() { $("#allbtn").button('toggle'); $('#articleslist').empty(); $('#articleslist').append(articles); $('#filterwarning').hide(); } function switch_category(category) { if (typeof category != "undefined") { $("#articleslist").empty(); var filtere...
Java
// Copyright 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package lxc_test import ( "fmt" "io/ioutil" "os" "path/filepath" stdtesting "testing" gc "launchpad.net/gocheck" "launchpad.net/golxc" "launchpad.net/goyaml" "launchpad.net/loggo" "launchpad.net/juju-core/containe...
Java
/* Copyright (c) 2014-2022 AscEmu Team <http://www.ascemu.org> This file is released under the MIT license. See README-MIT for more information. */ #include "WowCrypt.hpp" #include <algorithm> #include <openssl/hmac.h> WowCrypt::WowCrypt() { m_isInitialized = false; m_clientWotlkDecryptKey.x = 0; m_clie...
Java
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
Java
DELETE FROM `weenie` WHERE `class_Id` = 28184; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (28184, 'collectoralchemysholow', 10, '2019-02-10 00:00:00') /* Creature */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (28184, 1, 16) /* ItemType - C...
Java
from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404 from django.http import HttpResponseRedirect, Http404 from django.db.models import Q from django.contrib import messages from cc.general.util import render import cc.ripple.api as ripple from cc.profile.models impo...
Java
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * The contents of this file are subject to the SugarCRM Master Subscription * Agreement ("License") which can be viewed at * http://www.sugarcrm.com/crm/e...
Java
/** * Copyright (C) 2013 The Language Archive, Max Planck Institute for * Psycholinguistics * * 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 o...
Java
DELETE FROM `weenie` WHERE `class_Id` = 3140; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (3140, 'scrollarcaneenlightenmentself4', 34, '2019-02-10 00:00:00') /* Scroll */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (3140, 1, 8192) /* ItemType ...
Java
// regversion.c - Oniguruma (regular expression library) // Copyright (c) 2002-2020 K.Kosako All rights reserved. // #include "regint.h" #pragma hdrstop extern const char * onig_version(void) { static char s[12]; /*xsnprintf*/slsprintf_s(s, sizeof(s), "%d.%d.%d", ONIGURUMA_VERSION_MAJOR, ONIGURUMA_VERSION_MINOR, O...
Java
# -*- coding: utf-8 -*- ############################################################################## # # Ingenieria ADHOC - ADHOC SA # https://launchpad.net/~ingenieria-adhoc # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public Lice...
Java
// Copyright Dan Schatzberg, 2015. This file is part of Genesis. // Genesis is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. ...
Java
# gnu-social-translation This repository serves as a mirror of the GNU social [translation project](https://www.transifex.com/projects/p/gnu-social/) on Transifex. The main GNU social code repository is [here](https://gnu.githost.io/gnu-social/social). ### Instructions - how to use the translations: 1. Make sure you...
Java
/* * JBILLING CONFIDENTIAL * _____________________ * * [2003] - [2012] Enterprise jBilling Software Ltd. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Enterprise jBilling Software. * The intellectual and technical concepts contained * herein a...
Java
<?php define('DB_ADAPTER', 'mysql'); define('DB_HOST', 'localhost'); define('DB_USER', 'root'); define('DB_PASS', 'e3i71BFGRqda3'); define('DB_NAME', 'ppdev_mf'); define('DB_PREFIX', 'pp088_'); define('DB_CHARSET', 'utf8'); define('DB_PERSIST', false); return true; ?>
Java
class CreateDidNotVotes < ActiveRecord::Migration[4.2] def change create_table :did_not_votes do |t| t.references :user t.references :motion t.timestamps end add_index :did_not_votes, :user_id add_index :did_not_votes, :motion_id end end
Java
module Isi module FreeChat Isi::db_hello __FILE__, name require 'pathname' ModuleRootDir = Pathname(__FILE__).dirname + name.split('::').last # require all files for this module require ModuleRootDir + 'protocol' # this should include everything else require ModuleRootDir + 'free_cha...
Java
# Copyright 2015-2018 Camptocamp SA # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) from . import mass_reconcile from . import advanced_reconciliation
Java
# == Schema Information # # Table name: terms # # id :integer not null, primary key # sourced_id :string # title :string # start_at :datetime # end_at :datetime # created_at :datetime not null # updated_at :datetime not null # class Term < ApplicationRecord has_many...
Java
OC.L10N.register( "templateeditor", { "Could not load template" : "امکان بارگذاری قالب وجود ندارد", "Saved" : "ذخیره شد", "Reset" : "تنظیم مجدد", "An error occurred" : "یک خطا رخ داده است", "Sharing email - public link shares (HTML)" : "ایمیل اشتراک گذاری-لینک عمومی اشتراک گذاری(HTML)", ...
Java
# -*- coding: utf-8 -*- # © 2014 Elico Corp (https://www.elico-corp.com) # Licence AGPL-3.0 or later(http://www.gnu.org/licenses/agpl.html) import invoice
Java
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>{% block title %}{% endblock %}</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <l...
Java
<?php /* * This file is part of the FOSUserBundle package. * * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FOS\UserBundle\Model; /** * Interface to be impl...
Java
/* * StatusBarWidget.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FITNE...
Java
# -- # Kernel/Modules/AgentFAQAdd.pm - agent frontend to add faq articles # Copyright (C) 2001-2014 OTRS AG, http://otrs.com/ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (AGPL). If you # did not receive this file, see http://www.gnu.org/li...
Java
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'specialchar', 'cs', { options: 'Nastavení speciálních znaků', title: 'Výběr speciálního znaku', toolbar: 'Vložit speciální znak...
Java
<div class="row"> <div class="span9"> <span id="long_description_text_1"></span> </div> </div> <div class="row"> <div class="span9"> <span id="long_description_text_2"></span> </div> </div> <script type="text/javascript" src="/static/js/pybossa/pybossa.js"></script> <script type="text/j...
Java
/* * Copyright 2011 Witoslaw Koczewsi <wi@koczewski.de>, Artjom Kochtchi * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero * General Public License as published by the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
Java
RepoXML =============== [PAGE DESCRIPTION HERE] This class is slightly more complex than the SimpleXML system in PHP5, but simplier than direct DOM manipulation. * Class name: RepoXML * Namespace: * Parent class: [XMLLoader](xmlloader.md) Properties ---------- ### $apiversion public float $apiversion ...
Java
# # Bold - more than just blogging. # Copyright (C) 2015-2016 Jens Krämer <jk@jkraemer.net> # # This file is part of Bold. # # Bold is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of th...
Java
<?php /** * Nooku Framework - http://www.nooku.org * * @copyright Copyright (C) 2007 - 2017 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU AGPLv3 <https://www.gnu.org/licenses/agpl.html> * @link https://github.com/timble/openpolice-platform */ namespace Nooku\Library; /** * Callback O...
Java
<?php //============================================================+ // File name : tce_page_timer.php // Begin : 2004-04-29 // Last Update : 2010-10-05 // // Description : Display timer (date-time + countdown). // // Author: Nicola Asuni // // (c) Copyright: // Nicola Asuni // Tecn...
Java
/***************************************************************************** @(#) File: src/drivers/sl_x400p.c ----------------------------------------------------------------------------- Copyright (c) 2008-2015 Monavacon Limited <http://www.monavacon.com/> Copyright (c) 2001-2008 OpenSS7 Corporation <http:...
Java
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-IEs" * found in "../support/ngap-r16.4.0/38413-g40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER` */ #ifndef _NGAP_RATRestrictions_H_ #define _NGAP_R...
Java
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017...
Java
<?php namespace App\AdminBundle\Entity; use Symfony\Component\Validator\Constraints as Assert; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="User") * @ORM\Entity(repositoryClass="App\AdminBundle\Entity\UserRepository") */ class User { /** * @ORM\Id * @ORM\Column(type="intege...
Java
import factory from .models import User USER_PASSWORD = "2fast2furious" class UserFactory(factory.DjangoModelFactory): name = "John Doe" email = factory.Sequence(lambda n: "john{}@example.com".format(n)) password = factory.PostGenerationMethodCall('set_password', USER_PASSWORD) gender = "male" ...
Java
// ----------> GENERATED FILE - DON'T TOUCH! <---------- // generator: ilarkesto.mda.legacy.generator.DaoGenerator package scrum.server.admin; import java.util.*; import ilarkesto.persistence.*; import ilarkesto.core.logging.Log; import ilarkesto.base.*; import ilarkesto.base.time.*; import ilarkesto.auth.*...
Java
<ol class="breadcrumb"> <li>Outil de publication</li> <li><a ui-sref="root.account.organizations">Sélection de l'organisation</a></li> <li><a ui-sref="root.account.organization.index({ organizationId: currentOrganization._id })">{{ currentOrganization.name }}</a></li> <li class="active">Sélection du catalogue s...
Java
/* * RapidMiner * * Copyright (C) 2001-2011 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
Java
package info.nightscout.androidaps.plugins.SmsCommunicator; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com....
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="" /> <meta name="keywords"...
Java
--- _id: 81739fa0-1995-11e8-a313-257d004a4890 date_posted: '2018-02-24' layout: post full_name: John poster_email: Johnlaufman@gmail.com business_name: Bakery business_url: '' location: North Lamar title: Comment category: management description: >- We are looking for an experienced pastry manager with a background i...
Java
/* * ADL2-core * Copyright (c) 2013-2014 Marand d.o.o. (www.marand.com) * * This file is part of ADL2-core. * * ADL2-core is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the ...
Java
/* Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.8.0r4 */ /* Copyright (c) 2008, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.5.2 */ /* the st...
Java
/** * This file is part of mycollab-scheduler. * * mycollab-scheduler 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. * * mycol...
Java
/* * Realmedia RTSP protocol (RDT) support. * Copyright (c) 2007 Ronald S. Bultje * * This file is part of FFmpeg. * * FFmpeg 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....
Java
#!/usr/bin/env python # -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*- # # NetProfile: Authentication routines # © Copyright 2013-2014 Alex 'Unik' Unigovsky # # This file is part of NetProfile. # NetProfile is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General ...
Java
<?php namespace Drupal\effective_activism\AccessControlHandler; use Drupal; use Drupal\Core\Access\AccessResult; use Drupal\Core\Entity\EntityAccessControlHandler; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Session\AccountInterface; /** * Access controller for the Event entity. * * @see \Drupal\effec...
Java
/** * Copyright (C) 2001-2017 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by ...
Java
class CreateVersions < ActiveRecord::Migration def self.up create_table :versions do |t| t.string :item_type, :null => false t.integer :item_id, :null => false t.string :event, :null => false t.string :whodunnit t.text :object t.datetime :created_at end ...
Java
title: Event History toc: [Documentation, Programming Guide, WAMP Features, PubSub, Event History] # Event History Event history allows a WAMP client to retrieve a set of past events for a subscription. Retrieval is by subscription ID, and for a set number of events. ## Configuration in Crossbar.io Crossbar.io does...
Java
(function() { 'use strict'; angular.module('columbyApp') .controller('SearchCtrl', function($log,$rootScope, $scope, SearchSrv) { /* ---------- SETUP ----------------------------------------------------------------------------- */ $scope.contentLoading = true; $scope.search = {}; $rootScope.t...
Java
QuestionCuePoint cuePoint = new QuestionCuePoint(); cuePoint.EntryId = "0_mej0it92"; cuePoint.Question = "hello world"; OnCompletedHandler<CuePoint> handler = new OnCompletedHandler<CuePoint>( (CuePoint result, Exception e) => { CodeExample.PrintObject(result); done = true; }); CuePoi...
Java
from . import models from . import lroe
Java
/** * Copyright (c) 2011-2018 libgroestlcoin developers (see AUTHORS) * * This file is part of libgroestlcoin. * * libgroestlcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free So...
Java
/* * PHEX - The pure-java Gnutella-servent. * Copyright (C) 2001 - 2006 Arne Babenhauserheide ( arne_bab <at> web <dot> 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 v...
Java
<?php /* Smarty version 2.6.11, created on 2012-09-04 14:40:06 compiled from cache/modules/Accounts/EditView.tpl */ ?> <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_include', 'cache/modules/Accounts/EditView.tpl', 39, f...
Java
/* Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
Java
package integration.tests; import static org.junit.Assert.assertEquals; import gr.ntua.vision.monitoring.VismoConfiguration; import gr.ntua.vision.monitoring.VismoVMInfo; import gr.ntua.vision.monitoring.dispatch.VismoEventDispatcher; import gr.ntua.vision.monitoring.events.MonitoringEvent; import gr.ntua.vision.monit...
Java
DELETE FROM `weenie` WHERE `class_Id` = 38241; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (38241, 'ace38241-kaymoribndumandi', 10, '2019-02-10 00:00:00') /* Creature */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (38241, 1, 16) /* ItemType ...
Java
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
Java
/** * ISARI Import Scripts File Definitions * ====================================== * * Defining the various files to import as well as their line consumers. */ module.exports = { organizations: require('./organizations.js'), people: require('./people.js'), activities: require('./activities.js'), postProc...
Java
/* * Copyright © Région Nord Pas de Calais-Picardie. * * This file is part of OPEN ENT NG. OPEN ENT NG is a versatile ENT Project based on the JVM and ENT Core Project. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * publ...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_71) on Fri Jul 10 16:43:22 IST 2015 --> <title>Uses of Interface com.ephesoft.gxt.core.shared.dto.propertyAccessors.KVExtractionPr...
Java
// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef UNWIND_TYPE_DWA200222_HPP # define UNWIND_TYPE_DWA200222_HPP # include <boost/python/detail/cv_category.hpp> # include <b...
Java
class Api::AccountsController < ApiController def index @accounts = current_user.accounts respond_with(@accounts) end def show find_account! respond_with(@account) end def update find_account! @account.update(account_params) respond_with(@account) end private def find_ac...
Java
define(['sylvester', 'sha1', 'PrairieGeom'], function (Sylvester, Sha1, PrairieGeom) { var $V = Sylvester.Vector.create; var Vector = Sylvester.Vector; var Matrix = Sylvester.Matrix; /*****************************************************************************/ /** Creates a PrairieDraw object. @c...
Java
#-- # Copyright (C) 2007, 2008 Johan Sørensen <johan@johansorensen.com> # Copyright (C) 2008 David A. Cuadrado <krawek@gmail.com> # Copyright (C) 2008 Tim Dysinger <tim@dysinger.net> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public ...
Java
/* * LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html * but CloudUnit is licensed too under a standard commercial license. * Please contact our sales team if you would like to discuss the specifics of our Enterprise license. * If you are not su...
Java
# # Bold - more than just blogging. # Copyright (C) 2015-2016 Jens Krämer <jk@jkraemer.net> # # This file is part of Bold. # # Bold is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of th...
Java
#include "fitz-imp.h" #include <assert.h> #include <string.h> #include <stdio.h> #include <time.h> struct fz_style_context_s { int refs; char *user_css; int use_document_css; }; static void fz_new_style_context(fz_context *ctx) { if (ctx) { ctx->style = fz_malloc_struct(ctx, fz_style_context); ctx->style->r...
Java
<?php declare(strict_types=1); /** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms ...
Java
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> <style type="t...
Java
<?php /** * plentymarkets shopware connector * Copyright © 2013-2014 plentymarkets GmbH * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Publ...
Java
var clover = new Object(); // JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]} clover.pageData = {"classes":[{"el":162,"id":11268,"methods":[{"el":52,"sc":2,"sl":50},{"el":138,"sc":2,"sl":54},{"el":147,"sc":2,"sl":140},{"el":161,"sc":2,"sl":149}],"name":"ChiSquaredWeighting","sl":46}]} // JSON:...
Java
DELETE FROM `weenie` WHERE `class_Id` = 19384; INSERT INTO `weenie` (`class_Id`, `class_Name`, `type`, `last_Modified`) VALUES (19384, 'gagindwellingssign', 1, '2019-02-10 00:00:00') /* Generic */; INSERT INTO `weenie_properties_int` (`object_Id`, `type`, `value`) VALUES (19384, 1, 128) /* ItemType - Misc */...
Java
import _ from 'underscore' import Base from '../graphs/base' import DayBinner from '../graphs/DayBinner' import WeekBinner from '../graphs/WeekBinner' import MonthBinner from '../graphs/MonthBinner' import ScaleByBins from '../graphs/ScaleByBins' import helpers from '../helpers' import I18n from 'i18n!page_views' // #...
Java
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>opera...
Java
<?php /** * Output functions * Processing text for output such as pulling out URLs and extracting excerpts * * @package Elgg * @subpackage Core */ /** * Takes a string and turns any URLs into formatted links * * @param string $text The input string * * @return string The output string with formatted links ...
Java
SavedSearchSelect.$inject = ['session', 'savedSearch']; export function SavedSearchSelect(session, savedSearch) { return { link: function(scope) { savedSearch.getUserSavedSearches(session.identity).then(function(res) { scope.searches = res; }); } }; }
Java
#!/usr/bin/env python # Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra # # This file is part of Essentia # # Essentia is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation ...
Java
# Copyright 2015 ACSONE SA/NV # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import fields, models class PosConfig(models.Model): _inherit = "pos.config" account_analytic_id = fields.Many2one( comodel_name="account.analytic.account", string="Analytic Account" )
Java
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package context_test import ( jc "github.com/juju/testing/checkers" "github.com/juju/utils" "github.com/juju/utils/set" gc "gopkg.in/check.v1" "gopkg.in/juju/names.v2" "github.com/juju/juju/apiserver/params" "github.c...
Java
OC.L10N.register( "encryption", { "Missing recovery key password" : "Brakujące hasło klucza odzyskiwania", "Please repeat the recovery key password" : "Proszę powtórz nowe hasło klucza odzyskiwania", "Repeated recovery key password does not match the provided recovery key password" : "Hasła klucza o...
Java
import { Ability } from "./ability"; import { search } from "./utility/pathfinding"; import { Hex } from "./utility/hex"; import * as arrayUtils from "./utility/arrayUtils"; import { Drop } from "./drops"; import { Effect } from "./effect"; /** * Creature Class * * Creature contains all creatures properties and at...
Java
<!DOCTYPE html> <html lang="en" > <head> <title>40123226 - CDW11 網頁 (虎尾科大MDE)</title> <!-- Using the latest rendering mode for IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style type="t...
Java
class GroupSerializer < ActiveModel::Serializer embed :ids, include: true attributes :id, :organisation_id, :cohort_id, :key, :name, :created_at, :description, :members_can_add_members, :members_can_create_subgro...
Java
/* sb0t ares chat server Copyright (C) 2017 AresChat This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any la...
Java
#pragma once #include <memory> #include "FullBlock.h" #include "BlockEntity.h" class BlockSource; class BlockPos; class BlockSourceListener { public: virtual ~BlockSourceListener(); virtual void onSourceCreated(BlockSource &); virtual void onSourceDestroyed(BlockSource &); virtual void onBlocksDirty(BlockSource ...
Java
<html> <heac> <meta charset="UTF-8"> <title>Test for MPI.js</title> <script type="text/javascript" src="MPI.js"></script> <script type="text/javascript" src="MPIupdateable.js"></script> <script type="text/javascript" src="mpitests.js"></script> <script> MPImain.run(); </script> </head> <body> ...
Java
class Admin::AdminSerializer < ActiveModel::Serializer attributes :id, :name, :email, :teachers def teachers teacher_ids = User.find(object.id).teacher_ids teachers_data = TeachersData.run(teacher_ids) teachers_data.map{|t| Admin::TeacherSerializer.new(t, root: false) } end end
Java
#!/usr/bin/python #-*- coding: utf-8 -*- ########################################################### # © 2011 Daniel 'grindhold' Brendle and Team # # This file is part of Skarphed. # # Skarphed is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public License # as ...
Java
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ActiveJob::Execution</title> <meta http-equiv="Content-Type" cont...
Java