repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
TRCIMPLAN/PEM | lib/Configuracion/PlantillaConfig.php | 2558 | <?php
/*
* SMIbeta - Plantilla Configuración
*
* Copyright (C) 2014 IMPLAN Torreón
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | gpl-3.0 |
petebrew/tellervo | src/main/java/org/tellervo/desktop/gis/GraphicsCapability.java | 77 | package org.tellervo.desktop.gis;
public class GraphicsCapability {
}
| gpl-3.0 |
vpenso/libvirt-shell-functions | _config/chef_knife.rb | 442 | log_level :info
log_location STDOUT
node_name 'devops'
client_key '/srv/vms/instances/lxcm01.devops.test/chef/devops.pem'
validation_client_name 'chef-validator'
chef_server_url 'http://10.1.1.3:4000'
cache_type 'BasicFile'
cache_options( ... | gpl-3.0 |
lipki/TFCNT | src/Common/com/bioxx/tfc/Containers/ContainerPlayerTFC.java | 7641 | package com.bioxx.tfc.Containers;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.ContainerPlayer;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.inventory.Slot;
import net.minecraft.inventory.SlotCraftin... | gpl-3.0 |
jerabekjak/smoderp | main_src/io_functions/__init__.py | 66 | __all__ = ["hydrographs", "prt", "progress_bar", "post_proc"]
| gpl-3.0 |
Traderain/Wolven-kit | CP77.CR2W/Types/cp77/PachinkoMachineController.cs | 254 | using CP77.CR2W.Reflection;
namespace CP77.CR2W.Types
{
[REDMeta]
public class PachinkoMachineController : ArcadeMachineController
{
public PachinkoMachineController(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { }
}
}
| gpl-3.0 |
Dark1revan/chat1 | js/base/screen.js | 5206 | /**
* This file is part of "PCPIN Chat 6".
*
* "PCPIN Chat 6" 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.
*
... | gpl-3.0 |
norris-zhang/venus | parent/common/src/main/java/com/xinxilanr/venus/common/CodeUtil.java | 1501 | /**
*
*/
package com.xinxilanr.venus.common;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.SecureRandom;
import java.util.UUID;
import org.apache.commons.codec.binary.Hex;
import org.apache.commons.codec.digest.DigestUtils;
/**
* @author norris
*
*/
publi... | gpl-3.0 |
theyosh/TerrariumPI | hardware/relay/kasa_relay.py | 3715 | import terrariumLogging
logger = terrariumLogging.logging.getLogger(__name__)
import asyncio
from . import terrariumRelay
from terrariumUtils import terrariumUtils, terrariumAsync, terrariumCache
# pip install python-kasa
from kasa import Discover, SmartStrip, SmartPlug
class terrariumRelayTPLinkKasa(terrariumRelay)... | gpl-3.0 |
gerddie/mia | mia/2d/transform/translate.hh | 3114 | /* -*- mia-c++ -*-
*
* This file is part of MIA - a toolbox for medical image analysis
* Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
*
* MIA 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; eith... | gpl-3.0 |
bufutda/Monorail | api/endpoints/route/all.js | 432 | "use strict";
var Endpoint = require(__rootname + "/Endpoint");
module.exports.hand = function (request, response, url, endpoint) {
db.query("SELECT * FROM mrdb.Route;", function (err, rows, fields) {
if (err) {
db.e.emit("error", err);
return;
}
endpoint.data = rows... | gpl-3.0 |
greeduomacro/xrunuo | Server/Network/GenericPacket.cs | 1517 | //
// X-RunUO - Ultima Online Server Emulator
// Copyright (C) 2015 Pedro Pardal
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at you... | gpl-3.0 |
srejbi/APDuinOS_library | src/APDLogWriter.cpp | 2379 | /* APDuinOS Library
* Copyright (C) 2012 by Gyorgy Schreiber
*
* This file is part of the APDuinOS Library
*
* This Library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the... | gpl-3.0 |
grim210/defimulator | defimulator/ui/cheat-editor.cpp | 11312 | #include <ui/cheat-editor.h>
CheatEditor cheatEditor;
void CheatEditor::load(string filename)
{
SNES::cheat.reset();
cheatList.reset();
for (unsigned i = 0; i < 128; i++) {
cheatList.addItem("");
cheatText[i][CheatSlot] = decimal<3, ' '>(i + 1);
cheatText[i][CheatCode] = "";
... | gpl-3.0 |
Y-P-/data-processing-binding | XX3/obsolete/core/test/Print.scala | 4354 | package loader.core.test
import loader.core._
import loader.core.callbacks._
object o extends Core.Impl {
type Kind = String
type Ret = Unit
type Parser = ParserBuilder#Impl
def parsClass = classOf[Parser]
def kindClass = classOf[Kind]
def apply(pr: utils.ParamReader,userCtx:loader.core.User... | gpl-3.0 |
iVovolk/dotplant2 | application/commands/YmlController.php | 6221 | <?php
namespace app\commands;
use app\backend\models\Yml;
use app\modules\shop\models\Category;
use app\modules\shop\models\Product;
use yii\helpers\Url;
class YmlController extends \yii\console\Controller
{
private function getByYmlParam($yml, $name, $model, $default = '')
{
$param = $yml->$name;
... | gpl-3.0 |
fbanfi90/PasswordKeeper | PasswordKeeper/AccessForm.Designer.cs | 4039 | namespace PasswordKeeper
{
partial class AccessForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | gpl-3.0 |
MadMarty/madsonic-server-5.1 | madsonic-main/src/main/java/org/madsonic/lastfm/cache/DatabaseCache.java | 7395 | /*
* Copyright (c) 2012, the Last.fm Java Project and Committers
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above
... | gpl-3.0 |
syn2cat/syndilights | open-lighting-architecture/ola-0.8.4/olad/InternalRDMController.cpp | 10159 | /*
* 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 b... | gpl-3.0 |
a-dilla/Valentina | src/app/tablewindow.cpp | 23150 | /************************************************************************
**
** @file tablewindow.cpp
** @author Roman Telezhynskyi <dismine(at)gmail.com>
** @date November 15, 2013
**
** @brief
** @copyright
** This source code is part of the Valentine project, a pattern making
** program, whose al... | gpl-3.0 |
MeteorAdminz/dnSpy | dnSpy/dnSpy/Documents/Tabs/EntryPointCommands.cs | 5654 | /*
Copyright (C) 2014-2016 de4dot@gmail.com
This file is part of dnSpy
dnSpy 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 late... | gpl-3.0 |
snmgian/yew | lib/yew.rb | 2100 | require 'yaml'
module Yew
# Creates an object tree based on a given list of yml files.
#
# @param [*String] Yaml source files
#
# @return [Yew::Tree]
def self.load(*yml_files)
env_hash = yml_files.inject({}) do |memo, yml|
memo.merge!(YAML.load(File.read(yml)))
end
Tree.new(env_hash)
... | gpl-3.0 |
jeromeetienne/neoip | src/neoip_nunit/suite/neoip_nunit_suite.hpp | 2337 | /*! \file
\brief Header of the nunit_testclass_t
*/
#ifndef __NEOIP_NUNIT_SUITE_HPP__
#define __NEOIP_NUNIT_SUITE_HPP__
/* system include */
#include <string>
#include <vector>
/* local include */
#include "neoip_nunit_tester_api.hpp"
#include "neoip_nunit_event_cb.hpp"
#include "neoip_nunit_path.hpp"
#include ... | gpl-3.0 |
oliveiraped/Reportula | vendor/orchestra/support/src/Orchestra/Support/Ftp/ServerException.php | 99 | <?php namespace Orchestra\Support\Ftp;
class ServerException extends \RuntimeException
{
//
}
| gpl-3.0 |
tung/tea | doc/example/smile_move_2.rb | 1684 | # Move the Smiley with the arrow keys, and press Esc to exit. Identical to
# smile_move.rb, but uses Tea::Event::Dispatch in a controlling class to handle
# events.
require 'tea'
class Smile
def initialize
@bitmap = Tea::Bitmap.new('smile.png')
@x = (Tea::Screen.w - @bitmap.w) / 2
@y = (Tea::Screen.h -... | gpl-3.0 |
HiSPARC/publicdb | examples/datastore-xmlrpc-server.py | 1743 | #!/usr/bin/python
""" Simple XML-RPC Server to run on the datastore server.
This daemon should be run on HiSPARC's datastore server. It will
handle the cluster layouts and station passwords. When an update is
necessary, it will reload the HTTP daemon.
The basis for this code was ripped from the pyth... | gpl-3.0 |
anooprh/GNU-Octave | libinterp/corefcn/graphics.cc | 282640 | /*
Copyright (C) 2007-2013 John W. Eaton
This file is part of Octave.
Octave 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.
Octave is di... | gpl-3.0 |
leftstick/BaiduMapForAngularJS | demo/js/features/apidoc/main.js | 1533 | import routes from './routes'
import apidoc from './components/apidoc'
import apiSidebar from './components/subs/apiSidebar'
import apiContent from './components/subs/apiContent'
import docBaiduMap from './components/subs/apiContent/subs/docBaiduMap'
import docMapOptions from './components/subs/apiContent/subs/docMapOp... | gpl-3.0 |
seadas/seadas | seadas-processing/src/main/java/gov/nasa/gsfc/seadas/processing/l2gen/userInterface/L2genParamTextfield.java | 3973 | package gov.nasa.gsfc.seadas.processing.l2gen.userInterface;
import gov.nasa.gsfc.seadas.processing.core.L2genData;
import gov.nasa.gsfc.seadas.processing.core.ParamInfo;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;... | gpl-3.0 |
cunvoas/springsecurity_iam | iam-webapp/src/main/java/com/github/iam/web/front/util/Constants.java | 2296 | package com.github.cunvoas.iam.web.front.util;
/**
* MVC Constants
* @author CUNVOAS
*/
public interface Constants {
int FALSE_ID = -10000;
String FORM_ERRORS = "errors";
String REDIRECT_PREFIX = "redirect:";
String SESSION_APP_VERSION="SESSION_APP_VERSION";
String SESSION_LO... | gpl-3.0 |
pwnall/battlecode-server | src/main/battlecode/world/BuffRemovalPolicy.java | 422 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package battlecode.world;
/**
*
* @author Sasa
*/
public abstract class BuffRemovalPolicy {
private final InternalBuff buff;
public BuffRemovalPolicy(InternalBuff buff) {
this.buff = buff;
}
... | gpl-3.0 |
GWASpi/GWASpi | src/main/java/org/gwaspi/operations/qasamples/QASamplesOperation.java | 4951 | /*
* Copyright (C) 2013 Universitat Pompeu Fabra
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | gpl-3.0 |
milot-mirdita/PocketGnuBoy | wce/dialog.cpp | 11779 | #include "PocketGnuboy.h"
#include "Dialog.h"
#include "wce.h"
#define REG_KEY_GNUBOYROM _T("GnuboyROM")
#define REG_KEY_GB _T(".gb")
#define REG_KEY_GBC _T(".gbc")
#define IsDlgButtonChecked(hwnd, id) SendMessage(GetDlgItem(hwnd, id), BM_GETCHECK, 0, 0)
#define C... | gpl-3.0 |
REDetector/RED | red/com/xl/display/dialog/gotodialog/GoToWindowDialog.java | 6204 | /*
* RED: RNA Editing Detector
* Copyright (C) <2014> <Xing Li>
*
* RED 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 la... | gpl-3.0 |
Embraser01/IUT-PTUT | api/models/Style.js | 1363 | /*
* Style.js :
* Copyright (C) 2016 Hugo ALLIAUME Benjamin CHAZELLE Marc-Antoine FERNANDES
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at y... | gpl-3.0 |
durandj/codeeval | javascript/18_multiples_of_a_number.js | 290 | var fs = require('fs');
fs.readFileSync(process.argv[2]).toString().split('\n').forEach(function (line) {
if (line == '') {
return;
}
var tokens = line.split(',');
var x = parseInt(tokens[0]);
var n = parseInt(tokens[1]);
var v = n;
for (; v < x; v += n);
console.log(v);
});
| gpl-3.0 |
geopaparazzi/geopaparazzi | geopaparazzi_map/src/main/java/eu/geopaparazzi/map/layers/interfaces/IEditableLayer.java | 1975 | package eu.geopaparazzi.map.layers.interfaces;
import org.hortonmachine.dbs.datatypes.EGeometryType;
import org.locationtech.jts.geom.Envelope;
import org.locationtech.jts.geom.Geometry;
import java.util.List;
import eu.geopaparazzi.map.features.Feature;
/**
*
*/
public interface IEditableLayer extends IGpLayer {... | gpl-3.0 |
lu1sd4/CityMate | cityMate/test/controllers/articulos_controller_test.rb | 1035 | require 'test_helper'
class ArticulosControllerTest < ActionController::TestCase
setup do
@articulo = articulos(:one)
end
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:articulos)
end
test "should get new" do
get :new
assert_response :success
... | gpl-3.0 |
insomynwa/wp-content | plugins/woo-variations-table/woo-variations-table.php | 19149 | <?php
/*
Plugin Name: Woo Variations table
Plugin URI: https://lb.linkedin.com/in/alaa-rihan-6971b686
Description: Show WooCommerce variable products variations as table with filters and sorting instead of normal dropdowns.
Author: Alaa Rihan
Author URI: https://lb.linkedin.com/in/alaa-rihan-6971b686
Text Domain: woo-v... | gpl-3.0 |
reosarevok/trykicovers | system/upload_file.php | 2031 | <?
function upload_file($uuid)
{
if (is_uploaded_file($_FILES['cover_image']['tmp_name']) && getimagesize($_FILES['cover_image']['tmp_name']) != false) {
$image = $_FILES['cover_image']['tmp_name'];
$imageFileType = pathinfo($_FILES['cover_image']['name'], PATHINFO_EXTENSION);
$image_dir = ... | gpl-3.0 |
epam/JDI | Java/Tests/jdi-uitest-tutorialtests/src/test/java/com/epam/jdi/uitests/testing/career/common/tests/CareerTests.java | 1116 | package com.epam.jdi.uitests.testing.career.common.tests;
import com.epam.jdi.dataProviders.AttendeesProvider;
import com.epam.jdi.entities.Attendee;
import com.epam.jdi.uitests.testing.TestsBase;
import com.epam.web.matcher.testng.Check;
import org.testng.annotations.Test;
import static com.epam.jdi.enums.HeaderMenu... | gpl-3.0 |
Eugnis/easy-learning-of-paintings | app/src/main/java/com/eugnis/easylearningofpaintings/data/repo/PaintersRepo.java | 4896 | package com.eugnis.easylearningofpaintings.data.repo;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.eugnis.easylearningofpaintings.data.DatabaseManager;
import com.eugnis.easylearningofpaintings.data.model.Paint... | gpl-3.0 |
james-monkeyshines/rna-phase-3 | src/Models/CodonParent.cc | 6220 | #include "Models/CodonParent.h"
#include <iostream>
#include <iomanip>
#include <fstream>
#include <algorithm>
using namespace std;
CodonParent::CodonParent(){
}
CodonParent::CodonParent( const string & registrationName ) :
MatrixModel( registrationName ){
}
CodonParent::CodonParent( ParametersSet & parame... | gpl-3.0 |
yahongie/CMS-spell-AD | js/ckeditor/plugins/kcfinder/js/browser/clipboard.js | 10477 | <?php
/** This file is part of KCFinder project
*
* @desc Clipboard functionality
* @package KCFinder
* @version 2.51
* @author Pavel Tzonkov <pavelc@users.sourceforge.net>
* @copyright 2010, 2011 KCFinder Project
* @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
* @licens... | gpl-3.0 |
fangxinmiao/projects | Architeture/Backend/Library/Java/Pdfbox/demo/pdfbox-demo/src/main/java/demo/pdfbox/PdfboxApplication.java | 2158 | package demo.pdfbox;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.rendering.ImageType;
import org.apache.pdfbox.rendering.PDFRenderer;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
/**
* 使用pdfbox库
* Created by fangxm on 17-6-6.
*
* Note:
* CentO... | gpl-3.0 |
edwardwkrohne/satcolors | src/pattern.cpp | 3851 | // -*- Mode: C++ -*-
////////////////////////////////////////////////////////////////////////////
//
// satcolors -- for writably and readably building problems for SAT-solving
// Copyright (C) 2014 Edward W. Krohne III
//
// The research that led to this product was partially supported by the
// U.S. NSF grants DM... | gpl-3.0 |
ozbek/quran_android | app/src/main/java/com/quran/labs/androidquran/data/SuraAyahIterator.java | 1203 | package com.quran.labs.androidquran.data;
import com.quran.data.core.QuranInfo;
import com.quran.data.model.SuraAyah;
public class SuraAyahIterator {
private SuraAyah start;
private SuraAyah end;
private boolean started;
private int curSura;
private int curAyah;
private final QuranInfo quranInfo;
pu... | gpl-3.0 |
j-otsuki/SpM | thirdparty/cpplapack/include/zhsmatrix-/zhsmatrix-constructor.hpp | 2629 | //=============================================================================
/*! zhsmatrix constructor without arguments */
inline zhsmatrix::zhsmatrix()
: m(n)
{CPPL_VERBOSE_REPORT;
//////// initialize ////////
n =0;
data.clear();
line.clear();
}
//////////////////////////////////////////////////////////... | gpl-3.0 |
Dwarfex/Hosting-Service | hosting_project/ws_versions/ws2/languages/no/imprint.php | 5024 | <?php
/*
##########################################################################
# #
# Version 4 / / / #
# -----------__---/__---__------__----__---/---/- #
# ... | gpl-3.0 |
jimbo8098/core | modules/Finance/invoices_manage_processBulk.php | 35265 | <?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | gpl-3.0 |
gamegineer/dev | main/table/org.gamegineer.table.net.impl/src/org/gamegineer/table/internal/net/impl/node/client/handlers/HelloResponseMessageHandler.java | 4932 | /*
* HelloResponseMessageHandler.java
* Copyright 2008-2015 Gamegineer contributors and others.
* All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either vers... | gpl-3.0 |
voran/tiny-rails-gallery | config/environments/development.rb | 1009 | Gallery::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web se... | gpl-3.0 |
openurp/edu-eams-webapp | core/src/main/scala/org/openurp/edu/eams/teach/time/util/TermCalculator.scala | 4720 | package org.openurp.edu.eams.teach.time.util
import java.sql.Date
import java.util.regex.Pattern
import scala.annotation.migration
import org.beangle.commons.collection.Collections
import org.beangle.commons.lang.Numbers
import org.beangle.commons.lang.Strings
import org.beangle.commons.logging.Logging
import org.op... | gpl-3.0 |
directactioneverywhere/server | drupal/sites/all/modules/civicrm/CRM/Case/BAO/Query.php | 33470 | <?php
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+---------------------... | gpl-3.0 |
stephanfo/OpenBuy | src/APIDigikeyBundle/Controller/GraphController.php | 2533 | <?php
namespace APIDigikeyBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Request;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
class GraphController extends Controller
{
... | gpl-3.0 |
Darkpeninsula/Darkcore-Rebase | src/server/scripts/EasternKingdoms/Deadmines/boss_glubtok.cpp | 1959 | /*
* Copyright (C) 2011-2012 DarkCore <http://www.darkpeninsula.eu/>
* Copyright (C) 2011-2012 Project SkyFire <http://www.projectskyfire.org/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2012 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can re... | gpl-3.0 |
beia/beialand | projects/SAFECARE/XProtect/BeiaDeviceDriver_Movement/DriverFramework/BeiaDeviceDriverContainer.cs | 1410 | using VideoOS.Platform.DriverFramework;
namespace Safecare.BeiaDeviceDriver_Movement
{
/// <summary>
/// Container holding all the different managers.
/// TODO: If your hardware does not support some of the functionality, you can remove the class and the instantiation below.
/// </summary>
public c... | gpl-3.0 |
magarena/magarena | src/magic/ui/screen/about/LicenseButton.java | 1314 | package magic.ui.screen.about;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import magic.data.MagicIcon;
import magic.translate.MText;
import magic.ui.MagicImages;
import magic.ui.ScreenController;
import magic.ui.screen.widget.ActionBarButton;
@SuppressWarnings("serial")
class LicenseButto... | gpl-3.0 |
thehub/hubplus | apps/microblogging/urls.py | 903 |
from django.conf.urls.defaults import *
urlpatterns = patterns('',
url(r'^$', 'microblogging.views.personal', name='tweets_you_follow'),
url(r'^all/$', 'microblogging.views.public', name='all_tweets'),
url(r'^(\d+)/$', 'microblogging.views.single', name='single_tweet'),
url(r'^followers/(\w+)/$', 'mi... | gpl-3.0 |
iaa5765/Flutter | Clover/app/src/main/java/org/floens/flutter/ui/controller/ThreadSlideController.java | 9700 | /*
* Clover - 4chan browser https://github.com/Floens/Clover/
* Copyright (C) 2014 Floens
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... | gpl-3.0 |
vvolkl/DD4hep | DDCore/src/SurfaceInstaller.cpp | 4950 | // $Id: $
//==========================================================================
// AIDA Detector description implementation for LCD
//--------------------------------------------------------------------------
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
// All rights reserved.
//
... | gpl-3.0 |
cronkite-asu/poliverse | features/support/env.rb | 2963 | # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**... | gpl-3.0 |
nickthecoder/webwidgets | webwidgets-core/src/main/java/uk/co/nickthecoder/webwidgets/tags/BoxTitleTag.java | 3704 | /*
* Copyright (c) Nick Robinson All rights reserved. This program and the accompanying materials are
* made available under the terms of the GNU Public License v3.0 which accompanies this distribution, and
* is available at http://www.gnu.org/licenses/gpl.html
*/
package uk.co.nickthecoder.webwidgets.tags;
impor... | gpl-3.0 |
kevoree-modeling/framework | microframework/src/main/java/org/kevoree/modeling/memory/manager/DataManagerBuilder.java | 3470 | package org.kevoree.modeling.memory.manager;
import org.kevoree.modeling.cdn.KContentDeliveryDriver;
import org.kevoree.modeling.cdn.impl.MemoryContentDeliveryDriver;
import org.kevoree.modeling.memory.space.KChunkSpace;
import org.kevoree.modeling.memory.space.KChunkSpaceManager;
import org.kevoree.modeling.memory.sp... | gpl-3.0 |
aelfimow/cppasm | src/st.cpp | 965 | /*! \file st.cpp
\brief Class representing FPU's ST register.
*/
#include <string>
#include <map>
#include <stdexcept>
#include "reg.h"
#include "st.h"
static st ST0 { "%st(0)" };
static st ST1 { "%st(1)" };
static st ST2 { "%st(2)" };
static st ST3 { "%st(3)" };
static st ST4 { "%st(4)" };
static st ST5 { "%st(5)... | gpl-3.0 |
Xane123/MaryMagicalAdventure | src/maploader/slopes.cpp | 15807 | /*
** p_slopes.cpp
** Slope creation
**
**---------------------------------------------------------------------------
** Copyright 1998-2008 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions
*... | gpl-3.0 |
avt-br/avt-br.github.io | scripts.js | 6192 | //============================================================================
// Gallery
//============================================================================
var active_element = null;
function current_gallery_element(){
return active_element;
}
function set_gallery_image(entry_element){
var image = ... | gpl-3.0 |
Shedward/Clementine-copy | src/core/database.cpp | 21547 | /* This file is part of Clementine.
Copyright 2010, David Sansome <me@davidsansome.com>
Clementine 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 optio... | gpl-3.0 |
donatellosantoro/Llunatic | LunaticGUI/gui/src/it/unibas/lunatic/gui/node/PagedBatchTupleFactory.java | 4571 | package it.unibas.lunatic.gui.node;
import speedy.model.algebra.operators.ITupleIterator;
import speedy.model.database.ITable;
import speedy.model.database.Tuple;
import java.util.ArrayList;
import java.util.Collections;
import javax.swing.Action;
import org.apache.commons.logging.Log;
import org.apache.commo... | gpl-3.0 |
opensupports/opensupports | client/src/core-components/checkbox.js | 2977 | import React from 'react';
import classNames from 'classnames';
import _ from 'lodash';
import keyCode from 'keycode';
import callback from 'lib-core/callback';
import getIcon from 'lib-core/get-icon';
class CheckBox extends React.Component {
... | gpl-3.0 |
key-consulting/kcatoes | apps/frontend/modules/test/templates/regroupementSuccess.php | 217 | <h2><span>Configuration des tests - Regroupements</span></h2>
<form method="post" action="<?php echo url_for('test/regroupement') ?>">
<?php echo $form ?>
<p><input type="submit" value="Suivant" /></p>
</form> | gpl-3.0 |
ASG-ULINK/moodle | blocks/wizard/assign_wizard_group.php | 3760 | <?php
require('../../config.php');
require_once("$CFG->dirroot/lib/filelib.php");
require_once("$CFG->dirroot/repository/lib.php");
require_once("$CFG->dirroot/blocks/wizard/wizard_form.php");
require_login();
if (isguestuser()) {
die();
}
global $DB;
$context = get_context_instance(CONTEXT_USER, $USER->id);... | gpl-3.0 |
optimizationBenchmarking/evaluator-base | src/test/java/test/junit/org/optimizationBenchmarking/evaluator/dataAndIO/BBOBExampleTest.java | 479 | package test.junit.org.optimizationBenchmarking.evaluator.dataAndIO;
import examples.org.optimizationBenchmarking.evaluator.dataAndIO.BBOBExample;
import shared.junit.TestBase;
import shared.junit.org.optimizationBenchmarking.evaluator.dataAndIO.ExperimentSetTest;
/** Test the BBOB example data. */
public clas... | gpl-3.0 |
windkit/codfs-win | codfs/src/datastructure/ringbuffer.hh | 1172 | #ifndef RINGBUFFER_HH_
#define RINGBUFFER_HH_
#include <thread>
#include <malloc.h>
#include "../common/define.hh"
using namespace std;
template<typename T>
class RingBuffer {
public:
RingBuffer (uint64_t size) :
_size(size + 1),
_head(0),
_tail(0)
{
//_buffer = (T*)memalign(getpagesize(), sizeof(T)... | gpl-3.0 |
thanhdongsl1990/h3h3_Y2Knight | Support/Plugins/Nunu.cs | 6012 | #region LICENSE
// Copyright 2014 - 2014 Support
// Nunu.cs is part of Support.
// Support 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 ... | gpl-3.0 |
lwuckel/WebosPrinterServer | IO/PclFileReader.cs | 1869 | using System;
using System.IO;
using WebosPrinter.Net;
using System.Text;
namespace WebosPrinter.IO
{
public class PclFileReader
{
string pclFilePath;
private const int DUPLEX_SETTING_OFFSET = 0x36;
private const string DUPLEX_SETTING_STRING = "ON";
private const int SEARCH_SIZE = 512;
... | gpl-3.0 |
donkeyxote/djangle | docs/html/search/namespaces_0.js | 525 | var searchData=
[
['celery',['celery',['../namespacedjangle_1_1celery.html',1,'djangle']]],
['djangle',['djangle',['../namespacedjangle.html',1,'']]],
['forms',['forms',['../namespacedjangle_1_1forms.html',1,'djangle']]],
['settings',['settings',['../namespacedjangle_1_1settings.html',1,'djangle']]],
['urls',... | gpl-3.0 |
MehmetNuri/Beebo | app/src/main/java/org/zarroboogs/weibo/dialogfragment/RemoveGroupDialog.java | 2003 |
package org.zarroboogs.weibo.dialogfragment;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import java.util.ArrayList;
import org.zarroboogs.weibo.R;
import org.z... | gpl-3.0 |
cmiic/moodle-filter_geogebra | filterlocalsettings.php | 7954 | <?php
/*
* GeoGebra Moodle filter
* Copyright (C) 2009 Sara Arjona, Florian Sonner, Christoph Reinisch
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, ... | gpl-3.0 |
akryzhanovskiy/E-Shop | html/admin/language/russian/common/header.php | 1037 | <?php
// Heading
$_['heading_title'] = 'Администрирование';
// Text
$_['text_order'] = 'Заказы';
$_['text_order_status'] = 'Статусы заказов';
$_['text_complete_status'] = 'Завершено';
$_['text_customer'] = 'Клиенты';
$_['text_online'] = 'Клиенты Online';
$_['text_approval'... | gpl-3.0 |
mariotsi/SDA-Tracking | src/TrackingSDA.java | 490 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import javax.swing.*;
/**
* @author Simone
*/
public class TrackingSDA {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
SwingUtil... | gpl-3.0 |
jtux270/translate | ovirt/3.6_source/backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/DiskDaoTest.java | 8126 | package org.ovirt.engine.core.dao;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import or... | gpl-3.0 |
alafighting/JianshuApp | app/src/main/java/com/copy/jianshuapp/utils/CheckFormatUtils.java | 2489 | package com.copy.jianshuapp.utils;
import com.copy.jianshuapp.common.ObjectUtils;
import java.util.regex.Pattern;
/**
* 格式检查相关的工具类
* @version imkarl 2017-03
*/
public class CheckFormatUtils {
private CheckFormatUtils() {
}
/**
* 正则:用户昵称
* 只能包含英文、汉字、数字及下划线,长度为4-15个字符
*/
private stat... | gpl-3.0 |
ZeroOne71/ql | 02_ECCentral/03_Service/EventMessage/PO/CollectionPaymentSettlementMessage.cs | 730 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ECCentral.Service.EventMessage.PO
{
/// <summary>
/// 代收代付结算单结算
/// </summary>
public class CollectionPaymentSettlementMessage : ECCentral.Service.Utility.EventMessage
{
public override string S... | gpl-3.0 |
ViewTouch/viewtouch | tests/conf_file/test_conf_file.cc | 10889 | #define CATCH_CONFIG_MAIN
#include "catch2/catch.hpp"
#include "conf_file.hh"
#include <string>
#include <vector>
#include <fstream>
#include <limits> // std::numeric_limits
#include <cmath> // std::isnan, std::isinf
#include <locale>
TEST_CASE("setter_default_section", "[conf_file]")
{
ConfFile conf("setter.ini"... | gpl-3.0 |
neo4j-contrib/java-rest-binding | src/main/java/org/neo4j/rest/graphdb/index/RestRelationshipIndex.java | 1923 | /**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... | gpl-3.0 |
RedHatQE/rhui-testing-tools | rhui-tests/test_rhui_tcms324680.py | 2400 | #! /usr/bin/python -tt
import nose
from rhuilib.rhui_testcase import *
from rhuilib.rhuimanager import *
from rhuilib.rhuimanager_repo import *
from rhuilib.rhuimanager_entitlements import *
class test_tcms324680(RHUITestcase):
''' for more ditails see bz 957128
try toupload fake rpms and signed rpm from a... | gpl-3.0 |
benkuper/Chataigne | Source/StateMachine/Transition/StateTransitionManager.cpp | 1861 | /*
==============================================================================
StateTransitionManager.cpp
Created: 28 Oct 2016 8:20:59pm
Author: bkupe
==============================================================================
*/
StateTransitionManager::StateTransitionManager(StateManager * _s... | gpl-3.0 |
rforge/biocep | src_aws_client/com/amazonaws/ec2/doc/_2008_12_01/BundleInstanceType.java | 2329 |
package com.amazonaws.ec2.doc._2008_12_01;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for BundleInstanceType complex type.
*
* <p>The foll... | gpl-3.0 |
juandesant/spatterlight | terps/tads/tads3/vmbifregn.cpp | 2981 | #ifdef RCSID
static char RCSid[] =
"$Header: d:/cvsroot/tads/tads3/vmbifreg.cpp,v 1.2 1999/05/17 02:52:29 MJRoberts Exp $";
#endif
/*
* Copyright (c) 1998, 2002 Michael J. Roberts. All Rights Reserved.
*
* Please see the accompanying license file, LICENSE.TXT, for information
* on using and cop... | gpl-3.0 |
TheBigBear/openpetra | csharp/ICT/Petra/Tools/FinanceGDPdUExportIncomeTax/workers.cs | 6119 | //
// DO NOT REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// @Authors:
// timop
//
// Copyright 2004-2015 by OM International
//
// This file is part of OpenPetra.org.
//
// OpenPetra.org is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publish... | gpl-3.0 |
Stiivi/vvo-reports | sandbox/create_dimnesion_index.rb | 1892 | require 'rubygems'
require 'brewery'
class Tool
include Brewery
def initialize_brewery
Brewery::load_default_configuration
Brewery::create_default_workspace(:vvo_data)
@workspace = Brewery::workspace
puts "WS: #{@workspace} CONN: #{@workspace.connection}"
@index_table = :idx_dimensions
end
def ... | gpl-3.0 |
PanuWeb/espocrm | client/src/views/fields/enum-int.js | 2009 | /************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2017 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it... | gpl-3.0 |
fwahyudi17/ofiskita | catalog/language/english/product/adv_ajaxfilter.php | 702 | <?php
// Heading
$_['heading_title'] = 'Filter Results';
// Text
$_['text_display'] = 'Display:';
$_['text_list'] = 'List';
$_['text_grid'] = 'Grid';
$_['text_sort'] = 'Sort By:';
$_['text_default'] = 'Default';
$_['text_name_asc'] = 'Name (A - Z)';
$_['text_name_desc'] = '... | gpl-3.0 |
OnroerendErfgoed/urihandler | tests/conftest.py | 1190 | import pytest
from urihandler.handler import UriHandler
@pytest.fixture(scope="session")
def handlerconfig():
cfg = {
"uris": [
{
"match": r"^/foobar/(?P<id>\d+)$",
"mount": True,
"redirect": "http://localhost:5555/foobar/{id}",
},
... | gpl-3.0 |
sea75300/fanpresscm3 | inc/lang/en/users.php | 1687 | <?php
/**
* System options language file
* @author Stefan Seehafer <sea75300@yahoo.de>
* @copyright (c) 2011-2017, Stefan Seehafer
* @license http://www.gnu.org/licenses/gpl.txt GPLv3
*/
$lang = array(
'USERS_DISPLAYNAME' => 'Display name',
'USERS_PASSWORD_CONFIRM... | gpl-3.0 |
alexeykish/aircompany-spring | entities/src/main/java/by/pvt/kish/aircompany/pojos/Plane.java | 4107 | package by.pvt.kish.aircompany.pojos;
import by.pvt.kish.aircompany.enums.PlaneStatus;
import org.hibernate.validator.constraints.NotEmpty;
import javax.persistence.*;
import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
impo... | gpl-3.0 |
olivettikatz/libincandescence | util/Util.cpp | 497 | #include "util.h"
namespace incandescence
{
bool fileExists(string path)
{
ifstream file(path.c_str(), ios::in);
if (file.is_open())
{
file.close();
return true;
}
else
{
return false;
}
}
string loadFile(string path)
{
ifstream file(path.c_str(), ios::in);
if (file.is_open())
{
s... | gpl-3.0 |
TonyClark/ESL | src_before_threads/ast/patterns/PWild.java | 1298 | package ast.patterns;
import java.util.HashSet;
import java.util.Vector;
import java.util.function.BiConsumer;
import ast.AST;
import ast.binding.Var;
import ast.binding.declarations.DeclaringLocation;
import ast.data.Apply;
import ast.data.Fun;
import ast.refs.Ref;
import ast.types.Type;
import compiler.DynamicVar;
... | gpl-3.0 |
reasonablegraph/webapp | app/lib/graph/rules/GRuleRemoveInference.php | 255 | <?php
class GRuleRemoveInference extends AbstractBaseRule implements GRule {
public function execute(){
// error_log("REMOVe INFERENCE");
Log::info("REMOVe INFERENCE");
$graph = $this->context->graph();
$graph->removeInferredEdges();
}
}
| gpl-3.0 |