repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
VesnaBrucoms/computer-drafter-wpf
Computer Drafter/InputOutput/Directory.cs
2080
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; namespace Computer_Drafter.InputOutput { static class Directory { /// <summary> /// Returns a list of every file in a directory with a specified extension. ...
gpl-2.0
veskoy/HackBulgaria_Winter2015
Application Problems/Problem 2/solution.rb
2141
def count_word_occurances(word, data) occurances = 0 # First let's check the rows data.each do |row| row_string = row.join('') occurances += 1 if row_string.include?(word) or row_string.include?(word.reverse) end # After that we can continue with the cols table_width = data[0].length table_height ...
gpl-2.0
mramir8274/x.ybot
bot/seedbot.lua
9950
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
cyberpython/java-gnome
generated/bindings/org/gnome/gtk/GtkCellRendererSpinner.java
2502
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2006-2011 Operational Dynamics Consulting, Pty Ltd and Others * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or...
gpl-2.0
lorea/event_connector
views/default/forms/event_connector/import.php
647
<?php /** * iCal import form body * * @package ElggEventConnector */ ?> <div> <label><?php echo elgg_echo("event_connector:upload:file"); ?></label> <br /> <?php echo elgg_view("input/file", array('name' => 'upload')); ?> </div> <div> <label><?php echo elgg_echo('access'); ?></label> <br /> <...
gpl-2.0
alucardxlx/matts-uo-server
Server/Party.cs
1572
/*************************************************************************** * Party.cs * ------------------- * begin : May 1, 2002 * copyright : (C) The RunUO Software Team * email : info@runuo.com * ...
gpl-2.0
hh-italian-group/hh-bbtautau
Studies/python/TrainingTF1.py
3431
# Definition of the training for the HH-btag NN # This file is part of https://github.com/hh-italian-group/hh-bbtautau. import tensorflow as tf from keras import Model config = tf.ConfigProto(allow_soft_placement=False, device_count = {'CPU' : 1, 'GPU' : 1}) config.gpu_options.allow_growth = True session = tf.Session(...
gpl-2.0
janrose/gpsmid
GpsMidGraph/de/ueller/midlet/gps/routing/Connection.java
563
package de.ueller.midlet.gps.routing; public class Connection { /** * represent time in s or length in m depending on the search mode */ public int cost; // public Integer toId=null; public int toId=-1; // public RouteNode to=null; public byte startBearing=0; public byte endBearing=0; public Connection(){ ...
gpl-2.0
fnatter/freeplane-debian-dev
freeplane/src/main/java/org/freeplane/features/filter/hidden/HiddenNodeContoller.java
1938
package org.freeplane.features.filter.hidden; import org.freeplane.core.enumeration.NodeEnumerationAttributeHandler; import org.freeplane.core.io.ReadManager; import org.freeplane.core.io.WriteManager; import org.freeplane.features.icon.IStateIconProvider; import org.freeplane.features.icon.IconController; import org....
gpl-2.0
decafio/SimpleSupport
SimpleSupport/App_Start/RouteConfig.cs
583
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SimpleSupport { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{...
gpl-2.0
Automattic/o2
modules/to-do/js/views/extend-post.js
4739
var ResolvedPostExtendsPost = ( function( $ ) { return { initialize: function() { _.bindAll( this, 'onResolvedPostsSuccess', 'onResolvedPostsError' ); var postMeta = this.model.get( 'postMeta' ); if ( 'undefined' !== typeof postMeta.resolvedPostsAuditLogs ) { this.model.auditLogs = new o2.Collections.A...
gpl-2.0
m-godefroid76/devrestofactory
wp-content/themes/triven/content-menu-home.php
1620
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="menu-index-pro"> <div class="menu-image-pro-home"> <?php if( has_post_format( 'gallery' ) ): ?> <div class="flexslider gallery-progression"> <ul class="slides"> <?php $args = array( 'post_type' => ...
gpl-2.0
waqarmuneer/RN-Cor
administrator/components/com_rednet/admin.rednet.php
1658
<?php /** * @version 1.0 * @package joomla * @subpackage Rednet * @author * @copyright Copyright (C) 2012, . All rights reserved. * @license */ //--No direct access defined('_JEXEC') or die('Resrtricted Access'); // Require the base controller require_once( JPATH_COMPONENT.DS.'controller.php' ); j...
gpl-2.0
noahjohn9259/emberrcom
wp-content/plugins/wp-admin-icons/includes/wp-admin-icons-options.php
16053
<div class="wrap"> <h2>WP-Admin Icons <span class="whoBy">By: <a href="http://imdev.in" target="_blank" title="Visit Devin Walker's Site">Devin Walker</a></span> </h2> <div class="adminFacebook"> <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FWordImpress%2F353658...
gpl-2.0
shahora/kurdishgram1
TMeesagesProj/src/main/java/org/vidogram/ui/Components/TimerDrawable.java
5226
package org.vidogram.ui.Components; import android.content.Context; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.Paint.Style; import android.graphics.drawable.Drawable; import android.text.Layout.Alignment; import android.text.Stat...
gpl-2.0
koying/xbmc-vidonme
xbmc/settings/GUIWindowSettings.cpp
1004
/* * Copyright (C) 2005-2013 Team XBMC * http://www.xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * ...
gpl-2.0
chusopr/kdepim-ktimetracker-akonadi
libkleo/backends/qgpgme/qgpgmekeylistjob.cpp
5431
/* qgpgmekeylistjob.cpp This file is part of libkleopatra, the KDE keymanagement library Copyright (c) 2004,2008 Klarälvdalens Datakonsult AB Libkleopatra 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 Softw...
gpl-2.0
iammdmusa/muri
template-parts/content-gallery.php
2957
<?php /** * Template part for displaying posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package muri */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="cat-post-section"> <div class="row item"> <h2 class="post-title"> <a ...
gpl-2.0
kunj1988/Magento2
lib/internal/Magento/Framework/View/Test/Unit/Element/Html/Link/CurrentTest.php
3919
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\View\Test\Unit\Element\Html\Link; class CurrentTest extends \PHPUnit\Framework\TestCase { /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $_urlBuilderMo...
gpl-2.0
JeroenDeDauw/mediawiki-extensions-WikibaseQueryEngine
WikibaseQueryEngine.php
2913
<?php /** * Entry point for the Query component of Wikibase. * * @since 0.1 * * @file * @ingroup WikibaseQueryEngine * * @licence GNU GPL v2+ * @author Jeroen De Dauw < jeroendedauw@gmail.com > */ if ( defined( 'WIKIBASE_QUERYENGINE_VERSION' ) ) { // Do not initialize more then once. return; } define( 'W...
gpl-2.0
dipacs/Viwib
trunk/src/Viwib/src/com/eagerlogic/viwib/connectors/common/CommonConnector.java
19129
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eagerlogic.viwib.connectors.common; import com.eagerlogic.viwib.MyCookieManager; import com.eagerlogic.viwib.connectors.Category; import com.eagerlogic.viwib.connectors.ASiteConnector; import com.eagerlogic....
gpl-2.0
apigee/apigee-edge-drupal
modules/apigee_edge_teams/src/Entity/TeamTitleProvider.php
1775
<?php /** * Copyright 2018 Google Inc. * * 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 program is distributed in the hope that it will be useful, * but WITHOUT ANY ...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest06877.java
2510
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
gpl-2.0
weavermj/inquire
administrator/components/com_dropfiles/helpers/installer.php
2620
<?php /** * Dropfiles * * We developed this code with our hearts and passion. * We hope you found it useful, easy to understand and to customize. * Otherwise, please feel free to contact us at contact@joomunited.com * * @package Dropfiles * @copyright Copyright (C) 2013 JoomUnited (http://www.joomunited.com). ...
gpl-2.0
raeldc/nooku-server
administrator/components/com_banners/dispatcher.php
926
<?php /** * @version $Id$ * @category Nooku * @package Nooku_Server * @subpackage Weblinks * @copyright Copyright (C) 2011 Timble CVBA and Contributors. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link http://www.nooku.org */ /** * Component Dispa...
gpl-2.0
timothy003/TrinityCore-m4a
src/bindings/scripts/scripts/zone/karazhan/boss_shade_of_aran.cpp
22299
/* Copyright (C) 2006 - 2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) a...
gpl-2.0
Archimedez/FunnyGame
Galactic Conflict/GalacticConflict/GalacticConflict/TitleMenuState.cs
961
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Tao.OpenGl; namespace GalacticConflict { class TitleMenuState : IGameObject { double _currentRotation = 0; public void Update(double elapsedTime) { _currentRotation = 10 * elapsedTime;...
gpl-2.0
Kagami/tistore
src/file-list/file-item.js
1605
/** * View/action logic for the single file inside list. * @module tistore/file-list/file-item */ import React from "react"; import Icon from "react-fa"; import {showSize} from "../util"; export default class FileItem extends React.PureComponent { getIconName() { const status = this.props.status; switch ...
gpl-2.0
tonglin/pdPm
public_html/typo3_src-6.1.7/typo3/sysext/core/Classes/Core/Bootstrap.php
40844
<?php namespace TYPO3\CMS\Core\Core; /*************************************************************** * Copyright notice * * (c) 2012-2013 Christian Kuhn <lolli@schwarzbu.ch> * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is * free software; you can redistribute it an...
gpl-2.0
babchai/wp_store2
wp-content/plugins/wpstorecart/js/anytime/anytimec.js
60759
/* anytimec.js 4.1094 (anytime.js 4.1094) Copyright 2008-2010 Andrew M. Andrews III (www.AMA3.com). Some Rights Reserved. This work licensed under the Creative Commons Attribution- Noncommercial-Share Alike 3.0 Unported License except in jurisdicitons for which the license has been ported by Creative Commons Inter...
gpl-2.0
havran/Drupal.sk
docroot/drupal/core/modules/quickedit/js/editors/formEditor.js
7907
/** * @file * Form-based in-place editor. Works for any field type. */ (function ($, Drupal) { "use strict"; /** * @constructor * * @augments Drupal.quickedit.EditorView */ Drupal.quickedit.editors.form = Drupal.quickedit.EditorView.extend(/** @lends Drupal.quickedit.editors.form# */{ /** ...
gpl-2.0
dmzx/Member-time-counter
language/fr/membertimecounter.php
1238
<?php /** * * Member time counter extension for the phpBB Forum Software package. * French translation by Taka5124 (http://webdvdbdhd.com) & Galixte (http://www.galixte.com) * * @copyright (c) 2015 dmzx <http://www.dmzx-web.net> * @license GNU General Public License, version 2 (GPL-2.0) * */ /** * DO NOT CHANGE */ if ...
gpl-2.0
mauriziopireddu/KittenCompilatori
src/absyn/Assert.java
2498
package absyn; import java.io.FileWriter; import bytecode.NEWSTRING; import bytecode.VIRTUALCALL; import bytecode.CONST; import bytecode.RETURN; import semantical.TypeChecker; import translation.Block; import types.ClassType; import types.IntType; import types.TypeList; public class Assert extends ...
gpl-2.0
Siot/tigervnc
unix/xserver/hw/vnc/vncExtInit.cc
11362
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. * Copyright 2011-2015 Pierre Ossman for Cendio AB * * This 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...
gpl-2.0
yakimanjusuki-git1/git1_test
wp-config.php
4279
<?php /** * WordPress の基本設定 * * このファイルは、MySQL、テーブル接頭辞、秘密鍵、言語、ABSPATH の設定を含みます。 * より詳しい情報は {@link http://wpdocs.sourceforge.jp/wp-config.php_%E3%81%AE%E7%B7%A8%E9%9B%86 * wp-config.php の編集} を参照してください。MySQL の設定情報はホスティング先より入手できます。 * * このファイルはインストール時に wp-config.php 作成ウィザードが利用します。 * ウィザードを介さず、このファイルを "wp-c...
gpl-2.0
KanoComputing/kano-repository-manager
lib/dr/build_environments.rb
5056
# Copyright (C) 2014-2019 Kano Computing Ltd. # License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2 module Dr module BuildEnvironments @@build_environments = { :kano => { :name =>"Kano OS (Wheezy)", :arches => ["armhf"], :repos => { :raspbian => { :url ...
gpl-2.0
mkandra/GridImageSearch
src/com/mbkandra16/apps/gridimagesearch/models/ImageResult.java
1129
package com.mbkandra16.apps.gridimagesearch.models; import java.io.Serializable; import java.util.ArrayList; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class ImageResult implements Serializable{ /** * */ private static final long serialVersionUID = -8850560755...
gpl-2.0
giucam/ssu
ssud/main.cpp
785
/** * @file main.cpp * @copyright 2013 Jolla Ltd. * @author Bernd Wachter <bwachter@lart.info> * @date 2013 */ #include <QCoreApplication> #include <QTranslator> #include <QLocale> #include <QLibraryInfo> #include "libssunetworkproxy/ssunetworkproxy.h" #include "ssud.h" int main(int argc, char** argv){ QCoreAp...
gpl-2.0
ibennetch/phpmyadmin
test/selenium/XssTest.php
1013
<?php /** * Selenium TestCase for SQL query window related tests */ declare(strict_types=1); namespace PhpMyAdmin\Tests\Selenium; /** * XssTest class * * @group selenium */ class XssTest extends TestBase { /** * Create a test database for this test class * * @var bool */ protec...
gpl-2.0
FredQiao/wxmseo
wp-content/themes/tangstyle/sidebar-single.php
1726
<div id="sidebar"> <div id="search"> <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" size="30" x-webkit-speech /> <button type="submit" id="searchsubmit"><i class="iconfont">&#337;</i></button> </form> ...
gpl-2.0
gunnarku/mysql-8.0
plugin/semisync/semisync_master_ack_receiver.cc
7752
/* Copyright (c) 2014, 2017, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed in t...
gpl-2.0
wbread/Elxis-2009.3_aphrodite_rev2681
administrator/tools/empty_temporary/language/russian.php
1437
<?php /** * @ Version: 2008.0 * @ Copyright: Copyright (C) 2006-2008 Elxis.org. All rights reserved. * @ Package: Elxis * @ Subpackage: Tools * @ Author: Elxis Team * @ Translator: Coursar * @ Translator URL: http://www.elxis.ru * # Translator E-mail: info@elxis.ru * @ Description: Russian language for empty temporary...
gpl-2.0
nerdfiles/brooklynmeatballcompany_com
wp-content/themes/bmc/doc/source/conf.py
7175
# -*- coding: utf-8 -*- # # Brooklyn Meatball Company Website documentation build configuration file, created by # sphinx-quickstart on Tue Nov 6 23:02:35 2012. # # 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 # a...
gpl-2.0
kenhys/tokyodebian-monthly-report
utils/gae/enquete.py
13582
# Enquete page editing and submitting. # coding=utf-8 from google.appengine.api import users import StringIO import csv import schema import webapp_generic import throttled_mail_sender class EnqueteAdminEdit(webapp_generic.WebAppGenericProcessor): """Admin edits the enquete questionnaire.""" def get(self): ...
gpl-2.0
Spawck/HarkenScythe2
src/main/java/com/spawck/hs2/enchantment/EnchantmentSoulsteal.java
1109
/** * This class was created by <spawck> as part of the Harken Scythe 2 * mod for Minecraft. * * Harken Scythe 2 is open-source and distributed under the * GNU GPL v2 License. * (https://www.gnu.org/licenses/gpl-2.0.html) * * Harken Scythe 2 is based on the original Harken Scythe mod created * by Jade_Knigh...
gpl-2.0
sirvaliance/netlib
src/main/java/org/silvertunnel/netlib/layer/tor/util/TorNoAnswerException.java
1273
/** * OnionCoffee - Anonymous Communication through TOR Network * Copyright (C) 2005-2007 RWTH Aachen University, Informatik IV * * 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....
gpl-2.0
AlexDAlexeev/redmine_backlogs
app/models/rb_stats.rb
7557
# 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 program is distributed in the hope that it will be useful, # bu...
gpl-2.0
mdavid/vtd-xml
src/Ximpleware.VTDXml.Test/Tests/DuplicateNavTest.cs
1876
/* * Copyright (C) 2002-2009 XimpleWare, info@ximpleware.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 versi...
gpl-2.0
nulled/nulled
www/planetxmail.com/mle/affsignup.php
44
<?php include("mlpsecure/affsignup.inc"); ?>
gpl-2.0
kdeforche/jwt
src/eu/webtoolkit/jwt/WAbstractEvent.java
313
/* * Copyright (C) 2009 Emweb bv, Herent, Belgium. * * See the LICENSE file for terms of use. */ package eu.webtoolkit.jwt; /** * Internal class {@link WAbstractEvent} */ public interface WAbstractEvent { /** * Internal method. */ public WAbstractEvent createFromJSEvent(JavaScriptEvent jsEvent); }
gpl-2.0
voitureblanche/kaleidoscope
app/src/androidTest/java/gelmir/free/fr/kaleidoscope/ExampleInstrumentedTest.java
738
package gelmir.free.fr.kaleidoscope; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an And...
gpl-2.0
cdavid/wattsapp2
themes/bootstrap/about.php
342
<?php if (!defined('APPLICATION')) exit(); $ThemeInfo['bootstrap'] = array( 'Name' => 'Twitter BootStrap for Vanilla', 'Description' => 'Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites.', 'Version' => '1.0', 'Author' => 'Catalin David', 'AuthorEmail' => 'c.david@jac...
gpl-2.0
jukkar/eca-web
src/bluezutils.py
2286
# # ECA web UI # # Copyright (C) 2013 Intel Corporation. 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 version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it wil...
gpl-2.0
PriyankaKhante/nlp_spf
parser.ccg.rules.lambda/src/edu/uw/cs/lil/tiny/parser/ccg/rules/lambda/typeshifting/AdverbialTypeShifting.java
2611
/******************************************************************************* * UW SPF - The University of Washington Semantic Parsing Framework * <p> * Copyright (C) 2013 Yoav Artzi * <p> * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public Lice...
gpl-2.0
unofficial-opensource-apple/llvmgcc42
llvmCore/lib/Target/ARM/AsmPrinter/ARMMCInstLower.cpp
5054
//===-- ARMMCInstLower.cpp - Convert ARM MachineInstr to an MCInst --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
gpl-2.0
JoomAce/AceSQL
com_acesql/controllers/edit.php
2673
<?php /** * @version 1.0.0 * @package AceSQL * @subpackage AceSQL * @copyright 2009-2012 JoomAce LLC, www.joomace.net * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * * Based on EasySQL Component * @copyright (C) 2008 - 2011 Serebro All rights reserved * @license http://www.gnu.org/copyleft/gpl.ht...
gpl-2.0
zyprosoft/ROCBOSS
index.php
786
<?php session_start(); # 开发调试时建议设为 E_ALL ,运营时请设为 0 error_reporting(0); date_default_timezone_set('PRC'); define('ROC', TRUE); # 定义项目根目录,若是子目录则为 '/子目录名/' define('ROOT', '/'); # 引入框架核心文件 require 'system/Roc.php'; # 引入框架路由文件 require 'system/Router.php'; # 载入应用配置 require 'application/config/config.php'; # 载入系统类库 Ro...
gpl-2.0
PagerDuty/optimizely-gem
lib/optimizely/engine.rb
8499
module Optimizely class Engine BASE_URL = "https://www.optimizelyapis.com/experiment/v1/" attr_accessor :url # Initialize Optimizely using an API token. # # == Options: # +:api_token+:: Use an API token you received before. # +:timeout+:: Set Net:HTTP timeout in seconds (default is 300). # def i...
gpl-2.0
jaapgeurts/snap
src/main/java/snap/AuthorizationException.java
255
package snap; public class AuthorizationException extends SnapException { public AuthorizationException(String message) { super(message); } public AuthorizationException(String message, Throwable cause) { super(message, cause); } }
gpl-2.0
chisimba/chisimba
app/lib/pear/I18Nv2/Locale/pl.php
560
<?php /** * $Id$ */ $this->dateFormats = array( I18Nv2_DATETIME_SHORT => '%d.%m.%y', I18Nv2_DATETIME_DEFAULT => '%d.%m.%Y', I18Nv2_DATETIME_MEDIUM => '%d %b %Y', I18Nv2_DATETIME_LONG => '%d %B %Y', I18Nv2_DATETIME_FULL => '%A, %d %B %Y' ); $this->timeFormats = array( I18...
gpl-2.0
miranda-ng/miranda-ng
plugins/FTPFileYM/src/job_generic.cpp
6509
/* FTP File YM plugin Copyright (C) 2007-2010 Jan Holub 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 version 2 of the License. This program is distributed in the hope that it will be usef...
gpl-2.0
OHSU-FM/reindeer
spec/factories/user_external_factory.rb
137
# FactoryBot.define do # factory :user_external do # user # ident_type "TestQuestion" # ident { ident_type } # end # end
gpl-2.0
gouldcwilliam/HelpDeskTools
HelpDeskTools/Tools/EmailReport/Properties/AssemblyInfo.cs
1398
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("Em...
gpl-2.0
chiamingyen/sgw745
src/core/types/pmwikiarea.php
12266
<?php /**************************************************************************\ * Simple Groupware 0.743 * * http://www.simple-groupware.de * * Copyright (C) 2002-2012 by Thomas Bley * *...
gpl-2.0
NguyenHiep/learn-wp
wp-content/themes/sahifa/framework/functions/theme-functions.php
78962
<?php /*-----------------------------------------------------------------------------------*/ # Get Theme Options /*-----------------------------------------------------------------------------------*/ function tie_get_option( $name ) { $get_options = get_option( 'tie_options' ); if( !empty( $get_options[$...
gpl-2.0
unconstruct/bandwidth
wp-content/plugins/nextgen-facebook/lib/notices.php
4085
<?php /* License: GPLv3 License URI: http://surniaulula.com/wp-content/plugins/nextgen-facebook/license/gpl.txt Copyright 2012-2013 - Jean-Sebastien Morisset - http://surniaulula.com/ */ if ( ! defined( 'ABSPATH' ) ) die( 'Sorry, you cannot call this webpage directly.' ); if ( ! class_exists( 'ngfbNotices' ) ) { ...
gpl-2.0
h3xstream/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01968.java
3010
/** * OWASP Benchmark Project v1.2 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>. * * The OWASP Benchmark is free software: you can redistribute it ...
gpl-2.0
jcortes/workportal-inbox
inbox.js
2154
viewsModule.config(function($routeProvider) { $routeProvider .when('/', { controller: 'InboxCtrl', templateUrl: 'inbox.html' }); }); viewsModule.controller('InboxCtrl', function($rootScope, $scope, $modal, $location, $firebase, Activities, fbURL, workingDays) { // Defini...
gpl-2.0
carlcnx/EnClass
src/CodeGenerator/Settings.Designer.cs
6334
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
gpl-2.0
openjdk/jdk8u
jdk/src/share/classes/sun/nio/ch/AsynchronousServerSocketChannelImpl.java
8448
/* * Copyright (c) 2008, 2018, 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 ...
gpl-2.0
avalutions/Avaya-PDS-Silverlight-API
Common/Field.cs
272
using System; namespace Dialer.Communication.Common { public abstract class Field { public String Name { get; set; } public Int32 X { get; set; } public Int32 Y { get; set; } public Int32 Width { get; set; } } }
gpl-2.0
solbirn/pyActiveSync
pyActiveSync/client/GetItemEstimate.py
4933
######################################################################## # Copyright (C) 2013 Sol Birnbaum # # 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 Licen...
gpl-2.0
gadawg81/NodeJS-Project
MySite/app.js
583
/* * Module dependencies */ var express = require('express') , stylus = require('stylus') , nib = require('nib') var app = express() function compile(str, path) { return stylus(str) .set('filename', path) .use(nib()) } app.set('views', __dirname + '/views') app.set('view engine', 'jad...
gpl-2.0
kunj1988/Magento2
app/code/Magento/Sales/Model/ResourceModel/Metadata.php
1307
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Model\ResourceModel; /** * Class Metadata */ class Metadata { /** * @var \Magento\Framework\ObjectManagerInterface */ protected $objectManager; /** * @var string...
gpl-2.0
melchor629/Java-GLEngine
src/main/java/org/melchor629/engine/loaders/collada/Polylist.java
2586
package org.melchor629.engine.loaders.collada; import java.util.ArrayList; import org.w3c.dom.Element; /** * * @author melchor9000 */ public class Polylist { public String material; public int count; public java.nio.IntBuffer vcount, p; public ArrayList<Input> inputs; public Polylist(Element ...
gpl-2.0
tushar-jaiswal/LeetCode
Algorithms/24. Swap Nodes in Pairs/SwapNodesInPairs.cs
1021
//Author: Tushar Jaiswal //Creation Date: 06/12/2016 /*Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes itself can be cha...
gpl-2.0
zhwolf/myproject
wxm_stock/tor_web.py
4867
#!/usr/bin/env python # -*- coding: utf-8 -*- #http://qinxuye.me/article/ways-to-continual-sync-browser-and-server/ import os import random, time import logging import Queue import re,urllib2 from BeautifulSoup import BeautifulSoup # import Jinja2 from jinja2 import Environment, FileSystemLoader,TemplateNot...
gpl-2.0
koo5/manaplus
src/gui/widgets/emoteshortcutcontainer.cpp
7354
/* * Extended support for activating emotes * Copyright (C) 2009 Aethyra Development Team * Copyright (C) 2011-2013 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
gpl-2.0
Distrotech/Transmission
qt/tracker-model.cc
4101
/* * This file Copyright (C) Mnemosyne LLC * * 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. * * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * $Id$ */ #include <...
gpl-2.0
visi0nary/android_device_blackview_alifep1pro
GoodixNewFpSetting/src/com/goodix/fpsetting/TouchIDActivity.java
25892
/************************************************************************ * <p>Title: TouchIDActivity.java</p> * <p>Description: </p> * <p>Copyright (C), 1997-2014, Shenzhen Goodix Technology Co.,Ltd.</p> * <p>Company: Goodix</p> * @author peng.hu * @date 2014-9-23 * @version 1.0 ******************...
gpl-2.0
ivan-uskov/C-labs
lw5/lw5-1/body_hierarchy/stdafx.cpp
293
// stdafx.cpp : source file that includes just the standard includes // body_hierarchy.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
gpl-2.0
drlucaswilkins/newtonfractal
NewtonFractal/src/main/scala/com/lucaswilkins/newtonfractals/image.scala
3080
package com.lucaswilkins.newtonfractals import java.awt.Component import java.awt.image.BufferedImage import java.io.File import java.util.prefs.Preferences import javax.imageio.ImageIO import javax.swing.{JOptionPane, JFileChooser} import javax.swing.filechooser.FileNameExtensionFilter /** * This handles the file d...
gpl-2.0
wpgaijin/practical-project-wrangler
includes/classes/class-ppw-project-ajax-search.php
4751
<?php /** * Project AJAX Search * * @package PPW * @subpackage PPW/Includes/Classes * @since 0.0.1 */ if( !class_exists( 'PPW_Project_AJAX_Search' ) ) { class PPW_Project_AJAX_Search { /** * Initialize the class * * @since 0.0.1 * @uses add_action() wp-includes/plugin.php ...
gpl-2.0
st0ne/gr-OE2AIP
lib/dstar_header_decoder.cc
8862
#include "dstar_header_decoder.h" #include <string.h> void headerDecode(unsigned char raw_header[660], bool hardDecition, header_t *decodedHeader) { /*for ( int i = 0; i < 660; i++){ //cout << hex << (int)raw_header[i] << ", "; raw_header[i] = raw_header_data[i]; }*/ // Descrambling der empfangenen Symbole ...
gpl-2.0
thangbn/Direct-File-Downloader
src/src/com/aelitis/azureus/ui/common/table/impl/TableColumnInfoImpl.java
2459
/** * Created on Jan 5, 2009 * * Copyright 2008 Vuze, Inc. 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; version 2 of the License only. * * This program is distr...
gpl-2.0
bvcms/bvcms
CmsWeb/Areas/OnlineReg/Models/OnlineReg/ReadWriteXml.cs
3800
using System; using System.Linq; using System.Reflection; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using CmsData.API; using CmsWeb.Controllers; using UtilityExtensions; namespace CmsWeb.Areas.OnlineReg.Models { public partial class OnlineRegModel { public void ReadXml(XmlReader...
gpl-2.0
davidhalter-archive/ardour
libs/ardour/midi_playlist_source.cc
5148
/* Copyright (C) 2011 Paul Davis 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 program is distr...
gpl-2.0
vanilla/vanilla
tests/APIv2/ConversationsTest.php
10437
<?php /** * @author Alexandre (DaazKu) Chouinard <alexandre.c@vanillaforums.com> * @copyright 2009-2019 Vanilla Forums Inc. * @license GPL-2.0-only */ namespace VanillaTests\APIv2; use Garden\Web\Exception\ForbiddenException; /** * Test the /api/v2/conversations endpoints. */ class ConversationsTest extends Abs...
gpl-2.0
Fat-Zer/tdelibs
tdeui/kdetrayproxy/kdetrayproxy.cpp
7019
/* * Copyright (C) 2004 Lubos Lunak <l.lunak@kde.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 version. ...
gpl-2.0
QuyICDAC/icdacgov
modules/mod_janews_featured/tmpl/telineii/blog.php
2715
<?php /** * ------------------------------------------------------------------------ * JA News Featured Module for J25 & J32 * ------------------------------------------------------------------------ * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved. * @license - GNU/GPL, http://www.g...
gpl-2.0
luffy22/Astro
components/com_freepaypal/views/topdonors/view.html.php
8514
<?php /** * Topdonors View for FreePayPal Component * * @package Joomla.Tutorials * @subpackage Components * @link http://docs.joomla.org/Category:Development * @license GNU/GPL */ // no direct access defined('_JEXEC') or die('Restricted access'); jimport('joomla.application.component.view'); jimpo...
gpl-2.0
gaoxiaojun/dync
src/share/vm/ci/ciInstanceKlass.hpp
8633
/* * Copyright (c) 1999, 2015, 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 ...
gpl-2.0
elitelinux/glpi-smartcities
plugins/ocsinventoryng/hook.php
93789
<?php /* * @version $Id: HEADER 15930 2012-12-15 11:10:55Z tsmr $ ------------------------------------------------------------------------- Ocsinventoryng plugin for GLPI Copyright (C) 2012-2013 by the ocsinventoryng plugin Development Team. https://forge.indepnet.net/projects/ocsinventoryng -------------------------...
gpl-2.0
peterhj/wgs-assembler
kmer/meryl/maskMers.C
16596
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "bio++.H" #include "seqStream.H" #include "libmeryl.H" #include <algorithm> #define MAX_COVERAGE 51 class mateRescueData { public: mateRescueData() { _mean = 0; _stddev = 0; _coverage = 0; _normal ...
gpl-2.0
CoolerVoid/email_audit
src/imap_control.cpp
6863
/* # Copyright (C) 2016 imap_control authors(Antonio Costa, Cooler_), # # This file is part of spam_detect_PoC # # libtext_bayes 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, ei...
gpl-2.0
PragmaticMates/django-invoicing
invoicing/urls.py
222
from django.conf.urls import url from invoicing.views import InvoiceDetailView app_name = 'invoicing' urlpatterns = [ url(r'^invoice/detail/(?P<pk>[-\d]+)/$', InvoiceDetailView.as_view(), name='invoice_detail'), ]
gpl-2.0
kunj1988/Magento2
app/code/Magento/Config/Controller/Adminhtml/System/Config/AbstractScopeConfig.php
1627
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Config\Controller\Adminhtml\System\Config; use Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker; /** * @api * @since 100.0.2 */ abstract class AbstractScopeConfig extends \Magen...
gpl-2.0
caxenie/nstbot
nstbot/connection.py
2112
import socket class Serial(object): def __init__(self, port, baud): import serial self.conn = serial.Serial(port, baudrate=baud, rtscts=True, timeout=0) def send(self, message): self.conn.write(message) def receive(self): return self.conn.read(1024) def close(self): ...
gpl-2.0
project-cabal/cabal
engines/fullpipe/modal.cpp
37840
/* 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...
gpl-2.0
webtsys/phango2
config_sample.php
4112
<?php /********************* # Example config for Web-T-syS Phango 1.0 Well, I think that variables don't need explain but... **********************/ //Db config variables //Host database. You have to write the domain name for the mysql server, normally localhost. PhangoVar::$host_db['default'] = 'localhost'; //D...
gpl-2.0