repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
xbegault/clrh-idf
plugins/system/nnframework/fields/editor.php
1156
<?php /** * Element: Editor * Displays an HTML editor text field * * @package NoNumber Framework * @version 15.1.1 * * @author Peter van Westen <peter@nonumber.nl> * @link http://www.nonumber.nl * @copyright Copyright © 2015 NoNumber All Rights Reserved * @license ...
gpl-2.0
ceroberoz/fire-dragon-and-roar
application/modules/property_site/views/ipapa/admin/account.php
11079
<!-- Right side column. Contains the navbar and content of the page --> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Mana...
gpl-2.0
dknlght/dkodi
src/script.module.turtle/lib/snapvideo/Vimeo.py
2219
''' Created on Dec 24, 2011 @author: ajju ''' from BeautifulSoup import BeautifulStoneSoup from common import HttpUtils from common.DataObjects import VideoHostingInfo, VideoInfo, VIDEO_QUAL_SD, \ VIDEO_QUAL_HD_720 def getVideoHostingInfo(): video_hosting_info = VideoHostingInfo() video_hosting_info.set_v...
gpl-2.0
lbehnke/hermesftp
src/main/java/com/apporiented/hermesftp/console/AbstractConsoleServlet.java
7646
/* * ------------------------------------------------------------------------------ * Hermes FTP Server * Copyright (c) 2005-2014 Lars Behnke * ------------------------------------------------------------------------------ * * This file is part of Hermes FTP Server. * * Hermes FTP Server is free software; you...
gpl-2.0
michael9999/bc-portal
wp-content/plugins/google-identity-toolkit/git/callback.php
382
<?php require_once('handler/gitCallbackHandler.php'); $inputEmail = isset($_GET['rp_input_email']) ? $_GET['rp_input_email'] : ''; $purpose = isset($_GET['rp_purpose']) ? $_GET['rp_purpose'] : ''; $url = gitUtil::getCurrentUrl(); $idpResponse = @file_get_contents('php://input'); $handler = new gitCallbackHandler($in...
gpl-2.0
seanwooj/Forage
wp-content/themes/forage/content.php
961
<?php /** * Content * * Displays content shown in the 'index.php' loop, default for 'standard' post format * * @package WordPress * @subpackage Foundation, for WordPress * @since Foundation, for WordPress 4.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( has_post_thumbnail()) ...
gpl-2.0
pdzion/fc-100
source/src/vm/mz700/quickdisk.cpp
11485
/* SHARP MZ-800 Emulator 'EmuZ-800' SHARP MZ-1500 Emulator 'EmuZ-1500' Skelton for retropc emulator Author : Takeda.Toshiya Date : 2011.02.17- [ quick disk ] */ #include "quickdisk.h" #include "../z80sio.h" #include "../../fileio.h" #define MZT_HEADER_SIZE 128 #define HEADER_SIZE 64 #defi...
gpl-2.0
iclosure/jframework
src/3rdpart/BCGCBPro/BCGPControlRenderer.cpp
28754
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2014 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and condi...
gpl-2.0
demiankatz/Geeby-Deeby
module/GeebyDeeby/src/GeebyDeeby/Controller/LinkController.php
2287
<?php /** * Link controller * * PHP version 5 * * Copyright (C) Demian Katz 2012. * * 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 h...
gpl-2.0
nurulimamnotes/sistem-informasi-sekolah
jibas/kepegawaian/index.php
1138
<? /**[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.indo...
gpl-2.0
crotwell/sod
src/main/java/edu/sc/seis/sod/SimpleContentHandler.java
672
package edu.sc.seis.sod; import org.xml.sax.Attributes; import org.xml.sax.XMLReader; import org.xml.sax.helpers.DefaultHandler; /** * SimpleContentHandler.java * * * Created: Tue Jul 2 09:32:52 2002 * * @author Philip Crotwell */ public class SimpleContentHandler extends DefaultHandler { public SimpleCo...
gpl-2.0
etkirsch/gmusic
gmusic/model/events/PauseOrResume.py
166
from gmusic.model.Event import Event class PauseOrResume(Event): def __init__(self, sender): Event.__init__(self, sender) self.is_paused = False
gpl-2.0
padmanabhan-developer/Norway-GO
sites/all/modules/fb/contrib/fb_invite.js
7145
/** * @file * Javascript behaviors and helpers for fb_invite.module. */ FB_Invite = function(){}; /** * Drupal behaviors hook. * Called when page is loaded, or content added via javascript. */ (function ($) { Drupal.behaviors.fb_invite = { attach : function(context) { //jQuery(document)....
gpl-2.0
brasadesign/wpecotemporadas
wp-content/plugins/post-status-notifier-lite/lib/IfwPsn/Vendor/Zend/Controller/Response/Abstract.php
21262
<?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 an...
gpl-2.0
meijmOrg/Repo-test
freelance-admin/src/java/com/yh/admin/login/web/form/LoginForm.java
1298
package com.yh.admin.login.web.form; import org.apache.struts.validator.ValidatorForm; public class LoginForm extends ValidatorForm { /** * sid */ private static final long serialVersionUID = -4076373247406142615L; private String userCode; private String password; private String localeStr; priv...
gpl-2.0
wikimedia/mediawiki-extensions-OAuthAuthentication
utils/Config.php
1204
<?php namespace MediaWiki\Extensions\OAuthAuthentication; use MediaWiki\OAuthClient\ClientConfig; use MediaWiki\OAuthClient\Consumer; class Config { public static function getDefaultConfig() { global $wgOAuthAuthenticationConsumerKey, $wgOAuthAuthenticationConsumerSecret, $wgOAuthAuthenticationUrl, $wgO...
gpl-2.0
adamfisk/littleshoot-client
common/bug-server/src/main/java/org/lastbamboo/common/bug/server/processors/MailBugProcessor.java
3153
package org.lastbamboo.common.bug.server.processors; import java.io.InputStream; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import javax.servlet.http.HttpServletRequest; import org.springframework.mail.MailExcep...
gpl-2.0
alexferrer/xcsoar_map_generator
lib/xcsoar/mapgen/waypoints/welt2000cup.py
1668
import os import subprocess from xcsoar.mapgen.waypoints.seeyou_reader import parse_seeyou_waypoints from xcsoar.mapgen.waypoints.seeyou_writer import write_seeyou_waypoints from xcsoar.mapgen.filelist import FileList def __get_database_file(dir_data): path = os.path.join(dir_data, 'welt2000', 'SEEYOU.CUP') ...
gpl-2.0
MrNex/Game-Programming-Examples
GLFW/Collision Resolution/Minimum Translation Vector (Circle - 2D)/Minimum Translation Vector (Circle - 2D)/main.cpp
14736
/* Title: Detecting the Minimum Translation Vector (Circle - 2D) File Name: main.cpp Copyright © 2015 Original authors: Nicholas Gallagher Written under the supervision of David I. Schwartz, Ph.D., and supported by a professional development seed grant from the B. Thomas Golisano College of Computing & Information Scie...
gpl-2.0
djangogirlscodecamp/curriculum
lesson_2/solutions/gross_pay_solution.py
1368
#2.3 Write a program to prompt the user for hours and rate per hour using raw_input to compute gross pay. #Use 35 hours and a rate of 2.75 per hour to test the program (the pay should be 96.25). #You should use raw_input to read a string and float() to convert the string to a number. #Do not worry about error checking ...
gpl-2.0
SebDieBln/QGIS
python/plugins/processing/algs/qgis/Dissolve.py
6307
# -*- coding: utf-8 -*- """ *************************************************************************** Dissolve.py --------------------- Date : August 2012 Copyright : (C) 2012 by Victor Olaya Email : volayaf at gmail dot com ******************************...
gpl-2.0
WRdong/phalapi
vendor/phalapi/kernal/tests/src/Response/JsonResponse_Test.php
1073
<?php //require_once dirname(__FILE__) . '/bootstrap.php'; if (!class_exists('PhalApi\\Response\\JsonResponse')) { require dirname(__FILE__) . '/./src/Response/JsonResponse.php'; } /** * PhpUnderControl_PhalApi\Response\JsonResponse_Test * * 针对 ./src/Response/JsonResponse.php PhalApi\Response\JsonResponse 类的P...
gpl-2.0
CvO-Theory/apt
src/test/uniol/apt/analysis/synthesize/separation/BasicPureSeparationTest.java
1826
/*- * APT - Analysis of Petri Nets and labeled Transition systems * Copyright (C) 2014 Uli Schlachter * * 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...
gpl-2.0
Prosouth/DragonTale
Dragon Tale Tutorial/src/Main/Game.java
332
package Main; import javax.swing.JFrame; public class Game { public static void main(String[] args) { JFrame window = new JFrame("Dragon Tale"); window.setContentPane(new GamePanel()); window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); window.setResizable(false); window.pack(); window.setVisible(...
gpl-2.0
javajoker/infoecos
src/com/infoecos/util/graph/Weight.java
105
package com.infoecos.util.graph; public class Weight { public final static Weight NA = new Weight(); }
gpl-2.0
Pengfei-Gao/source-Insight-3-for-centos7
SourceInsight3/NetFramework/ObjectDataSourceSelectingEventArgs.cs
700
public class ObjectDataSourceSelectingEventArgs : ObjectDataSourceMethodEventArgs { // Constructors public ObjectDataSourceSelectingEventArgs(System.Collections.Specialized.IOrderedDictionary inputParameters, System.Web.UI.DataSourceSelectArguments arguments, bool executingSelectCount) {} // Methods public Type G...
gpl-2.0
emeryberger/eon
eon/src/edu/umass/eon/Lock.java
1463
/* * Created on Jul 8, 2005 * * To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package edu.umass.eflux; /** * @author emery, Jul 8, 2005 * Lock * */ public class Lock { public Lock (String n, int type) { scope = type & ...
gpl-2.0
derv82/wifite2
wifite/model/pmkid_result.py
1901
#!/usr/bin/env python # -*- coding: utf-8 -*- from ..util.color import Color from .result import CrackResult class CrackResultPMKID(CrackResult): def __init__(self, bssid, essid, pmkid_file, key): self.result_type = 'PMKID' self.bssid = bssid self.essid = essid self.pmkid_file = pm...
gpl-2.0
jairojunior/mcollective-jboss-agent
util/jboss/digest_auth.rb
4420
require 'cgi' require 'digest' require 'monitor' require 'net/http' require 'securerandom' ## # An implementation of RFC 2617 Digest Access Authentication. # # http://www.rfc-editor.org/rfc/rfc2617.txt # # Here is a sample usage of DigestAuth on Net::HTTP: # # require 'uri' # require 'net/http' # require 'net/ht...
gpl-2.0
beardedkaktus/mannaggia_nocloud
mannaggia_nocloud.py
2273
#! /usr/bin/env python import re, random, time, argparse, subprocess, os #####var db = "santi_e_beati.txt" #the santi e beati db tts = "pico2wave -w" tts_opt = "--lang=it-IT" audiofile = "mannaggia.wav" #name of the audiofile that will be created player = "aplay -q" #audio player months = ["jan","feb","mar","apr","may...
gpl-2.0
Schurwolle/apartments
wp-content/themes/catch-base/content-none.php
1139
<?php /** * The template part for displaying a message that posts cannot be found * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package Catch Themes * @subpackage Catch Base * @since Catch Base 1.0 */ ?> <section class="no-results not-found"> <header class="page-header"> <h1 class="pag...
gpl-2.0
spirali/aislinn
tests/sendrecv/waitall2.cpp
565
/* * MPI_Waitall with empty lits of requests or containing MPI_REQUEST_NULL */ #include <mpi.h> #include <stdio.h> #include <string.h> int main(int argc, char **argv) { MPI_Init(&argc, &argv); MPI_Waitall(0, NULL, MPI_STATUSES_IGNORE); MPI_Request r[3]; r[0] = MPI_REQUEST_NULL; MPI_Waitall(1, r, MPI_STATUSE...
gpl-2.0
CvO-Theory/apt
src/test/uniol/apt/TestNetsForSeparation.java
8552
/*- * APT - Analysis of Petri Nets and labeled Transition systems * Copyright (C) 2012-2013 Members of the project group APT * * 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 versi...
gpl-2.0
rajuniit/falgun-api
config/initializers/doorkeeper.rb
3516
Doorkeeper.configure do # Change the ORM that doorkeeper will use. # Currently supported options are :active_record, :mongoid2, :mongoid3, :mongo_mapper orm :mongoid3 # This block will be called to check whether the resource owner is authenticated or not. resource_owner_authenticator do #raise "Please co...
gpl-2.0
taconaut/ums-mlx
plugins/PlayCountWatcherPlugin/src/main/java/net/pms/plugin/startstoplistener/PlayCountWatcher.java
5604
package net.pms.plugin.startstoplistener; import java.io.IOException; import java.util.Date; import java.util.LinkedList; import java.util.Queue; import java.util.ResourceBundle; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JComponent; import org.slf4j.Logger; import org.slf4j.LoggerFacto...
gpl-2.0
joravlo/Actividad1D
archive-employees.php
2380
<?php /** * Services archives template * * @package Sydney */ //Toco este archivo get_header(); ?> <?php do_action('sydney_before_content'); ?> <div id="primary" class="content-area"> <main id="main" class="post-wrap roll-team no-carousel" role="main"> <?php if ( have_posts() ) : ?> <?php while ( hav...
gpl-2.0
vanilla-bear/julien
modules/ubercart/uc_tax/src/Entity/TaxRate.php
5000
<?php namespace Drupal\uc_tax\Entity; use Drupal\Core\Config\Entity\ConfigEntityBase; use Drupal\uc_tax\TaxRateInterface; /** * Defines a tax rate configuration entity. * * @ConfigEntityType( * id = "uc_tax_rate", * label = @Translation("Tax rate"), * label_singular = @Translation("tax rate"), * label...
gpl-2.0
loveyoupeng/rt
apps/samples/Modena/src/main/java/modena/SamplePageHelpers.java
15270
/* * Copyright (c) 2008, 2015, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
gpl-2.0
dotcastle/sql-dependency-provider
SqlDependencies/DC.Data.SqlDependencies/Common/Helper.cs
13461
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Threading; using DC.Data.SqlDependencies.Properties; namespace DC.Data.SqlDependencies { /// <su...
gpl-2.0
AllFamous/singapore-wine-vault
wp-content/themes/singapore-wine-vault/sidebar.php
226
<!-- sidebar --> <aside class="sidebar" role="complementary"> <div class="sidebar-widget"> <?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('right-sidebar')) ?> </div> </aside> <!-- /sidebar -->
gpl-2.0
solopaulo/yosane
yosane-service/src/main/java/au/com/twobit/yosane/service/dw/config/EmailConfiguration.java
2519
package au.com.twobit.yosane.service.dw.config; import java.util.List; import com.google.common.collect.Lists; public class EmailConfiguration { private boolean sslEnabled = false; private String smtpHost; private int smtpPort = -1; private String username; private String password; private St...
gpl-2.0
hexbinary/landing
src/main/java/oscar/oscarEncounter/oscarConsultationRequest/config/pageUtil/EctConShowAllInstitutionsAction.java
2033
/** * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published...
gpl-2.0
devthuan/lotteryhcm
templates/xskt/js/site.js
7003
; /* * Format functions * by Thuy */ ;(function(W, D, $) { $.extend({ 'version': '1.2' , 'isBlank': function(str) { return (typeof(str) == 'undefined' || str == null || $.trim(str) == ''); } , 'isEmail': function(str) { return str.search(/^[\w\.=-]+@[\w\.-]+\.[\w]{2,9}$/) != -1; ...
gpl-2.0
georgejhunt/HaitiDictionary.activity
data/words/gr~ek.js
83
showWord(["","1. moun ki fè nan peyi Lagrès. 2. n. Grèp, sak pou koule kafe." ])
gpl-2.0
chisimba/modules
award/templates/content/addbargainingunit_tpl.php
12517
<?php // security check - must be included in all scripts if(!$GLOBALS['kewl_entry_point_run']){ die("You cannot view this page directly"); } // end security check /** * @package LRS Admin */ /** * add bargaining unit template for the LRS Wages * This template is used to add a new bargainging unit. All dropdowns mus...
gpl-2.0
dpogorelov/gitcc4j_ver2
src/main/java/gitcc/cc/DirDiffUtil.java
1558
package gitcc.cc; import gitcc.cc.CCFile.Status; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; public class DirDiffUtil { private boolean delete; public DirDiffUtil() {} public D...
gpl-2.0
jfwells/wp-united
WordPress Plugin/wp-united/extras/quickpoll/widget.php
7673
<?php /** * * @package WP-United * @version $Id: 0.9.1.5 2012/12/28 John Wells (Jhong) Exp $ * @copyright (c) 2006-2013 wp-united.com * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @author John Wells * * The polls widget * */ class WPU_Forum_Polls_Widget extends WP_Widget { priv...
gpl-2.0
dsiekiera/modified-bs4
admin/includes/modules/content_manager_products.php
18117
<?php /* -------------------------------------------------------------- $Id: content_manager_products.php 10543 2017-01-02 08:51:27Z Tomcraft $ modified eCommerce Shopsoftware http://www.modified-shop.org Copyright (c) 2009 - 2013 [www.modified-shop.org] Released under the GNU General Public Licens...
gpl-2.0
leenooks/phpLDAPadmin
lib/hooks.php
6884
<?php /** * Functions related to hooks management. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This pr...
gpl-2.0
alex174/SeniorResearch
java/vendor/jfreechart-0.7.2/source/com/jrefinery/chart/StackedHorizontalBarRenderer.java
6462
/* ======================================= * JFreeChart : a Java Chart Class Library * ======================================= * * Project Info: http://www.jrefinery.com/jfreechart; * Project Lead: David Gilbert (david.gilbert@jrefinery.com); * * (C) Copyright 2000-2002, by Simba Management Limited and ...
gpl-2.0
muromec/qtopia-ezx
examples/content/filtering/filterdemo.cpp
3187
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
gpl-2.0
alainsanguinetti/ebc
scripts/Robot.py
3719
#!/usr/bin/env python """ This file defines the robot object as seen from the controller point of view. It is a representation of a robot in the simulation """ from Component import Component from Task import Task import rospy from ebc.msg import Event from ebc.msg import Task as TaskMsg import sys import json clas...
gpl-2.0
ia-toki/judgels-sandalphon
app/org/iatoki/judgels/sandalphon/models/entities/ProblemModel_.java
608
package org.iatoki.judgels.sandalphon.models.entities; import org.iatoki.judgels.play.models.entities.AbstractJudgelsModel_; import javax.annotation.Generated; import javax.persistence.metamodel.SingularAttribute; import javax.persistence.metamodel.StaticMetamodel; @Generated(value = "org.hibernate.jpamodelgen.JPAMe...
gpl-2.0
md-5/jdk10
src/hotspot/share/runtime/vmOperations.hpp
16358
/* * Copyright (c) 1997, 2019, 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
projectestac/jclic
src/core/edu/xtec/jclic/media/JMFAudioPlayer.java
2472
/* * File : JMFAudioPlayer.java * Created : 25-may-2002 19:27 * By : fbusquets * * JClic - Authoring and playing system for educational activities * * Copyright (C) 2000 - 2018 Francesc Busquets & Departament * d'Educacio de la Generalitat de Catalunya * * This program is free software; you can redist...
gpl-2.0
tbruinsma/ArpScan
ArpSweep/ArpSweep.cpp
496
/* Copyright (c) Constantine V. Sharlaimov */ /* ArpSweep.cpp : Implementation of DLL Exports. */ #include "stdafx.h" #include "resource.h" // The module attribute causes DllMain, DllRegisterServer and DllUnregisterServer to be automatically implemented for you [ module(dll, uuid = "{049F9861-0AC4-4FC3-9E7D-DEB1538...
gpl-2.0
AncientKemet/Ancient-Kemet-Utility
akgl/Units/GLTypes/Extensions/UI/Sprites/Sprite.java
489
package akgl.Units.GLTypes.Extensions.UI.Sprites; import akgl.Units.Geometry.HardCodedGeometry.Quad2DGenerator; /** * @author Robert Kollar */ public class Sprite extends BaseSprite { @Override public void SetupSprite() { } @Override public Bounds2D getBounds() { throw new Unsupported...
gpl-2.0
Startappz/ICurl
ICurl/src/com/moshx/icurl/ICurl.java
4650
package com.moshx.icurl; import java.util.HashMap; import java.util.Locale; public class ICurl { @SuppressWarnings("unused") private static void main(String[] args) { ICurl ac = new ICurl("www.google.com"); ac.setHeader("mail", "mos@aaa.com"); ac.setHeader("userId", "7DDDgfsdf"); ac.setParameter("mm", "ad...
gpl-2.0
tacoder/Virtual-Codechef-Contests
contest/IOPC2014/IOPC14B.php
4571
<?php require("../../includes/header.php"); ?><h1>Add and Compute Path</h1><div class="content"> <p>In the kingdom of Baratheons, there is a strict hierarchy in the army. The leader of the army is the king under whose command are a set of soldiers. Each soldier commands a certain section of army, that is there are cert...
gpl-2.0
parloma/robotcontrol
python/my_fun.py
9658
#Collection of fundamental functions import xml.etree.ElementTree as ET import numpy import glob from collections import Counter from sklearn.cross_validation import * import sys #Our novel second classification layer def joints2dist(joints): dist = [] for i in range(0,len(joints)): for j in range(i+1,len(joints)...
gpl-2.0
vidonme/webapp
js/pageif.js
4431
var g_CurLibId = 0; var g_CommercialVideoId = 1; var g_PersonalVideoId = 2; var g_CurLibraryType = "commercial"; var g_CurDeletePathWaitforConfirm = {}; //´æÒѾ­Ñ¡ÖÐɾ³ýµÄ·¾¶li¶ÔÏó $(function() { RequestGetLibraries("all"); $("#addCommercialPath").click(function() { g_CurLibId = g_Commerci...
gpl-2.0
ForensicTools/MetaVisualization-474_2135-Barber
src/metaviz/process.py
1943
#!/usr/bin/python import sys import exiftool import MySQLdb as mdb import hashlib # Change 'yourpassword' to your mysql password con = mdb.connect('localhost', 'root', 'yourpassword', 'MetaViz'); #sys.stderr = open('/dev/null', 'w') image_dir = "uploaded/" files = sys.argv files = files[1:] hashes = ...
gpl-2.0
cuongnd/banhangonline88_joomla
media/foundry/2.1/scripts_/joomla.js
993
dispatch.to("Foundry/2.1 Core Plugins").at(function($, manifest) { /** * joomla * Abstraction layer for Joomla client-side API. * https://github.com/foundry-modules/joomla * * Copyright (c) 2012 Jason Ramos * www.stackideas.com * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licen...
gpl-2.0
ccompiler4pic32/pic32-gcc
libstdc++-v3/src/wlocale-inst.cc
8843
// Locale support -*- C++ -*- // Copyright (C) 1999, 2000, 2001, 2002, 2003, 2006, 2009 // 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 ...
gpl-2.0
lamsfoundation/lams
lams_common/src/java/org/lamsfoundation/lams/index/IndexLinkBean.java
2747
/**************************************************************** * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * ============================================================= * License Information: http://lamsfoundation.org/licensing/lams/2.0/ * * This program is free software; you can redistri...
gpl-2.0
andela-ooshodi/django-bucketlist-application
djangobucketlist/bucketlist/urls.py
1260
""" URL config for accessing views of the bucketlist app """ from django.conf.urls import url from bucketlist.views import view_authentication, view_buckets urlpatterns = [ url(r'^$', view_authentication.IndexView.as_view(), name='index'), url(r'^login$', view_authentication.LoginView.as_view(), name='login')...
gpl-2.0
digijin/space-station-sim
flow-typed/npm/babel-loader_vx.x.x.js
1871
// flow-typed signature: b5b9382dc5715df97e371240cf2afddc // flow-typed version: <<STUB>>/babel-loader_v^6.2.4/flow_v0.38.0 /** * This is an autogenerated libdef stub for: * * 'babel-loader' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with ...
gpl-2.0
vongdeptaydep/vongdeotaydep
wp-content/plugins/rit-core/inc/widgets/widget-facebook.php
8248
<?php /** * RIT Core Plugin * @package RIT Core * @version 2.0.2 * @author Zootemplate * @link http://www.zootemplate.com * @copyright Copyright (c) 2015 Zootemplate * @license GPL v2 */ if (!class_exists('RITFacebook')) { class RITFacebook extends WP_Widget { public ...
gpl-2.0
AshamaneProject/AshamaneCore
src/server/scripts/Kalimdor/zone_azuremyst_isle.cpp
24405
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * 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...
gpl-2.0
DarkNinjaShadowDeLaMort/4Tunes
src/manager/artiste/ArtisteManager.java
416
package manager.artiste; import java.util.List; import javax.ejb.Local; import model.Artiste; @Local public interface ArtisteManager { public boolean artisteExist(String nom); public void addArtiste(String nom); public List <Artiste> getArtistes(); public List<Artiste> getArtistesByIdUser(int idUse...
gpl-2.0
THINKGlobalSchool/labs
activate.php
591
<?php /** * Spot Labs Plugin Activation Script * * @package SpotLabs * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 * @author Jeff Tilson * @copyright THINK Global School 2010 - 2014 * @link http://www.thinkglobalschool.com/ * */ // Get the plugin entity $plugin...
gpl-2.0
logicmoo/jrelisp-abcl-ws
src/org/armedbear/j/Buffer.java
75817
/* * Buffer.java * * Copyright (C) 1998-2007 Peter Graves * $Id: Buffer.java,v 1.56 2007/08/01 17:00:32 piso Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * o...
gpl-2.0
iiab/iiab-factory
ansible/roles/player/files/cc_list.php
1245
<?php // This provides a list of closed caption .vtt fies to the viewer.php $video_base = '/library/www/html/info/videos'; if ( ! isset($_REQUEST['name'])){ echo('Please enter the video name as a "name=blah" parameter'); exit(1); } else { if ( isset($_REQUEST['suffix'])) $suffix =...
gpl-2.0
Emilio66/WordPress
wp-admin/ms-admin.php
215
<?php /** * Multisite administration panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once (dirname ( __FILE__ ) . '/admin.php'); wp_redirect ( network_admin_url () ); exit ();
gpl-2.0
olafzieger/test-fabrik
plugins/fabrik_element/mytristate/mytristate.js
351
var FbMytristate = new Class({ Extends: FbElement, initialize: function (element, options) { this.parent(element, options); this.plugin = 'Mytristate'; }, changeValue: function () { location.reload(true); }, select: function () { this.element.select(); }, focus: function () { t...
gpl-2.0
asaokamei/Cena.Eloquent
tests/database/migrations/create_comment_table.php
852
<?php use Illuminate\Database\Capsule\Manager as Capsule; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentTable extends Migration { protected $table = 'comment'; /** * Run the migrations. * * @return void */ public function u...
gpl-2.0
RenZ0/php-show-controller
psc/index.php
130
<html> <head> <title>PSC</title> </head> <body> <h1>Php-Show-Controller</h1> <a href="dmx/index.php">Enter</a> </body> </html>
gpl-2.0
carlosway89/testshop
admin/includes/modules/gm_gprint_edit.inc.php
22863
<?php /* -------------------------------------------------------------- gm_gprint_edit.inc.php 2015-10-03 Gambio GmbH http://www.gambio.de Copyright (c) 2015 Gambio GmbH Released under the GNU General Public License (Version 2) [http://www.gnu.org/licenses/gpl-2.0.html] ----------------------------...
gpl-2.0
sunmoyi/ACM
sunmoyi-ac/UVA/10603/7297041_AC_10ms_0kB.cpp
2081
#include<cstdio> #include<cstring> #include<algorithm> #include<queue> #define maxn 210 using namespace std; struct node{ int v[3], dist; bool operator < (const node& rhs)const { return dist > rhs.dist; } }; int mark[maxn][maxn], dist[maxn][maxn], cap[3], ans[maxn]; void update_ans(const nod...
gpl-2.0
squallyou/LScore
src/sjy/elwg/notation/musicBeans/UIKey.java
7864
package sjy.elwg.notation.musicBeans; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import javax.swing.JPanel; import sjy.elwg.notation.NoteCanvas; /** * µ÷ºÅʵÌå * ×¢ÒâÔÚС½ÚÖÐËù´æ´¢µÄ×Ö·û´®Ð͵÷ºÅÀàÐͱäÁ¿£¬ÓëС½ÚµÄʵ¼Êµ÷ºÅʵÌåµÄµ÷ºÅÀàÐÍ¿ÉÄܲ»Ò»Ñù£¬µ÷º...
gpl-2.0
nickdhondt/dungeons-and-dragons
http/http_add_inventory.php
3558
<?php //This page expects: //"basic_id", "action", "user_id" //This page will execute the following: //Change the required values in the database require_once "../includes/functions.php"; session_start(); $errors = array(); $post_data = array(); $data_acquired = "false"; //$_POST["data"] = array("inventory"=>"3", "ac...
gpl-2.0
OpenDrift/opendrift
examples/example_compare_oilbudgets.py
2948
#!/usr/bin/env python """ Comparing oil budgets ================================== """ from datetime import datetime, timedelta import numpy as np import matplotlib.pyplot as plt from opendrift.models.openoil import OpenOil #%% # Comparing the weathering and properties # of different oils at different wind speeds oil...
gpl-2.0
pierres/archlinux-mediawiki
includes/jobqueue/jobs/ClearWatchlistNotificationsJob.php
3304
<?php /** * 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...
gpl-2.0
Gambiit/pmb-on-docker
web_appli/pmb/opac_css/includes/expl.inc.php
343
<?php // +-------------------------------------------------+ // © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net) // +-------------------------------------------------+ // $Id: expl.inc.php,v 1.15 2007-03-10 10:05:50 touraine37 Exp $ if (stristr($_SERVER['REQUEST_URI'], ".inc.ph...
gpl-2.0
andriiryzhkov/tsatu-homelayout
includes/sidebar.php
1127
<?php /** * Register home widget areas */ function tsatu_homelayout_generate() { $widget_areas_names = array( __('One', 'tsatu-homelayout'), __('Two', 'tsatu-homelayout'), __('Three', 'tsatu-homelayout'), __('Four', 'tsatu-homelayout'), __('Five', 'tsatu-homelayout') ...
gpl-2.0
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest06181.java
1814
/** * 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
7taghap/wpxtreme
wp-content/plugins/profilepress/includes/class-theme.php
5441
<?php /** * ProfilePress theme class * * @link http://wp3.in * @since 0.0.1 * @package ProfilePress */ // If this file is called directly, abort. if (!defined('WPINC')) { die; } class PP_Theme { public function __construct() { pp_register_user_page('profile', __('Profile', 'pp'), array...
gpl-2.0
kbeswick/evergreen
Open-ILS/web/js/dojo/openils/actor/nls/register.js
664
{ "DELETE_ADDRESS" : "Delete address ${0}?", "NEED_ADDRESS" : "An address is required during registration.", "DUPE_PATRON_NAME" : "Found ${0} patron(s) with the same name", "DUPE_PATRON_EMAIL" : "Found ${0} patron(s) with the same email address", "DUPE_PATRON_IDENT" : "Found ${0} patron(s) with the ...
gpl-2.0
haidarafif0809/qwooxcqmkozzxce
data_tbs_penjualan_inap.php
7145
<?php include 'session_login.php'; /* Database connection start */ include 'sanitasi.php'; include 'db.php'; /* Database connection end */ $no_reg = stringdoang($_POST['no_reg']); $pilih_akses_tombol = $db->query("SELECT * FROM otoritas_penjualan_inap WHERE id_otoritas = '$_SESSION[otoritas_id]' "); $otoritas_tombol...
gpl-2.0
crito/syrianarchive
database/translation.py
1554
from modeltranslation.translator import translator, TranslationOptions from database.models import * class DatabaseEntryTranslationOptions(TranslationOptions): fields = ('name', 'description', 'chain_of_custody_notes_public', 'international_instrument_notes', 'landmarks', 'weather_in_media...
gpl-2.0
briot/geneapro
backend/geneaprove/views/stats.py
5608
""" Statistics """ import collections import datetime from django.db.models import Count, F import logging from .. import models from ..utils.date import DateRange from ..sql import PersonSet, Relationship from .to_json import JSONView logger = logging.getLogger('geneaprove.STATS') class StatsView(JSONView): ""...
gpl-2.0
lioncash/dolphin
Source/Core/DiscIO/NANDImporter.cpp
9221
// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "DiscIO/NANDImporter.h" #include <algorithm> #include <array> #include <cinttypes> #include <cstring> #include <fmt/format.h> #include "Common/Crypto/AES.h" #include "Common/File.h" #include "Comm...
gpl-2.0
MersadBase/MersadBase
AdvancedPlans/Penalty.cpp
3291
/* * Copyright 2002-2010, Mersad Team, Allameh Helli High School (NODET). * * 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. * * This program is distributed in the hope that it will b...
gpl-2.0
daniambrosio/numis
spec/views/sub_categories/new.html.erb_spec.rb
539
# require 'rails_helper' # RSpec.describe "sub_categories/new", type: :view do # before(:each) do # assign(:sub_category, SubCategory.new( # :name => "MyString", # :system => false # )) # end # it "renders new sub_category form" do # render # assert_select "form[action=?][method=?]"...
gpl-2.0
acassis/langc
MDC.C
1293
#include<stdio.h> void main() { int m,n,k,j,i,col=20,r=0; char *ta; clrscr(); puts("Este Programa calcula o maximo divisor comum entre dois n§!"); printf("\nInforme um n§:"); scanf("%d",&m); printf("\nInforme outro n§:"); scanf("%d",&n); clrscr(); while(n!=0) { itoa(m,ta,10); ...
gpl-2.0
rikanov/Rubik-Dev
global_variables.cpp
120
#include "globals.h" const char * NIL="NIL"; const char * L_TRUE="T"; const char * MACRO_SYNTAX="([^ ]+)\\(([^ ]+)\\)";
gpl-2.0
sanger/labwhere
app/models/location_finder.rb
2158
# frozen_string_literal: true require 'csv' class LocationFinder include ActiveModel::Model validate :check_number_of_columns attr_accessor :file def data # we could have an empty file we have a validation for that # this removes the need for any expensive logic. @data ||= ::CSV.parse(file || "...
gpl-2.0
deadlyhifi/woocomm-nested-layered-nav
src/WidgetNestedLayeredNav.php
4361
<?php class WidgetNestedLayeredNav extends WC_Widget_Layered_Nav { /** * Show list based layered nav. * @param array $terms * @param string $taxonomy * @param string $query_type * @return bool Will nav display? */ protected function layered_nav_list( $terms, $taxonomy, $query_t...
gpl-2.0
34benma/openjdk
jaxp/test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IsValidatingTest.java
6360
/* * Copyright (c) 2014, 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 Softwa...
gpl-2.0
TheTypoMaster/Scaper
openjdk/jaxws/drop_included/jaxws_src/src/com/sun/xml/internal/rngom/parse/compact/JavaCharStream.java
13989
/* * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Fou...
gpl-2.0